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.3.5 to 8.3.6

14

jsonwebtoken/index.d.ts

@@ -9,3 +9,4 @@ // Type definitions for jsonwebtoken 8.3

// Kjell Dießel <https://github.com/kettil>,
// Robert Gajda <https://github.com/RunAge>
// Robert Gajda <https://github.com/RunAge>,
// Nico Flaig <https://github.com/nflaig>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

@@ -48,3 +49,3 @@ // TypeScript Version: 2.2

*/
algorithm?: string;
algorithm?: Algorithm;
keyid?: string;

@@ -66,3 +67,3 @@ /** expressed in seconds or a string describing a time span [zeit/ms](https://github.com/zeit/ms.js). Eg: 60, "2 days", "10h", "7d" */

export interface VerifyOptions {
algorithms?: string[];
algorithms?: Algorithm[];
audience?: string | RegExp | Array<string | RegExp>;

@@ -111,2 +112,9 @@ clockTimestamp?: number;

export type Algorithm =
"HS256" | "HS384" | "HS512" |
"RS256" | "RS384" | "RS512" |
"ES256" | "ES384" | "ES512" |
"PS256" | "PS384" | "PS512" |
"none";
export type SigningKeyCallback = (

@@ -113,0 +121,0 @@ err: any,

{
"name": "@types/jsonwebtoken",
"version": "8.3.5",
"version": "8.3.6",
"description": "TypeScript definitions for jsonwebtoken",

@@ -41,6 +41,11 @@ "license": "MIT",

"githubUsername": "RunAge"
},
{
"name": "Nico Flaig",
"url": "https://github.com/nflaig",
"githubUsername": "nflaig"
}
],
"main": "",
"types": "index",
"types": "index.d.ts",
"repository": {

@@ -55,4 +60,4 @@ "type": "git",

},
"typesPublisherContentHash": "341ab6e92b4e866abfd33fcab197a21956b9e44fba09a7e79aae42f54c9e576f",
"typeScriptVersion": "2.2"
"typesPublisherContentHash": "b0b2e6b3383692c5a5ce293b781c3da0aa69237a21c015eb2e8c0f8e79031b86",
"typeScriptVersion": "2.8"
}

@@ -8,10 +8,10 @@ # Installation

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jsonwebtoken
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jsonwebtoken.
Additional Details
* Last updated: Tue, 15 Oct 2019 19:15:06 GMT
* Dependencies: @types/node
### Additional Details
* Last updated: Mon, 13 Jan 2020 18:36:00 GMT
* Dependencies: [@types/node](https://npmjs.com/package/@types/node)
* Global values: none
# Credits
These definitions were written by Maxime LUCE <https://github.com/SomaticIT>, Daniel Heim <https://github.com/danielheim>, Brice BERNARD <https://github.com/brikou>, Veli-Pekka Kestilä <https://github.com/vpk>, Daniel Parker <https://github.com/rlgod>, Kjell Dießel <https://github.com/kettil>, and Robert Gajda <https://github.com/RunAge>.
These definitions were written by Maxime LUCE (https://github.com/SomaticIT), Daniel Heim (https://github.com/danielheim), Brice BERNARD (https://github.com/brikou), Veli-Pekka Kestilä (https://github.com/vpk), Daniel Parker (https://github.com/rlgod), Kjell Dießel (https://github.com/kettil), Robert Gajda (https://github.com/RunAge), and Nico Flaig (https://github.com/nflaig).
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