@types/method-override
Advanced tools
Comparing version 0.0.21-alpha to 0.0.22-alpha
@@ -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" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
2550
43
0
1
+ Added@types/express@4.0.*
+ Added@types/body-parser@1.19.5(transitive)
+ Added@types/connect@3.4.38(transitive)
+ Added@types/express@4.0.39(transitive)
+ Added@types/express-serve-static-core@5.0.2(transitive)
+ Added@types/http-errors@2.0.4(transitive)
+ Added@types/mime@1.3.5(transitive)
+ Added@types/node@22.10.2(transitive)
+ Added@types/qs@6.9.17(transitive)
+ Added@types/range-parser@1.2.7(transitive)
+ Added@types/send@0.17.4(transitive)
+ Added@types/serve-static@1.15.7(transitive)
+ Addedundici-types@6.20.0(transitive)