spdy-transport
Advanced tools
Comparing version 2.0.19 to 2.0.20
@@ -6,10 +6,4 @@ 'use strict' | ||
var util = require('util') | ||
var Buffer = require('safe-buffer').Buffer | ||
// Node.js 0.8, 0.10 and 0.12 support | ||
Object.assign = process.versions.modules >= 46 | ||
? Object.assign // eslint-disable-next-line | ||
: util._extend | ||
exports.PREFACE_SIZE = 24 | ||
@@ -16,0 +10,0 @@ exports.PREFACE = 'PRI * HTTP/2.0\r\n\r\nSM\r\n\r\n' |
@@ -15,7 +15,2 @@ 'use strict' | ||
// Node.js 0.8, 0.10 and 0.12 support | ||
Object.assign = process.versions.modules >= 46 | ||
? Object.assign // eslint-disable-next-line | ||
: util._extend | ||
function Framer (options) { | ||
@@ -22,0 +17,0 @@ base.Framer.call(this, options) |
@@ -15,7 +15,2 @@ 'use strict' | ||
// Node.js 0.8, 0.10 and 0.12 support | ||
Object.assign = process.versions.modules >= 46 | ||
? Object.assign // eslint-disable-next-line | ||
: util._extend | ||
function Stream (connection, options) { | ||
@@ -22,0 +17,0 @@ Duplex.call(this) |
'use strict' | ||
var util = require('util') | ||
var isNode = require('detect-node') | ||
// Node.js 0.8, 0.10 and 0.12 support | ||
Object.assign = (process.versions.modules >= 46 || !isNode) | ||
? Object.assign // eslint-disable-next-line | ||
: util._extend | ||
function QueueItem () { | ||
@@ -6,0 +12,0 @@ this.prev = null |
{ | ||
"name": "spdy-transport", | ||
"version": "2.0.19", | ||
"version": "2.0.20", | ||
"main": "lib/spdy-transport", | ||
@@ -20,2 +20,3 @@ "description": "SPDY v2, v3, v3.1 and HTTP2 transport", | ||
"debug": "^2.6.8", | ||
"detect-node": "^2.0.3", | ||
"hpack.js": "^2.1.6", | ||
@@ -22,0 +23,0 @@ "obuf": "^1.1.1", |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
0
1084951
7
4755
+ Addeddetect-node@^2.0.3
+ Addeddetect-node@2.1.0(transitive)