Skip to content

Commit 6e5088c

Browse files
committed
Switch everything to through2 (and update it)
1 parent f335ba8 commit 6e5088c

File tree

29 files changed

+109
-85
lines changed

29 files changed

+109
-85
lines changed

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,14 @@
1515
"duplexer2": "0.0.2",
1616
"inherits": "^2.0.1",
1717
"parents": "^1.0.0",
18-
"readable-stream": "^1.0.27-1",
18+
"readable-stream": "^1.1.13",
1919
"resolve": "^1.1.3",
2020
"stream-combiner2": "~1.0.0",
2121
"subarg": "^1.0.0",
22-
"through2": "~0.4.1",
22+
"through2": "^1.0.0",
2323
"xtend": "^4.0.0"
2424
},
2525
"devDependencies": {
26-
"through": "~2.3.4",
2726
"tape": "~2.12.3",
2827
"browser-pack": "^4.0.3"
2928
},

readme.markdown

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,12 +146,12 @@ If the transform is a string, it is treated as a module name that will resolve
146146
to a module that is expected to follow this format:
147147

148148
``` js
149-
var through = require('through');
149+
var through = require('through2');
150150
module.exports = function (file) { return through() };
151151
```
152152

153153
You don't necessarily need to use the
154-
[through](https://github.com/dominictarr/through) module to create a
154+
[through2](https://github.com/rvagg/through2) module to create a
155155
readable/writable filter stream for transforming file contents, but this is an
156156
easy way to do it.
157157

test/files/tr_2dep_module/node_modules/g/node_modules/insert-ggg/index.js

Lines changed: 4 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test/files/tr_2dep_module/node_modules/insert-aaa/index.js

Lines changed: 4 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test/files/tr_2dep_module/node_modules/insert-bbb/index.js

Lines changed: 4 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test/files/tr_2dep_module/node_modules/m/node_modules/insert-mmm/index.js

Lines changed: 4 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test/files/tr_global/node_modules/tr-a/index.js

Lines changed: 4 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test/files/tr_global/node_modules/tr-b/index.js

Lines changed: 4 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test/files/tr_global/node_modules/tr-c/index.js

Lines changed: 4 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test/files/tr_global/node_modules/tr-d/index.js

Lines changed: 4 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)