Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

jwt-simple

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jwt-simple - npm Package Compare versions

Comparing version 0.5.5 to 0.5.6

4

History.md

@@ -0,1 +1,5 @@

## 0.5.6
Remove usage of deprecated Buffer constructor #89 @eliot-akira
## 0.5.4

@@ -2,0 +6,0 @@

6

lib/jwt.js

@@ -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": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc