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.1.3 #15

Merged
merged 1 commit into from
Oct 1, 2024

Conversation

otherguy
Copy link
Owner

@otherguy otherguy commented Oct 1, 2024

snyk-top-banner

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

ℹ️ 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 PR contains major version upgrade(s), and may be a breaking change.

  • The recommended version is 14 versions ahead of your current version.

  • The recommended version was released on 5 months ago.

Release notes
Package name: date-fns-tz
  • 3.1.3 - 2024-04-17

    3.1.3

  • 3.1.2 - 2024-04-16

    3.1.2

  • 3.1.1 - 2024-04-16

    3.1.1

  • 3.1.0 - 2024-04-15
  • 3.0.1 - 2024-04-10

    3.0.1

  • 3.0.1-beta.0 - 2024-04-09
  • 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

Important

  • Warning: This PR contains a major version upgrade, and may be a breaking change.
  • Check the changes in this PR to ensure they won't cause issues with your project.
  • This PR was automatically created by Snyk using the credentials of a real user.

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:

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

See this package in npm:
date-fns-tz

See this project in Snyk:
https://app.snyk.io/org/otherguy/project/8757423a-894a-444c-ba30-fe625db0d474?utm_source=github&utm_medium=referral&page=upgrade-pr
Copy link

codeclimate bot commented Oct 1, 2024

Code Climate has analyzed commit f7a96cc and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 100.0% (50% is the threshold).

This pull request will bring the total coverage in the repository to 96.5% (0.0% change).

View more on Code Climate.

@otherguy otherguy merged commit 93ba621 into main Oct 1, 2024
8 checks passed
@otherguy otherguy deleted the snyk-upgrade-0a3a0d698ffbb503c9f2281225621151 branch October 1, 2024 10:23
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