Socket
Socket
Sign inDemoInstall

jsonwebtoken

Package Overview
Dependencies
Maintainers
6
Versions
81
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jsonwebtoken - npm Package Compare versions

Comparing version 5.0.3 to 5.0.4

test/undefined_secretOrPublickey.tests.js

4

index.js

@@ -125,2 +125,6 @@ var jws = require('jws');

if (!secretOrPublicKey) {
return done(new JsonWebTokenError('secret or public key must be provided'));
}
if (!options.algorithms) {

@@ -127,0 +131,0 @@ options.algorithms = ~secretOrPublicKey.toString().indexOf('BEGIN CERTIFICATE') ||

2

package.json
{
"name": "jsonwebtoken",
"version": "5.0.3",
"version": "5.0.4",
"description": "JSON Web Token implementation (symmetric and asymmetric)",

@@ -5,0 +5,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc