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

@types/method-override

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/method-override - npm Package Compare versions

Comparing version 0.0.31 to 0.0.32

2

method-override/index.d.ts

@@ -9,3 +9,3 @@ // Type definitions for method-override

export interface Request {
originalMethod?: string;
originalMethod?: string | undefined;
}

@@ -12,0 +12,0 @@ }

{
"name": "@types/method-override",
"version": "0.0.31",
"version": "0.0.32",
"description": "TypeScript definitions for method-override",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/method-override",
"license": "MIT",

@@ -14,5 +15,7 @@ "contributors": [

"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/method-override"
},

@@ -23,4 +26,4 @@ "scripts": {},

},
"typesPublisherContentHash": "f537e54acac324459538d9d654c656bf8040eee5e67fa0f0b3eb7f2cd4a3fcb9",
"typeScriptVersion": "2.3"
"typesPublisherContentHash": "318525eca1ca5250f11177beea88d0cd73535745817cd366e94e54b2dcd813a6",
"typeScriptVersion": "3.6"
}

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

# Details
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/method-override
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/method-override.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/method-override/index.d.ts)
````ts
// Type definitions for method-override
// Project: https://github.com/expressjs/method-override
// Definitions by: Santi Albo <https://github.com/santialbo>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3
Additional Details
* Last updated: Wed, 25 Oct 2017 18:38:03 GMT
* Dependencies: express
declare namespace Express {
export interface Request {
originalMethod?: string | undefined;
}
}
import express = require('express');
declare namespace e {
export interface MethodOverrideOptions {
methods: string[];
}
}
declare function e(getter?: string | ((req: express.Request, res: express.Response) => string), options?: e.MethodOverrideOptions): express.RequestHandler;
export = e;
````
### Additional Details
* Last updated: Tue, 06 Jul 2021 22:03:04 GMT
* Dependencies: [@types/express](https://npmjs.com/package/@types/express)
* Global values: none
# Credits
These definitions were written by Santi Albo <https://github.com/santialbo>.
These definitions were written by [Santi Albo](https://github.com/santialbo).

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