stream-parser
Advanced tools
Comparing version 0.1.2 to 0.2.0
0.2.0 / 2014-06-21 | ||
================== | ||
* index: emit an "error" event when data is written with no parsing function is in place | ||
* package: fix "main" field | ||
* rename "lib/parser.js" to "index.js" | ||
* README: use svg for Travis badge | ||
0.1.2 / 2014-06-16 | ||
@@ -3,0 +11,0 @@ ================== |
{ | ||
"name": "stream-parser", | ||
"version": "0.1.2", | ||
"version": "0.2.0", | ||
"description": "Generic interruptible \"parser\" mixin for Transform & Writable streams", | ||
"main": "lib/parser.js", | ||
"main": "index.js", | ||
"scripts": { | ||
@@ -7,0 +7,0 @@ "test": "mocha --reporter spec" |
node-stream-parser | ||
================== | ||
### Generic interruptible "parser" mixin for Transform & Writable streams | ||
[![Build Status](https://secure.travis-ci.org/TooTallNate/node-stream-parser.png)](http://travis-ci.org/TooTallNate/node-stream-parser) | ||
[![Build Status](https://secure.travis-ci.org/TooTallNate/node-stream-parser.svg)](http://travis-ci.org/TooTallNate/node-stream-parser) | ||
@@ -6,0 +6,0 @@ This module offers the `stream-parser` mixin, which provides an easy-to-use API |
@@ -146,2 +146,12 @@ | ||
it('should emit an "error" event when data is written with no parsing function', function (done) { | ||
var w = new Writable(); | ||
Parser(w); | ||
w.once('error', function (err) { | ||
assert(err); | ||
done(); | ||
}); | ||
w.write('a'); | ||
}); | ||
}); | ||
@@ -181,3 +191,2 @@ | ||
p.end(); | ||
}); | ||
@@ -184,0 +193,0 @@ |
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
24052
568