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

fast-jwt

Package Overview
Dependencies
Maintainers
5
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fast-jwt - npm Package Compare versions

Comparing version 5.0.1 to 5.0.2

2

package.json
{
"name": "fast-jwt",
"version": "5.0.1",
"version": "5.0.2",
"description": "Fast JSON Web Token implementation",

@@ -5,0 +5,0 @@ "author": "NearForm Ltd",

@@ -68,3 +68,4 @@ export type Algorithm =

payload: any
signature: string
signature: string,
input: string
}

@@ -71,0 +72,0 @@

@@ -291,3 +291,3 @@ 'use strict'

const { header, payload, signature } = decoded
const { header, payload, signature, input } = decoded
const cacheContext = {

@@ -313,3 +313,3 @@ cache,

return cacheSet(cacheContext, complete ? { header, payload, signature, input: token } : payload)
return cacheSet(cacheContext, complete ? { header, payload, signature, input } : payload)
} catch (e) {

@@ -316,0 +316,0 @@ throw cacheSet(cacheContext, e)

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