@tinyhttp/req
Advanced tools
Comparing version 2.2.0 to 2.2.1
@@ -10,1 +10,2 @@ /// <reference types="node" /> | ||
export {}; | ||
//# sourceMappingURL=accepts.d.ts.map |
@@ -7,1 +7,2 @@ /// <reference types="node" /> | ||
export declare function fresh(reqHeaders: IncomingHttpHeaders, resHeaders: OutgoingHttpHeaders): boolean; | ||
//# sourceMappingURL=fresh.d.ts.map |
@@ -0,1 +1,2 @@ | ||
/// <reference types="node" /> | ||
import { IncomingMessage as Request, ServerResponse as Response } from 'node:http'; | ||
@@ -10,1 +11,2 @@ import { Options, Ranges, Result } from 'header-range-parser'; | ||
export declare const reqIs: (req: Pick<Request, 'headers'>) => (...types: string[]) => string | false; | ||
//# sourceMappingURL=index.d.ts.map |
{ | ||
"name": "@tinyhttp/req", | ||
"version": "2.2.0", | ||
"version": "2.2.1", | ||
"type": "module", | ||
@@ -30,6 +30,9 @@ "description": "request extensions for tinyhttp", | ||
"header-range-parser": "^1.1.3", | ||
"@tinyhttp/accepts": "2.2.0", | ||
"@tinyhttp/type-is": "2.2.0", | ||
"@tinyhttp/accepts": "2.2.1", | ||
"@tinyhttp/type-is": "2.2.1", | ||
"@tinyhttp/url": "2.1.0" | ||
}, | ||
"files": [ | ||
"dist" | ||
], | ||
"scripts": { | ||
@@ -36,0 +39,0 @@ "dev": "vite", |
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
15281
11
121
+ Added@tinyhttp/accepts@2.2.1(transitive)
+ Added@tinyhttp/type-is@2.2.1(transitive)
+ Addedmime@4.0.1(transitive)
- Removed@tinyhttp/accepts@2.2.0(transitive)
- Removed@tinyhttp/type-is@2.2.0(transitive)
- Removedmime@4.0.0-beta.1(transitive)
Updated@tinyhttp/accepts@2.2.1
Updated@tinyhttp/type-is@2.2.1