@tinyhttp/req
Advanced tools
Comparing version 0.4.0 to 0.4.1
# @tinyhttp/req | ||
## 0.4.1 | ||
### Patch Changes | ||
- Updated dependencies [undefined] | ||
- @tinyhttp/accepts@0.4.1 | ||
## 0.4.0 | ||
@@ -4,0 +11,0 @@ |
@@ -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
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
12600
+ Added@tinyhttp/accepts@0.4.1(transitive)
- Removed@tinyhttp/accepts@0.4.0(transitive)
Updated@tinyhttp/accepts@0.4.1