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

@tinyhttp/req

Package Overview
Dependencies
Maintainers
1
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tinyhttp/req - npm Package Compare versions

Comparing version 2.2.0 to 2.2.1

dist/accepts.d.ts.map

1

dist/accepts.d.ts

@@ -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

9

package.json
{
"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",

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