Update dependency @node-minify/html-minifier to v11 #326
No reviewers
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
samuel-p/sp-codes.de!326
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "renovate/node-minify-html-minifier-11.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
^10.5.0→^11.0.0Release Notes
srod/node-minify (@node-minify/html-minifier)
v11.0.0Compare Source
Major Changes
1a1be73: v11: cleanup major release.Breaking changes
engines.nodemoved from>=20.0.0to>=22.0.0across all packages. Node 20 reached end-of-life on 2026-04-30 and is no longer covered by CI (the test matrix runs 22.x and 24.x). Upgrade to Node 22 or later.@node-minify/babel-minify,@node-minify/uglify-es,@node-minify/yui,@node-minify/sqwish,@node-minify/crass. Use the recommended replacements (terser/oxc/swc/esbuild for JS, lightningcss/cssnano for CSS).@node-minify/run: internal Java/process-spawn helper, no longer used by any compressor.@node-minify/types:CompressorReturnType(useCompressorResult) andMinifyOptions(useSettings).google-closure-compilernpm API instead of invoking the Java JAR through@node-minify/run. Same flags and output. Note: the npm package still bundlesgoogle-closure-compiler-java, so Java may still be invoked under the hood — this change removes node-minify's custom Java plumbing, not Java itself.New features
@node-minify/utils(recommended/supported/legacy/removed), surfaced in CLI help and the GitHub Action.node-minify doctor: read-only CLI command covering every v11 break. Scanspackage.json, source imports,compressor:values and workflow YAML for removed/legacy compressors, the removed@node-minify/runpackage, the removedCompressorReturnType/MinifyOptionstype aliases, andengines.noderanges that still allow Node below 22. Exits non-zero on errors so it can gate CI.bufferlimit (kills the child process when stdout/stderr exceeds it) plus hardened process/timeout/error handling.Migration
See the v11 migration guide, or run
npx --package=@node-minify/cli -- node-minify doctorin your project.Patch Changes
Published Packages
@node-minify/benchmark@11.0.0@node-minify/clean-css@11.0.0@node-minify/cli@11.0.0@node-minify/core@11.0.0@node-minify/cssnano@11.0.0@node-minify/csso@11.0.0@node-minify/esbuild@11.0.0@node-minify/google-closure-compiler@11.0.0@node-minify/html-minifier@11.0.0@node-minify/imagemin@11.0.0@node-minify/jsonminify@11.0.0@node-minify/lightningcss@11.0.0@node-minify/minify-html@11.0.0@node-minify/no-compress@11.0.0@node-minify/oxc@11.0.0@node-minify/sharp@11.0.0@node-minify/svgo@11.0.0@node-minify/swc@11.0.0@node-minify/terser@11.0.0@node-minify/types@11.0.0@node-minify/uglify-js@11.0.0@node-minify/utils@11.0.0See individual package CHANGELOGs for details.
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate CLI.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.