html-minifier-next 2.1.2 → 2.1.4

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/package.json CHANGED
@@ -8,21 +8,20 @@
8
8
  "change-case": "^4.1.2",
9
9
  "clean-css": "~5.3.3",
10
10
  "commander": "^14.0.0",
11
- "entities": "^6.0.1",
11
+ "entities": "^7.0.0",
12
12
  "relateurl": "^0.2.7",
13
13
  "terser": "^5.44.0"
14
14
  },
15
15
  "description": "Highly configurable, well-tested, JavaScript-based HTML minifier.",
16
16
  "devDependencies": {
17
17
  "@commitlint/cli": "^19.8.1",
18
- "@eslint/js": "^9.33.0",
18
+ "@eslint/js": "^9.35.0",
19
19
  "@jest/globals": "^30.1.2",
20
20
  "@rollup/plugin-commonjs": "^28.0.6",
21
21
  "@rollup/plugin-json": "^6.1.0",
22
22
  "@rollup/plugin-node-resolve": "^16.0.1",
23
23
  "@rollup/plugin-terser": "^0.4.4",
24
- "alpinejs": "^3.14.9",
25
- "eslint": "^9.33.0",
24
+ "eslint": "^9.35.0",
26
25
  "jest": "^30.1.3",
27
26
  "rollup": "^4.50.0",
28
27
  "rollup-plugin-polyfill-node": "^0.13.0",
@@ -86,5 +85,5 @@
86
85
  "test:watch": "NODE_OPTIONS='--experimental-vm-modules --no-warnings' jest --watch"
87
86
  },
88
87
  "type": "module",
89
- "version": "2.1.2"
88
+ "version": "2.1.4"
90
89
  }
@@ -2,7 +2,6 @@ import CleanCSS from 'clean-css';
2
2
  import { decodeHTMLStrict, decodeHTML } from 'entities';
3
3
  import RelateURL from 'relateurl';
4
4
  import { minify as terser } from 'terser';
5
-
6
5
  import { HTMLParser, endTag } from './htmlparser.js';
7
6
  import TokenChain from './tokenchain.js';
8
7
  import { replaceAsync } from './utils.js';
package/src/htmlparser.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * HTML Parser By John Resig (ejohn.org)
3
- * Modified by Juriy "kangax" Zaytsev
3
+ * Modified by Juriy kangax Zaytsev
4
4
  * Original code by Erik Arvidsson, Mozilla Public License
5
5
  * http://erik.eae.net/simplehtmlparser/simplehtmlparser.js
6
6
  */