jwt-simple
Advanced tools
Comparing version 0.5.5 to 0.5.6
@@ -0,1 +1,5 @@ | ||
## 0.5.6 | ||
Remove usage of deprecated Buffer constructor #89 @eliot-akira | ||
## 0.5.4 | ||
@@ -2,0 +6,0 @@ |
@@ -46,3 +46,3 @@ /* | ||
*/ | ||
jwt.version = '0.5.4'; | ||
jwt.version = '0.5.6'; | ||
@@ -195,3 +195,3 @@ /** | ||
function base64urlDecode(str) { | ||
return new Buffer(base64urlUnescape(str), 'base64').toString(); | ||
return Buffer.from(base64urlUnescape(str), 'base64').toString(); | ||
} | ||
@@ -205,3 +205,3 @@ | ||
function base64urlEncode(str) { | ||
return base64urlEscape(new Buffer(str).toString('base64')); | ||
return base64urlEscape(Buffer.from(str).toString('base64')); | ||
} | ||
@@ -208,0 +208,0 @@ |
{ | ||
"name": "jwt-simple", | ||
"description": "JWT(JSON Web Token) encode and decode module", | ||
"version": "0.5.5", | ||
"version": "0.5.6", | ||
"author": "Kazuhito Hokamura <k.hokamura@gmail.com>", | ||
@@ -13,3 +13,3 @@ "repository": { | ||
"istanbul": "^0.4.2", | ||
"mocha": "^2.3.4" | ||
"mocha": "^6.0.2" | ||
}, | ||
@@ -16,0 +16,0 @@ "scripts": { |
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
8970