Socket
Socket
Sign inDemoInstall

fast-jwt

Package Overview
Dependencies
Maintainers
4
Versions
51
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 1.5.2 to 1.5.3

4

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

@@ -81,3 +81,3 @@ "author": "NearForm Ltd",

"engines": {
"node": "^16 || ^14 || ^12"
"node": "^17 || ^16 || ^14 || ^12"
},

@@ -84,0 +84,0 @@ "tsd": {

@@ -109,3 +109,10 @@ import 'node'

export function createSigner(options?: Partial<SignerOptions & { key: string | Buffer }>): typeof SignerSync
export interface PrivateKey {
key: string | Buffer
passphrase: string | undefined
}
export function createSigner(
options?: Partial<SignerOptions & { key: string | Buffer | PrivateKey }>
): typeof SignerSync
export function createSigner(options?: Partial<SignerOptions & { key: KeyFetcher }>): typeof SignerAsync

@@ -112,0 +119,0 @@ export function createDecoder(options?: Partial<DecoderOptions>): (token: string | Buffer) => any

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