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

h2o2

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

h2o2 - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

3

lib/index.js

@@ -51,4 +51,3 @@ // Load modules

var error = internals.schema.validate(options).error;
Hoek.assert(!error, 'Invalid proxy handler options (' + route.path + ')', error && error.annotate());
Joi.assert(options, internals.schema, 'Invalid proxy handler options (' + route.path + ')');
Hoek.assert(!route.settings.payload || ((route.settings.payload.output === 'data' || route.settings.payload.output === 'stream') && !route.settings.payload.parse), 'Cannot proxy if payload is parsed or if output is not stream or data');

@@ -55,0 +54,0 @@ var settings = Hoek.applyToDefaultsWithShallow(internals.defaults, options, ['agent']);

{
"name": "h2o2",
"description": "Proxy handler for hapi.js",
"version": "1.0.0",
"version": "1.0.1",
"repository": "git://github.com/hapijs/h2o2",

@@ -17,7 +17,7 @@ "main": "index",

"dependencies": {
"boom": "2.x.x",
"hoek": "2.x.x",
"joi": "^4.6.x",
"statehood": "^1.2.x",
"wreck": "5.x.x"
"boom": "2.x.x",
"hoek": "2.x.x",
"joi": "^4.7.x",
"statehood": "^1.2.x",
"wreck": "5.x.x"
},

@@ -24,0 +24,0 @@ "devDependencies": {

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