Commit graph

6 commits

Author SHA1 Message Date
4cde62af13 chore: update dependencies 2024-08-09 16:35:18 -05:00
250fb4b4e9 chore: updating dependencies and node versions
* Updated supported Node.js versions

Dropped support for 14 and 16 in favor of the current LTS versions 18
and 20.

* Updated Node.js dependencies

Bumped nearly all dependencies to the latest. The exception being
`node-fetch` which made the jump to using ESM which is still causing
folks a lot of grief.

* Shored code coverage back up to 100%

Had some remnants from when this library did sanity checks pre-flight to
the API that required additional tests to cover them, or just adjusting
the argument defaults.

* Removed the "build" badge from the README

Seems there were some gotchas with that badge that makes it kind of a
pain, as it has to be hard coded a certain way. I messed with it and
couldn't get it working, seems like more trouble than it's worth.

Further details: https://github.com/badges/shields/issues/8671

* Added .nvmrc file

Pretty self explanatory.

* Bumped version number

Lucky number 7, y'all!
2023-10-26 17:19:54 -05:00
046aadeea4 feat: get previous workday
This started as a feature request for our upstream API (closes #33) that
led to a bit of rework to help make the library a bit more flexible in
terms of not needing modification when something on the API changes.

This update also includes your typical round of dependency updates and a
bit of preemptive planning by way of dropping support for Node.js as
we're on the cusp of it being out of maintenance and the release of
Node.js v18.
2022-04-05 17:48:55 -05:00
bbda365fe7 feat: add workdays endpoint
Added support for our new workdays endpoint that allows you to pull the
number of working days that occur between two dates.

In addition to the new endpoint:
* chore: upgraded dependencies.
* ci: dropped Node.js 10 because it past EOL.
* ci: swapped Node.js 15 for 16 now that it's out.
* docs: added example of new endpoint.
2021-06-14 18:05:16 -05:00
3eca80185c chore(deps): bump typescript to 4
Bumped `typescript` up to v4.x as well as a bunch of other dependencies,
including `jest` which had a moderate severity from it's `node-notifier`
dependency. Also added Node.js v15.x to the automated testing.
2020-12-29 16:43:47 -06:00
07988d8c71 test: drop end of life Node.js version
* test: Dropped Node v13.x since it's now past it's expiration.
* test: Migrated from Travis CI to GitHub Actions.
* test: Migrated from Coveralls to CodeCov.
* docs: Dropped over 1.x stuff from the read me.
* perf: Updated dependencies and rebuilt against latest TypeScript.
* feat: Bumped major version number due to Node.js support changing.
2020-06-08 18:30:21 -05:00