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.21-alpha to 0.0.22-alpha

18

index.d.ts

@@ -14,15 +14,13 @@ // Type definitions for method-override

declare module "method-override" {
import express = require('express');
import express = require('express');
namespace e {
export interface MethodOverrideOptions {
methods: string[];
}
declare namespace e {
export interface MethodOverrideOptions {
methods: string[];
}
}
function e(getter?: string, options?: e.MethodOverrideOptions): express.RequestHandler;
function e(getter?: (req: express.Request, res: express.Response) => string, options?: e.MethodOverrideOptions): express.RequestHandler;
declare function e(getter?: string, options?: e.MethodOverrideOptions): express.RequestHandler;
declare function e(getter?: (req: express.Request, res: express.Response) => string, options?: e.MethodOverrideOptions): express.RequestHandler;
export = e;
}
export = e;
{
"name": "@types/method-override",
"version": "0.0.21-alpha",
"version": "0.0.22-alpha",
"description": "TypeScript definitions for method-override",

@@ -8,5 +8,11 @@ "main": "",

"author": "Santi Albo <https://github.com/santialbo/>",
"repository": {
"type": "git",
"url": "https://www.github.com/DefinitelyTyped/DefinitelyTyped.git"
},
"license": "MIT",
"typings": "index.d.ts",
"dependencies": {}
"dependencies": {
"@types/express": "4.0.*"
}
}

@@ -11,9 +11,9 @@ # Installation

Additional Details
* Last updated: Wed, 25 May 2016 04:20:24 GMT
* File structure: OldUMD
* Last updated: Fri, 01 Jul 2016 18:42:29 GMT
* File structure: ProperModule
* Library Dependencies: none
* Module Dependencies: none
* Global values: none
* Module Dependencies: express
* Global values: e
# Credits
These definitions were written by Santi Albo <https://github.com/santialbo/>.

@@ -5,3 +5,5 @@ {

"libraryDependencies": [],
"moduleDependencies": [],
"moduleDependencies": [
"express"
],
"libraryMajorVersion": "0",

@@ -14,4 +16,6 @@ "libraryMinorVersion": "0",

"sourceBranch": "types-2.0",
"kind": "OldUMD",
"globals": [],
"kind": "ProperModule",
"globals": [
"e"
],
"declaredModules": [

@@ -23,3 +27,3 @@ "method-override"

],
"contentHash": "fcab3db774464d1f38736daa7850e89d62810ea0091e97db73558c907498fcea"
"contentHash": "1b6ce1078aab99bcb7531f4be54ccd1b144ab1b7f3cf7288f82400a446e56bba"
}
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