Socket
Socket
Sign inDemoInstall

http2-protocol

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

http2-protocol - npm Package Compare versions

Comparing version 0.12.2 to 0.12.3

4

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

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

@@ -156,2 +156,22 @@ var assert = require('assert');

// Specify an alternate service for the origin of this stream
Stream.prototype.altsvc = function altsvc(host, port, protocolID, maxAge, origin) {
var stream;
if (origin) {
stream = 0;
} else {
stream = this.id;
}
this._pushUpstream({
type: 'ALTSVC',
flags: {},
stream: stream,
host: host,
port: port,
protocolID: protocolID,
origin: origin,
maxAge: maxAge
});
};
// Data flow

@@ -158,0 +178,0 @@ // ---------

2

package.json
{
"name": "http2-protocol",
"version": "0.12.2",
"version": "0.12.3",
"description": "A JavaScript implementation of the HTTP/2 framing layer",

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

@@ -53,8 +53,8 @@ node-http2-protocol

To generate a code coverage report, run `npm test --coverage` (it may be slow, be patient).
Code coverage summary as of version 0.12.2:
Code coverage summary as of version 0.12.3:
```
Statements : 91.86% ( 1354/1474 )
Branches : 85.69% ( 563/657 )
Functions : 92.5% ( 148/160 )
Lines : 91.95% ( 1348/1466 )
Statements : 91.55% ( 1355/1480 )
Branches : 85.43% ( 563/659 )
Functions : 91.93% ( 148/161 )
Lines : 91.64% ( 1349/1472 )
```

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