You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

@fastify/jwt

Package Overview
Dependencies
Maintainers
19
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 6.3.1 to 6.3.2

2

jwt.d.ts

@@ -117,2 +117,4 @@ import {

decode<Decoded extends DecodePayloadType>(token: string, options?: Partial<DecoderOptions>): null | Decoded
lookupToken(request: fastify.FastifyRequest, options?: FastifyJWTOptions['verify']): string
}

@@ -119,0 +121,0 @@

4

package.json
{
"name": "@fastify/jwt",
"version": "6.3.1",
"version": "6.3.2",
"description": "JWT utils for Fastify",

@@ -42,5 +42,5 @@ "main": "jwt.js",

"@fastify/cookie": "^7.0.0",
"@fastify/pre-commit": "^2.0.2",
"@types/node": "^18.0.0",
"fastify": "^4.0.0-rc.2",
"pre-commit": "^1.2.2",
"standard": "^17.0.0",

@@ -47,0 +47,0 @@ "tap": "^16.0.0",

@@ -17,3 +17,3 @@ # @fastify/jwt

```
npm i @fastify/jwt --save
npm i @fastify/jwt
```

@@ -20,0 +20,0 @@

@@ -95,2 +95,3 @@ import fastify from 'fastify';

expectAssignable<Function>(app.jwt.decode)
expectAssignable<Function>(app.jwt.lookupToken)
expectAssignable<FastifyJWTOptions['cookie']>(app.jwt.cookie)

@@ -97,0 +98,0 @@

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc