node-html-parser 6.1.2 → 6.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [6.1.3](https://github.com/taoqf/node-fast-html-parser/compare/v6.1.2...v6.1.3) (2022-11-14)
6
+
5
7
  ### [6.1.2](https://github.com/taoqf/node-fast-html-parser/compare/v6.1.1...v6.1.2) (2022-11-14)
6
8
 
7
9
 
package/dist/main.js CHANGED
@@ -1044,7 +1044,7 @@ define("nodes/html", ["require", "exports", "css-select", "he", "back", "matcher
1044
1044
  }
1045
1045
  var attrs = {};
1046
1046
  if (this.rawAttrs) {
1047
- var re = /([a-zA-Z()[\]#@][a-zA-Z0-9-_:()[\]#]*)(?:\s*=\s*((?:'[^']*')|(?:"[^"]*")|\S+))?/g;
1047
+ var re = /([a-zA-Z()[\]#@$.?][a-zA-Z0-9-_:()[\]#]*)(?:\s*=\s*((?:'[^']*')|(?:"[^"]*")|\S+))?/g;
1048
1048
  var match = void 0;
1049
1049
  while ((match = re.exec(this.rawAttrs))) {
1050
1050
  var key = match[1];
@@ -711,7 +711,7 @@ var HTMLElement = /** @class */ (function (_super) {
711
711
  }
712
712
  var attrs = {};
713
713
  if (this.rawAttrs) {
714
- var re = /([a-zA-Z()[\]#@][a-zA-Z0-9-_:()[\]#]*)(?:\s*=\s*((?:'[^']*')|(?:"[^"]*")|\S+))?/g;
714
+ var re = /([a-zA-Z()[\]#@$.?][a-zA-Z0-9-_:()[\]#]*)(?:\s*=\s*((?:'[^']*')|(?:"[^"]*")|\S+))?/g;
715
715
  var match = void 0;
716
716
  while ((match = re.exec(this.rawAttrs))) {
717
717
  var key = match[1];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-html-parser",
3
- "version": "6.1.2",
3
+ "version": "6.1.3",
4
4
  "description": "A very fast HTML parser, generating a simplified DOM, with basic element query support.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",