Socket
Socket
Sign inDemoInstall

@types/jsonwebtoken

Package Overview
Dependencies
2
Maintainers
1
Versions
51
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 7.2.1 to 7.2.2

7

jsonwebtoken/index.d.ts

@@ -30,3 +30,3 @@ // Type definitions for jsonwebtoken 7.2.0

* Signature algorithm. Could be one of these values :
* - HS256: HMAC using SHA-256 hash algorithm
* - HS256: HMAC using SHA-256 hash algorithm (default)
* - HS384: HMAC using SHA-384 hash algorithm

@@ -44,5 +44,6 @@ * - HS512: HMAC using SHA-512 hash algorithm

keyid?: string;
/** @member {string} - Lifetime for the token expressed in a string describing a time span [rauchg/ms](https://github.com/rauchg/ms.js). Eg: `60`, `"2 days"`, `"10h"`, `"7d"` */
/** @member {string} - expressed in seconds or a string describing a time span [zeit/ms](https://github.com/zeit/ms.js). Eg: 60, "2 days", "10h", "7d" */
expiresIn?: string | number;
notBefore?: string;
/** @member {string} - expressed in seconds or a string describing a time span [zeit/ms](https://github.com/zeit/ms.js). Eg: 60, "2 days", "10h", "7d" */
notBefore?: string | number;
audience?: string | string[];

@@ -49,0 +50,0 @@ subject?: string;

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

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

"peerDependencies": {},
"typesPublisherContentHash": "91559d189c8253006eb07333d1f9119d950e7ab4f94c7025d9bacdee0024c220",
"typesPublisherContentHash": "bfed69e012c87a3c45ce5b00191d4abed7cd653c64abcaad8a4f0dea0166b659",
"typeScriptVersion": "2.2"
}

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

Additional Details
* Last updated: Mon, 05 Jun 2017 19:55:52 GMT
* Last updated: Fri, 07 Jul 2017 20:52:56 GMT
* Dependencies: node

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc