---
number: 9352
title: 'build(deps-dev): bump svgo from 4.0.0 to 4.0.1'
author: dependabot
state: MERGED
createdAt: '2026-03-04T23:23:03Z'
updatedAt: '2026-03-07T14:46:03Z'
closedAt: '2026-03-07T14:45:56Z'
mergedAt: '2026-03-07T14:45:56Z'
head: dependabot/npm_and_yarn/svgo-4.0.1
base: dev
url: 'https://github.com/neomjs/neo/pull/9352'
---
Bumps [svgo](https://github.com/svg/svgo) from 4.0.0 to 4.0.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/svg/svgo/releases">svgo's releases</a>.</em></p>
<blockquote>
<h2>v4.0.1</h2>
<h2>What's Changed</h2>
<h3>Dependencies</h3>
<ul>
<li>Sets minimum version of <a href="https://www.npmjs.com/package/sax">sax</a> (XML parser) to v1.5.0, which improves built-in guards against entity expansion.</li>
</ul>
<h3>Bug Fixes</h3>
<ul>
<li><a href="https://svgo.dev/docs/plugins/removeEmptyContainers/">removeEmptyContainers</a>, removed leftover <code>&lt;use&gt;</code> elements referencing an empty container that were removed. By <a href="https://github.com/johnkenny54"><code>@​johnkenny54</code></a> in <a href="https://redirect.github.com/svg/svgo/pull/2051">svg/svgo#2051</a></li>
<li><a href="https://svgo.dev/docs/plugins/removeUnknownsAndDefaults/">removeUnknownsAndDefaults</a>, don't remove attributes if they're referenced in attribute selectors (CSS). By <a href="https://github.com/SethFalco"><code>@​SethFalco</code></a> in <a href="https://redirect.github.com/svg/svgo/pull/2144">svg/svgo#2144</a></li>
</ul>
<h3>Performance</h3>
<ul>
<li><a href="https://svgo.dev/docs/plugins/convertPathData/">convertPathData</a>, refactor to reduce redundant equality checks. By <a href="https://github.com/Lorfdail"><code>@​Lorfdail</code></a> in <a href="https://redirect.github.com/svg/svgo/pull/1764">svg/svgo#1764</a> and <a href="https://redirect.github.com/svg/svgo/pull/2135">svg/svgo#2135</a></li>
<li><a href="https://svgo.dev/docs/plugins/removeHiddenElems/">removeHiddenElems</a>, compute styles lazily. By <a href="https://github.com/Lorfdail"><code>@​Lorfdail</code></a> in <a href="https://redirect.github.com/svg/svgo/pull/1764">svg/svgo#1764</a> and <a href="https://redirect.github.com/svg/svgo/pull/2135">svg/svgo#2135</a></li>
</ul>
<h3>Other Changes</h3>
<ul>
<li>Plugins no longer include if they are enabled or disabled by default, as this was written inconsistently. The <code>--show-plugins</code> argument appends the presets a plugin is in to the end of the line. By <a href="https://github.com/viralcodex"><code>@​viralcodex</code></a> in <a href="https://redirect.github.com/svg/svgo/pull/2174">svg/svgo#2174</a></li>
<li>Plugin/preset types to enforce the name start with <code>preset-</code> if it is a preset (collection of plugins). By <a href="https://github.com/SethFalco"><code>@​SethFalco</code></a> in <a href="https://redirect.github.com/svg/svgo/pull/2178">svg/svgo#2178</a></li>
</ul>
<h2>Metrics</h2>
<p>Before and after of the browser bundle of each respective version:</p>
<table>
<thead>
<tr>
<th></th>
<th>v4.0.0</th>
<th>v4.0.1</th>
<th>Delta</th>
</tr>
</thead>
<tbody>
<tr>
<td>svgo.browser.js</td>
<td>780.2 kB</td>
<td>781.5 kB</td>
<td>⬆️ 1.3 kB</td>
</tr>
</tbody>
</table>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/svg/svgo/commit/e691f5f85d9ff6c8f3bc75dc5150181d314b7f2d"><code>e691f5f</code></a> Merge commit from fork</li>
<li><a href="https://github.com/svg/svgo/commit/b1d9f1a5dd018ffcbd52b96678019ccf4312b22d"><code>b1d9f1a</code></a> chore(deps): bump actions/upload-artifact from 6 to 7 (<a href="https://redirect.github.com/svg/svgo/issues/2202">#2202</a>)</li>
<li><a href="https://github.com/svg/svgo/commit/d724af1b75d9a76ffd0ff4aef95047a045deb2b6"><code>d724af1</code></a> chore(deps): bump actions/checkout from 5 to 6 (<a href="https://redirect.github.com/svg/svgo/issues/2195">#2195</a>)</li>
<li><a href="https://github.com/svg/svgo/commit/4114b3236f4ee5d2e0db6506e09e2633d55bfab6"><code>4114b32</code></a> chore(deps): bump actions/upload-artifact from 4 to 6 (<a href="https://redirect.github.com/svg/svgo/issues/2196">#2196</a>)</li>
<li><a href="https://github.com/svg/svgo/commit/c06d8f6899788defae9594537063c2f4307803e4"><code>c06d8f6</code></a> chore: upgrade js-yaml and glob (<a href="https://redirect.github.com/svg/svgo/issues/2191">#2191</a>)</li>
<li><a href="https://github.com/svg/svgo/commit/26e86e5d722fbc1937446b23d53a1bf8e3f01e39"><code>26e86e5</code></a> fix: remove unused &lt;use&gt; elements when deleting empty symbols (<a href="https://redirect.github.com/svg/svgo/issues/2051">#2051</a>)</li>
<li><a href="https://github.com/svg/svgo/commit/50c326bbff8eda6589f09504f87197b693ac6854"><code>50c326b</code></a> perf: optimiztions to reduce regression test runtime (<a href="https://redirect.github.com/svg/svgo/issues/2135">#2135</a>)</li>
<li><a href="https://github.com/svg/svgo/commit/1f33cbe3aea1fd04d8272860d0356a5b107fd6cf"><code>1f33cbe</code></a> ci: separate regression tests and write delta report (<a href="https://redirect.github.com/svg/svgo/issues/2190">#2190</a>)</li>
<li><a href="https://github.com/svg/svgo/commit/79a2167dc93aaff982686ec65846db714aae3e76"><code>79a2167</code></a> ci: save test reports to artifacts (<a href="https://redirect.github.com/svg/svgo/issues/2189">#2189</a>)</li>
<li><a href="https://github.com/svg/svgo/commit/0ae52a02a5cc021e37d227a8d6ca68cf6ca28679"><code>0ae52a0</code></a> chore(deps): bump actions/setup-node from 5 to 6 (<a href="https://redirect.github.com/svg/svgo/issues/2187">#2187</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/svg/svgo/compare/v4.0.0...v4.0.1">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=svgo&package-manager=npm_and_yarn&previous-version=4.0.0&new-version=4.0.1)](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/neomjs/neo/network/alerts).

</details>
