Socket
Socket
Sign inDemoInstall

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.2 to 0.5.3

coverage/coverage.json

4

History.md

@@ -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];

4

package.json
{
"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"
}
}
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