Skip to content

Commit 6271ed5

Browse files
chore: upgrade html-minifier-next
Signed-off-by: Henry <mail@henrygressmann.de>
1 parent 5b51f0e commit 6271ed5

9 files changed

Lines changed: 127 additions & 120 deletions

File tree

bun.lock

Lines changed: 97 additions & 109 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"microjsx": "workspace:*"
88
},
99
"devDependencies": {
10-
"bun-types": "^1.3.14",
10+
"bun-types": "^1.4.0",
1111
"typescript": "^7.0.2"
1212
}
1313
}

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@
1010
"test": "bun test"
1111
},
1212
"devDependencies": {
13-
"@biomejs/biome": "2.5.8",
13+
"@biomejs/biome": "2.5.10",
1414
"tsdown": "^0.22.14",
1515
"typescript": "^7.0.2",
16-
"bun-types": "^1.3.14"
16+
"bun-types": "^1.4.0"
1717
},
1818
"trustedDependencies": [
1919
"@biomejs/biome"
2020
],
21-
"packageManager": "bun@1.3.14"
21+
"packageManager": "bun@1.4.0"
2222
}

packages/minify-literals/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/2.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
<!-- ## [Unreleased] -->
9+
10+
## [2.2.0]
11+
12+
- Updated to `html-minifier-next@8.1.0`.
13+
- Documented that supported HTML and CSS minifier options, including defaults, may change in minor releases.
14+
815
## [2.1.0]
916

1017
- Updated to `html-minifier-next@7.0.0`

packages/minify-literals/lib/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ export type Options = {
3535
/**
3636
* HTML minification options or a custom HTML minifier. Set to `false` to skip
3737
* HTML and SVG templates.
38+
* Supported options, including defaults, may change in minor releases and are not covered by semantic versioning.
3839
*
3940
* @defaultValue {@link defaultMinifyOptions}
4041
*/
@@ -43,6 +44,7 @@ export type Options = {
4344
/**
4445
* CSS minification options or a custom CSS minifier. Set to `false` to skip
4546
* CSS templates and inline CSS inside HTML.
47+
* Supported options, including defaults, may change in minor releases and are not covered by semantic versioning.
4648
*
4749
* @defaultValue {@link defaultMinifyCSSOptions}
4850
*/

packages/minify-literals/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "minify-literals",
3-
"version": "2.1.0",
3+
"version": "2.2.0",
44
"description": "Minify CSS and HTML literals",
55
"keywords": [
66
"literals",
@@ -42,9 +42,9 @@
4242
"dependencies": {
4343
"@sveltejs/acorn-typescript": "^1.0.13",
4444
"acorn": "^8.18.0",
45-
"html-minifier-next": "^7.5.3",
45+
"html-minifier-next": "^8.1.0",
4646
"lightningcss": "^1.33.0",
47-
"magic-string": "^1.2.0"
47+
"magic-string": "^1.2.2"
4848
},
4949
"engines": {
5050
"node": ">=22.0.0"

packages/rollup-plugin-minify-template-literals/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/2.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
<!-- ## [Unreleased] -->
9+
10+
## [2.2.0]
11+
12+
- Documented that supported HTML and CSS minifier options, including defaults, may change in minor releases.
13+
814
## [2.1.0]
915

1016
- Update minify-literals to 2.1.0

packages/rollup-plugin-minify-template-literals/lib/index.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,11 @@ export type Options = {
1010
/** Files to exclude. Passed to `@rollup/pluginutils#createFilter`. */
1111
exclude?: string | RegExp | Array<string | RegExp>;
1212

13-
/** Options passed to `minify-literals`. */
13+
/**
14+
* Options passed to `minify-literals`.
15+
* Supported HTML and CSS minifier options, including defaults, may change in
16+
* minor releases and are not covered by semantic versioning.
17+
*/
1418
minify?: MinifyOptions;
1519
};
1620

packages/rollup-plugin-minify-template-literals/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "rollup-plugin-minify-template-literals",
3-
"version": "2.1.0",
3+
"version": "2.2.0",
44
"description": "A Vite/Rollup plugin that minifies template literals.",
55
"keywords": [
66
"rollup",
@@ -51,10 +51,10 @@
5151
},
5252
"dependencies": {
5353
"@rollup/pluginutils": "^5.4.0",
54-
"minify-literals": "^2.1.0"
54+
"minify-literals": "^2.2.0"
5555
},
5656
"devDependencies": {
57-
"rollup": "^4.62.4"
57+
"rollup": "^4.62.5"
5858
},
5959
"engines": {
6060
"node": ">=24.0.0"

0 commit comments

Comments
 (0)