Version Packages

Merged
GI
2d ago
+262-80

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@node-minify/benchmark@11.0.1

Patch Changes

  • f8f121e: - @node-minify/core, @node-minify/types: Stop supplying a hidden 1 MB default buffer in setup(), allowing Google Closure Compiler to use its own 100 MB per-stream limit unless a caller specifies buffer (custom compressors reading settings.buffer must now handle undefined).
    • @node-minify/sharp: Await converter.toBuffer() inside try so async encoding failures report the target format (Sharp conversion to <format> failed: …) in both single-format and multi-format runs.
    • @node-minify/cli: Remove duplicate Compression failed: error wrapping in compress() so failed CLI runs print the prefix once.
    • @node-minify/benchmark: Write temporary benchmark outputs to an isolated os.tmpdir() directory removed in finally instead of next to the input file.
    • @node-minify/benchmark, @node-minify/cli: Honor output / -o and format / -f by 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 -t reach the benchmark subcommand. Root-only flags such as -s, -O or -i placed after benchmark had no effect on it and are now rejected as unknown options.
  • Updated dependencies [f8f121e]
    • @node-minify/core@11.0.1
    • @node-minify/utils@11.0.1

@node-minify/clean-css@11.0.1

Patch Changes

  • @node-minify/utils@11.0.1

@node-minify/cli@11.0.1

Patch Changes

  • 757524b: node-minify benchmark: -c, -n, -f, -o and -t now require a value. A bare -o used to run the whole benchmark and then crash on path.dirname(true), and a bare -c crashed on split; both are now rejected up front with "argument missing".
  • f8f121e: - @node-minify/core, @node-minify/types: Stop supplying a hidden 1 MB default buffer in setup(), allowing Google Closure Compiler to use its own 100 MB per-stream limit unless a caller specifies buffer (custom compressors reading settings.buffer must now handle undefined).
    • @node-minify/sharp: Await converter.toBuffer() inside try so async encoding failures report the target format (Sharp conversion to <format> failed: …) in both single-format and multi-format runs.
    • @node-minify/cli: Remove duplicate Compression failed: error wrapping in compress() so failed CLI runs print the prefix once.
    • @node-minify/benchmark: Write temporary benchmark outputs to an isolated os.tmpdir() directory removed in finally instead of next to the input file.
    • @node-minify/benchmark, @node-minify/cli: Honor output / -o and format / -f by 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 -t reach the benchmark subcommand. Root-only flags such as -s, -O or -i placed after benchmark had no effect on it and are now rejected as unknown options.
  • Updated dependencies [f8f121e]
    • @node-minify/core@11.0.1
    • @node-minify/benchmark@11.0.1
    • @node-minify/utils@11.0.1

@node-minify/core@11.0.1

Patch Changes

  • f8f121e: - @node-minify/core, @node-minify/types: Stop supplying a hidden 1 MB default buffer in setup(), allowing Google Closure Compiler to use its own 100 MB per-stream limit unless a caller specifies buffer (custom compressors reading settings.buffer must now handle undefined).
    • @node-minify/sharp: Await converter.toBuffer() inside try so async encoding failures report the target format (Sharp conversion to <format> failed: …) in both single-format and multi-format runs.
    • @node-minify/cli: Remove duplicate Compression failed: error wrapping in compress() so failed CLI runs print the prefix once.
    • @node-minify/benchmark: Write temporary benchmark outputs to an isolated os.tmpdir() directory removed in finally instead of next to the input file.
    • @node-minify/benchmark, @node-minify/cli: Honor output / -o and format / -f by 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 -t reach the benchmark subcommand. Root-only flags such as -s, -O or -i placed after benchmark had no effect on it and are now rejected as unknown options.
    • @node-minify/utils@11.0.1

@node-minify/cssnano@11.0.1

Patch Changes

  • @node-minify/utils@11.0.1

@node-minify/csso@11.0.1

Patch Changes

  • @node-minify/utils@11.0.1

@node-minify/esbuild@11.0.1

Patch Changes

  • @node-minify/utils@11.0.1

@node-minify/google-closure-compiler@11.0.1

Patch Changes

  • @node-minify/utils@11.0.1

@node-minify/html-minifier@11.0.1

Patch Changes

  • @node-minify/utils@11.0.1

@node-minify/imagemin@11.0.1

Patch Changes

  • Updated dependencies [f8f121e]
    • @node-minify/core@11.0.1
    • @node-minify/utils@11.0.1

@node-minify/jsonminify@11.0.1

Patch Changes

  • @node-minify/utils@11.0.1

@node-minify/lightningcss@11.0.1

Patch Changes

  • @node-minify/utils@11.0.1

@node-minify/minify-html@11.0.1

Patch Changes

  • @node-minify/utils@11.0.1

@node-minify/no-compress@11.0.1

Patch Changes

  • @node-minify/utils@11.0.1

@node-minify/oxc@11.0.1

Patch Changes

  • @node-minify/utils@11.0.1

@node-minify/sharp@11.0.1

Patch Changes

  • f8f121e: - @node-minify/core, @node-minify/types: Stop supplying a hidden 1 MB default buffer in setup(), allowing Google Closure Compiler to use its own 100 MB per-stream limit unless a caller specifies buffer (custom compressors reading settings.buffer must now handle undefined).
    • @node-minify/sharp: Await converter.toBuffer() inside try so async encoding failures report the target format (Sharp conversion to <format> failed: …) in both single-format and multi-format runs.
    • @node-minify/cli: Remove duplicate Compression failed: error wrapping in compress() so failed CLI runs print the prefix once.
    • @node-minify/benchmark: Write temporary benchmark outputs to an isolated os.tmpdir() directory removed in finally instead of next to the input file.
    • @node-minify/benchmark, @node-minify/cli: Honor output / -o and format / -f by 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 -t reach the benchmark subcommand. Root-only flags such as -s, -O or -i placed after benchmark had no effect on it and are now rejected as unknown options.
  • Updated dependencies [f8f121e]
    • @node-minify/core@11.0.1
    • @node-minify/utils@11.0.1

@node-minify/svgo@11.0.1

Patch Changes

  • @node-minify/utils@11.0.1

@node-minify/swc@11.0.1

Patch Changes

  • @node-minify/utils@11.0.1

@node-minify/terser@11.0.1

Patch Changes

  • @node-minify/utils@11.0.1

@node-minify/types@11.0.1

Patch Changes

  • f8f121e: - @node-minify/core, @node-minify/types: Stop supplying a hidden 1 MB default buffer in setup(), allowing Google Closure Compiler to use its own 100 MB per-stream limit unless a caller specifies buffer (custom compressors reading settings.buffer must now handle undefined).
    • @node-minify/sharp: Await converter.toBuffer() inside try so async encoding failures report the target format (Sharp conversion to <format> failed: …) in both single-format and multi-format runs.
    • @node-minify/cli: Remove duplicate Compression failed: error wrapping in compress() so failed CLI runs print the prefix once.
    • @node-minify/benchmark: Write temporary benchmark outputs to an isolated os.tmpdir() directory removed in finally instead of next to the input file.
    • @node-minify/benchmark, @node-minify/cli: Honor output / -o and format / -f by 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 -t reach the benchmark subcommand. Root-only flags such as -s, -O or -i placed after benchmark had no effect on it and are now rejected as unknown options.

@node-minify/uglify-js@11.0.1

Patch Changes

  • @node-minify/utils@11.0.1

@node-minify/utils@11.0.1

@node-minify/examples@11.0.1

Patch Changes

  • Updated dependencies [f8f121e]
    • @node-minify/core@11.0.1
    • @node-minify/sharp@11.0.1
    • @node-minify/imagemin@11.0.1
    • @node-minify/clean-css@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/jsonminify@11.0.1
    • @node-minify/lightningcss@11.0.1
    • @node-minify/no-compress@11.0.1
    • @node-minify/oxc@11.0.1
    • @node-minify/svgo@11.0.1
    • @node-minify/swc@11.0.1
    • @node-minify/terser@11.0.1
    • @node-minify/uglify-js@11.0.1

@node-minify/action@11.0.1

Patch Changes

  • Updated dependencies [f8f121e]
    • @node-minify/core@11.0.1
    • @node-minify/benchmark@11.0.1
    • @node-minify/esbuild@11.0.1
    • @node-minify/oxc@11.0.1
    • @node-minify/swc@11.0.1
    • @node-minify/terser@11.0.1
    • @node-minify/utils@11.0.1

@node-minify/docs@11.0.1


Summary by cubic

Releases all @node-minify packages at version 11.0.1, publishing accumulated patch fixes to npm on merge.

  • Removes the hidden 1 MB default buffer in setup() so Google Closure Compiler uses its own limit.
  • Makes sharp image failures report the target format, and removes duplicate Compression failed: wrapping in CLI runs.
  • Writes benchmark reports to disk honoring -o/-f, requires values for -c, -n, -f, -o, and -t, and rejects misplaced root-only flags.
  • Bumps dev tooling in package.json and bun.lock.