Comparing version 0.1.5 to 0.1.6
@@ -6,2 +6,3 @@ // Copyright 2014. A Medium Corporation | ||
*/ | ||
module.exports = { | ||
@@ -19,2 +20,2 @@ append : require('./lib/append'), | ||
tap : require('./lib/tap') | ||
}; | ||
} |
{ | ||
"name": "sculpt", | ||
"version": "0.1.5", | ||
"version": "0.1.6", | ||
"description": "Generate Node 0.10-friendly transform streams to manipulate other streams.", | ||
@@ -15,8 +15,10 @@ "main": "index.js", | ||
"mocha": "mocha --reporter spec --check-leaks", | ||
"test": "npm run jshint && npm run jscs && npm run ensure-tests && npm run mocha" | ||
"zuul": "bin/zuul-tests", | ||
"test": "npm run jshint && npm run jscs && npm run ensure-tests && npm run mocha && npm run zuul" | ||
}, | ||
"devDependencies": { | ||
"jscs": "~1.3.0", | ||
"jshint": "~2.4.4", | ||
"mocha": "~1.17.1", | ||
"jshint": "~2.4.4", | ||
"jscs": "~1.3.0" | ||
"zuul": "^1.11.0" | ||
}, | ||
@@ -23,0 +25,0 @@ "author": "Evan Solomon <evan.solomon@medium.com>", |
@@ -51,3 +51,3 @@ // Copyright 2014. A Medium Corporation | ||
output.map(function (chunk) { | ||
assert.ok(chunk instanceof Buffer) | ||
assert.ok(Buffer.isBuffer(chunk)) | ||
}) | ||
@@ -82,3 +82,3 @@ done() | ||
var streams = makeStreams(1) | ||
var multiByteChar = '\uDFFF' | ||
var multiByteChar = "0xDFFF" | ||
var byteLength = Buffer.byteLength(multiByteChar) | ||
@@ -85,0 +85,0 @@ |
@@ -30,5 +30,5 @@ // Copyright 2014. A Medium Corporation | ||
var stream = filter(function (chunk, cb) { | ||
setImmediate(function () { | ||
setTimeout(function () { | ||
cb(null, noJersey(chunk)) | ||
}) | ||
}, 1) | ||
}).async() | ||
@@ -63,5 +63,5 @@ | ||
var stream = filter(function (chunk, cb) { | ||
setImmediate(function () { | ||
setTimeout(function () { | ||
cb(null, noJersey(chunk)) | ||
}) | ||
}, 1) | ||
}).async() | ||
@@ -68,0 +68,0 @@ |
@@ -32,5 +32,5 @@ // Copyright 2014. A Medium Corporation | ||
var stream = map(function (line, cb) { | ||
setImmediate(function () { | ||
setTimeout(function () { | ||
cb(null, line.toUpperCase()) | ||
}) | ||
}, 1) | ||
}).async() | ||
@@ -82,6 +82,6 @@ | ||
var stream = map(function (line, cb) { | ||
setImmediate(function () { | ||
setTimeout(function () { | ||
i++ | ||
cb(null, [i, line]) | ||
}) | ||
}, 1) | ||
}).async().multi() | ||
@@ -88,0 +88,0 @@ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
46655
35
4