[Snyk] Upgrade timezone-support from 2.0.2 to 2.1.1 #399
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR was automatically created by Snyk using the credentials of a real user.
Snyk has created this PR to upgrade timezone-support from 2.0.2 to 2.1.1.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
Release notes
Package name: timezone-support
2.1.1 (2022-12-04)
Replace the accidentally published 2.1.0. I recommend upgrading to 3.0.0, if your integration environment allows it.
Bug Fixes
Build ESM output to dist
Announce ESM exports in package.json
Add exports for lookup-convert, parse-format, data and limited data
Replace
commander
with a hand-coded command-line parsingUpgrade dev dependencies
Replace npm with pnpm (worked slower)
Replace cpy-cli with cp.js (started to create wrong paths)
Replace eslint with denolint (worked slower)
Replace coveralls with codecov (they cancel accounts)
Replace travis with github actions (more work to maintain)
BREAKING CHANGES: The initial ESM support exposed the sources at paths like
src/index.js
and worked only if you used a bundler. The proper ESM support has been provided by files built to paths likedist/index.mjs
, which are mapped to export modules inpackage.json
. For example, if you imported the main module like this:Change it to this:
See also sections "Loading" and "Modules" in
API.md
.Replacing
commander
increate-timezone-data
with a hand-coded command-line parsing should not affect anybody, because the command-line format did not change, but there might be some undetected difference.Declaring export modules in
package.json
works reliably since Node.js 14.8, but the rest of the source code and loading the files from thedist
directory directly should work since Node.js 6. The scriptcreate-timezone-data
needs thefs/promises
implementation, which was introduced in Node.js 14.2.0.2 (2019-06-10)
Bug Fixes
Commit messages
Package name: timezone-support
Compare
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs