Skip to content
This repository has been archived by the owner on Apr 10, 2019. It is now read-only.

Bump moment-range from 3.1.1 to 4.0.2 #94

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

Conversation

dependabot-preview[bot]
Copy link

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
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot ignore this [patch|minor|major] version will close this PR and stop Dependabot creating any more for this minor/major 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)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Finally, you can contact us by mentioning @dependabot.

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

Successfully merging this pull request may close these issues.

1 participant