Skip to content

stream: hide afterWriteTickInfo property

Rodrigo Muino Tomonari requested to merge github/fork/Hakerh400/stdout into master

Pull request https://github.com/nodejs/node/pull/30710 has introduced afterWriteTickInfo property for optimizing synchronous write completions and it is backported to v12.x as a semver-minor release, but it breaks use case of JSON stringifying writable stream object. This PR hides that property behind a symbol.

Fixes https://github.com/nodejs/node/issues/31277

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines

Merge request reports

Loading