Socket
Socket
Sign inDemoInstall

express-jwt

Package Overview
Dependencies
26
Maintainers
4
Versions
71
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc