Comparing version 2.5.2 to 2.5.3
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. |
{ | ||
"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 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
76073
1480
+ Addedhttp2-protocol@0.14.1(transitive)
- Removedhttp2-protocol@0.12.3(transitive)
Updatedhttp2-protocol@>=0.12.3