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.0.4 to 2.0.7

2

dist/accepts.d.ts
/// <reference types="node" />
import { IncomingMessage } from 'http';
declare type Request = Pick<IncomingMessage, 'headers'>;
declare type AcceptReturns = string | false | string[];
declare type AcceptReturns = string | boolean | string[];
export declare const getAccepts: (req: Request) => (...types: string[]) => AcceptReturns;

@@ -6,0 +6,0 @@ export declare const getAcceptsEncodings: (req: Request) => (...encodings: string[]) => AcceptReturns;

{
"name": "@tinyhttp/req",
"version": "2.0.4",
"version": "2.0.7",
"type": "module",

@@ -29,11 +29,8 @@ "description": "request extensions for tinyhttp",

"dependencies": {
"@tinyhttp/accepts": "2.0.2",
"@tinyhttp/accepts": "2.0.3",
"@tinyhttp/type-is": "2.0.2",
"@tinyhttp/url": "2.0.3",
"es-fresh": "^0.0.10",
"range-parser": "^1.2.1"
"header-range-parser": "^1.0.0"
},
"devDependencies": {
"@types/range-parser": "^1.2.4"
},
"scripts": {

@@ -40,0 +37,0 @@ "build": "rollup -c ./rollup.config.js"

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