You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bifromq.apache.org by "dependabot[bot] (via GitHub)" <gi...@apache.org> on 2026/07/24 06:54:10 UTC

[PR] Bump dompurify from 3.4.1 to 3.4.12 [bifromq-sites]

dependabot[bot] opened a new pull request, #57:
URL: https://github.com/apache/bifromq-sites/pull/57

   Bumps [dompurify](https://github.com/cure53/DOMPurify) from 3.4.1 to 3.4.12.
   <details>
   <summary>Release notes</summary>
   <p><em>Sourced from <a href="https://github.com/cure53/DOMPurify/releases">dompurify's releases</a>.</em></p>
   <blockquote>
   <h2>DOMPurify 3.4.12</h2>
   <ul>
   <li>Fixed an issue where a hook would not get called for custom elements, thanks <a href="https://github.com/Rikuxx0"><code>@​Rikuxx0</code></a></li>
   <li>Hardened the handling of hooks removing elements, <a href="https://github.com/mkrause-bee360"><code>@​mkrause-bee360</code></a></li>
   <li>Added support for a few new SVG attributes, thanks <a href="https://github.com/cbn-falias"><code>@​cbn-falias</code></a> &amp; <a href="https://github.com/Develop-KIM"><code>@​Develop-KIM</code></a></li>
   <li>Hardened the handling of declarative partial updates</li>
   <li>Updated the documentation is several spots, README, wiki, etc.</li>
   <li>Bumped several dependencies where possible</li>
   </ul>
   <h2>DOMPurify 3.4.11</h2>
   <ul>
   <li>Fixed an issue with a leaky config for hooks via <code>setConfig</code>, thanks <a href="https://github.com/trace37labs"><code>@​trace37labs</code></a></li>
   <li>Bumped vulnerable development dependencies to arrive at plain 0 with <code>npm audit</code></li>
   <li>Updated the <code>osv-scanner</code> suppression list as no vulnerable dependencies are left for now</li>
   <li>Updated up the linting tool-chain and removed now-redundant lint directives</li>
   <li>Updated the documentation is several spots, README, wiki, etc.</li>
   <li>Bumped several dependencies where possible</li>
   </ul>
   <h2>DOMPurify 3.4.10</h2>
   <ul>
   <li>Refactored codebase for clarity: extracted the public type declarations into <code>types.ts</code></li>
   <li>Decomposed the three largest sanitizer functions into focused helpers</li>
   <li>Removed duplicated defaults and dead branches, consolidated <code>SAFE_FOR_TEMPLATES</code> scrubbing into single shared path</li>
   <li>Improved per-node performance by hoisting the mXSS probe regexes and testing <code>textContent</code> before <code>innerHTML</code></li>
   <li>Added a deterministic micro-benchmark harness (<code>npm run bench</code>) with a <code>--compare</code> mode</li>
   <li>Reduced CI cost by running the full three-engine browser suite once per PR</li>
   <li>Refreshed the <code>demos/</code> folder so every demo runs again, and added a SVG-via-<code>&lt;img&gt;</code> demo</li>
   <li>Documented the bench and <code>test:happydom</code> scripts in the README</li>
   <li>Completed the Attack Classes &amp; Bypass History wiki page</li>
   <li>Bumped several dependencies where possible</li>
   </ul>
   <h2>DOMPurify 3.4.9</h2>
   <ul>
   <li>Further improved the handling of Trusted Types config options, thanks <a href="https://github.com/offset"><code>@​offset</code></a></li>
   <li>Further improved the handling of <code>IN_PLACE</code> sanitization, thanks <a href="https://github.com/mozfreddyb"><code>@​mozfreddyb</code></a></li>
   <li>Added more test coverage for <code>IN_PLACE</code> and Trusted Types related usage</li>
   <li>Bumped several dependencies where possible</li>
   <li>Updated README and wiki with more accurate documentation &amp; attack samples</li>
   </ul>
   <h2>DOMPurify 3.4.8</h2>
   <ul>
   <li>Cleaned up the repository root, renamed some and removed unneeded files</li>
   <li>Fixed an issue with handling of Trusted Types policies, thanks <a href="https://github.com/fulstadev"><code>@​fulstadev</code></a></li>
   <li>Fixed the node iterator for better template scrubbing, thanks <a href="https://github.com/IamLeandrooooo"><code>@​IamLeandrooooo</code></a></li>
   <li>Included formerly missing LICENSE-MPL in published npm package, thanks <a href="https://github.com/asamuzaK"><code>@​asamuzaK</code></a></li>
   <li>Bumped several dependencies where possible</li>
   </ul>
   <h2>DOMPurify 3.4.7</h2>
   <ul>
   <li>Hardened the handling of Shadow Roots when using <code>IN_PLACE</code>, thanks <a href="https://github.com/GameZoneHacker"><code>@​GameZoneHacker</code></a></li>
   <li>Removed a problem leading to permanent hook pollution, thanks <a href="https://github.com/offset"><code>@​offset</code></a></li>
   <li>Refactored the test suite and expanded test coverage significantly</li>
   </ul>
   <h2>DOMPurify 3.4.6</h2>
   <ul>
   <li>Fixed several issues with DOM Clobbering in <code>IN_PLACE</code> mode, thanks <a href="https://github.com/offset"><code>@​offset</code></a> &amp; <a href="https://github.com/Bankde"><code>@​Bankde</code></a></li>
   <li>Hardened the checks for cross-realm <code>IN_PLACE</code> and Shadow DOM sanitization, thanks <a href="https://github.com/offset"><code>@​offset</code></a> &amp; <a href="https://github.com/Bankde"><code>@​Bankde</code></a></li>
   </ul>
   <!-- raw HTML omitted -->
   </blockquote>
   <p>... (truncated)</p>
   </details>
   <details>
   <summary>Commits</summary>
   <ul>
   <li><a href="https://github.com/cure53/DOMPurify/commit/a9ca1e537422319a557a9a2aa61f003b23b4a197"><code>a9ca1e5</code></a> release: 3.4.12 (<a href="https://redirect.github.com/cure53/DOMPurify/issues/1537">#1537</a>)</li>
   <li><a href="https://github.com/cure53/DOMPurify/commit/0cae5187403132f96a6d357649e4b15633fc210a"><code>0cae518</code></a> release: 3.4.11 (<a href="https://redirect.github.com/cure53/DOMPurify/issues/1494">#1494</a>)</li>
   <li><a href="https://github.com/cure53/DOMPurify/commit/6ee5716f8336989753611beeca364957c0eb0c3e"><code>6ee5716</code></a> release: 3.4.10 (<a href="https://redirect.github.com/cure53/DOMPurify/issues/1478">#1478</a>)</li>
   <li><a href="https://github.com/cure53/DOMPurify/commit/52102472d46035857c52df19e44285f8a1e102fc"><code>5210247</code></a> release: 3.4.9 (<a href="https://redirect.github.com/cure53/DOMPurify/issues/1459">#1459</a>)</li>
   <li><a href="https://github.com/cure53/DOMPurify/commit/bcdd8285412dc9c4c149652aed2d712e790d6ccf"><code>bcdd828</code></a> release: 3.4.8 (<a href="https://redirect.github.com/cure53/DOMPurify/issues/1439">#1439</a>)</li>
   <li><a href="https://github.com/cure53/DOMPurify/commit/ca30f070c360df162a3e3848e80e6fd3c9e74bff"><code>ca30f07</code></a> release: 3.4.7 (<a href="https://redirect.github.com/cure53/DOMPurify/issues/1414">#1414</a>)</li>
   <li><a href="https://github.com/cure53/DOMPurify/commit/bb7739e5bccec7e1ab3dae3f3e42d02db3acaaae"><code>bb7739e</code></a> release: 3.4.6 (<a href="https://redirect.github.com/cure53/DOMPurify/issues/1394">#1394</a>)</li>
   <li><a href="https://github.com/cure53/DOMPurify/commit/011b0c78f2a0f57ee54f5fcccb697a46ca6e63ea"><code>011b0c7</code></a> release: 3.4.5 (<a href="https://redirect.github.com/cure53/DOMPurify/issues/1382">#1382</a>)</li>
   <li><a href="https://github.com/cure53/DOMPurify/commit/5817ad969c15e67dfcd6cb37248d6e9c1553e7c3"><code>5817ad9</code></a> release: 3.4.4 (<a href="https://redirect.github.com/cure53/DOMPurify/issues/1374">#1374</a>)</li>
   <li><a href="https://github.com/cure53/DOMPurify/commit/520edb0371a9638f9b51f1798051299a250c686b"><code>520edb0</code></a> release: 3.4.3 (<a href="https://redirect.github.com/cure53/DOMPurify/issues/1352">#1352</a>)</li>
   <li>Additional commits viewable in <a href="https://github.com/cure53/DOMPurify/compare/3.4.1...3.4.12">compare view</a></li>
   </ul>
   </details>
   <br />
   
   
   [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=dompurify&package-manager=npm_and_yarn&previous-version=3.4.1&new-version=3.4.12)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
   
   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-automerge-start)
   [//]: # (dependabot-automerge-end)
   
   ---
   
   <details>
   <summary>Dependabot commands and options</summary>
   <br />
   
   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)
   You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/apache/bifromq-sites/network/alerts).
   
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@bifromq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Bump dompurify from 3.4.1 to 3.4.12 [bifromq-sites]

Posted by "dependabot[bot] (via GitHub)" <gi...@apache.org>.
dependabot[bot] commented on PR #57:
URL: https://github.com/apache/bifromq-sites/pull/57#issuecomment-5129775651

   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`.
   
   If you change your mind, just re-open this PR and I'll resolve any conflicts on it.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@bifromq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Bump dompurify from 3.4.1 to 3.4.12 [bifromq-sites]

Posted by "visoar (via GitHub)" <gi...@apache.org>.
visoar closed pull request #57: Bump dompurify from 3.4.1 to 3.4.12
URL: https://github.com/apache/bifromq-sites/pull/57


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@bifromq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Bump dompurify from 3.4.1 to 3.4.12 [bifromq-sites]

Posted by "visoar (via GitHub)" <gi...@apache.org>.
visoar commented on PR #57:
URL: https://github.com/apache/bifromq-sites/pull/57#issuecomment-5129578512

   Correction with the omitted paths restored: the repository deploys with pnpm, but this PR only updates package-lock.json. pnpm-lock.yaml still resolves DOMPurify 3.4.10, so the 3.4.11 and 3.4.12 hook-handling and declarative-update hardening is not applied to the deployed dependency graph. Please update pnpm-lock.yaml.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@bifromq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Bump dompurify from 3.4.1 to 3.4.12 [bifromq-sites]

Posted by "visoar (via GitHub)" <gi...@apache.org>.
visoar commented on PR #57:
URL: https://github.com/apache/bifromq-sites/pull/57#issuecomment-5129775092

   Superseded by #62, which updates the deployed pnpm dependency graph, aligns all Docusaurus packages, removes the redundant npm lockfile, and adds pull-request build validation.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@bifromq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org