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

http2-wrapper

Package Overview
Dependencies
Maintainers
2
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 2.1.3 to 2.1.4

3

index.d.ts

@@ -17,2 +17,5 @@ // See https://github.com/facebook/jest/issues/2549

agent?: Agent | false;
// Required because @types/node is missing types
ALPNProtocols?: string[];
}

@@ -19,0 +22,0 @@

2

package.json
{
"name": "http2-wrapper",
"version": "2.1.3",
"version": "2.1.4",
"description": "HTTP2 client, just with the familiar `https` API",

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

'use strict';
const net = require('net');
/* istanbul ignore file: https://github.com/nodejs/node/blob/v13.0.1/lib/_http_agent.js */

@@ -18,7 +17,6 @@

if (net.isIP(servername)) {
return '';
}
// Removed empty string return for IP,
// otherwise https://1.1.1.1/ would fail.
return servername;
};
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