-
-
Notifications
You must be signed in to change notification settings - Fork 34.2k
Closed
Labels
confirmed-bugIssues with confirmed bugs.Issues with confirmed bugs.streamIssues and PRs related to the stream subsystem.Issues and PRs related to the stream subsystem.
Description
- Version: v12.16.0
- Platform: MacOS
- Subsystem: Darwin ... 19.4.0 Darwin Kernel Version 19.4.0: Wed Mar 4 22:28:40 PST 2020; root:xnu-6153.101.6~15/RELEASE_X86_64 x86_64
What steps will reproduce the bug?
// open the node repl
x = new stream.Duplex({writableObjectMode: true})
x.writableObjectMode // undefined - should be truebut the mode is set correctly:
...
_writableState: WritableState {
objectMode: true,
...it does work on a Writable stream:
x = new stream.Writable({objectMode: true})
x.writableObjectMode // trueHow often does it reproduce? Is there a required condition?
100%
What is the expected behavior?
Return the actual value of whether the stream is in object mode.
Metadata
Metadata
Assignees
Labels
confirmed-bugIssues with confirmed bugs.Issues with confirmed bugs.streamIssues and PRs related to the stream subsystem.Issues and PRs related to the stream subsystem.