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

h2o2

Package Overview
Dependencies
Maintainers
5
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 8.1.1 to 8.1.2

9

lib/index.js

@@ -49,3 +49,4 @@ 'use strict';

secureProtocol: Joi.string(),
ciphers: Joi.string()
ciphers: Joi.string(),
downstreamResponseTime: Joi.boolean()
})

@@ -168,2 +169,3 @@ .xor('host', 'mapUri', 'uri')

downstreamResponseTime = process.hrtime(downstreamStartTime);
request.log(['h2o2', 'success'], { downstreamResponseTime: downstreamResponseTime[0] * NS_PER_SEC + downstreamResponseTime[1] });
}

@@ -183,7 +185,2 @@ }

if (settings.downstreamResponseTime) {
downstreamResponseTime = process.hrtime(downstreamStartTime);
request.log(['h2o2', 'success'], { downstreamResponseTime: downstreamResponseTime[0] * NS_PER_SEC + downstreamResponseTime[1] });
}
if (settings._upstreamTtl) {

@@ -190,0 +187,0 @@ const cacheControlHeader = res.headers['cache-control'];

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

@@ -6,0 +6,0 @@ "main": "lib/index.js",

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