Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@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 7.2.2 to 7.2.3

8

jsonwebtoken/index.d.ts

@@ -86,2 +86,4 @@ // Type definitions for jsonwebtoken 7.2.0

export type Secret = string | Buffer | {key: string, passphrase: string}
/**

@@ -94,3 +96,3 @@ * Synchronously sign the given payload into a JSON Web Token string

*/
export declare function sign(payload: string | Buffer | object, secretOrPrivateKey: string | Buffer, options?: SignOptions): string;
export declare function sign(payload: string | Buffer | object, secretOrPrivateKey: Secret, options?: SignOptions): string;

@@ -104,4 +106,4 @@ /**

*/
export declare function sign(payload: string | Buffer | object, secretOrPrivateKey: string | Buffer, callback: SignCallback): void;
export declare function sign(payload: string | Buffer | object, secretOrPrivateKey: string | Buffer, options: SignOptions, callback: SignCallback): void;
export declare function sign(payload: string | Buffer | object, secretOrPrivateKey: Secret, callback: SignCallback): void;
export declare function sign(payload: string | Buffer | object, secretOrPrivateKey: Secret, options: SignOptions, callback: SignCallback): void;

@@ -108,0 +110,0 @@ /**

{
"name": "@types/jsonwebtoken",
"version": "7.2.2",
"version": "7.2.3",
"description": "TypeScript definitions for jsonwebtoken",

@@ -26,4 +26,4 @@ "license": "MIT",

"peerDependencies": {},
"typesPublisherContentHash": "bfed69e012c87a3c45ce5b00191d4abed7cd653c64abcaad8a4f0dea0166b659",
"typesPublisherContentHash": "4acb5ee3f1964ba5dc4c32d01031cd7f945420d4b92e8240957bff214a28eb70",
"typeScriptVersion": "2.2"
}

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

Additional Details
* Last updated: Fri, 07 Jul 2017 20:52:56 GMT
* Last updated: Thu, 03 Aug 2017 13:57:01 GMT
* Dependencies: node

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

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