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

express-jwt

Package Overview
Dependencies
Maintainers
4
Versions
71
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

express-jwt - npm Package Compare versions

Comparing version 1.4.0 to 2.0.0

6

package.json
{
"name": "express-jwt",
"version": "1.4.0",
"version": "2.0.0",
"description": "JWT authentication middleware.",

@@ -37,5 +37,5 @@ "keywords": [

"dependencies": {
"async": "^0.9.0",
"express-unless": "0.0.0",
"jsonwebtoken": "~3.2.2",
"async": "^0.9.0"
"jsonwebtoken": "~4.0.0"
},

@@ -42,0 +42,0 @@ "devDependencies": {

@@ -94,3 +94,3 @@ var jwt = require('jsonwebtoken');

assert.equal(err.code, 'invalid_token');
assert.equal(err.message, 'jwt audience invalid. expected: expected-audience');
assert.equal(err.message, 'jwt audience invalid. expected: not-expected-audience');
});

@@ -121,3 +121,3 @@ });

assert.equal(err.code, 'invalid_token');
assert.equal(err.message, 'jwt issuer invalid. expected: http://foo');
assert.equal(err.message, 'jwt issuer invalid. expected: http://wrong');
});

@@ -124,0 +124,0 @@ });

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