Skip to content

Bump html-minifier-next from 4.19.1 to 8.10.5 - #28

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

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

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 9, 2026

Copy link
Copy Markdown
Contributor

Bumps html-minifier-next from 4.19.1 to 8.10.5.

Changelog

Sourced from html-minifier-next's changelog.

[8.10.5] - 2026-10-05

Fixed

  • Fixed minifySVG leaving SVG unoptimized when it contains a bare & (e.g., <text>A & B</text>) or a character reference only HTML reads (e.g., &copy or &NotEqualTilde;)
  • Fixed minifySVG turning references HTML reads as Windows-1252 characters into control characters (e.g., &[#128](https://github.com/j9t/html-minifier-next/issues/128); into U+0080 rather than €)
  • Fixed minifyCSS and minifyJS reading character references and CDATA sections in SVG as written under minifySVG, which removed style attributes and rules (e.g., style="font-family: &quot;Fira Sans&quot;") and left scripts unminified

[8.10.4] - 2026-10-04

Changed

  • Improved decodeEntities performance, with text and attribute values that contain entities decoded synchronously once the entity decoder has loaded
  • Improved CLI performance on worker threads, with the largest files handed out first so that a large file found late no longer holds up the run

[8.10.3] - 2026-10-03

Fixed

  • Fixed unquoted attribute values of about 20 KB or more being cut short, with the rest written out as an attribute of its own (e.g., a long data: URL in <img src=…>)

Changed

  • Improved attribute performance, with less work for attributes that collapse to their name as well as for srcset values

[8.10.2] - 2026-10-02

Fixed

  • Fixed collapseWhitespace removing whitespace before inline elements not written in lowercase, also without caseSensitive (e.g., a <SPAN>b</SPAN> became a<span>b</span>), including custom elements from inlineCustomElements (e.g., myElement)
  • Fixed collapseWhitespace keeping a single trailing line break in a pre element closed by </PRE> (e.g., in <pre>\nfoo\n</PRE>), which it removes before </pre>
  • Fixed collapseWhitespace not removing whitespace next to hidden inputs whose type isn’t written in lowercase (e.g., <input type=Hidden>)
  • Fixed caseSensitive treating HTML elements and attributes not written in lowercase as unknown ones, which kept most options from applying to them (e.g., minifyJS to <SCRIPT>, removeOptionalTags to <LI>, or removeRedundantAttributes to DIR=ltr) and made collapseWhitespace collapse whitespace in <PRE> and <TEXTAREA> and remove it around inline elements like <SPAN>; HTML names are now read in any case, as browsers do, while the output and hooks get them as written (with removeEmptyElementsExcept and inlineCustomElements matching any case)
  • Fixed some boolean attributes without a value getting their name for a value (e.g., <input disabled> became <input disabled=disabled>, and <input DISABLED> <input disabled=DISABLED>), which collapseBooleanAttributes would only undo
  • Fixed canCollapseWhitespace having no effect on its own, as trimming collapsed the whitespace between tags anyway; it now keeps the runs inside an element as written, which canTrimWhitespace may still trim at the edges
  • Fixed canTrimWhitespace not keeping whitespace as written in an element it decides on by attributes, where a later end tag could still trim the element’s trailing whitespace (e.g., the space before the first </div> in <div><div class=keep>a </div></div>), or in text next to only one tag

Changed

  • Improved parser performance, with fewer allocations per tag and text node and the raw-text check only rerun when open elements change

[8.10.1] - 2026-10-02

Fixed

  • Fixed collapseWhitespace keeping whitespace before elements that don’t render, like script, meta, or link, where nothing after them renders it (e.g., the space in <img src="a"> <script></script></body>), and after them, where nothing before them renders it (e.g., in <p><script></script> text), as well as on both sides of such an element, where one space is enough (a <script></script> b now becomes a<script></script> b)
  • Fixed collapseWhitespace keeping whitespace between an element that doesn’t render and an htmlmin:ignore block that starts with one (e.g., between meta elements in head)

[8.10.0] - 2026-10-01

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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)

Bumps [html-minifier-next](https://github.com/j9t/html-minifier-next) from 4.19.1 to 8.10.5.
- [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: 8.10.5
  dependency-type: direct:production
  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 Oct 9, 2026
@koculu koculu closed this Oct 9, 2026
@dependabot @github

dependabot Bot commented on behalf of github Oct 9, 2026

Copy link
Copy Markdown
Contributor Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/html-minifier-next-8.10.5 branch October 9, 2026 03:52
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.

1 participant