New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@fastify/flash

Package Overview
Dependencies
Maintainers
20
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fastify/flash - npm Package Compare versions

Comparing version 5.1.0 to 5.2.0

2

lib/flash.d.ts

@@ -1,2 +0,2 @@

declare type ReplyReturn = {
type ReplyReturn = {
[k: string]: string[] | undefined;

@@ -3,0 +3,0 @@ } | string[];

@@ -1,3 +0,11 @@

/// <reference types="node" />
declare const _default: import("fastify").FastifyPluginCallback<{}, import("http").Server, import("fastify").FastifyTypeProviderDefault>;
import { flashFactory } from './flash';
declare module 'fastify' {
interface FastifyRequest {
flash: ReturnType<typeof flashFactory>['request'];
}
interface FastifyReply {
flash: ReturnType<typeof flashFactory>['reply'];
}
}
declare const _default: import("fastify").FastifyPluginCallback<{}, import("fastify").RawServerDefault, import("fastify").FastifyTypeProviderDefault>;
export = _default;
{
"name": "@fastify/flash",
"version": "5.1.0",
"version": "5.2.0",
"description": "Flash message plugin for fastify.",
"main": "./lib",
"type": "commonjs",
"scripts": {

@@ -23,3 +24,3 @@ "prebuild": "npm run clean-build && npm run lint",

"type": "git",
"url": "git+https://github.com/fastify/fastify-flash"
"url": "git+https://github.com/fastify/fastify-flash.git"
},

@@ -44,9 +45,9 @@ "keywords": [

},
"homepage": "http://fastify.io/",
"homepage": "http://fastify.dev/",
"devDependencies": {
"@fastify/secure-session": "^5.0.0",
"@types/node": "^18.0.0",
"@fastify/secure-session": "^7.0.0",
"@types/node": "^20.1.0",
"fastify": "^4.0.0-rc.2",
"prettier": "^2.5.1",
"rimraf": "^3.0.2",
"prettier": "^3.0.0",
"rimraf": "^5.0.0",
"tap": "^16.0.0",

@@ -57,3 +58,3 @@ "tap-mocha-reporter": "^5.0.3",

"tslint-config-prettier": "^1.18.0",
"typescript": "^4.6.2"
"typescript": "^5.0.2"
},

@@ -60,0 +61,0 @@ "dependencies": {

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