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.2 to 2.5.3

4

HISTORY.md
Version history
===============
### 2.5.3 (2014-06-15) ###
* Exposing API to send ALTSVC frames
### 2.5.2 (2014-05-25) ###

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

@@ -146,2 +146,3 @@ // Public API

exports.OutgoingMessage = OutgoingMessage;
exports.PROTOCOL_VERSION = implementedVersion;

@@ -680,2 +681,9 @@ var deprecatedHeaders = [

OutgoingResponse.prototype.altsvc = function altsvc(host, port, protocolID, maxAge, origin) {
if (origin === undefined) {
origin = "";
}
this.stream.altsvc(host, port, protocolID, maxAge, origin);
};
// Overriding `EventEmitter`'s `on(event, listener)` method to forward certain subscriptions to

@@ -682,0 +690,0 @@ // `request`. See `Server.prototype.on` for explanation.

4

package.json
{
"name": "http2",
"version": "2.5.2",
"version": "2.5.3",
"description": "An HTTP/2 client and server implementation",

@@ -10,3 +10,3 @@ "main": "lib/index.js",

"dependencies": {
"http2-protocol": "0.12.x"
"http2-protocol": ">=0.12.3"
},

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

@@ -117,8 +117,8 @@ 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.5.2:
Code coverage summary as of version 2.5.3:
```
Statements : 93.26% ( 401/430 )
Branches : 80.36% ( 135/168 )
Functions : 93.75% ( 60/64 )
Lines : 93.26% ( 401/430 )
Statements : 92.64% ( 403/435 )
Branches : 79.41% ( 135/170 )
Functions : 92.31% ( 60/65 )
Lines : 92.64% ( 403/435 )
```

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