Socket
Socket
Sign inDemoInstall

@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 0.1.5 to 0.1.6

6

CHANGELOG.md
# @tinyhttp/req
## 0.1.6
### Patch Changes
- Move URL extensions to @tinyhttp/url
## 0.1.5

@@ -4,0 +10,0 @@

1

dist/index.d.ts

@@ -8,1 +8,2 @@ import { IncomingMessage as Request, ServerResponse as Response } from 'http';

export declare const getAccepts: (req: Request) => (...types: string[]) => string | false | string[];
export * from '@tinyhttp/url';
import parseRange from 'range-parser';
import fresh from 'es-fresh';
import { Accepts } from '@tinyhttp/accepts';
export * from '@tinyhttp/url';

@@ -5,0 +6,0 @@ const getRequestHeader = (req) => (header) => {

3

package.json
{
"name": "@tinyhttp/req",
"version": "0.1.5",
"version": "0.1.6",
"type": "module",

@@ -42,2 +42,3 @@ "description": "request extensions for tinyhttp",

"@tinyhttp/accepts": "0.0.23",
"@tinyhttp/url": "^0.0.0",
"es-fresh": "^0.0.8",

@@ -44,0 +45,0 @@ "range-parser": "^1.2.1"

@@ -55,1 +55,3 @@ import { IncomingMessage as Request, ServerResponse as Response } from 'http'

}
export * from '@tinyhttp/url'

Sorry, the diff of this file is not supported yet

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