Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@hapi/h2o2

Package Overview
Dependencies
Maintainers
7
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hapi/h2o2 - npm Package Compare versions

Comparing version 10.0.0 to 10.0.1

9

lib/index.js

@@ -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 @@

18

package.json
{
"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 @@ },

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