Ezekiel-DA / timeToWork

near realtime commute time graphs
1 stars 0 forks source link

Update moment-range to the latest version 🚀 #32

Closed greenkeeper[bot] closed 7 years ago

greenkeeper[bot] commented 7 years ago

Version 3.0.0 of moment-range just got published.

Dependency moment-range
Current Version 2.2.0
Type dependency

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

Without accepting this pull request your project will work just like it did before. There might be a bunch of new features, fixes and perf improvements that the maintainers worked on for you though.

I recommend you look into these changes and try to get onto the latest version of moment-range. Given that you have a decent test suite, a passing build is a strong indicator that you can take advantage of these changes by merging the proposed change into your project. Otherwise this branch is a great starting point for you to work on the update.


Release Notes The Big Three

Added

  • ES6
  • Flow typing
  • Added documentation about range creation (thanks @seanwendt)
  • Added webpack
  • Added eslint
  • Added karma/mocha/expect.js
  • Added many more tests
  • Addded new methods: by, reverseBy, byRange, reverseByRange (#68)
    • Pass options as object
    • New methods use iterators
    • Added reversal methods
    • Discrete methods for different iterator types
  • Added ability to iterate over a range by a step (#93)
  • Added isEqual as alias of isSame
  • Added adjacent method and option to overlaps (#92 #112)
  • Added duration as an alias of diff (#64)
  • Added CircleCI config

Changed

  • Documentation
  • Changed usage: import Moment from 'moment'; import { DateRange, extendMoment } from 'moment-js'; const moment = extendMoment(Moment);
  • Pass additonal optional rounded argument in diff (#104)
  • Updated short-hand units (#134)
  • Updated packaging rules and scripts
  • Iteration methods now return an Iterator
  • dist/ is only included in the npm release now

Removed

  • Removed bower
  • Removed grunt
  • Removed jshint
  • Removed mocha/should
  • Removed toArray

Fixed

  • Fixed issue with moment#within and moment-timezone (#127)
  • Fixed typo in comment (#133)
Commits

The new version differs by 9 commits .

See the full diff.

Not sure how things should work exactly? There is a collection of [frequently asked questions](https://greenkeeper.io/faq.html) and of course you may always [ask my humans](https://github.com/greenkeeperio/greenkeeper/issues/new).

Your Greenkeeper Bot :palm_tree: