Commit graph

22 commits

Author SHA1 Message Date
dependabot[bot]
790c6c8d02 chore(deps): bump lodash from 4.17.15 to 4.17.19
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19)

Signed-off-by: dependabot[bot] <support@github.com>
2020-07-27 17:08:38 -05:00
2230488d14 feat: add workday endpoint
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.
2020-06-20 11:12:10 -05: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
2edef851ca test: add Node.js v14.x to test suite
* 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.
2020-04-27 17:39:03 -05:00
2e44b14a37 fix(dependencies): routine security updates
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.
2020-03-21 13:27:52 -05:00
d64908041a feat: filter out countries without public holidays
Mostly just a type update to allow for the new flag to be passed in.
Also updated the dependencies to the latest and greatest.
2020-03-03 22:39:18 -06:00
319d67d84b feat: pull country or language by code.
* 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.
2020-02-11 19:06:09 -06:00
9b40c4050e chore: test against node 13 and bump versions
* 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
2019-11-11 15:24:17 -06:00
e36a998229 feat: add search capability to all calls
* 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.
2019-10-04 00:26:22 -05:00
80d96a68ef
chore: updated readme, repo and version 2019-09-12 10:26:03 -05:00
8c94c5b134
chore: fixed a few more places 2019-09-09 22:54:45 -05:00
23dfd7933b
chore: rename package
* No reason to have the `node-` in the published package's name.
2019-09-09 22:47:36 -05:00
4886f14bc3
Merge pull request #6 from holidayapi/development-v2
feat: port to typescript
2019-09-09 22:30:30 -05:00
Yaw Etse
b6ad36a075 allow for the key to be passed as a parameter
this will also use the property `key` on the prototype if it's defined.
2019-06-01 13:54:16 -05:00
Josh Sherman
e4b27db043 Bumped version 2016-08-30 23:56:39 -05:00
Josh Sherman
5bf4a64d59 Fixed up README 2016-08-30 23:55:58 -05:00
Josh Sherman
8288d8f246 Bumped version 2016-08-20 14:04:28 -05:00
Josh Sherman
05abb58875 Fixed README 2016-08-20 14:04:03 -05:00
Josh Sherman
9b9d800ef4 Spruced up readme, bumped version 2016-08-20 13:46:16 -05:00
Josh Sherman
221e1303be Q&D wrapper 2016-08-20 13:40:12 -05:00
Josh Sherman
87874b013f Update README.md 2016-08-08 23:57:15 -05:00
Josh Sherman
ee9a5b083e Initial commit 2016-08-08 23:55:29 -05:00