jsonwebtoken
Advanced tools
Comparing version 8.1.0 to 8.1.1
@@ -7,2 +7,10 @@ # Change Log | ||
## 8.1.1 - 2018-01-22 | ||
- ci: add newer node versions to build matrix (#428) ([83f3eee44e122da06f812d7da4ace1fa26c24d9d](https://github.com/auth0/node-jsonwebtoken/commit/83f3eee44e122da06f812d7da4ace1fa26c24d9d)) | ||
- deps: Bump ms version to add support for negative numbers (#438) ([25e0e624545eaef76f3c324a134bf103bc394724](https://github.com/auth0/node-jsonwebtoken/commit/25e0e624545eaef76f3c324a134bf103bc394724)) | ||
- docs: Minor typo (#424) ([dddcb73ac05de11b81feeb629f6cf78dd03d2047](https://github.com/auth0/node-jsonwebtoken/commit/dddcb73ac05de11b81feeb629f6cf78dd03d2047)) | ||
- bug fix: Not Before (nbf) calculated based on iat/timestamp (#437) ([2764a64908d97c043d62eba0bf6c600674f9a6d6](https://github.com/auth0/node-jsonwebtoken/commit/2764a64908d97c043d62eba0bf6c600674f9a6d6)), closes [#435](https://github.com/auth0/node-jsonwebtoken/issues/435) | ||
## 8.1.0 - 2017-10-09 | ||
@@ -9,0 +17,0 @@ |
{ | ||
"name": "jsonwebtoken", | ||
"version": "8.1.0", | ||
"version": "8.1.1", | ||
"description": "JSON Web Token implementation (symmetric and asymmetric)", | ||
@@ -30,3 +30,3 @@ "main": "index.js", | ||
"lodash.once": "^4.0.0", | ||
"ms": "^2.0.0", | ||
"ms": "^2.1.1", | ||
"xtend": "^4.0.1" | ||
@@ -33,0 +33,0 @@ }, |
@@ -294,3 +294,3 @@ # jsonwebtoken | ||
We are not comfortable including this as part of the library, however, you can take a look to [this example](https://gist.github.com/ziluvatar/a3feb505c4c0ec37059054537b38fc48) to show how this could be accomplish. | ||
We are not comfortable including this as part of the library, however, you can take a look to [this example](https://gist.github.com/ziluvatar/a3feb505c4c0ec37059054537b38fc48) to show how this could be accomplished. | ||
Apart from that example there are [an issue](https://github.com/auth0/node-jsonwebtoken/issues/122) and [a pull request](https://github.com/auth0/node-jsonwebtoken/pull/172) to get more knowledge about this topic. | ||
@@ -297,0 +297,0 @@ |
@@ -148,3 +148,3 @@ var timespan = require('./lib/timespan'); | ||
if (typeof options.notBefore !== 'undefined') { | ||
payload.nbf = timespan(options.notBefore); | ||
payload.nbf = timespan(options.notBefore, timestamp); | ||
if (typeof payload.nbf === 'undefined') { | ||
@@ -151,0 +151,0 @@ return failure(new Error('"notBefore" should be a number of seconds or string representing a timespan eg: "1d", "20h", 60')); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
56957
Updatedms@^2.1.1