@types/jsonwebtoken
Advanced tools
Comparing version 9.0.1 to 9.0.2
@@ -181,2 +181,7 @@ // Type definitions for jsonwebtoken 9.0 | ||
): string; | ||
export function sign( | ||
payload: string | Buffer | object, | ||
secretOrPrivateKey: null, | ||
options?: SignOptions & { algorithm: "none" }, | ||
): string; | ||
@@ -201,2 +206,8 @@ /** | ||
): void; | ||
export function sign( | ||
payload: string | Buffer | object, | ||
secretOrPrivateKey: null, | ||
options: SignOptions & { algorithm: "none" }, | ||
callback: SignCallback, | ||
): void; | ||
@@ -203,0 +214,0 @@ /** |
{ | ||
"name": "@types/jsonwebtoken", | ||
"version": "9.0.1", | ||
"version": "9.0.2", | ||
"description": "TypeScript definitions for jsonwebtoken", | ||
@@ -80,4 +80,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jsonwebtoken", | ||
}, | ||
"typesPublisherContentHash": "50efc79a627000c15b17a4d8c3611d67012a8f4b4ead3ea36265181a3e1f5f7a", | ||
"typeScriptVersion": "4.2" | ||
"typesPublisherContentHash": "fbf5d1aac740ef64efb231322882351465fcb311accd6b41d154c87117bc3844", | ||
"typeScriptVersion": "4.3" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Thu, 12 Jan 2023 20:02:36 GMT | ||
* Last updated: Thu, 27 Apr 2023 07:32:45 GMT | ||
* Dependencies: [@types/node](https://npmjs.com/package/@types/node) | ||
@@ -14,0 +14,0 @@ * Global values: none |
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
14388
240