express-jwt
Advanced tools
Comparing version 1.4.0 to 2.0.0
{ | ||
"name": "express-jwt", | ||
"version": "1.4.0", | ||
"version": "2.0.0", | ||
"description": "JWT authentication middleware.", | ||
@@ -37,5 +37,5 @@ "keywords": [ | ||
"dependencies": { | ||
"async": "^0.9.0", | ||
"express-unless": "0.0.0", | ||
"jsonwebtoken": "~3.2.2", | ||
"async": "^0.9.0" | ||
"jsonwebtoken": "~4.0.0" | ||
}, | ||
@@ -42,0 +42,0 @@ "devDependencies": { |
@@ -94,3 +94,3 @@ var jwt = require('jsonwebtoken'); | ||
assert.equal(err.code, 'invalid_token'); | ||
assert.equal(err.message, 'jwt audience invalid. expected: expected-audience'); | ||
assert.equal(err.message, 'jwt audience invalid. expected: not-expected-audience'); | ||
}); | ||
@@ -121,3 +121,3 @@ }); | ||
assert.equal(err.code, 'invalid_token'); | ||
assert.equal(err.message, 'jwt issuer invalid. expected: http://foo'); | ||
assert.equal(err.message, 'jwt issuer invalid. expected: http://wrong'); | ||
}); | ||
@@ -124,0 +124,0 @@ }); |
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
25055
+ Addedjsonwebtoken@4.0.0(transitive)
+ Addedjws@2.0.0(transitive)
- Removedjsonwebtoken@3.2.2(transitive)
- Removedjws@1.0.1(transitive)
Updatedjsonwebtoken@~4.0.0