Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

spdy-transport

Package Overview
Dependencies
Maintainers
3
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

spdy-transport - npm Package Compare versions

Comparing version 2.0.19 to 2.0.20

6

lib/spdy-transport/protocol/http2/constants.js

@@ -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)

6

lib/spdy-transport/utils.js
'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

3

package.json
{
"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",

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