Socket
Socket
Sign inDemoInstall

http2

Package Overview
Dependencies
Maintainers
1
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

http2 - npm Package Compare versions

Comparing version 2.5.1 to 2.5.2

4

HISTORY.md
Version history
===============
### 2.5.2 (2014-05-25) ###
* Fix a bug that occurs when the ALPN negotiation is unsuccessful
### 2.5.1 (2014-05-25) ###

@@ -5,0 +9,0 @@

2

lib/http.js

@@ -790,3 +790,3 @@ // Public API

var negotiatedProtocol = socket.alpnProtocol || socket.npnProtocol;
if (negotiatedProtocol) {
if (negotiatedProtocol != null) { // null in >=0.11.0, undefined in <0.11.0
negotiated()

@@ -793,0 +793,0 @@ } else {

{
"name": "http2",
"version": "2.5.1",
"version": "2.5.2",
"description": "An HTTP/2 client and server implementation",

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

@@ -117,3 +117,3 @@ node-http2

To generate a code coverage report, run `npm test --coverage` (which runs very slowly, be patient).
Code coverage summary as of version 2.4.0:
Code coverage summary as of version 2.5.2:
```

@@ -120,0 +120,0 @@ Statements : 93.26% ( 401/430 )

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