Socket
Socket
Sign inDemoInstall

@hapi/hapi

Package Overview
Dependencies
Maintainers
6
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hapi/hapi - npm Package Compare versions

Comparing version 20.1.1 to 20.1.2

2

lib/request.js

@@ -312,3 +312,3 @@ 'use strict';

this.raw.req.on('close', internals.event.bind(this.raw.req, this._eventContext, 'close'));
this.raw.res.on('close', internals.event.bind(this.raw.res, this._eventContext, 'close'));
this.raw.req.on('error', internals.event.bind(this.raw.req, this._eventContext, 'error'));

@@ -315,0 +315,0 @@ this.raw.req.on('aborted', internals.event.bind(this.raw.req, this._eventContext, 'abort'));

@@ -664,2 +664,9 @@ 'use strict';

if (stream.destroy) {
stream.destroy();
return;
}
// Fallback for old-style streams
stream.unpipe();

@@ -670,5 +677,2 @@

}
else {
stream.destroy();
}
}

@@ -675,0 +679,0 @@ };

@@ -5,3 +5,3 @@ {

"homepage": "https://hapi.dev",
"version": "20.1.1",
"version": "20.1.2",
"repository": "git://github.com/hapijs/hapi",

@@ -24,28 +24,29 @@ "main": "lib/index.js",

"@hapi/ammo": "^5.0.1",
"@hapi/boom": "9.x.x",
"@hapi/bounce": "2.x.x",
"@hapi/call": "8.x.x",
"@hapi/boom": "^9.1.0",
"@hapi/bounce": "^2.0.0",
"@hapi/call": "^8.0.0",
"@hapi/catbox": "^11.1.1",
"@hapi/catbox-memory": "5.x.x",
"@hapi/catbox-memory": "^5.0.0",
"@hapi/heavy": "^7.0.1",
"@hapi/hoek": "9.x.x",
"@hapi/mimos": "5.x.x",
"@hapi/hoek": "^9.0.4",
"@hapi/mimos": "^5.0.0",
"@hapi/podium": "^4.1.1",
"@hapi/shot": "^5.0.1",
"@hapi/somever": "3.x.x",
"@hapi/shot": "^5.0.5",
"@hapi/somever": "^3.0.0",
"@hapi/statehood": "^7.0.3",
"@hapi/subtext": "^7.0.3",
"@hapi/teamwork": "5.x.x",
"@hapi/topo": "5.x.x",
"@hapi/validate": "^1.1.0"
"@hapi/teamwork": "^5.1.0",
"@hapi/topo": "^5.0.0",
"@hapi/validate": "^1.1.1"
},
"devDependencies": {
"@hapi/code": "8.x.x",
"@hapi/code": "^8.0.0",
"@hapi/inert": "^6.0.2",
"@hapi/joi-legacy-test": "npm:@hapi/joi@15.x.x",
"@hapi/lab": "24.x.x",
"@hapi/wreck": "17.x.x",
"@hapi/joi-legacy-test": "npm:@hapi/joi@^15.0.0",
"@hapi/lab": "^24.0.0",
"@hapi/vision": "^6.0.1",
"handlebars": "^4.5.3",
"joi": "17.x.x"
"@hapi/wreck": "^17.0.0",
"handlebars": "^4.7.4",
"joi": "^17.0.0",
"legacy-readable-stream": "npm:readable-stream@^1.0.34"
},

@@ -52,0 +53,0 @@ "scripts": {

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