Skip to content

Commit

Permalink
Patch: Using inherits package instead of node inherits.
Browse files Browse the repository at this point in the history
  • Loading branch information
martinheidegger authored and rvagg committed Jun 24, 2020
1 parent eb1ff1a commit d30f8f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"author": "Rod Vagg <r@va.gg> (https://github.com/rvagg)",
"license": "MIT",
"dependencies": {
"inherits": "^2.0.4",
"readable-stream": "2 || 3"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion through2.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
var Transform = require('readable-stream').Transform
, inherits = require('util').inherits
, inherits = require('inherits')

function DestroyableTransform(opts) {
Transform.call(this, opts)
Expand Down

0 comments on commit d30f8f7

Please sign in to comment.