Update dependency @node-minify/core to v11 #165
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "renovate/node-minify-core-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:
^8.0.6→^11.0.2Release Notes
srod/node-minify (@node-minify/core)
v11.0.2Compare Source
Patch Changes
8903c65: Fail when no input file is left after glob expansion.minify()used to resolve with an empty string and write nothing when a wildcard input such assrc/**/*.jsmatched nothing and the output used$1; with a plain output it failed withNo content provided. Both cases now throwNo files matched input pattern: <pattern>. An array where at least one entry matches keeps working, and unmatched globs in it are skipped as before. Explicit empty arrays and in-memorycontentare unaffected.Published Packages
@node-minify/benchmark@11.0.2@node-minify/clean-css@11.0.2@node-minify/cli@11.0.2@node-minify/core@11.0.2@node-minify/cssnano@11.0.2@node-minify/csso@11.0.2@node-minify/esbuild@11.0.2@node-minify/google-closure-compiler@11.0.2@node-minify/html-minifier@11.0.2@node-minify/imagemin@11.0.2@node-minify/jsonminify@11.0.2@node-minify/lightningcss@11.0.2@node-minify/minify-html@11.0.2@node-minify/no-compress@11.0.2@node-minify/oxc@11.0.2@node-minify/sharp@11.0.2@node-minify/svgo@11.0.2@node-minify/swc@11.0.2@node-minify/terser@11.0.2@node-minify/types@11.0.2@node-minify/uglify-js@11.0.2@node-minify/utils@11.0.2See individual package CHANGELOGs for details.
v11.0.1Compare Source
Patch Changes
f8f121e: -@node-minify/core,@node-minify/types: Stop supplying a hidden 1 MB defaultbufferinsetup(), allowing Google Closure Compiler to use its own 100 MB per-stream limit unless a caller specifiesbuffer(custom compressors readingsettings.buffermust now handleundefined).@node-minify/sharp: Awaitconverter.toBuffer()insidetryso async encoding failures report the target format (Sharp conversion to <format> failed: …) in both single-format and multi-format runs.@node-minify/cli: Remove duplicateCompression failed:error wrapping incompress()so failed CLI runs print the prefix once.@node-minify/benchmark: Write temporary benchmark outputs to an isolatedos.tmpdir()directory removed infinallyinstead of next to the input file.@node-minify/benchmark,@node-minify/cli: Honoroutput/-oandformat/-fby writing the formatted benchmark report to disk (creating parent directories and stripping ANSI escape codes) instead of printing to stdout, and enable Commander positional options so-c,-o, and-treach thebenchmarksubcommand. Root-only flags such as-s,-Oor-iplaced afterbenchmarkhad no effect on it and are now rejected as unknown options.Published Packages
@node-minify/benchmark@11.0.1@node-minify/clean-css@11.0.1@node-minify/cli@11.0.1@node-minify/core@11.0.1@node-minify/cssnano@11.0.1@node-minify/csso@11.0.1@node-minify/esbuild@11.0.1@node-minify/google-closure-compiler@11.0.1@node-minify/html-minifier@11.0.1@node-minify/imagemin@11.0.1@node-minify/jsonminify@11.0.1@node-minify/lightningcss@11.0.1@node-minify/minify-html@11.0.1@node-minify/no-compress@11.0.1@node-minify/oxc@11.0.1@node-minify/sharp@11.0.1@node-minify/svgo@11.0.1@node-minify/swc@11.0.1@node-minify/terser@11.0.1@node-minify/types@11.0.1@node-minify/uglify-js@11.0.1@node-minify/utils@11.0.1See individual package CHANGELOGs for details.
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.
v10.5.0Compare Source
Published Packages
@node-minify/babel-minify@10.5.0@node-minify/benchmark@10.5.0@node-minify/clean-css@10.5.0@node-minify/cli@10.5.0@node-minify/core@10.5.0@node-minify/crass@10.5.0@node-minify/cssnano@10.5.0@node-minify/csso@10.5.0@node-minify/esbuild@10.5.0@node-minify/google-closure-compiler@10.5.0@node-minify/html-minifier@10.5.0@node-minify/imagemin@10.5.0@node-minify/jsonminify@10.5.0@node-minify/lightningcss@10.5.0@node-minify/minify-html@10.5.0@node-minify/no-compress@10.5.0@node-minify/oxc@10.5.0@node-minify/run@10.5.0@node-minify/sharp@10.5.0@node-minify/sqwish@10.5.0@node-minify/svgo@10.5.0@node-minify/swc@10.5.0@node-minify/terser@10.5.0@node-minify/types@10.5.0@node-minify/uglify-es@10.5.0@node-minify/uglify-js@10.5.0@node-minify/utils@10.5.0@node-minify/yui@10.5.0See individual package CHANGELOGs for details.
v10.4.0Compare Source
Published Packages
@node-minify/babel-minify@10.4.0@node-minify/benchmark@10.4.0@node-minify/clean-css@10.4.0@node-minify/cli@10.4.0@node-minify/core@10.4.0@node-minify/crass@10.4.0@node-minify/cssnano@10.4.0@node-minify/csso@10.4.0@node-minify/esbuild@10.4.0@node-minify/google-closure-compiler@10.4.0@node-minify/html-minifier@10.4.0@node-minify/imagemin@10.4.0@node-minify/jsonminify@10.4.0@node-minify/lightningcss@10.4.0@node-minify/minify-html@10.4.0@node-minify/no-compress@10.4.0@node-minify/oxc@10.4.0@node-minify/run@10.4.0@node-minify/sharp@10.4.0@node-minify/sqwish@10.4.0@node-minify/svgo@10.4.0@node-minify/swc@10.4.0@node-minify/terser@10.4.0@node-minify/types@10.4.0@node-minify/uglify-es@10.4.0@node-minify/uglify-js@10.4.0@node-minify/utils@10.4.0@node-minify/yui@10.4.0See individual package CHANGELOGs for details.
v10.3.0Compare Source
Published Packages
@node-minify/babel-minify@10.3.0@node-minify/benchmark@10.3.0@node-minify/clean-css@10.3.0@node-minify/cli@10.3.0@node-minify/core@10.3.0@node-minify/crass@10.3.0@node-minify/cssnano@10.3.0@node-minify/csso@10.3.0@node-minify/esbuild@10.3.0@node-minify/google-closure-compiler@10.3.0@node-minify/html-minifier@10.3.0@node-minify/imagemin@10.3.0@node-minify/jsonminify@10.3.0@node-minify/lightningcss@10.3.0@node-minify/minify-html@10.3.0@node-minify/no-compress@10.3.0@node-minify/oxc@10.3.0@node-minify/run@10.3.0@node-minify/sharp@10.3.0@node-minify/sqwish@10.3.0@node-minify/svgo@10.3.0@node-minify/swc@10.3.0@node-minify/terser@10.3.0@node-minify/types@10.3.0@node-minify/uglify-es@10.3.0@node-minify/uglify-js@10.3.0@node-minify/utils@10.3.0@node-minify/yui@10.3.0See individual package CHANGELOGs for details.
v10.2.0Compare Source
Published Packages
@node-minify/babel-minify@10.2.0@node-minify/clean-css@10.2.0@node-minify/cli@10.2.0@node-minify/core@10.2.0@node-minify/crass@10.2.0@node-minify/cssnano@10.2.0@node-minify/csso@10.2.0@node-minify/esbuild@10.2.0@node-minify/google-closure-compiler@10.2.0@node-minify/html-minifier@10.2.0@node-minify/imagemin@10.2.0@node-minify/jsonminify@10.2.0@node-minify/lightningcss@10.2.0@node-minify/no-compress@10.2.0@node-minify/oxc@10.2.0@node-minify/run@10.2.0@node-minify/sharp@10.2.0@node-minify/sqwish@10.2.0@node-minify/svgo@10.2.0@node-minify/swc@10.2.0@node-minify/terser@10.2.0@node-minify/types@10.2.0@node-minify/uglify-es@10.2.0@node-minify/uglify-js@10.2.0@node-minify/utils@10.2.0@node-minify/yui@10.2.0See individual package CHANGELOGs for details.
v10.1.1Compare Source
Patch Changes
eb785b0: Fix npm install error caused by unresolved workspace:* references in published packageseb785b0]v10.1.0Compare Source
New Compressors
Other Changes
v10.0.2Compare Source
Patch Changes
156a53d: test: verify OIDC publishing with fixed workflow config156a53d]v10.0.1Compare Source
v10.0.0Compare Source
v10.0.0
Breaking Changes
minify()calls must useawaitor.then().import { minify } from '@node-minify/core').@node-minify/babel-minify(deprecated)@node-minify/uglify-es(deprecated)@node-minify/yui(deprecated)@node-minify/sqwish(deprecated)@node-minify/crass(deprecated)Features & Improvements
tsuptotsdownfor faster and more reliable builds.html-minifierwithhtml-minifier-next.Bug Fixes
v9.0.2Compare Source
Patch Changes
e5a9ccb: Replace html-minifier with html-minifier-next to fix security vulnerability (CVE in upstream html-minifier)v9.0.1Compare Source
Patch Changes
ffe20b0: feat(glob): replace glob with fast-globv9.0.0Compare Source
Major Changes
7ab9745: Version 9.0.0c9acdaa)50e9ec4)dd86297)Patch Changes
7ab9745]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.
881021c639640a9adfc5640a9adfc52a21d1b644