Socket
Socket
Sign inDemoInstall

http2-wrapper

Package Overview
Dependencies
Maintainers
1
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

http2-wrapper - npm Package Compare versions

Comparing version 1.0.0-beta.2 to 1.0.0-beta.3

2

package.json
{
"name": "http2-wrapper",
"version": "1.0.0-beta.2",
"version": "1.0.0-beta.3",
"description": "HTTP2 client, just with the familiar `https` API",

@@ -5,0 +5,0 @@ "main": "source",

@@ -64,13 +64,9 @@ 'use strict';

if (protocol === 'http/1.1') {
if (options.agent && options.agent.https) {
options.agent = options.agent.https;
}
if (options.agent && options.agent.https) {
options.agent = options.agent.https;
}
options._defaultAgent = https.globalAgent;
options._defaultAgent = https.globalAgent;
return http.request(options, callback);
}
throw new Error('Unknown ALPN protocol');
return http.request(options, callback);
}

@@ -77,0 +73,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