chore(deps-dev): Bump vitest from 4.0.2 to 4.0.4 (#1482)

Bumps
[vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest)
from 4.0.2 to 4.0.4.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/vitest-dev/vitest/releases">vitest's
releases</a>.</em></p>
<blockquote>
<h2>v4.0.4</h2>
<h3>   🐞 Bug Fixes</h3>
<ul>
<li><strong>browser</strong>:
<ul>
<li>Correct typo  -  by <a
href="https://github.com/benmccann"><code>@​benmccann</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/8796">vitest-dev/vitest#8796</a>
<a href="https://github.com/vitest-dev/vitest/commit/ede1f39d6"><!-- raw
HTML omitted -->(ede1f)<!-- raw HTML omitted --></a></li>
<li>Publish a missing context file for webdriverio  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/8824">vitest-dev/vitest#8824</a>
<a href="https://github.com/vitest-dev/vitest/commit/7c7b6f0b1"><!-- raw
HTML omitted -->(7c7b6)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>mocker</strong>:
<ul>
<li>Support mocking builtins without <code>node:</code> prefix  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/8829">vitest-dev/vitest#8829</a>
<a href="https://github.com/vitest-dev/vitest/commit/06208d30b"><!-- raw
HTML omitted -->(06208)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>pool</strong>:
<ul>
<li>Runner's error listener causing
<code>MaxListenersExceededWarning</code>  -  by <a
href="https://github.com/AriPerkkio"><code>@​AriPerkkio</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/8820">vitest-dev/vitest#8820</a>
<a href="https://github.com/vitest-dev/vitest/commit/d1bff3bb3"><!-- raw
HTML omitted -->(d1bff)<!-- raw HTML omitted --></a></li>
<li>Capture workers <code>stdio</code> to logger  -  by <a
href="https://github.com/AriPerkkio"><code>@​AriPerkkio</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/8809">vitest-dev/vitest#8809</a>
<a href="https://github.com/vitest-dev/vitest/commit/fb95fc736"><!-- raw
HTML omitted -->(fb95f)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>spy</strong>:
<ul>
<li>Allow classes in <code>vi.mocked</code> utility  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/8839">vitest-dev/vitest#8839</a>
<a href="https://github.com/vitest-dev/vitest/commit/f87568d64"><!-- raw
HTML omitted -->(f8756)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>worker</strong>:
<ul>
<li>Rpc listener leak when <code>isolate: false</code>  -  by <a
href="https://github.com/AriPerkkio"><code>@​AriPerkkio</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/8821">vitest-dev/vitest#8821</a>
<a href="https://github.com/vitest-dev/vitest/commit/573dc06fe"><!-- raw
HTML omitted -->(573dc)<!-- raw HTML omitted --></a></li>
</ul>
</li>
</ul>
<h3>   🏎 Performance</h3>
<ul>
<li><strong>utils</strong>: Optimized reducer to avoid creating new
objects  -  by <a
href="https://github.com/Connormiha"><code>@​Connormiha</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/8818">vitest-dev/vitest#8818</a>
<a href="https://github.com/vitest-dev/vitest/commit/d19cece3a"><!-- raw
HTML omitted -->(d19ce)<!-- raw HTML omitted --></a></li>
</ul>
<h5>    <a
href="https://github.com/vitest-dev/vitest/compare/v4.0.3...v4.0.4">View
changes on GitHub</a></h5>
<h2>v4.0.3</h2>
<h3>   🐞 Bug Fixes</h3>
<ul>
<li>Preserve reporter options from config when CLI reporters override
them  -  by <a
href="https://github.com/Copilot"><code>@​Copilot</code></a> and
<strong>sheremet-va</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/8794">vitest-dev/vitest#8794</a>
<a href="https://github.com/vitest-dev/vitest/commit/155521a85"><!-- raw
HTML omitted -->(15552)<!-- raw HTML omitted --></a></li>
<li><strong>browser</strong>: More stable in-source testing validation
 -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/8793">vitest-dev/vitest#8793</a>
<a href="https://github.com/vitest-dev/vitest/commit/622977e61"><!-- raw
HTML omitted -->(62297)<!-- raw HTML omitted --></a></li>
<li><strong>happy-dom</strong>: Support fetch globals  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/8791">vitest-dev/vitest#8791</a>
<a href="https://github.com/vitest-dev/vitest/commit/0fb74bd3b"><!-- raw
HTML omitted -->(0fb74)<!-- raw HTML omitted --></a></li>
<li><strong>init</strong>: Use correct jsx/tsx extension  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/8792">vitest-dev/vitest#8792</a>
<a href="https://github.com/vitest-dev/vitest/commit/abc046f95"><!-- raw
HTML omitted -->(abc04)<!-- raw HTML omitted --></a></li>
</ul>
<h5>    <a
href="https://github.com/vitest-dev/vitest/compare/v4.0.2...v4.0.3">View
changes on GitHub</a></h5>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="9b75ec5f2f"><code>9b75ec5</code></a>
chore: release v4.0.4</li>
<li><a
href="fb95fc7360"><code>fb95fc7</code></a>
fix(pool): capture workers <code>stdio</code> to logger (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/8809">#8809</a>)</li>
<li><a
href="06208d30bb"><code>06208d3</code></a>
fix(mocker): support mocking builtins without <code>node:</code> prefix
(<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/8829">#8829</a>)</li>
<li><a
href="573dc06fec"><code>573dc06</code></a>
fix(worker): rpc listener leak when <code>isolate: false</code> (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/8821">#8821</a>)</li>
<li><a
href="d1bff3bb3e"><code>d1bff3b</code></a>
fix(pool): runner's error listener causing
<code>MaxListenersExceededWarning</code> (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/8820">#8820</a>)</li>
<li><a
href="d19cece3a5"><code>d19cece</code></a>
perf(utils): optimized reducer to avoid creating new objects (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/8818">#8818</a>)</li>
<li><a
href="ede1f39d60"><code>ede1f39</code></a>
fix(browser): correct typo (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/8796">#8796</a>)</li>
<li><a
href="ca1766f45c"><code>ca1766f</code></a>
chore: release v4.0.3</li>
<li><a
href="155521a857"><code>155521a</code></a>
fix: preserve reporter options from config when CLI reporters override
them (...</li>
<li><a
href="abc046f952"><code>abc046f</code></a>
fix(init): use correct jsx/tsx extension (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/8792">#8792</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/vitest-dev/vitest/commits/v4.0.4/packages/vitest">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=vitest&package-manager=npm_and_yarn&previous-version=4.0.2&new-version=4.0.4)](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 merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@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)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit is contained in:
dependabot[bot]
2025-11-02 10:57:02 +00:00
committed by GitHub
parent 72a81b30d3
commit 50e9559631
2 changed files with 43 additions and 43 deletions

84
package-lock.json generated
View File

@@ -114,7 +114,7 @@
"uuid": "^13.0.0",
"vite": "^7.1.12",
"vite-plugin-istanbul": "^7.2.0",
"vitest": "^4.0.2"
"vitest": "^4.0.5"
}
},
"node_modules/@ampproject/remapping": {
@@ -4004,16 +4004,16 @@
}
},
"node_modules/@vitest/expect": {
"version": "4.0.2",
"resolved": "https://registry.npmjs.org/@vitest/expect/-/expect-4.0.2.tgz",
"integrity": "sha512-izQY+ABWqL2Vyr5+LNo3m16nLLTAzLn8em6i5uxqsrWRhdgzdN5JIHrpFVGBAYRGDAbtwE+yD4Heu8gsBSWTVQ==",
"version": "4.0.5",
"resolved": "https://registry.npmjs.org/@vitest/expect/-/expect-4.0.5.tgz",
"integrity": "sha512-DJctLVlKoddvP/G389oGmKWNG6GD9frm2FPXARziU80Rjo7SIYxQzb2YFzmQ4fVD3Q5utUYY8nUmWrqsuIlIXQ==",
"dev": true,
"license": "MIT",
"dependencies": {
"@standard-schema/spec": "^1.0.0",
"@types/chai": "^5.2.2",
"@vitest/spy": "4.0.2",
"@vitest/utils": "4.0.2",
"@vitest/spy": "4.0.5",
"@vitest/utils": "4.0.5",
"chai": "^6.0.1",
"tinyrainbow": "^3.0.3"
},
@@ -4032,13 +4032,13 @@
}
},
"node_modules/@vitest/mocker": {
"version": "4.0.2",
"resolved": "https://registry.npmjs.org/@vitest/mocker/-/mocker-4.0.2.tgz",
"integrity": "sha512-oiny+oBSGU9vHMA1DPdO+t1GVidCRuA4lKSG6rbo5SrCiTCGl7bTCyTaUkwxDpUkiSxEVneeXW4LJ4fg3H56dw==",
"version": "4.0.5",
"resolved": "https://registry.npmjs.org/@vitest/mocker/-/mocker-4.0.5.tgz",
"integrity": "sha512-iYHIy72LfbK+mL5W8zXROp6oOcJKXWeKcNjcPPsqoa18qIEDrhB6/Z08o0wRajTd6SSSDNw8NCSIHVNOMpz0mw==",
"dev": true,
"license": "MIT",
"dependencies": {
"@vitest/spy": "4.0.2",
"@vitest/spy": "4.0.5",
"estree-walker": "^3.0.3",
"magic-string": "^0.30.19"
},
@@ -4069,9 +4069,9 @@
}
},
"node_modules/@vitest/pretty-format": {
"version": "4.0.2",
"resolved": "https://registry.npmjs.org/@vitest/pretty-format/-/pretty-format-4.0.2.tgz",
"integrity": "sha512-PhrSiljryCz5nUDhHla5ihXYy2iRCBob+rNqlu34dA+KZIllVR39rUGny5R3kLgDgw3r8GW1ptOo64WbieMkeQ==",
"version": "4.0.5",
"resolved": "https://registry.npmjs.org/@vitest/pretty-format/-/pretty-format-4.0.5.tgz",
"integrity": "sha512-t1T/sSdsYyNc5AZl0EMeD0jW9cpJe2cODP0R++ZQe1kTkpgrwEfxGFR/yCG4w8ZybizbXRTHU7lE8sTDD/QsGw==",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -4092,13 +4092,13 @@
}
},
"node_modules/@vitest/runner": {
"version": "4.0.2",
"resolved": "https://registry.npmjs.org/@vitest/runner/-/runner-4.0.2.tgz",
"integrity": "sha512-mPS5T/ZDuO6J5rsQiA76CFmlHtos7dnCvL14I1Oo8SbcjIhJd6kirFmekovfYLRygdF0gJe6SA5asCKIWKw1tw==",
"version": "4.0.5",
"resolved": "https://registry.npmjs.org/@vitest/runner/-/runner-4.0.5.tgz",
"integrity": "sha512-CQVVe+YEeKSiFBD5gBAmRDQglm4PnMBYzeTmt06t5iWtsUN9StQeeKhYCea/oaqBYilf8sARG6fSctUcEL/UmQ==",
"dev": true,
"license": "MIT",
"dependencies": {
"@vitest/utils": "4.0.2",
"@vitest/utils": "4.0.5",
"pathe": "^2.0.3"
},
"funding": {
@@ -4106,13 +4106,13 @@
}
},
"node_modules/@vitest/snapshot": {
"version": "4.0.2",
"resolved": "https://registry.npmjs.org/@vitest/snapshot/-/snapshot-4.0.2.tgz",
"integrity": "sha512-NibujZAh+fTQlpGdP8J2pZcsPg7EPjiLUOUq9In++4p35vc9xIFMkXfQDbBSpijqZPe6i2hEKrUCbKu70/sPzw==",
"version": "4.0.5",
"resolved": "https://registry.npmjs.org/@vitest/snapshot/-/snapshot-4.0.5.tgz",
"integrity": "sha512-jfmSAeR6xYNEvcD+/RxFGA1bzpqHtkVhgxo2cxXia+Q3xX7m6GpZij07rz+WyQcA/xEGn4eIS1OItkMyWsGBmQ==",
"dev": true,
"license": "MIT",
"dependencies": {
"@vitest/pretty-format": "4.0.2",
"@vitest/pretty-format": "4.0.5",
"magic-string": "^0.30.19",
"pathe": "^2.0.3"
},
@@ -4121,9 +4121,9 @@
}
},
"node_modules/@vitest/spy": {
"version": "4.0.2",
"resolved": "https://registry.npmjs.org/@vitest/spy/-/spy-4.0.2.tgz",
"integrity": "sha512-KrTWRXFPYrbhD0iUXeoA8BMXl81nvemj5D8sc7NbTlRvCeUWo36JheOWtAUCafcNi0G72ycAdsvWQVSOxy/3TA==",
"version": "4.0.5",
"resolved": "https://registry.npmjs.org/@vitest/spy/-/spy-4.0.5.tgz",
"integrity": "sha512-TUmVQpAQign7r8+EnZsgTF3vY9BdGofTUge1rGNbnHn2IN3FChiQoT9lrPz7A7AVUZJU2LAZXl4v66HhsNMhoA==",
"dev": true,
"license": "MIT",
"funding": {
@@ -4131,13 +4131,13 @@
}
},
"node_modules/@vitest/utils": {
"version": "4.0.2",
"resolved": "https://registry.npmjs.org/@vitest/utils/-/utils-4.0.2.tgz",
"integrity": "sha512-H9jFzZb/5B5Qh7ajPUWMJ8UYGxQ4EQTaNLSm3icXs/oXkzQ1jqfcWDEJ4U3LkFPZOd6QW8M2MYjz32poW+KKqg==",
"version": "4.0.5",
"resolved": "https://registry.npmjs.org/@vitest/utils/-/utils-4.0.5.tgz",
"integrity": "sha512-V5RndUgCB5/AfNvK9zxGCrRs99IrPYtMTIdUzJMMFs9nrmE5JXExIEfjVtUteyTRiLfCm+dCRMHf/Uu7Mm8/dg==",
"dev": true,
"license": "MIT",
"dependencies": {
"@vitest/pretty-format": "4.0.2",
"@vitest/pretty-format": "4.0.5",
"tinyrainbow": "^3.0.3"
},
"funding": {
@@ -15377,19 +15377,19 @@
}
},
"node_modules/vitest": {
"version": "4.0.2",
"resolved": "https://registry.npmjs.org/vitest/-/vitest-4.0.2.tgz",
"integrity": "sha512-SXrA2ZzOPulX479d8W13RqKSmvHb9Bfg71eW7Fbs6ZjUFcCCXyt/OzFCkNyiUE8mFlPHa4ZVUGw0ky+5ndKnrg==",
"version": "4.0.5",
"resolved": "https://registry.npmjs.org/vitest/-/vitest-4.0.5.tgz",
"integrity": "sha512-4H+J28MI5oeYgGg3h5BFSkQ1g/2GKK1IR8oorH3a6EQQbb7CwjbnyBjH4PGxw9/6vpwAPNzaeUMp4Js4WJmdXQ==",
"dev": true,
"license": "MIT",
"dependencies": {
"@vitest/expect": "4.0.2",
"@vitest/mocker": "4.0.2",
"@vitest/pretty-format": "4.0.2",
"@vitest/runner": "4.0.2",
"@vitest/snapshot": "4.0.2",
"@vitest/spy": "4.0.2",
"@vitest/utils": "4.0.2",
"@vitest/expect": "4.0.5",
"@vitest/mocker": "4.0.5",
"@vitest/pretty-format": "4.0.5",
"@vitest/runner": "4.0.5",
"@vitest/snapshot": "4.0.5",
"@vitest/spy": "4.0.5",
"@vitest/utils": "4.0.5",
"debug": "^4.4.3",
"es-module-lexer": "^1.7.0",
"expect-type": "^1.2.2",
@@ -15417,10 +15417,10 @@
"@edge-runtime/vm": "*",
"@types/debug": "^4.1.12",
"@types/node": "^20.0.0 || ^22.0.0 || >=24.0.0",
"@vitest/browser-playwright": "4.0.2",
"@vitest/browser-preview": "4.0.2",
"@vitest/browser-webdriverio": "4.0.2",
"@vitest/ui": "4.0.2",
"@vitest/browser-playwright": "4.0.5",
"@vitest/browser-preview": "4.0.5",
"@vitest/browser-webdriverio": "4.0.5",
"@vitest/ui": "4.0.5",
"happy-dom": "*",
"jsdom": "*"
},

View File

@@ -148,6 +148,6 @@
"uuid": "^13.0.0",
"vite": "^7.1.12",
"vite-plugin-istanbul": "^7.2.0",
"vitest": "^4.0.2"
"vitest": "^4.0.5"
}
}