Conversation
Contributor
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.OpenSSF ScorecardScorecard details
Scanned Files
|
Bumps the vite group with 1 update in the /lambdas directory: [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest). Updates `vitest` from 3.2.4 to 4.0.5 - [Release notes](https://github.com/vitest-dev/vitest/releases) - [Commits](https://github.com/vitest-dev/vitest/commits/v4.0.5/packages/vitest) --- updated-dependencies: - dependency-name: vitest dependency-version: 4.0.5 dependency-type: direct:development update-type: version-update:semver-major dependency-group: vite ... Signed-off-by: dependabot[bot] <support@github.com>
d304cf5 to
e5a47db
Compare
npalm
previously approved these changes
Oct 31, 2025
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR upgrades the vitest testing framework and its coverage plugin from version 3.2.4 to 4.0.5. The upgrade includes dependency updates, automatic lock file changes, and necessary code modifications to maintain compatibility with the new vitest version.
- Updated vitest and @vitest/coverage-v8 from 3.2.4 to 4.0.5
- Modified mock implementation syntax from arrow functions to regular function declarations in test files to comply with vitest 4.x requirements
- Added an SPDX software bill of materials file
Reviewed Changes
Copilot reviewed 9 out of 10 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| lambdas/package.json | Updated vitest and @vitest/coverage-v8 to version 4.0.5 |
| lambdas/yarn.lock | Automatic lock file updates reflecting dependency version changes and transitive dependency consolidation |
| lambdas/functions/webhook/src/sqs/index.test.ts | Converted arrow function to regular function in mock implementation |
| lambdas/functions/gh-agent-syncer/src/syncer/syncer.test.ts | Converted arrow function to regular function in mock implementation |
| lambdas/functions/control-plane/src/scale-runners/scale-up.test.ts | Converted arrow function to regular function in mock implementation |
| lambdas/functions/control-plane/src/scale-runners/scale-down.test.ts | Converted arrow function to regular function in mock implementation |
| lambdas/functions/control-plane/src/scale-runners/job-retry.test.ts | Converted arrow function to regular function in mock implementation |
| lambdas/functions/control-plane/src/pool/pool.test.ts | Converted arrow function to regular function in mock implementation |
| lambdas/functions/control-plane/src/github/octokit.test.ts | Converted arrow function to regular function in mock implementation |
| lambdas/functions/webhook/syft-production.spdx.json | Added SPDX software bill of materials file |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Contributor
There was a problem hiding this comment.
Pull Request Overview
Copilot reviewed 8 out of 9 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
rjaegers
approved these changes
Nov 3, 2025
LudovicTOURMAN
pushed a commit
to doctolib-lab/terraform-aws-github-runner
that referenced
this pull request
Apr 7, 2026
…e group across 1 directory (github-aws-runners#4853) Bumps the vite group with 1 update in the /lambdas directory: [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest). Updates `vitest` from 3.2.4 to 4.0.5 <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.5</h2> <h3> 🐞 Bug Fixes</h3> <ul> <li>Respect <code>ssr.noExternal</code> when externalizing dependencies, fix Svelte and Astro - by <a href="https://github.com/sheremet-va"><code>@sheremet-va</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/8862">vitest-dev/vitest#8862</a> <a href="https://github.com/vitest-dev/vitest/commit/a4f86f1ba"><!-- raw HTML omitted -->(a4f86)<!-- raw HTML omitted --></a></li> <li>Allow module in --config - by <a href="https://github.com/sheremet-va"><code>@sheremet-va</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/8864">vitest-dev/vitest#8864</a> <a href="https://github.com/vitest-dev/vitest/commit/b9521e0c2"><!-- raw HTML omitted -->(b9521)<!-- raw HTML omitted --></a></li> <li><strong>browser</strong>: Allow <code>Locator</code> type in selectOptions element parameter - by <a href="https://github.com/rzzf"><code>@rzzf</code></a> and <a href="https://github.com/sheremet-va"><code>@sheremet-va</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/8848">vitest-dev/vitest#8848</a> <a href="https://github.com/vitest-dev/vitest/commit/7ee283c96"><!-- raw HTML omitted -->(7ee28)<!-- raw HTML omitted --></a></li> <li><strong>module-runner</strong>: Don't return node builtins for <code>getBuiltins</code> unconditionally - by <a href="https://github.com/sapphi-red"><code>@sapphi-red</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/8863">vitest-dev/vitest#8863</a> <a href="https://github.com/vitest-dev/vitest/commit/0e858bab4"><!-- raw HTML omitted -->(0e858)<!-- raw HTML omitted --></a></li> <li><strong>pool</strong>: Rename <code>groupId</code> to <code>groupOrder</code> in error message - by <a href="https://github.com/Yohannfra"><code>@Yohannfra</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/8856">vitest-dev/vitest#8856</a> <a href="https://github.com/vitest-dev/vitest/commit/b9aabf4e6"><!-- raw HTML omitted -->(b9aab)<!-- raw HTML omitted --></a></li> </ul> <h3> 🏎 Performance</h3> <ul> <li>Pass testfiles at once when <code>--no-isolate --maxWorkers=1</code> - by <a href="https://github.com/AriPerkkio"><code>@AriPerkkio</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/8835">vitest-dev/vitest#8835</a> <a href="https://github.com/vitest-dev/vitest/commit/584aa7148"><!-- raw HTML omitted -->(584aa)<!-- raw HTML omitted --></a></li> <li><strong>expect</strong>: Optimize checking the input type - by <a href="https://github.com/Connormiha"><code>@Connormiha</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/8840">vitest-dev/vitest#8840</a> <a href="https://github.com/vitest-dev/vitest/commit/0696898b4"><!-- raw HTML omitted -->(06968)<!-- raw HTML omitted --></a></li> </ul> <h5> <a href="https://github.com/vitest-dev/vitest/compare/v4.0.4...v4.0.5">View changes on GitHub</a></h5> <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> <h2>v4.0.2</h2> <h3> 🐞 Bug Fixes</h3> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/vitest-dev/vitest/commit/ed9fc71076f94f23320922f115e37bc9a84b6dbb"><code>ed9fc71</code></a> chore: release v4.0.5</li> <li><a href="https://github.com/vitest-dev/vitest/commit/b9521e0c2dfa30860d96ffb694a1b7d4214deb57"><code>b9521e0</code></a> fix: allow module in --config (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/8864">#8864</a>)</li> <li><a href="https://github.com/vitest-dev/vitest/commit/0e858bab4317a76b7366618320301920fffdf60a"><code>0e858ba</code></a> fix(module-runner): don't return node builtins for <code>getBuiltins</code> unconditiona...</li> <li><a href="https://github.com/vitest-dev/vitest/commit/a4f86f1ba44141d3256e2563a47b0b4dedd462e4"><code>a4f86f1</code></a> fix: respect <code>ssr.noExternal</code> when externalizing dependencies (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/8862">#8862</a>)</li> <li><a href="https://github.com/vitest-dev/vitest/commit/b9aabf4e6664f6d6a8b4332833cb111b38536049"><code>b9aabf4</code></a> fix(pool): rename <code>groupId</code> to <code>groupOrder</code> in error message (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/8856">#8856</a>)</li> <li><a href="https://github.com/vitest-dev/vitest/commit/584aa7148dedf157684377a3af8aea86eb179603"><code>584aa71</code></a> perf: pass testfiles at once when <code>--no-isolate --maxWorkers=1</code> (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/8835">#8835</a>)</li> <li><a href="https://github.com/vitest-dev/vitest/commit/9b75ec5f2fa46daaaa649493eb7f643a1cc9f51a"><code>9b75ec5</code></a> chore: release v4.0.4</li> <li><a href="https://github.com/vitest-dev/vitest/commit/fb95fc7360de6cc69c7d7cfe88b4c1c1dbc28338"><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="https://github.com/vitest-dev/vitest/commit/06208d30bb03d5bb49b88789cef892616f7e6591"><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="https://github.com/vitest-dev/vitest/commit/573dc06fec6a5753571866984771f9c32b80da3a"><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>Additional commits viewable in <a href="https://github.com/vitest-dev/vitest/commits/v4.0.5/packages/vitest">compare view</a></li> </ul> </details> <details> <summary>Maintainer changes</summary> <p>This version was pushed to npm by [GitHub Actions](<a href="https://www.npmjs.com/~GitHub">https://www.npmjs.com/~GitHub</a> Actions), a new releaser for vitest since your current version.</p> </details> <br /> [](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 <dependency name> major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore <dependency name> minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore <dependency name>` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore <dependency name>` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore <dependency name> <ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions </details> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Niek Palm <niek.palm@philips.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bumps the vite group with 1 update in the /lambdas directory: vitest.
Updates
vitestfrom 3.2.4 to 4.0.5Release notes
Sourced from vitest's releases.
... (truncated)
Commits
ed9fc71chore: release v4.0.5b9521e0fix: allow module in --config (#8864)0e858bafix(module-runner): don't return node builtins forgetBuiltinsunconditiona...a4f86f1fix: respectssr.noExternalwhen externalizing dependencies (#8862)b9aabf4fix(pool): renamegroupIdtogroupOrderin error message (#8856)584aa71perf: pass testfiles at once when--no-isolate --maxWorkers=1(#8835)9b75ec5chore: release v4.0.4fb95fc7fix(pool): capture workersstdioto logger (#8809)06208d3fix(mocker): support mocking builtins withoutnode:prefix (#8829)573dc06fix(worker): rpc listener leak whenisolate: false(#8821)Maintainer changes
This version was pushed to npm by [GitHub Actions](https://www.npmjs.com/~GitHub Actions), a new releaser for vitest since your current version.
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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore <dependency name> major versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)@dependabot ignore <dependency name> minor versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)@dependabot ignore <dependency name>will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)@dependabot unignore <dependency name>will remove all of the ignore conditions of the specified dependency@dependabot unignore <dependency name> <ignore condition>will remove the ignore condition of the specified dependency and ignore conditions