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

spdy-transport

Package Overview
Dependencies
Maintainers
1
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 1.2.1 to 2.0.0

3

lib/spdy-transport/stream.js

@@ -265,3 +265,4 @@ 'use strict';

Stream.prototype._handleRST = function _handleRST(frame) {
this.emit('error', new Error('Got RST: ' + frame.code));
if (frame.code !== 'CANCEL')
this.emit('error', new Error('Got RST: ' + frame.code));
this.abort();

@@ -268,0 +269,0 @@ };

{
"name": "spdy-transport",
"version": "1.2.1",
"version": "2.0.0",
"description": "SPDY v2, v3, v3.1 and HTTP2 transport",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -242,3 +242,3 @@ var assert = require('assert');

stream.on('error', function(err) {
stream.on('close', function(err) {
assert(err);

@@ -245,0 +245,0 @@ done();

@@ -214,3 +214,3 @@ var assert = require('assert');

assert(!err);
stream.once('error', function(err) {
stream.once('close', function(err) {
assert(err);

@@ -217,0 +217,0 @@ done();

@@ -384,3 +384,3 @@ var assert = require('assert');

stream.on('error', function(err) {
stream.on('close', function(err) {
assert(err);

@@ -406,3 +406,3 @@ done();

stream.on('error', function(err) {
stream.on('close', function(err) {
assert(err);

@@ -455,3 +455,3 @@ });

var once = false;
stream.on('error', function(err) {
stream.on('close', function(err) {
assert(!once);

@@ -617,5 +617,2 @@ once = true;

assert(!err);
stream.on('error', function() {
// Server will cancel the stream
});
stream.end();

@@ -639,5 +636,2 @@ });

assert(!err);
stream.on('error', function() {
// Server will cancel the stream
});
stream.end();

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