Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Snyk] Upgrade timezone-support from 2.0.2 to 2.1.1 #399

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rudywaltz
Copy link
Owner

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.


  • The recommended version is 2 versions ahead of your current version.
  • The recommended version was released 21 days ago, on 2022-12-04.
Release notes
Package name: timezone-support
  • 2.1.1 - 2022-12-04

    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

    • update docs to match type signature (50b2965)
    • update docs to match type signature 2 (b9e3645)
    • Upgrade the time zone database to 2022f (a0e5cd6)
  • 2.1.0 - 2022-12-04
    • 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 parsing

    • Upgrade 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 like dist/index.mjs, which are mapped to export modules in package.json. For example, if you imported the main module like this:

    import { getZonedTime } from ./node_modules/timezone-support/src/index.js
    

    Change it to this:

    import { getZonedTime } from timezone-support
    

    See also sections "Loading" and "Modules" in API.md.

    Replacing commander in create-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 the dist directory directly should work since Node.js 6. The script create-timezone-data needs the fs/promises implementation, which was introduced in Node.js 14.

  • 2.0.2 - 2019-06-10

    2.0.2 (2019-06-10)

    Bug Fixes

    • Upgrade the time zone database to the version 2019a. (c0d147e)
from timezone-support GitHub release notes
Commit messages
Package name: timezone-support
  • 505c8f5 2.1.1
  • 682d986 chore: Publish 2.1.1 after wrong publishing of 2.1.0
  • b583ecf docs: Upgrade license year
  • 50b2965 fix: update docs to match type signature
  • b9e3645 fix: update docs to match type signature 2
  • a0e5cd6 fix: Upgrade the time zone database to 2022f

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants