Skip to content

Commit 037e080

Browse files
committed
support 0.8
1 parent ddd77d2 commit 037e080

File tree

4 files changed

+6
-3
lines changed

4 files changed

+6
-3
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
node_js:
2+
- "0.8"
23
- "0.10"
34
- "0.11"
45
language: node_js

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
66
*/
77

8+
var Transform = require('readable-stream/transform')
89
var stringify = require('json-stringify-safe')
9-
var Transform = require('stream').Transform
1010
var util = require('util')
1111

1212
util.inherits(Stringify, Transform)

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
"index.js"
2525
],
2626
"dependencies": {
27-
"json-stringify-safe": "5"
27+
"json-stringify-safe": "5",
28+
"readable-stream": "1"
2829
}
2930
}

test/test.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1+
2+
var PassThrough = require('readable-stream/passthrough')
13
var assert = require('assert')
2-
var PassThrough = require('stream').PassThrough
34
var cat = require('cat-stream')
45

56
var Stringify = require('..')

0 commit comments

Comments
 (0)