jwt-simple
Advanced tools
Comparing version 0.5.2 to 0.5.3
@@ -0,1 +1,5 @@ | ||
## 0.5.3 | ||
Security fix #86 | ||
## 0.5.2 | ||
@@ -2,0 +6,0 @@ |
@@ -46,3 +46,3 @@ /* | ||
*/ | ||
jwt.version = '0.5.2'; | ||
jwt.version = '0.5.3'; | ||
@@ -80,2 +80,6 @@ /** | ||
if (!noVerify) { | ||
if (!algorithm && /BEGIN( RSA)? PUBLIC KEY/.test(key.toString())) { | ||
algorithm = 'RS256'; | ||
} | ||
var signingMethod = algorithmMap[algorithm || header.alg]; | ||
@@ -82,0 +86,0 @@ var signingType = typeMap[algorithm || header.alg]; |
{ | ||
"name": "jwt-simple", | ||
"description": "JWT(JSON Web Token) encode and decode module", | ||
"version": "0.5.2", | ||
"version": "0.5.3", | ||
"author": "Kazuhito Hokamura <k.hokamura@gmail.com>", | ||
@@ -30,2 +30,2 @@ "repository": { | ||
"typings": "./index.d.ts" | ||
} | ||
} |
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
90497
23
726