summaryrefslogtreecommitdiff
path: root/deps/npm/node_modules/through2/node_modules/readable-stream/writable.js
diff options
context:
space:
mode:
authorKat Marchán <kzm@zkat.tech>2019-01-29 14:43:00 -0800
committerMyles Borins <mylesborins@google.com>2019-02-12 00:06:29 -0800
commit43dd49c9782848c25e5b03448c8a0f923f13c158 (patch)
treef7ac5d645019b2b844f26be66c291bbae734d097 /deps/npm/node_modules/through2/node_modules/readable-stream/writable.js
parentb361f9577fbd72e518438d3fa0b01f7d34d814a5 (diff)
downloadandroid-node-v8-43dd49c9782848c25e5b03448c8a0f923f13c158.tar.gz
android-node-v8-43dd49c9782848c25e5b03448c8a0f923f13c158.tar.bz2
android-node-v8-43dd49c9782848c25e5b03448c8a0f923f13c158.zip
deps: upgrade npm to 6.7.0
PR-URL: https://github.com/nodejs/node/pull/25804 Reviewed-By: Myles Borins <myles.borins@gmail.com>
Diffstat (limited to 'deps/npm/node_modules/through2/node_modules/readable-stream/writable.js')
-rw-r--r--deps/npm/node_modules/through2/node_modules/readable-stream/writable.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/deps/npm/node_modules/through2/node_modules/readable-stream/writable.js b/deps/npm/node_modules/through2/node_modules/readable-stream/writable.js
new file mode 100644
index 0000000000..3211a6f80d
--- /dev/null
+++ b/deps/npm/node_modules/through2/node_modules/readable-stream/writable.js
@@ -0,0 +1,8 @@
+var Stream = require("stream")
+var Writable = require("./lib/_stream_writable.js")
+
+if (process.env.READABLE_STREAM === 'disable') {
+ module.exports = Stream && Stream.Writable || Writable
+} else {
+ module.exports = Writable
+}