html-minifier-next 1.1.4 → 1.1.5

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/LICENSE CHANGED
@@ -4,7 +4,7 @@ Copyright 2010–2019 Juriy “kangax” Zaytsev
4
4
 
5
5
  Copyright Terser
6
6
 
7
- Copyright Jens Oliver Meiert
7
+ Copyright 2025 Jens Oliver Meiert
8
8
 
9
9
  Permission is hereby granted, free of charge, to any person obtaining a copy
10
10
  of this software and associated documentation files (the "Software"), to deal
package/README.md CHANGED
@@ -50,7 +50,7 @@ For lint-like capabilities take a look at [HTMLLint](https://github.com/kangax/h
50
50
 
51
51
  ## Minification comparison
52
52
 
53
- How does HTMLMinifier compare to other solutions—[HTML Minifier from Will Peavy](http://www.willpeavy.com/minifier/) (1st result in [Google search for “html minifier”](https://www.google.com/#q=html+minifier)) as well as [htmlcompressor.com](http://htmlcompressor.com) and [minimize](https://github.com/Swaagie/minimize)?
53
+ How does HTMLMinifier compare to other solutions, like [minimize](https://github.com/Swaagie/minimize) or [htmlcompressor.com](http://htmlcompressor.com/)?
54
54
 
55
55
  | Site | Original size (KB) | HTMLMinifier | minimize | htmlcompressor.com |
56
56
  | --- | --- | --- | --- | --- |
package/cli.js CHANGED
@@ -73,7 +73,7 @@ function parseJSON(value) {
73
73
  if (value) {
74
74
  try {
75
75
  return JSON.parse(value);
76
- } catch (e) {
76
+ } catch {
77
77
  if (/^{/.test(value)) {
78
78
  fatal('Could not parse JSON value \'' + value + '\'');
79
79
  }
package/package.json CHANGED
@@ -10,27 +10,27 @@
10
10
  "commander": "^14.0.0",
11
11
  "entities": "^6.0.1",
12
12
  "relateurl": "^0.2.7",
13
- "terser": "^5.42.0"
13
+ "terser": "^5.43.1"
14
14
  },
15
15
  "description": "Highly configurable, well-tested, JavaScript-based HTML minifier.",
16
16
  "devDependencies": {
17
17
  "@commitlint/cli": "^19.8.1",
18
- "@jest/globals": "^30.0.0",
18
+ "@jest/globals": "^30.0.4",
19
19
  "@rollup/plugin-commonjs": "^28.0.6",
20
20
  "@rollup/plugin-json": "^6.1.0",
21
21
  "@rollup/plugin-node-resolve": "^16.0.1",
22
22
  "@rollup/plugin-terser": "^0.4.4",
23
23
  "alpinejs": "^3.14.9",
24
24
  "commitlint-config-non-conventional": "^1.0.1",
25
- "eslint": "^9.29.0",
25
+ "eslint": "^9.30.1",
26
26
  "husky": "^9.1.7",
27
27
  "is-ci": "^4.1.0",
28
- "jest": "^30.0.0",
29
- "jest-environment-jsdom": "^30.0.0",
28
+ "jest": "^30.0.4",
29
+ "jest-environment-jsdom": "^30.0.4",
30
30
  "lint-staged": "^16.1.2",
31
31
  "rollup": "^4.44.1",
32
32
  "rollup-plugin-polyfill-node": "^0.13.0",
33
- "vite": "^6.3.5"
33
+ "vite": "^7.0.0"
34
34
  },
35
35
  "exports": {
36
36
  ".": {
@@ -86,5 +86,5 @@
86
86
  "test:web": "NODE_OPTIONS='--experimental-vm-modules --no-warnings' jest --verbose --environment=jsdom"
87
87
  },
88
88
  "type": "module",
89
- "version": "1.1.4"
89
+ "version": "1.1.5"
90
90
  }