html-minifier-next 2.1.6 → 2.1.7
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/README.md +1 -1
- package/package.json +3 -10
package/README.md
CHANGED
|
@@ -129,7 +129,7 @@ For lint-like capabilities take a look at [HTMLLint](https://github.com/kangax/h
|
|
|
129
129
|
|
|
130
130
|
How does HTML Minifier Next compare to other solutions, like [minimize](https://github.com/Swaagie/minimize), [htmlcompressor.com](http://htmlcompressor.com/), [htmlnano](https://github.com/posthtml/htmlnano), and [minify-html](https://github.com/wilsonzlin/minify-html)? (All with the most aggressive settings, but without [hyper-optimization](https://meiert.com/blog/the-ways-of-writing-html/#toc-hyper-optimized).)
|
|
131
131
|
|
|
132
|
-
| Site | Original
|
|
132
|
+
| Site | Original Size (KB) | HTML Minifier Next | minimize | htmlcompressor.com | htmlnano | minify-html |
|
|
133
133
|
| --- | --- | --- | --- | --- | --- | --- |
|
|
134
134
|
| [A List Apart](https://alistapart.com/) | 63 | **54** | 58 | 57 | 55 | 56 |
|
|
135
135
|
| [Amazon](https://www.amazon.com/) | 5 | **3** | **3** | **3** | **3** | n/a |
|
package/package.json
CHANGED
|
@@ -16,13 +16,11 @@
|
|
|
16
16
|
"devDependencies": {
|
|
17
17
|
"@commitlint/cli": "^20.1.0",
|
|
18
18
|
"@eslint/js": "^9.36.0",
|
|
19
|
-
"@jest/globals": "^30.2.0",
|
|
20
19
|
"@rollup/plugin-commonjs": "^28.0.6",
|
|
21
20
|
"@rollup/plugin-json": "^6.1.0",
|
|
22
21
|
"@rollup/plugin-node-resolve": "^16.0.1",
|
|
23
22
|
"@rollup/plugin-terser": "^0.4.4",
|
|
24
23
|
"eslint": "^9.36.0",
|
|
25
|
-
"jest": "^30.2.0",
|
|
26
24
|
"rollup": "^4.50.0",
|
|
27
25
|
"rollup-plugin-polyfill-node": "^0.13.0",
|
|
28
26
|
"vite": "^7.1.5"
|
|
@@ -67,11 +65,6 @@
|
|
|
67
65
|
"main": "./dist/htmlminifier.cjs",
|
|
68
66
|
"module": "./src/htmlminifier.js",
|
|
69
67
|
"name": "html-minifier-next",
|
|
70
|
-
"overrides": {
|
|
71
|
-
"glob": "^10.0.0",
|
|
72
|
-
"inflight": "npm:@nodelib/fs.stat@^3.0.0"
|
|
73
|
-
},
|
|
74
|
-
"overrides_comment": "@@ Remove when Jest fixes deprecated glob@7.2.3 and inflight dependencies",
|
|
75
68
|
"repository": "https://github.com/j9t/html-minifier-next.git",
|
|
76
69
|
"scripts": {
|
|
77
70
|
"build": "rollup -c",
|
|
@@ -81,9 +74,9 @@
|
|
|
81
74
|
"prepack": "npm run build",
|
|
82
75
|
"prepare": "git config core.hooksPath .githooks || true",
|
|
83
76
|
"serve": "npm run build && vite",
|
|
84
|
-
"test": "
|
|
85
|
-
"test:watch": "
|
|
77
|
+
"test": "node --test tests/*.spec.js",
|
|
78
|
+
"test:watch": "node --test --watch tests/*.spec.js"
|
|
86
79
|
},
|
|
87
80
|
"type": "module",
|
|
88
|
-
"version": "2.1.
|
|
81
|
+
"version": "2.1.7"
|
|
89
82
|
}
|