Socket
Socket
Sign inDemoInstall

@fastify/jwt

Package Overview
Dependencies
Maintainers
20
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fastify/jwt - npm Package Compare versions

Comparing version 8.0.1 to 9.0.0-pre.fv5.1

5

jwt.js

@@ -219,3 +219,2 @@ 'use strict'

// it's just a safeguard for future changes in the fast-jwt library
/* istanbul ignore next */
if (error.code === TokenError.codes.malformed) {

@@ -225,5 +224,5 @@ throw new AuthorizationTokenInvalidError(error.message)

throw new AuthorizationTokenInvalidError(error.message)
} else {
} /* c8 ignore start */ else {
throw error
}
} /* c8 ignore stop */
}

@@ -230,0 +229,0 @@ }

22

package.json
{
"name": "@fastify/jwt",
"version": "8.0.1",
"version": "9.0.0-pre.fv5.1",
"description": "JWT utils for Fastify",

@@ -14,3 +14,3 @@ "main": "jwt.js",

"test:unit": "tap",
"test:unit:report": "tap --cov --coverage-report=html",
"test:unit:report": "tap --coverage-report=html",
"test:unit:verbose": "tap -Rspec"

@@ -36,15 +36,15 @@ },

"dependencies": {
"@fastify/error": "^3.0.0",
"@lukeed/ms": "^2.0.0",
"@fastify/error": "^4.0.0",
"@lukeed/ms": "^2.0.2",
"fast-jwt": "^4.0.0",
"fastify-plugin": "^4.0.0",
"fastify-plugin": "^5.0.0-pre.fv5.1",
"steed": "^1.1.3"
},
"devDependencies": {
"@fastify/cookie": "^9.0.4",
"@fastify/pre-commit": "^2.0.2",
"@types/node": "^20.1.1",
"fastify": "^4.0.0-rc.2",
"standard": "^17.0.0",
"tap": "^16.0.0",
"@fastify/cookie": "^10.0.0-pre.fv5.1",
"@fastify/pre-commit": "^2.1.0",
"@types/node": "^20.11.29",
"fastify": "^5.0.0-alpha.3",
"standard": "^17.1.0",
"tap": "^18.7.1",
"tsd": "^0.31.0"

@@ -51,0 +51,0 @@ },

Sorry, the diff of this file is not supported yet

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