@fastify/jwt
Advanced tools
Comparing version 8.0.1 to 9.0.0-pre.fv5.1
@@ -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 @@ } |
{ | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
167039
0
3804
1
+ Added@fastify/error@4.0.0(transitive)
+ Addedfastify-plugin@5.0.1(transitive)
- Removed@fastify/error@3.4.1(transitive)
- Removedfastify-plugin@4.5.1(transitive)
Updated@fastify/error@^4.0.0
Updated@lukeed/ms@^2.0.2