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 date-fns-tz from 2.0.1 to 3.0.0 #165

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

Conversation

coderbyheart
Copy link
Owner

This PR was automatically created by Snyk using the credentials of a real user.


Snyk has created this PR to upgrade date-fns-tz from 2.0.1 to 3.0.0.

ℹ️ 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.


Warning: This is a major version upgrade, and may be a breaking change.

  • The recommended version is 8 versions ahead of your current version.
  • The recommended version was released 22 days ago, on 2024-04-06.
Release notes
Package name: date-fns-tz
  • 3.0.0 - 2024-04-06

    This release adds support for date-fns v3. Thank you @ christopherklint97 (#265) and everyone who helped test and fix the beta releases.

    BREAKING CHANGES

    • date-fns v2 is no longer supported
    • Renamed utcToZonedTime to toZonedTime to make the name less confusing, just search & replace
    • Renamed zonedTimeToUtc to fromZonedTime to make the name less confusing, just search & replace
    • All functions are now exported using named exports, this requires changing direct
      imports from import formatInTimeZone from 'date-fns-tz/formatInTimeZone' to
      import { formatInTimeZone } from 'date-fns-tz/formatInTimeZone'
    • Functions now don’t check the number of passed arguments, delegating this task to type checkers similar to date-fns v3
    • Arguments are not explicitly converted to the target types; instead, they are passed as is, delegating this task to type checkers similar to date-fns v3
    • IE is no longer supported since date-fns no longer supports it
    • Removed flow support since date-fns also removed it
  • 3.0.0-beta.6 - 2024-04-04

    3.0.0-beta.6

  • 3.0.0-beta.5 - 2024-04-04

    3.0.0-beta.5

  • 3.0.0-beta.4 - 2024-04-04

    3.0.0-beta.4

  • 3.0.0-beta.3 - 2024-03-28

    3.0.0-beta.3

  • 3.0.0-beta.2 - 2024-03-26

    3.0.0-beta.2

  • 3.0.0-beta.1 - 2024-03-22
  • 3.0.0-beta.0 - 2024-03-18
  • 2.0.1 - 2024-03-09
from date-fns-tz GitHub release notes
Commit messages
Package name: date-fns-tz
  • 4e2a2ac 3.0.0
  • 3bcf1db Merge pull request #273 from marnusw/version3
  • 1cd68ff v3 release notes
  • 1133e3c 3.0.0-beta.6
  • d437176 Fix ESM import paths
  • c9d9e79 3.0.0-beta.5
  • 01e6bdf Fix ESM import paths
  • 6cfdcb9 3.0.0-beta.4
  • 5a78204 Remove redundant step from package.sh
  • 2cf213a Export all functions using named exports
  • 7ae003b Remove flow support
  • e27599f Rename to toZonedTime and fromZonedTime
  • 867837b 3.0.0-beta.3
  • dc5fbac Add convertToFP from date-fns
  • f639ab8 3.0.0-beta.2
  • 9aa075f Merge pull request #272 from gugu/patch-1
  • 8274454 copy tests
  • 61feb89 inline getTimezoneOffsetInMilliseconds
  • 3aed106 3.0.0-beta.1
  • c9a9f35 Correct various date-fns@v3 imports
  • ee1acd7 Merge pull request #271 from gugu/patch-1
  • 359369d add webpack babel handler to mjs files as well
  • 9045079 Remove prepare script because it does not help to install the module from github directly
  • 0eefbd7 Add prepare script

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