Skip to content
Closed
Changes from 1 commit
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
4 changes: 4 additions & 0 deletions lib/_stream_readable.js
Original file line number Diff line number Diff line change
Expand Up @@ -1215,13 +1215,17 @@ ObjectDefineProperties(Readable.prototype, {
}
},

});

ObjectDefineProperties(ReadableState.prototype, {
// Legacy getter for `pipesCount`
pipesCount: {
get() {
return this.pipes.length;
}
},

// Legacy property for `paused`
paused: {
get() {
return this[kPaused] !== false;
Expand Down