Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove readable-stream - see #729 #777

Merged
merged 1 commit into from
Nov 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 2 additions & 5 deletions lib/connection.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,7 @@ var frame = require('./frame');
var HEARTBEAT = frame.HEARTBEAT;
var Mux = require('./mux').Mux;

var Duplex =
require('stream').Duplex ||
require('readable-stream/duplex');
var Duplex = require('stream').Duplex;
var EventEmitter = require('events');
var Heart = require('./heartbeat').Heart;

Expand All @@ -22,8 +20,7 @@ var inspect = require('./format').inspect;

var BitSet = require('./bitset').BitSet;
var fmt = require('util').format;
var PassThrough = require('stream').PassThrough ||
require('readable-stream/passthrough');
var PassThrough = require('stream').PassThrough;
var IllegalOperationError = require('./error').IllegalOperationError;
var stackCapture = require('./error').stackCapture;

Expand Down
59 changes: 4 additions & 55 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
"dependencies": {
"@acuminous/bitsyntax": "^0.1.2",
"buffer-more-ints": "~1.0.0",
"readable-stream": "1.x >=1.1.9",
"url-parse": "~1.5.10"
},
"devDependencies": {
Expand Down
3 changes: 1 addition & 2 deletions test/frame.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ var connection = require('../lib/connection');
var Frames = connection.Connection;
var HEARTBEAT = require('../lib/frame').HEARTBEAT;
var Stream = require('stream');
var PassThrough = Stream.PassThrough ||
require('readable-stream/passthrough');
var PassThrough = Stream.PassThrough;

var defs = require('../lib/defs');

Expand Down
3 changes: 1 addition & 2 deletions test/mux.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@

var assert = require('assert');
var Mux = require('../lib/mux').Mux;
var PassThrough = require('stream').PassThrough ||
require('readable-stream/passthrough');
var PassThrough = require('stream').PassThrough;

var latch = require('./util').latch;
var schedule = require('./util').schedule;
Expand Down
4 changes: 1 addition & 3 deletions test/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@

var crypto = require('crypto');
var Connection = require('../lib/connection').Connection;
var PassThrough =
require('stream').PassThrough ||
require('readable-stream/passthrough');
var PassThrough = require('stream').PassThrough;
var defs = require('../lib/defs');
var assert = require('assert');

Expand Down
Loading