Commit Graph

187 Commits

Author SHA1 Message Date
Michael Barrett
c5a2435fe0 add github workflow for CI 2020-05-16 15:45:09 +01:00
Michael Barrett
90d571cb33
Merge pull request #60 from mike182uk/dependabot/npm_and_yarn/standard-14.3.4
chore(deps-dev): bump standard from 14.3.3 to 14.3.4
2020-05-13 08:19:04 +01:00
dependabot-preview[bot]
037b49a524
chore(deps-dev): bump standard from 14.3.3 to 14.3.4
Bumps [standard](https://github.com/standard/standard) from 14.3.3 to 14.3.4.
- [Release notes](https://github.com/standard/standard/releases)
- [Changelog](https://github.com/standard/standard/blob/master/CHANGELOG.md)
- [Commits](https://github.com/standard/standard/compare/v14.3.3...v14.3.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-12 09:08:17 +00:00
Michael Barrett
169f906269
Merge pull request #59 from mike182uk/dependabot/npm_and_yarn/mocha-7.1.2
chore(deps-dev): bump mocha from 7.1.1 to 7.1.2
2020-04-27 14:47:34 +01:00
Michael Barrett
a56e3450ba
Merge pull request #58 from mike182uk/dependabot/npm_and_yarn/coveralls-3.1.0
chore(deps-dev): bump coveralls from 3.0.14 to 3.1.0
2020-04-27 14:47:23 +01:00
dependabot-preview[bot]
8f05873de7
chore(deps-dev): bump mocha from 7.1.1 to 7.1.2
Bumps [mocha](https://github.com/mochajs/mocha) from 7.1.1 to 7.1.2.
- [Release notes](https://github.com/mochajs/mocha/releases)
- [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mochajs/mocha/compare/v7.1.1...v7.1.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-27 10:14:36 +00:00
dependabot-preview[bot]
4c634e5f7e
chore(deps-dev): bump coveralls from 3.0.14 to 3.1.0
Bumps [coveralls](https://github.com/nickmerwin/node-coveralls) from 3.0.14 to 3.1.0.
- [Release notes](https://github.com/nickmerwin/node-coveralls/releases)
- [Commits](https://github.com/nickmerwin/node-coveralls/compare/v3.0.14...v3.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-27 10:14:06 +00:00
Michael Barrett
eb3bd5a344
Merge pull request #57 from mike182uk/dependabot/npm_and_yarn/coveralls-3.0.14
chore(deps-dev): bump coveralls from 3.0.13 to 3.0.14
2020-04-24 10:51:33 +01:00
dependabot-preview[bot]
1947fbcfa5
chore(deps-dev): bump coveralls from 3.0.13 to 3.0.14
Bumps [coveralls](https://github.com/nickmerwin/node-coveralls) from 3.0.13 to 3.0.14.
- [Release notes](https://github.com/nickmerwin/node-coveralls/releases)
- [Commits](https://github.com/nickmerwin/node-coveralls/compare/v3.0.13...v3.0.14)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-24 08:53:50 +00:00
Michael Barrett
d851cf6cef
Merge pull request #56 from mike182uk/dependabot/npm_and_yarn/coveralls-3.0.13
chore(deps-dev): bump coveralls from 3.0.11 to 3.0.13
2020-04-22 14:30:29 +01:00
dependabot-preview[bot]
d296a54421
chore(deps-dev): bump coveralls from 3.0.11 to 3.0.13
Bumps [coveralls](https://github.com/nickmerwin/node-coveralls) from 3.0.11 to 3.0.13.
- [Release notes](https://github.com/nickmerwin/node-coveralls/releases)
- [Commits](https://github.com/nickmerwin/node-coveralls/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-22 09:00:29 +00:00
Michael Barrett
563cba28c5
Merge pull request #55 from mike182uk/dependabot/npm_and_yarn/coveralls-3.0.11
chore(deps-dev): bump coveralls from 3.0.6 to 3.0.11
2020-03-28 17:31:26 +00:00
Michael Barrett
b280149f43
Merge pull request #54 from mike182uk/dependabot/npm_and_yarn/handlebars-4.7.3
chore(deps): [security] bump handlebars from 4.1.2 to 4.7.3
2020-03-28 17:29:30 +00:00
Michael Barrett
c2ee864d6e
Merge pull request #53 from mike182uk/dependabot/npm_and_yarn/standard-14.3.3
chore(deps-dev): bump standard from 14.1.0 to 14.3.3
2020-03-28 17:27:52 +00:00
Michael Barrett
dcb5e00c48
Merge pull request #52 from mike182uk/dependabot/npm_and_yarn/acorn-7.1.1
chore(deps): [security] bump acorn from 7.0.0 to 7.1.1
2020-03-28 17:27:26 +00:00
Michael Barrett
53e7cc88b5
Merge pull request #51 from mike182uk/dependabot/npm_and_yarn/mocha-7.1.1
chore(deps-dev): bump mocha from 7.0.1 to 7.1.1
2020-03-28 17:27:01 +00:00
dependabot-preview[bot]
cee437236b
chore(deps-dev): bump coveralls from 3.0.6 to 3.0.11
Bumps [coveralls](https://github.com/nickmerwin/node-coveralls) from 3.0.6 to 3.0.11.
- [Release notes](https://github.com/nickmerwin/node-coveralls/releases)
- [Commits](https://github.com/nickmerwin/node-coveralls/commits/3.0.11)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-28 17:23:18 +00:00
dependabot-preview[bot]
d52017daf9
chore(deps): [security] bump handlebars from 4.1.2 to 4.7.3
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.1.2 to 4.7.3. **This update includes a security fix.**
- [Release notes](https://github.com/wycats/handlebars.js/releases)
- [Changelog](https://github.com/wycats/handlebars.js/blob/master/release-notes.md)
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.1.2...v4.7.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-28 17:23:06 +00:00
dependabot-preview[bot]
0c039dc3d4
chore(deps-dev): bump standard from 14.1.0 to 14.3.3
Bumps [standard](https://github.com/standard/standard) from 14.1.0 to 14.3.3.
- [Release notes](https://github.com/standard/standard/releases)
- [Changelog](https://github.com/standard/standard/blob/master/CHANGELOG.md)
- [Commits](https://github.com/standard/standard/compare/v14.1.0...v14.3.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-28 17:22:55 +00:00
dependabot-preview[bot]
70ab5ab2e1
chore(deps): [security] bump acorn from 7.0.0 to 7.1.1
Bumps [acorn](https://github.com/acornjs/acorn) from 7.0.0 to 7.1.1. **This update includes a security fix.**
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](https://github.com/acornjs/acorn/compare/7.0.0...7.1.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-28 17:22:41 +00:00
dependabot-preview[bot]
16467cfaf2
chore(deps-dev): bump mocha from 7.0.1 to 7.1.1
Bumps [mocha](https://github.com/mochajs/mocha) from 7.0.1 to 7.1.1.
- [Release notes](https://github.com/mochajs/mocha/releases)
- [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mochajs/mocha/compare/v7.0.1...v7.1.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-28 17:22:29 +00:00
Michael Barrett
6e578000b3
Merge pull request #48 from mike182uk/greenkeeper/mocha-7.0.1
Update mocha to the latest version 🚀
2020-01-28 12:01:11 +00:00
greenkeeper[bot]
159152b204
chore(package): update lockfile package-lock.json 2020-01-26 08:38:49 +00:00
greenkeeper[bot]
687b9022f0
chore(package): update mocha to version 7.0.1 2020-01-26 08:38:42 +00:00
Michael Barrett
c7d3a82ee6
Merge pull request #47 from mike182uk/greenkeeper/standard-14.1.0
Update standard to the latest version 🚀
2019-08-29 09:50:35 +01:00
greenkeeper[bot]
02b7053727
chore(package): update lockfile package-lock.json 2019-08-29 05:39:22 +00:00
greenkeeper[bot]
97c40292d6
chore(package): update standard to version 14.1.0 2019-08-29 05:39:15 +00:00
Michael Barrett
58615f756d upgrade standard 2019-08-25 17:29:49 +01:00
Michael Barrett
db9e0ec172 6.0.0 2019-05-04 20:30:49 +01:00
Michael Barrett
fa8d1519d2 update error when unable to parse timestring 2019-05-04 20:28:28 +01:00
Michael Barrett
a3ed595a17
Merge pull request #43 from prolink007/master
Added error checking for when an invalid string is input.
2019-05-04 20:19:30 +01:00
Michael Barrett
22aa7493d0 drop support for node < 8 2019-05-04 20:13:34 +01:00
Michael Barrett
ced13d5c86 remove codeclimate 2019-05-04 20:12:09 +01:00
Michael Barrett
f821368a83 upgrade deps 2019-05-04 20:11:03 +01:00
Ashton Cummings
66ed4f27fe Added unit tests. 2018-09-20 12:44:56 -05:00
Ashton Cummings
e0be5577a7 Added error checking for when an invalid string is input. 2018-09-20 09:26:31 -05:00
Michael Barrett
9797b474af 5.0.1 2018-05-18 09:29:25 +01:00
Michael Barrett
e1dcc51622
Merge pull request #41 from vegeta897/patch-1
Fix parsing of decimal input values
2018-05-18 09:21:24 +01:00
Devin Spikowski
a3f5260e55
Remove unnecessary escape characters 2018-05-14 04:30:57 -04:00
Devin Spikowski
5ee55a7dc1
Fix parsing of decimal input values
Previously, `1.5 hours` would parse as `5 hours`, or `1.0 hours` as `0 hours`

This was presumably working in 2012 with PR #2 but has since broken.
2018-05-14 04:23:52 -04:00
Michael Barrett
e88cf209ff
Merge pull request #39 from mike182uk/greenkeeper/standard-11.0.0
Update standard to the latest version 🚀
2018-02-19 08:45:13 +00:00
greenkeeper[bot]
90cc51adca chore(package): update standard to version 11.0.0 2018-02-19 00:47:53 +00:00
Michael Barrett
e32a9b966e
Merge pull request #38 from mike182uk/greenkeeper/mocha-5.0.0
Update mocha to the latest version 🚀
2018-01-18 17:16:14 +00:00
greenkeeper[bot]
95fbc0fa17 chore(package): update mocha to version 5.0.0 2018-01-18 03:17:48 +00:00
Michael Barrett
88ab6599aa Merge pull request #37 from mike182uk/greenkeeper/mocha-4.0.0
Update mocha to the latest version 🚀
2017-10-03 12:38:32 +01:00
greenkeeper[bot]
d3bba666d1 chore(package): update mocha to version 4.0.0 2017-10-03 08:15:50 +00:00
Michael Barrett
0c9b5a750e Merge pull request #36 from mike182uk/greenkeeper/coveralls-3.0.0
Update coveralls to the latest version 🚀
2017-09-28 21:29:42 +01:00
greenkeeper[bot]
8e7e84dab3 chore(package): update coveralls to version 3.0.0 2017-09-28 20:09:18 +00:00
Michael Barrett
f7366f6dfa use daysPerYear to calculate month / year seconds 2017-07-25 22:29:35 +01:00
Michael Barrett
6a85f0f261 Merge pull request #33 from mike182uk/greenkeeper/codeclimate-test-reporter-0.5.0
Update codeclimate-test-reporter to the latest version 🚀
2017-06-02 09:36:51 +01:00