Socket
Socket
Sign inDemoInstall

@types/express

Package Overview
Dependencies
Maintainers
1
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/express - npm Package Compare versions

Comparing version 4.0.33 to 4.0.34

23

express/index.d.ts

@@ -31,4 +31,25 @@ // Type definitions for Express 4.x

export function Router(options?: any): core.Router;
export function Router(options?: RouterOptions): core.Router;
interface RouterOptions {
/**
* Enable case sensitivity.
*/
caseSensitive?: boolean;
/**
* Preserve the req.params values from the parent router.
* If the parent and the child have conflicting param names, the child’s value take precedence.
*
* @default false
* @since 4.5.0
*/
mergeParams?: boolean;
/**
* Enable strict routing.
*/
strict?: boolean;
}
interface Application extends core.Application { }

@@ -35,0 +56,0 @@ interface CookieOptions extends core.CookieOptions { }

5

express/package.json
{
"name": "@types/express",
"version": "4.0.33",
"version": "4.0.34",
"description": "TypeScript definitions for Express 4.x",

@@ -17,4 +17,5 @@ "license": "MIT",

},
"peerDependencies": {},
"typings": "index.d.ts",
"typesPublisherContentHash": "f90dd99bbc97c7740fc818b879061f6a5c5c49275069d6380ccfa0a65ccf077a"
"typesPublisherContentHash": "cb2883774f9ff8bf15e334e96c3f98fd01820ea5da7fe8c99b6a1131b8816784"
}

@@ -11,3 +11,3 @@ # Installation

Additional Details
* Last updated: Mon, 19 Sep 2016 17:28:58 GMT
* Last updated: Tue, 15 Nov 2016 14:55:32 GMT
* File structure: ProperModule

@@ -14,0 +14,0 @@ * Library Dependencies: express-serve-static-core, serve-static

@@ -12,4 +12,4 @@ {

],
"libraryMajorVersion": "4",
"libraryMinorVersion": "0",
"libraryMajorVersion": 4,
"libraryMinorVersion": 0,
"libraryName": "Express 4.x",

@@ -31,3 +31,3 @@ "typingsPackageName": "express",

"hasPackageJson": false,
"contentHash": "f90dd99bbc97c7740fc818b879061f6a5c5c49275069d6380ccfa0a65ccf077a"
"contentHash": "cb2883774f9ff8bf15e334e96c3f98fd01820ea5da7fe8c99b6a1131b8816784"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc