Socket
Socket
Sign inDemoInstall

@connectedcars/jwtutils

Package Overview
Dependencies
Maintainers
10
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@connectedcars/jwtutils - npm Package Compare versions

Comparing version 1.0.24 to 1.0.25

8

package.json
{
"name": "@connectedcars/jwtutils",
"version": "1.0.24",
"version": "1.0.25",
"description": "Zero dependency JWT encoding/decoding for Node",

@@ -42,2 +42,3 @@ "main": "src/index.js",

"coveralls": "^3.0.6",
"dtslint": "^0.9.8",
"eslint": "^6.5.1",

@@ -49,3 +50,3 @@ "eslint-config-prettier": "^6.3.0",

"microtime": "^3.0.0",
"mocha": "^6.2.1",
"mocha": "^8.0.1",
"nyc": "^14.1.1",

@@ -56,4 +57,3 @@ "prettier": "^1.18.2",

"typescript": "^3.6.3",
"unexpected": "^11.8.0",
"dtslint": "^0.9.8"
"unexpected": "^11.8.0"
},

@@ -60,0 +60,0 @@ "nyc": {

@@ -77,1 +77,17 @@ // TypeScript Version: 3.0

export function JwtAuthMiddleware(pubKeys: any, audiences: string[], mapper: (user: any) => void, options?: JwtAuthMiddlewareOptions): (request: any, response: any, next: () => void) => void
export interface JwkKeysOptions {
defaultAlgoritms?: string[]
[x: string]: any // Allow any other fields
}
export class PubkeysHelper {
public fetchJwkKeys: (url: string, options?: JwkKeysOptions) => Promise<any>
constructor(
httpRequestHandler?: (
method: string,
url: string,
headers: any,
body: Buffer | string
) => Promise<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