express-jwt
Advanced tools
Comparing version 3.0.1 to 3.1.0
{ | ||
"name": "express-jwt", | ||
"version": "3.0.1", | ||
"version": "3.1.0", | ||
"description": "JWT authentication middleware.", | ||
@@ -38,3 +38,3 @@ "keywords": [ | ||
"async": "^0.9.0", | ||
"express-unless": "0.0.0", | ||
"express-unless": "^0.3.0", | ||
"jsonwebtoken": "^5.0.0" | ||
@@ -41,0 +41,0 @@ }, |
@@ -50,4 +50,6 @@ # express-jwt | ||
This is especially useful when applying to multiple routes. | ||
This is especially useful when applying to multiple routes. In the example above, `path` can be a string, a regexp, or an array of any of those. | ||
> For more details on the `.unless` syntax including additional options, please see [express-unless](https://github.com/jfromaniello/express-unless). | ||
This module also support tokens signed with public/private key pairs. Instead of a secret, you can specify a Buffer with the public key | ||
@@ -98,3 +100,3 @@ | ||
var data = require('./data'); | ||
var utilities = requre('./utilities'); | ||
var utilities = require('./utilities'); | ||
@@ -127,3 +129,3 @@ var secretCallback = function(req, payload, done){ | ||
* `err` (`Any`) - The error that occurred. | ||
* `secret` (`Boolean`) - `true` if the JWT is revoked, `false` otherwise. | ||
* `revoked` (`Boolean`) - `true` if the JWT is revoked, `false` otherwise. | ||
@@ -134,3 +136,3 @@ For example, if the `(iss, jti)` claim pair is used to identify a JWT: | ||
var data = require('./data'); | ||
var utilities = requre('./utilities'); | ||
var utilities = require('./utilities'); | ||
@@ -191,3 +193,3 @@ var isRevokedCallback = function(req, payload, done){ | ||
## Contributors | ||
Check them our [here](https://github.com/auth0/express-jwt/graphs/contributors) | ||
Check them out [here](https://github.com/auth0/express-jwt/graphs/contributors) | ||
@@ -194,0 +196,0 @@ ## License |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
25374
194
0
+ Addedexpress-unless@0.3.1(transitive)
- Removedexpress-unless@0.0.0(transitive)
Updatedexpress-unless@^0.3.0