Socket
Socket
Sign inDemoInstall

@types/jsonwebtoken

Package Overview
Dependencies
Maintainers
1
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/jsonwebtoken - npm Package Compare versions

Comparing version 8.5.6 to 8.5.7

4

jsonwebtoken/index.d.ts

@@ -201,4 +201,4 @@ // Type definitions for jsonwebtoken 8.5

*/
export function verify(token: string, secretOrPublicKey: Secret, options: VerifyOptions & { complete: true }): Jwt | string;
export function verify(token: string, secretOrPublicKey: Secret, options?: VerifyOptions): JwtPayload | string;
export function verify(token: string, secretOrPublicKey: Secret, options: VerifyOptions & { complete: true }): Jwt;
export function verify(token: string, secretOrPublicKey: Secret, options?: VerifyOptions): JwtPayload;

@@ -205,0 +205,0 @@ /**

{
"name": "@types/jsonwebtoken",
"version": "8.5.6",
"version": "8.5.7",
"description": "TypeScript definitions for jsonwebtoken",

@@ -80,4 +80,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jsonwebtoken",

},
"typesPublisherContentHash": "c533bfcb8060bf4a8fc924fc8a000af26bf78bad7026fc4038cb41a1be7ef887",
"typeScriptVersion": "3.7"
"typesPublisherContentHash": "4d1049c64f870f985b12a8ce5157c29f488f29867f4478e836a8441924011c34",
"typeScriptVersion": "3.8"
}

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Mon, 15 Nov 2021 17:31:56 GMT
* Last updated: Wed, 12 Jan 2022 17:31:45 GMT
* Dependencies: [@types/node](https://npmjs.com/package/@types/node)

@@ -14,0 +14,0 @@ * Global values: none

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