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)