* 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!
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.
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.
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.
Added support for our latest endpoint, which calculates the workday a
given number of business days into the future from the given date for
the given country.
Also:
* perf: updated dependencies
* ci: pinned eslint to 7.2.x due to airbnb incompatibility with 7.3.x.
* ci: tweaked / improved eslint rules a bit.
* refactor: updated types to use `;` and include weekday response.
* docs: added example for new endpoint.
* 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.
* test: Added Node.js v14.x to the test suite.
* perf: Updated dependencies.
* docs: Drop blurb about migration from v2 as it will be covered in
release notes.
* chore: Bumped minor version since compatibility has increased.
Updated dependencies and resolved the recent security vulnerabilities.
Also added linting to the CI pipeline and split out testing into two
scripts to make it easier to run tests locally.
* feat: pull country or language by code.
This differs from the existing `search` functionality in that it allows
you to explicitly pull back a single country or language instead of
anything that matches (which could result in more items returned than
expected).
* refactor(types): add new types for the affected endpoints.
* docs(readme): update to include examples for new functionality.
* test: expand tests to include new parameters.
* feat(package): upgrade dependencies to the latest versions.
* fix(eslint): adjust configuration based on an updated dependency.
* docs(license): bump the year of the license.
* chore: added the latest version of Node.js to the test plan
* docs: fixed a few code typos in the README
* chore: upgraded dependency versions
* chore: bumped version number
* chore: dropped testing for unmaintained Node.js version
* docs: added some notes about Node.js compatibility
* chore: Updated dependencies.
* test: Fixed a linter issue in the test suite.
* feat: Updated all requests to contain the `search` property.
* chore: Cleaned up some of the type properties order (alphabetized).
* test: Added tests to cover the search capabilities.
* docs: Added examples to the readme to cover all endpoints as well as search.
* docs: Updated the readme to cover migrating from v1 to v2.
* docs: Fixed repository links where applicable.
* chore: Bumped the minor version number.