Comparing version 2.1.1 to 2.1.2
'use strict'; | ||
var TransformStream = require('stream').Transform, | ||
DevNullStream = require('./dev_null_stream'), | ||
inherits = require('util').inherits, | ||
@@ -62,2 +63,7 @@ Tokenizer = require('../tokenizer'), | ||
this.stopped = false; | ||
// NOTE: always pipe stream to the /dev/null stream to avoid | ||
// `highWaterMark` hit even if we don't have consumers. | ||
// (see: https://github.com/inikulin/parse5/issues/97#issuecomment-171940774) | ||
this.pipe(new DevNullStream()); | ||
}; | ||
@@ -64,0 +70,0 @@ |
{ | ||
"name": "parse5", | ||
"description": "WHATWG HTML5 specification-compliant, fast and ready for production HTML parsing/serialization toolset for Node.js", | ||
"version": "2.1.1", | ||
"version": "2.1.2", | ||
"author": "Ivan Nikulin <ifaaan@gmail.com> (https://github.com/inikulin)", | ||
@@ -6,0 +6,0 @@ "contributors": [ |
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
380648
25
7395