juliuste / slovenske-zeleznice

Slovenske železnice (SŽ, Slovenian Railways) API client.
ISC License
11 stars 1 forks source link

Update moment-duration-format to the latest version 🚀 #1

Closed greenkeeper[bot] closed 6 years ago

greenkeeper[bot] commented 6 years ago

Version 2.0.0 of moment-duration-format was just published.

Dependency moment-duration-format
Current Version 1.3.0
Type dependency

The version 2.0.0 is not covered by your current version range.

If you don’t accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.

It might be worth looking into these changes and trying to get this project onto the latest version of moment-duration-format.

If you have a solid test suite and good coverage, a passing build is a strong indicator that you can take advantage of these changes directly by merging the proposed change into your project. If the build fails or you don’t have such unconditional trust in your tests, this branch is a great starting point for you to work on the update.


Release Notes Version 2.0.0

This release is a complete revamp of the moment duration format plugin, incorporating and implementing almost all of the feedback from the past three years that version 1 has been in the wild.

Among the issues resolved with this release:

  • Localization support. Numerical output is formatted via toLocaleString, and unit labels are formatted via custom extensions to moment's locale object. This allows a range of localization features, including label style and pluralization, decimal separator and digit grouping, and significant digits output.

  • Proper UMD packaging, with support for alternate moment instances such as moment-timezone.

  • Updated format options, including largest, expanded and more intuitive trim, useSignificantDigits, stopTrim, minValue, and maxValue, and trunc.

  • Bug fixes around negative durations, rounding, default output ambiguity, and more, plus a boat load of tests.

FAQ and help There is a collection of [frequently asked questions](https://greenkeeper.io/faq.html). If those don’t help, you can always [ask the humans behind Greenkeeper](https://github.com/greenkeeperio/greenkeeper/issues/new).

Your Greenkeeper bot :palm_tree:

greenkeeper[bot] commented 6 years ago

Version 2.0.1 just got published.

Update to this version instead 🚀

Commits

The new version differs by 3 commits.

  • b486f47 Fix errors for trimming across the months/days token boundary.
  • a989202 Update version to 2.0.1.
  • 019c3db Changed default userLocale to be moment's locale.

See the full diff

greenkeeper[bot] commented 6 years ago

Version 2.1.0 just got published.

Update to this version instead 🚀

Commits

The new version differs by 24 commits.

  • c3946ed Add documentation for trimming and moment.duration.format.
  • 2a6af96 Update version to 2.1.0.
  • 8fb0aaa Add documentation for moment.duration.format.
  • dc537a5 Added moment.duration.format tests for remaining options.
  • 0618abf Allow useSignificantDigits to be used with trim.
  • 5d12b38 Documentation and tests update.
  • 77ad151 Fix useSignificantDigits when leading tokens are trimmed.
  • 3c57c30 Fix minValue for negative durations.
  • 884d491 Fix minValue option.
  • 4117726 Update maxValue and minValue documentation.
  • faf8119 Allow minValue and maxValue to function with trim.
  • 527355a Update operation of largest option.
  • 40b219d Handle negative values correctly when using stopTrim.
  • 387936c Fixed bubbling of rounded values.
  • 88bd161 Added failing tests for rounded value bubbling (#84).

There are 24 commits in total.

See the full diff

greenkeeper[bot] commented 6 years ago

Version 2.1.1 just got published.

Update to this version instead 🚀

Commits

The new version differs by 5 commits.

  • 43fec73 Update version to 2.1.1
  • 079459c Fix tokenLength error when trim: false
  • 613db41 Fill String#includes functionality for legacy environments.
  • afc89a0 Code cleanup.
  • ec675e7 Correct documentation typos.

See the full diff

greenkeeper[bot] commented 6 years ago

Version 2.2.0 just got published.

Update to this version instead 🚀

Commits

The new version differs by 17 commits.

There are 17 commits in total.

See the full diff

greenkeeper[bot] commented 6 years ago

Version 2.2.1 just got published.

Update to this version instead 🚀

Commits

The new version differs by 5 commits.

  • 0e924c6 Version 2.2.1.
  • 9e6c6df Set maximumSignificantDigits only when number > 0 to avoid format errors on HTC Browser.
  • 6f3a82c Add feature test for toLocaleString rounding.
  • 24ed04f Add roadmap.
  • 363fcbe Clarify fallback number format function options.

See the full diff

greenkeeper[bot] commented 6 years ago

Version 2.2.2 just got published.

Update to this version instead 🚀

Commits

The new version differs by 3 commits.

  • 0d6cfe1 Version 2.2.2.
  • 84a5658 Test existence of isValid before using it.
  • 5a8e38b Fix negative duration output when trim is false

See the full diff