@hapi/h2o2
Advanced tools
Comparing version 10.0.0 to 10.0.1
@@ -13,3 +13,4 @@ 'use strict'; | ||
const internals = { | ||
NS_PER_SEC: 1e9 | ||
NS_PER_SEC: 1e9, | ||
CHUNKABLE: ['delete'] | ||
}; | ||
@@ -158,2 +159,8 @@ | ||
const encoding = options.headers['transfer-encoding']; | ||
if (!encoding && options.payload && internals.CHUNKABLE.includes(request.method)) { | ||
options.headers['transfer-encoding'] = 'chunked'; | ||
} | ||
let ttl = null; | ||
@@ -160,0 +167,0 @@ |
{ | ||
"name": "@hapi/h2o2", | ||
"description": "Proxy handler plugin for hapi.js", | ||
"version": "10.0.0", | ||
"version": "10.0.1", | ||
"repository": "git://github.com/hapijs/h2o2", | ||
@@ -26,13 +26,13 @@ "main": "lib/index.js", | ||
"dependencies": { | ||
"@hapi/boom": "^10.0.0", | ||
"@hapi/hoek": "^10.0.0", | ||
"@hapi/validate": "^2.0.0", | ||
"@hapi/wreck": "^18.0.0" | ||
"@hapi/boom": "^10.0.1", | ||
"@hapi/hoek": "^11.0.2", | ||
"@hapi/validate": "^2.0.1", | ||
"@hapi/wreck": "^18.0.1" | ||
}, | ||
"devDependencies": { | ||
"@hapi/code": "^9.0.0", | ||
"@hapi/eslint-plugin": "^6.0.0", | ||
"@hapi/hapi": "^21.0.0-beta.1", | ||
"@hapi/code": "^9.0.3", | ||
"@hapi/eslint-plugin": "*", | ||
"@hapi/hapi": "^21.2.1", | ||
"@hapi/inert": "^7.0.0", | ||
"@hapi/lab": "^25.0.1", | ||
"@hapi/lab": "^25.1.2", | ||
"@hapi/teamwork": "^6.0.0" | ||
@@ -39,0 +39,0 @@ }, |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
13401
239
3
- Removed@hapi/hoek@10.0.1(transitive)
Updated@hapi/boom@^10.0.1
Updated@hapi/hoek@^11.0.2
Updated@hapi/validate@^2.0.1
Updated@hapi/wreck@^18.0.1