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

fastify-jwt

Package Overview
Dependencies
Maintainers
7
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fastify-jwt - npm Package Compare versions

Comparing version 1.4.0 to 1.5.0

.github/workflows/ci.yml

4

index.d.ts

@@ -62,4 +62,6 @@ import * as fastify from 'fastify';

type Secret = jwt.Secret | ((request: fastify.FastifyRequest, reply: fastify.FastifyReply<unknown>, cb: (e: Error | null, secret: string | undefined) => void) => void);
declare interface FastifyJWTOptions {
secret: jwt.Secret | { public: jwt.Secret; private: jwt.Secret };
secret: Secret | { public: Secret; private: Secret };
decode?: jwt.DecodeOptions;

@@ -66,0 +68,0 @@ sign?: jwt.SignOptions;

{
"name": "fastify-jwt",
"version": "1.4.0",
"version": "1.5.0",
"description": "JWT utils for Fastify",

@@ -45,8 +45,3 @@ "main": "jwt.js",

"typescript": "^3.2.2"
},
"greenkeeper": {
"ignore": [
"tap"
]
}
}
# fastify-jwt
[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](http://standardjs.com/) [![Build Status](https://dev.azure.com/fastify/fastify/_apis/build/status/fastify.fastify-jwt?branchName=master)](https://dev.azure.com/fastify/fastify/_build/latest?definitionId=5&branchName=master) [![Greenkeeper badge](https://badges.greenkeeper.io/fastify/fastify-jwt.svg)](https://greenkeeper.io/)
[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](http://standardjs.com/)

@@ -5,0 +5,0 @@ JWT utils for Fastify, internally uses [jsonwebtoken](https://github.com/auth0/node-jsonwebtoken).

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

}).ready(function (error) {
t.is(error, null)
t.error(error)
})

@@ -73,3 +73,3 @@ })

}).ready(function (error) {
t.is(error, null)
t.error(error)
})

@@ -150,3 +150,3 @@ })

}).ready(function (error) {
t.is(error, null)
t.error(error)
})

@@ -180,3 +180,3 @@ })

}).ready(function (error) {
t.is(error, null)
t.error(error)
})

@@ -207,3 +207,3 @@ })

}).ready(function (error) {
t.is(error, null)
t.error(error)
})

@@ -210,0 +210,0 @@ })

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