Skip to content

Update date-fns requirement from ~1.30.0 to ~2.0.1#156

Closed
dependabot-preview[bot] wants to merge 1 commit intomasterfrom
dependabot/npm_and_yarn/date-fns-approx-2.0.1
Closed

Update date-fns requirement from ~1.30.0 to ~2.0.1#156
dependabot-preview[bot] wants to merge 1 commit intomasterfrom
dependabot/npm_and_yarn/date-fns-approx-2.0.1

Conversation

@dependabot-preview
Copy link
Contributor

Updates the requirements on date-fns to permit the latest version.

Release notes

Sourced from date-fns's releases.

v2.0.1

See the changelog: https://github.com/date-fns/date-fns/blob/master/CHANGELOG.md#201---2019-08-23

Changelog

Sourced from date-fns's changelog.

[2.0.1] - 2019-08-23

Fixed

[2.0.0] - 2019-08-20

If you're upgrading from v2 alpha or beta, see the pre-release changelog.

Fixed

  • Fix the toDate bug occurring when parsing ISO-8601 style dates (but not valid ISO format)
    with a trailing Z (e.g 2012-01Z), it returned Invalid Date for FireFox/IE11 #510

  • Fix differenceIn... functions returning negative zero in some cases:
    #692

  • isDate now works properly with dates passed across iframes #754.

  • Fix a few bugs that appear in timezones with offsets that include seconds (e.g. GMT+00:57:44).
    See PR #789.

  • Fixed DST issue. See #972 and #992 for more details.

  • Fixed DST issue in eachDayOfInterval that caused time in the days
    after DST change to have the shift as well.

  • Fix bug in Galician locale caused by incorrect usage of getHours
    instead of getUTCHours.

Changed

  • BREAKING: now functions don't accept string arguments, but only
    numbers or dates. When a string is passed, it will result in
    an unexpected result (Invalid Date, NaN, etc).

    From now on a string should be parsed using parseISO (ISO 8601)
    or parse.

    In v1 we've used new Date() to parse strings, but it resulted in many
    hard-to-track bugs caused by inconsistencies in different browsers.
    To address that we've implemented our ISO 8601 parser but that made
    library to significantly grow in size. To prevent inevitable bugs
    and keep the library tiny, we made this trade-off.

    See this post for more details.

    // Before v2.0.0
... (truncated)
Commits
  • c1182c0 Update README
  • d876309 Add changelog entry for 2.0.1
  • 6244923 fixed issue: options.weekStartsOn set to 1 doesn't work for Sundays (#1046)
  • 85ba4d8 Fix typo in lightFormat docs [skip ci]
  • 55deaf6 Update the changelog
  • 055fa3a Update README
  • 146e3c4 Upgrade the changelog
  • 4b990a1 Remove some obsolete leftover changes
  • 7baad3c Run TS build test to the smoke tests
  • 8cc8e35 Use export default instead of export = in TS
  • Additional commits viewable in compare view

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 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)
  • @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.

Updates the requirements on [date-fns](https://github.com/date-fns/date-fns) to permit the latest version.
- [Release notes](https://github.com/date-fns/date-fns/releases)
- [Changelog](https://github.com/date-fns/date-fns/blob/master/CHANGELOG.md)
- [Commits](date-fns/date-fns@v1.30.0...v2.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Aug 26, 2019
@dependabot-preview
Copy link
Contributor Author

Superseded by #161.

@dependabot-preview dependabot-preview bot deleted the dependabot/npm_and_yarn/date-fns-approx-2.0.1 branch September 9, 2019 06:53
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants