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

@types/express-flash

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/express-flash - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

2

express-flash/index.d.ts

@@ -7,3 +7,3 @@ // Type definitions for express-flash 0.0

import express = require('express');
import express = require("express");

@@ -10,0 +10,0 @@ declare global {

{
"name": "@types/express-flash",
"version": "0.0.2",
"version": "0.0.3",
"description": "TypeScript definitions for express-flash",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/express-flash",
"license": "MIT",

@@ -29,4 +30,4 @@ "contributors": [

},
"typesPublisherContentHash": "05e2ff2ddb4921be711f5292bdd81262395dcdb29322fdac9910e5b5c030c736",
"typeScriptVersion": "2.8"
"typesPublisherContentHash": "aa92bb0463651adc55a0b76db1a2f9daefac1739a3ad743300b55c3e412d5e3a",
"typeScriptVersion": "4.5"
}

@@ -9,5 +9,29 @@ # Installation

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/express-flash.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/express-flash/index.d.ts)
````ts
// Type definitions for express-flash 0.0
// Project: https://github.com/RGBboy/express-flash
// Definitions by: Ian Mobley <https://github.com/iMobs>
// Piotr Błażejewicz <https://github.com/peterblazejewicz>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
import express = require("express");
declare global {
namespace Express {
interface Request {
flash(message?: string): { [key: string]: string[] };
flash(event: string, message: string | string[]): any;
}
}
}
declare function flash(): express.RequestHandler;
export = flash;
````
### Additional Details
* Last updated: Mon, 10 Feb 2020 21:08:43 GMT
* Last updated: Sat, 23 Sep 2023 17:07:22 GMT
* Dependencies: [@types/express](https://npmjs.com/package/@types/express)

@@ -17,2 +41,2 @@ * Global values: none

# Credits
These definitions were written by Ian Mobley (https://github.com/iMobs), and Piotr Błażejewicz (https://github.com/peterblazejewicz).
These definitions were written by [Ian Mobley](https://github.com/iMobs), and [Piotr Błażejewicz](https://github.com/peterblazejewicz).

Sorry, the diff of this file is not supported yet

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