UNPKG

@pagedip/lib-license-tools

Version:
98 lines (67 loc) 4.5 kB
## [2.1.0](https://github.com/pagedip/pagedip-license/tree/release/14/lib/license-tools) - Mar 2, 2020 ### Features - Include original license string with result data. ### Fixes - Improved errors for invalid data from verify methods. ### Commits [`e6f7b97c..fdc3be51`](https://github.com/pagedip/pagedip-license/compare/e6f7b97c61a6ae44c6dcc963c1194df949d10691..fdc3be51ad77245969180b8d6e830c6f8e03f63e) - [`67db199a`](https://github.com/pagedip/pagedip-license/commit/67db199a5b5656205ec9efa40e39164eb0a6419d) include original license string with results ## [2.0.0](https://github.com/pagedip/pagedip-license/tree/release/13/lib/license-tools) - Dec 12, 2019 ### Breaking - Major changes to methods to make them more useful in a variety situations. - Merged the features of license-offline-verify into this package. - Removed an old public key. ### Features - Rewritten in TypeScript. ### Dependencies - [@pagedip/lib-license-errors](https://github.com/pagedip/pagedip-license/tree/release/13/lib/license-errors): `^2.0.2` → `^2.1.0` - @pagedip/util-logger: none → `^2.2.2` - @types/jsonwebtoken: none → `^8.3.5` - @types/node-fetch: none → `^2.5.4` - jsonwebtoken: none → `^8.4.0` - node-fetch: none → `^2.6.0` - tslib: none → `^1.9.3` - typescript: none → `^3.7.2` ### Commits [`46a01b06..0f52d492`](https://github.com/pagedip/pagedip-license/compare/46a01b06be478c24cd34e529d54db09e4f7b3091..0f52d49240c77ef32418f9378e5cd12852ab5a73) - [`5353007a`](https://github.com/pagedip/pagedip-license/commit/5353007ac1364b5fb0f5e62e755aed9e238789df) clean up and license-tools improvements ## [1.4.0](https://github.com/pagedip/pagedip-license/tree/release/12/lib/license-tools) - Oct 17, 2019 ### Features - Added type definitions. - Added `assertLicense()` method that will throw an error when missing. ### Fixes - Throw LicenseMissingError instead of a normal error. ### Commits [`b931d8fc..dc57d17e`](https://github.com/pagedip/pagedip-license/compare/b931d8fc4f93f6629f6a35ff4d10cafa834ad8ec..dc57d17eabfc58ab0a7325fdb670509a831259cb) - [`9fb1cb08`](https://github.com/pagedip/pagedip-license/commit/9fb1cb08ab4d924ad23ac6b33645fff3c9f8ae1c) added assertLicense ## [1.3.3](https://github.com/pagedip/pagedip-license/tree/release/11/lib/license-tools) - Oct 17, 2019 ### Dependencies - find-up: `^3.0.0``^4.1.0` - superagent: `^3.8.3``^5.1.0` ### Commits [`da2c47c9..7e21de76`](https://github.com/pagedip/pagedip-license/compare/da2c47c965f26f9f9b9101542d6ccb0748722c39..7e21de76d356d95d5ce32cbbc9a9178c2d6de32c) - [`6ecec3ad`](https://github.com/pagedip/pagedip-license/commit/6ecec3ad177cbdf5719387e5d0f2b39bafd22c32) update deps ## [1.3.2](https://github.com/pagedip/pagedip-license/tree/release/9/lib/license-tools) - Jan 28, 2019 ### Fixes - add trailing slash to npm registry urls for yarn compatibility ### Dependencies - @pagedip/lib-rc: `^2.1.13``^2.1.17` - @babel/cli: `^7.1.2``^7.2.3` - npm-run-all: `^4.1.3``^4.1.5` ### Commits [`6dee7881..ebbba25d`](https://github.com/pagedip/pagedip-license/compare/6dee7881f81c1c7e79190851cdb384ac3469af7e..ebbba25db487e4dd6066ebd854ded01de7a33b74) - [`41b19b46`](https://github.com/pagedip/pagedip-license/commit/41b19b46db19156348265b5d647bcb487190ddfa) switch to yarn - [`365cfd13`](https://github.com/pagedip/pagedip-license/commit/365cfd13f382938d1ff382d9e57a5132b925d034) add correct path to authToken config - [`380a1883`](https://github.com/pagedip/pagedip-license/commit/380a1883dd7ca94ec5b6b716ff5a19a4b4f14b75) update deps - [`8a9dea32`](https://github.com/pagedip/pagedip-license/commit/8a9dea326ca10115574babb4c90b5b4289110ca6) add trailing slash to npm registry urls for yarn compatibility ## [1.3.1](https://github.com/pagedip/pagedip-license/tree/release/8/lib/license-tools) - Oct 25, 2018 ### Fixes - update dependencies ### Dependencies - [@pagedip/lib-license-errors](https://github.com/pagedip/pagedip-license/tree/release/8/lib/license-errors): `^2.0.1` → `^2.0.2` - @pagedip/lib-rc: `^2.1.8``^2.1.13` - @babel/cli: none → `^7.1.2` ### Commits [`f4f71e03..2a69a0a1`](https://github.com/pagedip/pagedip-license/compare/f4f71e03ce033bfb3c4d793e1a4f27a4e06ce7ef..2a69a0a1e2526c84c7d097063764c9ff304a77c1) - [`a9385ab0`](https://github.com/pagedip/pagedip-license/commit/a9385ab0cba0f0183508d55a1ef96858727d0c3c) release files - [`a8c0d929`](https://github.com/pagedip/pagedip-license/commit/a8c0d929628356e2bfada2ca4afb7b4d18931ca4) general upgrades