Skip to content

Commit aace878

Browse files
committed
Merge pull request #90 from substack/through2
through2 and a few more things
2 parents f335ba8 + 3bd6098 commit aace878

File tree

54 files changed

+141
-117
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+141
-117
lines changed

package.json

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,20 +15,19 @@
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",
27-
"tape": "~2.12.3",
28-
"browser-pack": "^4.0.3"
26+
"tap": "^1.0.0",
27+
"browser-pack": "^5.0.0"
2928
},
3029
"scripts": {
31-
"test": "tape test/*.js"
30+
"test": "tap test/*.js"
3231
},
3332
"repository": {
3433
"type": "git",

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/bundle.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
var parser = require('../');
2-
var test = require('tape');
2+
var test = require('tap').test;
33
var JSONStream = require('JSONStream');
44
var packer = require('browser-pack');
55
var path = require('path');

test/cache.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
var parser = require('../');
2-
var test = require('tape');
2+
var test = require('tap').test;
33
var path = require('path');
44

55
var files = {

test/cache_expose.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
var parser = require('../');
2-
var test = require('tape');
2+
var test = require('tap').test;
33
var path = require('path');
44

55
var files = {

test/cache_partial.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
var parser = require('../');
2-
var test = require('tape');
2+
var test = require('tap').test;
33
var fs = require('fs');
44
var path = require('path');
55

test/cache_partial_expose.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
var parser = require('../');
2-
var test = require('tape');
2+
var test = require('tap').test;
33
var fs = require('fs');
44
var path = require('path');
55
var xtend = require('xtend');

test/cycle.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
var mdeps = require('../');
2-
var test = require('tape');
2+
var test = require('tap').test;
33
var JSONStream = require('JSONStream');
44
var packer = require('browser-pack');
55
var concat = require('concat-stream');

test/deps.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
var parser = require('../');
2-
var test = require('tape');
2+
var test = require('tap').test;
33
var fs = require('fs');
44
var path = require('path');
55

test/dotdot.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
var mdeps = require('../');
2-
var test = require('tape');
2+
var test = require('tap').test;
33
var through = require('through2');
44
var path = require('path');
55

0 commit comments

Comments
 (0)