Skip to content

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Nov 14, 2025

Bumps moment-timezone from 0.5.33 to 0.6.0.

Release notes

Sourced from moment-timezone's releases.

Release 0.6.0

  • Fixed and updated TypeScript definitions. #1132
    • Updated types to more accurately match the code implementation.
    • Added definitions for pre-built files (e.g. moment-timezone-with-data.js).

This release is a potential breaking change for TypeScript projects only. The types are now more accurate, but consumers might hit errors if they were relying on the more relaxed types.

No implementation code has changed in this release.

Release 0.5.48

  • Updated data to IANA TZDB 2025b. #1130

Release 0.5.47

  • Updated data to IANA TZDB 2025a. #1125

Release 0.5.46

  • Updated data to IANA TZDB 2024b. #1121 This only affects historical timestamps; no future timestamps have changed.

Release 0.5.45

  • Updated data to IANA TZDB 2024a. #1095

Release 0.5.44

  • Updated data to IANA TZDB 2023d. #1085
  • Fixed .valueOf() to return NaN for invalid zoned objects (matching default moment) #1082.
  • Performance improvements:
    • Use binary search when looking up zone information #720.
    • Avoid redundant checks in tz.guess().
    • Avoid redundant getZone() calls in .tz().

Release 0.5.43

* Updated data to IANA TZDB 2023c. #1053

Release 0.5.42

  • Updated data to IANA TZDB 2023b. #1047

Release 0.5.41

  • Updated moment npm dependency to 2.29.4 to remove automated warnings about insecure dependencies #1004. Moment Timezone still works with core Moment 2.9.0 and higher.
  • Updated all dev dependencies including UglifyJS, which produces the minified builds.
  • Added deprecation warning to the pre-built moment-timezone-with-data-2012-2022 bundles #1035. Use the rolling moment-timezone-with-data-10-year-range files instead.

Release 0.5.40

  • Updated data to IANA TZDB 2022g. #1022

Release 0.5.39

  • Updated data to IANA TZDB 2022f. #1014

... (truncated)

Changelog

Sourced from moment-timezone's changelog.

0.6.0 2025-05-25

  • Fixed and updated TypeScript definitions. #1132
    • Updated types to more accurately match the code implementation.
    • Added definitions for pre-built files (e.g. moment-timezone-with-data.js).

This release is a potential breaking change for TypeScript projects only. The types are now more accurate, but consumers might hit errors if they were relying on the more relaxed types.

No implementation code has changed in this release.

0.5.48 2025-03-23

  • Updated data to IANA TZDB 2025b. #1130

0.5.47 2025-01-28

  • Updated data to IANA TZDB 2025a. #1125

0.5.46 2024-10-06

  • Updated data to IANA TZDB 2024b. #1121 This only affects historical timestamps; no future timestamps have changed.

0.5.45 2024-02-04

  • Updated data to IANA TZDB 2024a. #1095

0.5.44 2023-12-29

  • Updated data to IANA TZDB 2023d. #1085
  • Fixed .valueOf() to return NaN for invalid zoned objects (matching default moment). #1082
  • Performance improvements:
    • Use binary search when looking up zone information. #720
    • Avoid redundant checks in tz.guess().
    • Avoid redundant getZone() calls in .tz().

0.5.43 2023-03-31

  • Updated data to IANA TZDB 2023c. #1053

0.5.42 2023-03-24

  • Updated data to IANA TZDB 2023b. #1047

0.5.41 2023-02-25

  • Updated moment npm dependency to 2.29.4 to remove automated warnings about insecure dependencies. Moment Timezone still works with core Moment 2.9.0 and higher.
  • Updated all dev dependencies including UglifyJS, which produces the minified builds.
  • Added deprecation warning to the pre-built moment-timezone-with-data-2012-2022 bundles. #1035. Use the rolling moment-timezone-with-data-10-year-range files instead.

0.5.40 2022-12-11

  • Updated data to IANA TZDB 2022g. #1022

0.5.39 2022-11-13

  • Updated data to IANA TZDB 2022f. #1014

... (truncated)

Commits
  • 92c6a36 Build moment-timezone 0.6.0
  • d2618cf Bump version to 0.6.0
  • d084bec changelog: Add missing PR links for data updates
  • 83784ed Merge pull request #1132 from moment/typescript-fixes
  • f159a57 Remove any type from input params definition
  • c6d84e9 Add type definitions for built files
  • c1215d4 Update type definitions to match the code implementation
  • a2ea5b6 Update typing tests to include missing use cases
  • fcec454 Build moment-timezone 0.5.48
  • 4b320b8 Bump version to 0.5.48
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by gilmoreorless, a new releaser for moment-timezone since your current version.


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note

Upgrade moment-timezone to 0.6.0 and refresh yarn.lock, introducing a transitive moment@^2.29.4 (resolved to 2.30.1).

  • Dependencies:
    • Bump moment-timezone from 0.5.33 to 0.6.0 in package.json.
    • Update yarn.lock:

Written by Cursor Bugbot for commit 8841359. Configure here.

Bumps [moment-timezone](https://github.com/moment/moment-timezone) from 0.5.33 to 0.6.0.
- [Release notes](https://github.com/moment/moment-timezone/releases)
- [Changelog](https://github.com/moment/moment-timezone/blob/develop/changelog.md)
- [Commits](moment/moment-timezone@0.5.33...0.6.0)

---
updated-dependencies:
- dependency-name: moment-timezone
  dependency-version: 0.6.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Nov 14, 2025
@akshayutture-augment
Copy link

cursor review

moment@^2.29.4:
version "2.30.1"
resolved "https://registry.yarnpkg.com/moment/-/moment-2.30.1.tgz#f8c91c07b7a786e30c59926df530b4eac96974ae"
integrity sha512-uEmtNhbDOrWPFS+hdjFCBfy9f2YoyzRpwcl+DqpC6taX21FzsTLQVbMV/W7PzNSX6x/bhC1zA3c2UQ5NzH6how==
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: Dependency Conflict Causes Duplicate Package Installations

Upgrading moment-timezone to 0.6.0 introduces a version conflict. The package now requires moment ^2.29.4, which resolves to 2.30.1 in the lockfile, while package.json pins moment to 2.29.1. This creates duplicate moment installations in the dependency tree, potentially causing runtime inconsistencies, increased bundle size, and issues when different code paths use different moment instances.

Fix in Cursor Fix in Web

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants