htmlparser2
Advanced tools
Comparing version 3.2.4 to 3.2.5
@@ -159,2 +159,5 @@ module.exports = Tokenizer; | ||
this._sectionStart = this._index + 1; | ||
} else if(c === "<"){ | ||
this._cbs.ontext(this._getSection()); | ||
this._sectionStart = this._index; | ||
} else { | ||
@@ -161,0 +164,0 @@ this._state = (!this._xmlMode && (c === "s" || c === "S")) ? |
{ | ||
"name": "htmlparser2", | ||
"description": "Fast & forgiving HTML/XML/RSS parser", | ||
"version": "3.2.4", | ||
"version": "3.2.5", | ||
"author": "Felix Boehm <me@feedic.com>", | ||
@@ -6,0 +6,0 @@ "keywords": ["html", "parser", "streams", "xml", "dom", "rss", "feed", "atom"], |
@@ -61,13 +61,15 @@ #htmlparser2 [![NPM version](https://badge.fury.io/js/htmlparser2.png)](https://npmjs.org/package/htmlparser2) [![Build Status](https://secure.travis-ci.org/fb55/htmlparser2.png)](http://travis-ci.org/fb55/htmlparser2) [![Dependency Status](https://david-dm.org/fb55/htmlparser2.png)](https://david-dm.org/fb55/htmlparser2) | ||
At the time of writing, the latest versions of all supported parsers show the following performance characteristics on my MacBook: | ||
At the time of writing, the latest versions of all supported parsers show the following performance characteristics on [Travis CI](https://travis-ci.org/AndreasMadsen/htmlparser-benchmark/builds/10805007) (please note that Travis doesn't guarantee equal conditions for all tests): | ||
``` | ||
gumbo-parser : 28.9543 ms/file ± 15.9772 | ||
html-parser : 19.0935 ms/file ± 13.4118 | ||
htmlparser : 48.9674 ms/file ± 293.747 | ||
hubbub : 30.1816 ms/file ± 16.1811 | ||
libxmljs : 13.0610 ms/file ± 18.6695 | ||
sax : 44.5736 ms/file ± 22.6353 | ||
htmlparser2-dom: 5.27927 ms/file ± 4.80156 | ||
htmlparser2 : 3.56451 ms/file ± 2.51882 | ||
gumbo-parser : 34.9208 ms/file ± 21.4238 | ||
html-parser : 24.8224 ms/file ± 15.8703 | ||
html5 : 419.597 ms/file ± 264.265 | ||
htmlparser : 60.0722 ms/file ± 384.844 | ||
htmlparser2-dom: 12.0749 ms/file ± 6.49474 | ||
htmlparser2 : 7.49130 ms/file ± 5.74368 | ||
hubbub : 30.4980 ms/file ± 16.4682 | ||
libxmljs : 14.1338 ms/file ± 18.6541 | ||
parse5 : 22.0439 ms/file ± 15.3743 | ||
sax : 49.6513 ms/file ± 26.6032 | ||
``` | ||
@@ -74,0 +76,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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
172647
5799
82
19