Comparing version 9.0.0 to 9.0.1
{ | ||
"name": "get-jwks", | ||
"version": "9.0.0", | ||
"version": "9.0.1", | ||
"description": "Fetch utils for JWKS keys", | ||
@@ -40,3 +40,3 @@ "main": "src/get-jwks.js", | ||
"devDependencies": { | ||
"@fastify/jwt": "^7.0.0", | ||
"@fastify/jwt": "^8.0.0", | ||
"@types/node": "^20.0.0", | ||
@@ -50,7 +50,7 @@ "@types/node-fetch": "^2.6.2", | ||
"prettier": "^3.0.0", | ||
"sinon": "^16.0.0", | ||
"sinon": "^17.0.0", | ||
"tap": "^16.0.0", | ||
"tsd": "^0.29.0", | ||
"tsd": "^0.30.0", | ||
"typescript": "^5.0.2" | ||
} | ||
} |
import type { LRUCache } from 'lru-cache' | ||
import type { Agent } from 'https' | ||
type JWKSignature = { domain: string; alg: string; kid: string } | ||
type JWK = { [key: string]: any; domain: string; alg: string; kid: string } | ||
export type JWKSignature = { domain: string; alg: string; kid: string } | ||
export type JWK = { [key: string]: any; domain: string; alg: string; kid: string } | ||
type GetPublicKeyOptions = { | ||
export type GetPublicKeyOptions = { | ||
domain?: string | ||
@@ -13,3 +13,3 @@ alg?: string | ||
type GetJwksOptions = { | ||
export type GetJwksOptions = { | ||
max?: number | ||
@@ -24,3 +24,3 @@ ttl?: number | ||
type GetJwks = { | ||
export type GetJwks = { | ||
getPublicKey: (options?: GetPublicKeyOptions) => Promise<string> | ||
@@ -27,0 +27,0 @@ getJwk: (signature: JWKSignature) => Promise<JWK> |
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
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
14029
2