node-html-parser
Advanced tools
Comparing version 5.0.0 to 5.1.0
@@ -5,3 +5,3 @@ # Changelog | ||
## [5.0.0](https://github.com/taoqf/node-fast-html-parser/compare/v4.1.5...v5.0.0) (2021-10-10) | ||
## [5.1.0](https://github.com/taoqf/node-fast-html-parser/compare/v4.1.5...v5.1.0) (2021-10-28) | ||
@@ -17,2 +17,3 @@ | ||
* Added HTMLElement#getElementsByTagName ([d462e44](https://github.com/taoqf/node-fast-html-parser/commit/d462e449e7ebb00a5a43fb574133681ad5a62475)) | ||
* Expose `HTMLElement#rawAttrs` (make public) ([34f1595](https://github.com/taoqf/node-fast-html-parser/commit/34f1595756c0974b6ae7ef5755a615f09e421f32)) | ||
* Improved parsing performance + matching (closes [#164](https://github.com/taoqf/node-fast-html-parser/issues/164)) ([3c5b8e2](https://github.com/taoqf/node-fast-html-parser/commit/3c5b8e2a9104b01a8ca899a7970507463e42adaf)) | ||
@@ -25,1 +26,20 @@ | ||
* blockTextElements incorrectly matching partial tag (detail) (fixes [#156](https://github.com/taoqf/node-fast-html-parser/issues/156) fixes [#124](https://github.com/taoqf/node-fast-html-parser/issues/124)) ([6823349](https://github.com/taoqf/node-fast-html-parser/commit/6823349fdf1809c7484c70d948aa24930ef4983f)) | ||
## [5.0.0](https://github.com/taoqf/node-fast-html-parser/compare/v4.1.5...v5.0.0) (2021-10-10) | ||
### ⚠ BREAKING CHANGES | ||
* Added esm named export support ([0d4b922](https://github.com/taoqf/node-fast-html-parser/commit/0d4b922eefd6210fe802991e464b21b0c69d5f63)) | ||
### Features | ||
* Added esm named export support (closes [#160](https://github.com/taoqf/node-fast-html-parser/issues/160) closes [#139](https://github.com/taoqf/node-fast-html-parser/issues/139)) ([0d4b922](https://github.com/taoqf/node-fast-html-parser/commit/0d4b922eefd6210fe802991e464b21b0c69d5f63)) | ||
* Added HTMLElement#getElementsByTagName ([d462e44](https://github.com/taoqf/node-fast-html-parser/commit/d462e449e7ebb00a5a43fb574133681ad5a62475)) | ||
* Improved parsing performance + matching (closes [#164](https://github.com/taoqf/node-fast-html-parser/issues/164)) ([3c5b8e2](https://github.com/taoqf/node-fast-html-parser/commit/3c5b8e2a9104b01a8ca899a7970507463e42adaf)) | ||
### Bug Fixes | ||
* Add null to return type for HTMLElement#querySelector (closes [#157](https://github.com/taoqf/node-fast-html-parser/issues/157)) ([2b65583](https://github.com/taoqf/node-fast-html-parser/commit/2b655839bd3868c41fb19cae5786ca097565bc7f)) | ||
* blockTextElements incorrectly matching partial tag (detail) (fixes [#156](https://github.com/taoqf/node-fast-html-parser/issues/156) fixes [#124](https://github.com/taoqf/node-fast-html-parser/issues/124)) ([6823349](https://github.com/taoqf/node-fast-html-parser/commit/6823349fdf1809c7484c70d948aa24930ef4983f)) |
@@ -39,3 +39,3 @@ import Node from './node'; | ||
export default class HTMLElement extends Node { | ||
private rawAttrs; | ||
rawAttrs: string; | ||
private _attrs; | ||
@@ -42,0 +42,0 @@ private _rawAttrs; |
{ | ||
"name": "node-html-parser", | ||
"version": "5.0.0", | ||
"version": "5.1.0", | ||
"description": "A very fast HTML parser, generating a simplified DOM, with basic element query support.", | ||
@@ -14,5 +14,5 @@ "main": "dist/index.js", | ||
"---------------": "", | ||
"test": "mocha ./test/tests/**/*.js", | ||
"test:src": "cross-env TEST_TARGET=src mocha ./test/tests", | ||
"test:dist": "cross-env TEST_TARGET=dist mocha ./test/tests", | ||
"test": "yarn run test:target", | ||
"test:src": "cross-env TEST_TARGET=src yarn run test", | ||
"test:dist": "cross-env TEST_TARGET=dist yarn run test", | ||
"benchmark": "node ./test/benchmark/compare.mjs", | ||
@@ -24,2 +24,4 @@ "--------------- ": "", | ||
"--------------- ": "", | ||
"test:target": "mocha --recursive \"./test/tests\"", | ||
"test:ci": "cross-env TEST_TARGET=dist yarn run test:target", | ||
"posttest": "yarn run benchmark", | ||
@@ -26,0 +28,0 @@ "prepare": "cd test && yarn install" |
@@ -1,2 +0,2 @@ | ||
# Fast HTML Parser [![NPM version](https://badge.fury.io/js/node-html-parser.png)](http://badge.fury.io/js/node-html-parser) [![Build Status](https://img.shields.io/endpoint.svg?url=https%3A%2F%2Factions-badge.atrox.dev%2Ftaoqf%2Fnode-html-parser%2Fbadge%3Fref%3Dmaster&style=flat)](https://actions-badge.atrox.dev/taoqf/node-html-parser/goto?ref=master) | ||
# Fast HTML Parser [![NPM version](https://badge.fury.io/js/node-html-parser.png)](http://badge.fury.io/js/node-html-parser) [![Build Status](https://img.shields.io/endpoint.svg?url=https%3A%2F%2Factions-badge.atrox.dev%2Ftaoqf%2Fnode-html-parser%2Fbadge%3Fref%3Dmain&style=flat)](https://actions-badge.atrox.dev/taoqf/node-html-parser/goto?ref=main) | ||
@@ -3,0 +3,0 @@ Fast HTML Parser is a _very fast_ HTML parser. Which will generate a simplified |
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
141987