summaryrefslogtreecommitdiff
path: root/lib/_stream_transform.js
diff options
context:
space:
mode:
authorMatteo Collina <hello@matteocollina.com>2020-12-29 15:20:41 +0100
committerMatteo Collina <hello@matteocollina.com>2021-01-05 19:02:04 +0100
commitf8b9831338242461acbec63088adc44310347ed1 (patch)
tree8c861e775c05f50c4ec5c0780c8eb8f9a71ce4a3 /lib/_stream_transform.js
parentdb79783bad754fb659328e53ecd7ab50c8055bf1 (diff)
downloadnode-new-f8b9831338242461acbec63088adc44310347ed1.tar.gz
stream: do not use _stream_* anymore
Remove all leftover usage of _stream_* and keep all of them as legacy. We do not deprecate the old modules to avoid disrupition and ease maintainance. PR-URL: https://github.com/nodejs/node/pull/36684 Reviewed-By: Robert Nagy <ronagy@icloud.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Rich Trott <rtrott@gmail.com>
Diffstat (limited to 'lib/_stream_transform.js')
-rw-r--r--lib/_stream_transform.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/_stream_transform.js b/lib/_stream_transform.js
index 50150638d9..4901f29669 100644
--- a/lib/_stream_transform.js
+++ b/lib/_stream_transform.js
@@ -1,6 +1,5 @@
'use strict';
-// TODO(mcollina): deprecate this file
+// Keep this file as an alias for the full stream module.
-const Transform = require('internal/streams/transform');
-module.exports = Transform;
+module.exports = require('stream').Transform;