@fastify/flash
Advanced tools
Comparing version 5.1.0 to 5.2.0
@@ -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": { |
8753
7
89