Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

stream-parser

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stream-parser - npm Package Compare versions

Comparing version 0.1.2 to 0.2.0

index.js

8

History.md
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 @@ ==================

4

package.json
{
"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 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc