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

@types/connect

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/connect - npm Package Compare versions

Comparing version 3.4.32 to 3.4.33

10

connect/index.d.ts

@@ -21,7 +21,11 @@ // Type definitions for connect v3.4.0

export class IncomingMessage extends http.IncomingMessage {
originalUrl?: http.IncomingMessage["url"];
}
type NextFunction = (err?: any) => void;
export type SimpleHandleFunction = (req: http.IncomingMessage, res: http.ServerResponse) => void;
export type NextHandleFunction = (req: http.IncomingMessage, res: http.ServerResponse, next: NextFunction) => void;
export type ErrorHandleFunction = (err: any, req: http.IncomingMessage, res: http.ServerResponse, next: NextFunction) => void;
export type SimpleHandleFunction = (req: IncomingMessage, res: http.ServerResponse) => void;
export type NextHandleFunction = (req: IncomingMessage, res: http.ServerResponse, next: NextFunction) => void;
export type ErrorHandleFunction = (err: any, req: IncomingMessage, res: http.ServerResponse, next: NextFunction) => void;
export type HandleFunction = SimpleHandleFunction | NextHandleFunction | ErrorHandleFunction;

@@ -28,0 +32,0 @@

{
"name": "@types/connect",
"version": "3.4.32",
"version": "3.4.33",
"description": "TypeScript definitions for connect",

@@ -19,5 +19,7 @@ "license": "MIT",

"main": "",
"types": "index.d.ts",
"repository": {
"type": "git",
"url": "https://www.github.com/DefinitelyTyped/DefinitelyTyped.git"
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
"directory": "types/connect"
},

@@ -28,4 +30,4 @@ "scripts": {},

},
"typesPublisherContentHash": "d988cf1d88b273d694c4fcfe3699c4785f7e60ea0c8e094b598922c43ab3fb4e",
"typeScriptVersion": "2.0"
"typesPublisherContentHash": "d19c4861b6d43a27e57437c43e111f73cb2ba46b364d4f737a8ba379b4f4eddb",
"typeScriptVersion": "2.8"
}

@@ -8,10 +8,10 @@ # Installation

# Details
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/connect
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/connect.
Additional Details
* Last updated: Tue, 17 Apr 2018 01:01:05 GMT
* Dependencies: http, node
### Additional Details
* Last updated: Tue, 17 Dec 2019 13:27:31 GMT
* Dependencies: [@types/node](https://npmjs.com/package/@types/node)
* Global values: none
# Credits
These definitions were written by Maxime LUCE <https://github.com/SomaticIT>, Evan Hahn <https://github.com/EvanHahn>.
These definitions were written by Maxime LUCE (https://github.com/SomaticIT), and Evan Hahn (https://github.com/EvanHahn).
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