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 0.4.0 to 0.4.1

7

CHANGELOG.md
# @tinyhttp/req
## 0.4.1
### Patch Changes
- Updated dependencies [undefined]
- @tinyhttp/accepts@0.4.1
## 0.4.0

@@ -4,0 +11,0 @@

2

dist/index.js

@@ -35,3 +35,3 @@ import parseRange from 'range-parser';

// 2xx or 304 as per rfc2616 14.26
if ((status >= 200 && status < 300) || 304 === status) {
if ((status >= 200 && status < 300) || status === 304) {
const resHeaders = {

@@ -38,0 +38,0 @@ etag: getRequestHeader(req)('ETag'),

{
"name": "@tinyhttp/req",
"version": "0.4.0",
"version": "0.4.1",
"type": "module",

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

"dependencies": {
"@tinyhttp/accepts": "0.4.0",
"@tinyhttp/accepts": "0.4.1",
"@tinyhttp/type-is": "0.4.0",

@@ -44,0 +44,0 @@ "@tinyhttp/url": "0.4.0",

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

// 2xx or 304 as per rfc2616 14.26
if ((status >= 200 && status < 300) || 304 === status) {
if ((status >= 200 && status < 300) || status === 304) {
const resHeaders = {

@@ -41,0 +41,0 @@ etag: getRequestHeader(req)('ETag'),

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