Skip to content

Bump html-minifier-next from 4.16.3 to 6.1.2 - #52

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/html-minifier-next-6.1.2
Open

Bump html-minifier-next from 4.16.3 to 6.1.2#52
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/html-minifier-next-6.1.2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Apr 13, 2026

Copy link
Copy Markdown
Contributor

Bumps html-minifier-next from 4.16.3 to 6.1.2.

Changelog

Sourced from html-minifier-next's changelog.

[6.1.2] - 2026-04-10

Fixed

  • Fixed mergeScripts to use a scanner instead of a regex for locating </script> boundaries, correctly handling scripts that contain a literal </script> string in their content
  • Fixed CLI config file error messages to show only the relevant error for the detected file type (.json, .cjs, .mjs, .js), rather than reporting all three attempted parse errors at once
  • Fixed LRU cache size validation for user-provided cacheCSS/cacheJS/cacheSVG option values: Non-finite values (NaN, Infinity) now fall back to the default size (500), non-integer values are floored, and values below 1 are clamped to 1 (previously only exactly 0 was coerced to 1)

[6.1.1] - 2026-04-07

Fixed

  • Fixed mergeScripts to no longer merge <script type=module> elements (each module has its own lexical scope, so merging can produce syntax errors) or other non-JS script types like application/json (whose content is not concatenable)

[6.1.0] - 2026-04-07

Changed

  • Updated <script type=module> to automatically enable Terser’s and SWC’s module: true option, unlocking ES module–specific optimizations (e.g., unused variable elimination) that are only safe in module scope; classic scripts are unaffected

[6.0.0] - 2026-04-05

Changed

  • BREAKING: Removed processConditionalComments option
    • Conditional Comments (<!--[if IE]>…<![endif]-->) were a proprietary Internet Explorer feature unsupported since IE 10 (2012) with no effect in any current browser
    • Migration: Conditional Comments are now treated as regular comments, that is, removed when removeComments is enabled, preserved as-is otherwise

[5.2.2] - 2026-03-22

Fixed

  • Fixed removeAttributeQuotes being incorrectly suppressed inside MathML—MathML is never processed by SVGO, so the XML validity constraint that applies to SVG does not apply here

Changed

  • Changed removeAttributeQuotes being suppressed inside inline SVG when minifySVG is disabled—attribute quotes are now removed from SVG elements in that case, matching the behavior in regular HTML context (since inline SVG is parsed by the HTML parser, not an XML parser)

[5.2.1] - 2026-03-17

Changed

  • Removed redundant ESLint rules from config that were already covered by eslint:recommended

[5.2.0] - 2026-03-08

Added

  • Added --zero (-z) flag for zero-configuration in-place minification of all HTML files in the current folder and its subfolders, using comprehensive settings; emits a note and is ignored when combined with other options

... (truncated)

Commits

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Bumps [html-minifier-next](https://github.com/j9t/html-minifier-next) from 4.16.3 to 6.1.2.
- [Changelog](https://github.com/j9t/html-minifier-next/blob/main/CHANGELOG.md)
- [Commits](https://github.com/j9t/html-minifier-next/commits)

---
updated-dependencies:
- dependency-name: html-minifier-next
  dependency-version: 6.1.2
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Apr 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants