@types/accepts
Advanced tools
Comparing version 1.3.3 to 1.3.4
// Type definitions for accepts 1.3 | ||
// Project: https://github.com/jshttp/accepts | ||
// Definitions by: Stefan Reichel <https://github.com/bomret> | ||
// Brice BERNARD <https://github.com/brikou> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
/// <reference types="node" /> | ||
import { IncomingMessage } from "http"; | ||
declare namespace accepts { | ||
interface Headers { | ||
[key: string]: string | string[]; | ||
} | ||
interface Accepts { | ||
@@ -58,4 +59,4 @@ /** | ||
declare function accepts(req: { headers: accepts.Headers }): accepts.Accepts; | ||
declare function accepts(req: IncomingMessage): accepts.Accepts; | ||
export = accepts; |
{ | ||
"name": "@types/accepts", | ||
"version": "1.3.3", | ||
"version": "1.3.4", | ||
"description": "TypeScript definitions for accepts", | ||
@@ -11,2 +11,7 @@ "license": "MIT", | ||
"githubUsername": "bomret" | ||
}, | ||
{ | ||
"name": "Brice BERNARD", | ||
"url": "https://github.com/brikou", | ||
"githubUsername": "brikou" | ||
} | ||
@@ -20,5 +25,7 @@ ], | ||
"scripts": {}, | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "47f2bd002da383f21b8a5272ef0473e95325833bfe04790f27561d3f19ea2fe1", | ||
"dependencies": { | ||
"@types/node": "*" | ||
}, | ||
"typesPublisherContentHash": "b13809e566087a6f2bc06159e4e8fe38020e2f10f972436c37d92de8e42c8697", | ||
"typeScriptVersion": "2.0" | ||
} |
@@ -11,7 +11,7 @@ # Installation | ||
Additional Details | ||
* Last updated: Mon, 18 Sep 2017 14:08:00 GMT | ||
* Dependencies: none | ||
* Last updated: Wed, 13 Dec 2017 22:05:56 GMT | ||
* Dependencies: http, node | ||
* Global values: none | ||
# Credits | ||
These definitions were written by Stefan Reichel <https://github.com/bomret>. | ||
These definitions were written by Stefan Reichel <https://github.com/bomret>, Brice BERNARD <https://github.com/brikou>. |
Sorry, the diff of this file is not supported yet
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
4964
1
+ Added@types/node@*
+ Added@types/node@22.10.2(transitive)
+ Addedundici-types@6.20.0(transitive)