From 83a6b456321b741d63febf9c220d39030bfcc1de Mon Sep 17 00:00:00 2001 From: Martin Heidegger Date: Fri, 19 Jun 2020 18:05:40 +0900 Subject: [PATCH] Patch: Using inherits package instead of node inherits. --- package.json | 1 + through2.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index ee7ba60..1ee681e 100644 --- a/package.json +++ b/package.json @@ -19,6 +19,7 @@ "author": "Rod Vagg (https://github.com/rvagg)", "license": "MIT", "dependencies": { + "inherits": "^2.0.4", "readable-stream": "2 || 3" }, "devDependencies": { diff --git a/through2.js b/through2.js index 37d61d9..2858ffe 100644 --- a/through2.js +++ b/through2.js @@ -1,5 +1,5 @@ var Transform = require('readable-stream').Transform - , inherits = require('util').inherits + , inherits = require('inherits') function DestroyableTransform(opts) { Transform.call(this, opts)