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

chore(deps): bump moment-range from 3.1.1 to 4.0.2 in /src/components #3713

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

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 3, 2025

Bumps moment-range from 3.1.1 to 4.0.2.

Release notes

Sourced from moment-range's releases.

v4.0.2

[4.0.2]

Added

  • Added TypeScript & flow types missing options argument for add method
  • Added overloaded TypeScript declarations allowing for calling moment.range() without arguments

Changed

  • Changed second parameter of diff & duration from rounded to precise to reflect the underlying moment method
  • Changed the moment.range() & DateRange constructor types to allow mixed Date & Moment parameters
  • Changed the interval/unit flow parameter types in the by, diff, duration, reverseBy & snapTo to include all strings allowed by moment
  • Changed internal TypeScript version to 3.3.3333
  • Changed internal moment version to 2.24.0
  • Changed CircleCI to version 2

Fixed

  • Fixed the return type of add and intersect to DateRange | null as opposed to DateRange | undefined
  • Fixed the flow toDate() method return type from an array of Dates to a Date tuple
  • Fixed extendMoment() typescript declaration to give access to moment namespace variables, e.g. moment.duration(), moment.HTML5_FMT

v4.0.1

Fixed

  • Fixed eslint-plugin-import pointing to non-existing file

v4.0.0

[4.0.0]

Deprecated

  • Deprecated exclusive option of contains() method in favour of new excludeStart and excludeEnd options
  • Deprecated exclusive option of by() method in favour of new excludeEnd options
  • Deprecated exclusive option of byRange() method in favour of new excludeEnd options
  • Deprecated exclusive option of reverseBy() method in favour of new excludeStart options
  • Deprecated exclusive option of reverseByRange() method in favour of new excludeStart options
  • Deprecated parseZoneRange in favour of rangeFromISOString

Added

  • Added Typescript definitions
  • Added Typescript config and tests
  • Added check, typescript-test npm script
  • Added excludeStart and excludeEnd to contains() method
  • Added excludeEnd to by() method
  • Added excludeEnd to byRange() method
  • Added excludeStart to reverseBy() method
  • Added excludeStart to reverseByRange() method
  • Added note about supporting older browsers with links to polyfills to the README
  • Added moment extension rangeFromISOString, changed name from parseZoneRange
  • Added snapTo() method
  • Added explicit Flow typing tests

... (truncated)

Changelog

Sourced from moment-range's changelog.

[4.0.2]

Added

  • Added TypeScript & flow types missing options argument for add method
  • Added overloaded TypeScript declarations allowing for calling moment.range() without arguments

Changed

  • Changed second parameter of diff & duration from rounded to precise to reflect the underlying moment method
  • Changed the moment.range() & DateRange constructor types to allow mixed Date & Moment parameters
  • Changed the interval/unit flow parameter types in the by, diff, duration, reverseBy & snapTo to include all strings allowed by moment
  • Changed internal TypeScript version to 3.3.3333
  • Changed internal moment version to 2.24.0
  • Changed CircleCI to version 2

Fixed

  • Fixed the return type of add and intersect to DateRange | null as opposed to DateRange | undefined
  • Fixed the flow toDate() method return type from an array of Dates to a Date tuple
  • Fixed extendMoment() typescript declaration to give access to moment namespace variables, e.g. moment.duration(), moment.HTML5_FMT

[4.0.1]

Fixed

  • Fixed eslint-plugin-import pointing to non-existing file

[4.0.0]

Deprecated

  • Deprecated exclusive option of contains() method in favour of new excludeStart and excludeEnd options
  • Deprecated exclusive option of by() method in favour of new excludeEnd options
  • Deprecated exclusive option of byRange() method in favour of new excludeEnd options
  • Deprecated exclusive option of reverseBy() method in favour of new excludeStart options
  • Deprecated exclusive option of reverseByRange() method in favour of new excludeStart options
  • Deprecated parseZoneRange in favour of rangeFromISOString

Added

  • Added Typescript definitions
  • Added Typescript config and tests
  • Added check, typescript-test npm script
  • Added excludeStart and excludeEnd to contains() method
  • Added excludeEnd to by() method
  • Added excludeEnd to byRange() method
  • Added excludeStart to reverseBy() method
  • Added excludeStart to reverseByRange() method
  • Added note about supporting older browsers with links to polyfills to the README
  • Added moment extension rangeFromISOString, changed name from parseZoneRange
  • Added snapTo() method
  • Added explicit Flow typing tests

Changed

... (truncated)

Commits
Maintainer changes

This version was pushed to npm by beaumontjonathan, a new releaser for moment-range 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)

Bumps [moment-range](https://github.com/rotaready/moment-range) from 3.1.1 to 4.0.2.
- [Release notes](https://github.com/rotaready/moment-range/releases)
- [Changelog](https://github.com/rotaready/moment-range/blob/master/CHANGELOG.md)
- [Commits](rotaready/moment-range@v3.1.1...v4.0.2)

---
updated-dependencies:
- dependency-name: moment-range
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot requested a review from a team as a code owner February 3, 2025 10:10
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Feb 3, 2025
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.

0 participants