chore(deps): bump the npm_and_yarn group across 1 directory with 4 updates#40
chore(deps): bump the npm_and_yarn group across 1 directory with 4 updates#40dependabot[bot] wants to merge 1 commit into
Conversation
…dates Bumps the npm_and_yarn group with 2 updates in the / directory: [turbo](https://github.com/vercel/turborepo) and [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest). Updates `turbo` from 2.9.6 to 2.9.14 - [Release notes](https://github.com/vercel/turborepo/releases) - [Changelog](https://github.com/vercel/turborepo/blob/main/RELEASE.md) - [Commits](vercel/turborepo@v2.9.6...v2.9.14) Updates `vitest` from 2.1.9 to 3.2.6 - [Release notes](https://github.com/vitest-dev/vitest/releases) - [Changelog](https://github.com/vitest-dev/vitest/blob/main/docs/releases.md) - [Commits](https://github.com/vitest-dev/vitest/commits/v3.2.6/packages/vitest) Updates `esbuild` from 0.21.5 to 0.27.7 - [Release notes](https://github.com/evanw/esbuild/releases) - [Changelog](https://github.com/evanw/esbuild/blob/main/CHANGELOG-2024.md) - [Commits](evanw/esbuild@v0.21.5...v0.27.7) Updates `vite` from 5.4.21 to 7.3.5 - [Release notes](https://github.com/vitejs/vite/releases) - [Changelog](https://github.com/vitejs/vite/blob/v7.3.5/packages/vite/CHANGELOG.md) - [Commits](https://github.com/vitejs/vite/commits/v7.3.5/packages/vite) --- updated-dependencies: - dependency-name: turbo dependency-version: 2.9.14 dependency-type: direct:development dependency-group: npm_and_yarn - dependency-name: vitest dependency-version: 3.2.6 dependency-type: direct:development dependency-group: npm_and_yarn - dependency-name: esbuild dependency-version: 0.27.7 dependency-type: indirect dependency-group: npm_and_yarn - dependency-name: vite dependency-version: 7.3.5 dependency-type: indirect dependency-group: npm_and_yarn ... Signed-off-by: dependabot[bot] <support@github.com>
📝 WalkthroughSummary by CodeRabbit릴리스 노트
워크스루모노레포의 CLI 및 웹 패키지에서 테스트 프레임워크 의존성 vitest를 ^2.1.9에서 ^3.2.6으로 업그레이드합니다. 변경 사항Vitest 버전 업그레이드
예상 코드 리뷰 노력🎯 1 (Trivial) | ⏱️ ~3분 시
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
✨ Simplify code
Warning Billing warning: we have not been able to collect payment for this subscription for more than 72 hours. Please update the payment method or pay any pending invoices in Billing to avoid service interruption. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@packages/cli/package.json`:
- Line 32: The repo bumped Vitest to "^3.2.6" in package.json but we haven't
verified compatibility; run "vitest run" from the packages/cli workspace to
confirm tests pass against the updated runner, checking the config file
packages/cli/vitest.config.ts (Node environment + include) for any failing tests
or deprecations, and if tests fail, update usages of any breaking APIs (e.g.,
vi.useFakeTimers, spy.mockReset, toThrowError comparisons,
browser.name/providerOptions, or test/describe options) to their Vitest v3
equivalents or pin Vitest to v2 until fixes are applied.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: 1fbc6ac8-400b-4095-aa77-ba80d17c7201
⛔ Files ignored due to path filters (1)
pnpm-lock.yamlis excluded by!**/pnpm-lock.yaml
📒 Files selected for processing (2)
packages/cli/package.jsonpackages/web/package.json
| "@types/node": "^20", | ||
| "typescript": "^5", | ||
| "vitest": "^2.1.9" | ||
| "vitest": "^3.2.6" |
There was a problem hiding this comment.
🧩 Analysis chain
🌐 Web query:
vitest v3 migration guide breaking changes from v2
💡 Result:
Migrating from Vitest v2 to v3 involves several breaking changes and deprecations. Below are the key adjustments required to ensure compatibility. Key Breaking Changes - Test/Describe Arguments: Passing an object as the third argument to test or describe functions is deprecated and will trigger a warning [1][2]. - Mock Reset Behavior: spy.mockReset now restores the original implementation of a function rather than resetting it to a fake noop [1][2]. - Fake Timers: Vitest no longer provides default fakeTimers.toFake options. When vi.useFakeTimers is called, Vitest will automatically mock any available timer-related API (except nextTick), including performance.now [1][2]. - Error Equality: The equality checks for errors in toEqual or toThrowError are more strict. Vitest now compares the name, message, cause, and AggregateError.errors properties [1][2]. - Configuration: Module condition export resolution is not enabled by default on Vite 6 [1][2]. Deprecations and Other Removals - Browser Mode Options: The browser.name and browser.providerOptions options are deprecated and will be removed in Vitest 4. Use the new browser.instances option instead [1][2]. - API Types: The Custom Type and WorkspaceSpec types have been removed or updated [1][2]. - General Cleanup: Various internal types, including those for vitest/reporters, have been cleaned up [1][2]. It is recommended to consult the official Vitest Migration Guide for the most granular details regarding specific API signatures and type changes that may impact your codebase [3][1]. Additionally, note that subsequent releases (e.g., v3.2) have further deprecated features, such as the separate vitest.workspace file in favor of the projects option in the root configuration [4][5].
Citations:
- 1: https://v3.vitest.dev/guide/migration
- 2: https://www.getbook.com/en/book/vitest-3/guide/migration
- 3: https://vitest.dev/blog/vitest-3
- 4: https://vitest.dev/blog/vitest-3-2
- 5: https://github.com/vitest-dev/vitest/releases/tag/v3.2.0
🏁 Script executed:
#!/bin/bash
# vitest 설정 파일과 테스트 파일 확인
echo "=== Vitest config files ==="
fd -e ts -e js 'vitest.config' packages/cli/
echo -e "\n=== Test files using vitest APIs ==="
rg -n --type=ts -C2 'from.*vitest|import.*vitest' packages/cli/src/Repository: Seongho-Bae/argos
Length of output: 3256
🏁 Script executed:
#!/bin/bash
set -euo pipefail
echo "=== packages/cli/vitest.config.ts (relevant) ==="
sed -n '1,200p' packages/cli/vitest.config.ts
echo -e "\n=== Search: vi.useFakeTimers(...) ==="
rg -n --type=ts "useFakeTimers\\(" packages/cli/src packages/cli/vitest.config.ts || true
echo -e "\n=== Search: mockReset ==="
rg -n --type=ts "\\.mockReset\\b" packages/cli/src packages/cli/vitest.config.ts || true
echo -e "\n=== Search: test/describe third argument object ==="
# naive heuristics: test( ... , ... , { ... })
rg -n --type=ts "\\b(test|describe)\\s*\\([^\\)]*\\)\\s*,\\s*[^,\\)]*\\s*,\\s*\\{[^}]*\\}" packages/cli/src || true
echo -e "\n=== Search: browser.name / browser.providerOptions ==="
rg -n --type=ts "browser\\.(name|providerOptions)\\b" packages/cli/vitest.config.ts packages/cli/src || true
echo -e "\n=== Search: toEqual/toThrowError error equality patterns ==="
rg -n --type=ts "toThrowError\\(|toEqual\\(new (Error|TypeError|RangeError|ReferenceError|SyntaxError|EvalError|URIError)\\b" packages/cli/src || trueRepository: Seongho-Bae/argos
Length of output: 501
🏁 Script executed:
#!/bin/bash
set -euo pipefail
echo "=== packages/cli/vitest.config.ts (relevant) ==="
sed -n '1,200p' packages/cli/vitest.config.ts
echo -e "\n=== Search: vi.useFakeTimers(...) ==="
rg -n --type=ts "useFakeTimers\\(" packages/cli/src packages/cli/vitest.config.ts || true
echo -e "\n=== Search: mockReset ==="
rg -n --type=ts "\\.mockReset\\b" packages/cli/src packages/cli/vitest.config.ts || true
echo -e "\n=== Search: test/describe third argument object ==="
rg -n --type=ts "\\b(test|describe)\\s*\\([^\\)]*\\)\\s*,\\s*[^,\\)]*\\s*,\\s*\\{[^}]*\\}" packages/cli/src || true
echo -e "\n=== Search: browser.name / browser.providerOptions ==="
rg -n --type=ts "browser\\.(name|providerOptions)\\b" packages/cli/vitest.config.ts packages/cli/src || true
echo -e "\n=== Search: toEqual/toThrowError error equality patterns ==="
rg -n --type=ts "toThrowError\\(|toEqual\\(new (Error|TypeError|RangeError|ReferenceError|SyntaxError|EvalError|URIError)\\b" packages/cli/src || trueRepository: Seongho-Bae/argos
Length of output: 501
🏁 Script executed:
#!/bin/bash
set -euo pipefail
echo "=== packages/cli: search for key vitest v2->v3 breaking-change hotspots ==="
# 1) fake timers
rg -n --type=ts "\\buseFakeTimers\\b" packages/cli || true
# 2) mockReset
rg -n --type=ts "\\bmockReset\\b" packages/cli || true
# 3) test/describe with 3rd argument object (broader: allow newlines)
rg -n --type=ts "\\b(test|describe)\\b[\\s\\S]{0,200}?\\,\\s*\\{[^}]*\\}" packages/cli/src || true
# 4) error equality: toThrowError / toThrow + toEqual(new Error...)
rg -n --type=ts "\\btoThrowError\\b" packages/cli/src || true
rg -n --type=ts "\\btoThrow\\b" packages/cli/src || true
rg -n --type=ts "\\btoEqual\\(new\\s+(Error|TypeError|RangeError|ReferenceError|SyntaxError|EvalError|URIError)\\b" packages/cli/src || trueRepository: Seongho-Bae/argos
Length of output: 412
🏁 Script executed:
#!/bin/bash
set -euo pipefail
echo "=== packages/cli: search for key vitest v2->v3 breaking-change hotspots ==="
# 1) fake timers
rg -n --type=ts "\\buseFakeTimers\\b" packages/cli || true
# 2) mockReset
rg -n --type=ts "\\bmockReset\\b" packages/cli || true
# 3) test/describe with 3rd argument object (broader: allow up to 200 chars between tokens)
rg -n --type=ts "\\b(test|describe)\\b[\\s\\S]{0,200}?\\,\\s*\\{[^}]*\\}" packages/cli/src || true
# 4) error equality: toThrowError / toThrow + toEqual(new Error...)
rg -n --type=ts "\\btoThrowError\\b" packages/cli/src || true
rg -n --type=ts "\\btoThrow\\b" packages/cli/src || true
rg -n --type=ts "\\btoEqual\\(new\\s+(Error|TypeError|RangeError|ReferenceError|SyntaxError|EvalError|URIError)\\b" packages/cli/src || trueRepository: Seongho-Bae/argos
Length of output: 412
🏁 Script executed:
#!/bin/bash
set -euo pipefail
echo "=== package/cli/src: test/describe 3rd argument object 패턴(, {) 검색 ==="
rg -n --type=ts "\\b(test|describe)\\b\\s*\\([^,]*,\\s*[^,]*,\\s*[{]" packages/cli/src || true
echo -e "\n=== package/cli/src: vi.useFakeTimers / vi.useFakeTimers({ ... }) 검색 ==="
rg -n --type=ts "\\bvi\\.useFakeTimers\\b" packages/cli/src || true
echo -e "\n=== package/cli/src: mockReset / spy.mockReset 검색 ==="
rg -n --type=ts "\\bmockReset\\b" packages/cli/src || true
echo -e "\n=== package/cli/src: toThrowError 사용 검색 ==="
rg -n --type=ts "\\btoThrowError\\b" packages/cli/src || true
echo -e "\n=== package/cli/src: toThrow(new Error/TypeError/... ) 사용 검색 ==="
rg -n --type=ts "\\btoThrow\\s*\\(\\s*new\\s+(Error|TypeError|RangeError|ReferenceError|SyntaxError|EvalError|URIError)" packages/cli/src || true
echo -e "\n=== package/cli/src: toEqual(new Error/...) 사용 검색 ==="
rg -n --type=ts "\\btoEqual\\s*\\(\\s*new\\s+(Error|TypeError|RangeError|ReferenceError|SyntaxError|EvalError|URIError)" packages/cli/src || trueRepository: Seongho-Bae/argos
Length of output: 426
🏁 Script executed:
#!/bin/bash
set -euo pipefail
echo "=== package/cli/src: test/describe 3rd argument object 패턴(, {) 검색 ==="
rg -n --type=ts "\\b(test|describe)\\b\\s*\\([^,]*,\\s*[^,]*,\\s*[{]" packages/cli/src || true
echo -e "\n=== package/cli/src: vi.useFakeTimers / vi.useFakeTimers({ ... }) 검색 ==="
rg -n --type=ts "\\bvi\\.useFakeTimers\\b" packages/cli/src || true
echo -e "\n=== package/cli/src: mockReset / spy.mockReset 검색 ==="
rg -n --type=ts "\\bmockReset\\b" packages/cli/src || true
echo -e "\n=== package/cli/src: toThrowError 사용 검색 ==="
rg -n --type=ts "\\btoThrowError\\b" packages/cli/src || true
echo -e "\n=== package/cli/src: toThrow(new Error/TypeError/... ) 사용 검색 ==="
rg -n --type=ts "\\btoThrow\\s*\\(\\s*new\\s+(Error|TypeError|RangeError|ReferenceError|SyntaxError|EvalError|URIError)" packages/cli/src || true
echo -e "\n=== package/cli/src: toEqual(new Error/...) 사용 검색 ==="
rg -n --type=ts "\\btoEqual\\s*\\(\\s*new\\s+(Error|TypeError|RangeError|ReferenceError|SyntaxError|EvalError|URIError)" packages/cli/src || trueRepository: Seongho-Bae/argos
Length of output: 426
🏁 Script executed:
#!/bin/bash
set -euo pipefail
cat -n packages/cli/package.json | sed -n '1,120p'Repository: Seongho-Bae/argos
Length of output: 1069
🏁 Script executed:
#!/bin/bash
set -euo pipefail
cat -n packages/cli/package.json | sed -n '1,120p'Repository: Seongho-Bae/argos
Length of output: 1069
vitest 2.x→3.x 업그레이드 호환성 위험도는 낮아 보이며, vitest 실행으로 최종 확인 필요
vitest v2→v3 마이그레이션 가이드의 대표 브레이킹 포인트(vi.useFakeTimers, spy.mockReset, browser.name/providerOptions, toThrowError/에러 객체 동등성 비교, test/describe의 3번째 인자 object 형태 등)에 해당하는 사용이 packages/cli에서 검색되지 않고, packages/cli/vitest.config.ts도 Node 환경 + include 설정만 있습니다.
다만 다른 변경 사항까지 포함해 실제로는 vitest run으로 테스트 통과 여부를 한 번 확인하세요.
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In `@packages/cli/package.json` at line 32, The repo bumped Vitest to "^3.2.6" in
package.json but we haven't verified compatibility; run "vitest run" from the
packages/cli workspace to confirm tests pass against the updated runner,
checking the config file packages/cli/vitest.config.ts (Node environment +
include) for any failing tests or deprecations, and if tests fail, update usages
of any breaking APIs (e.g., vi.useFakeTimers, spy.mockReset, toThrowError
comparisons, browser.name/providerOptions, or test/describe options) to their
Vitest v3 equivalents or pin Vitest to v2 until fixes are applied.
|
Superseded by #41. |
Bumps the npm_and_yarn group with 2 updates in the / directory: turbo and vitest.
Updates
turbofrom 2.9.6 to 2.9.14Release notes
Sourced from turbo's releases.
... (truncated)
Commits
fc62fe0publish 2.9.14 to registryfb8c9aechore: Release 2.9.13 (#12803)e8e629dfix: Avoid project-local Yarn during detection (#12801)91c90cbfix: Harden VS Code extension command execution (#12800)84f4508fix: Validate auth callback state (#12802)1779ad7Removed unneeded import form hash creation script in docs (#12799)71f8c90test: Validate lockfiles without dependency downloads (#12789)5fcb960ci: Scope GitHub Actions caches by branch (#12788)4cf9fabci: Usepull_requestfor PR title linting (#12787)859c629fix: Restore docs mobile menu (#12782)Updates
vitestfrom 2.1.9 to 3.2.6Release notes
Sourced from vitest's releases.
... (truncated)
Commits
b6d56f8chore: release v3.2.616f120dfix: pin last supported vite-node version2cbad0achore: release v3.2.5385a1aefix(browser): disable clientcdpAPI whenallowWrite/allowExec: false[ba...af88b1ffeat(api): addallowWriteandallowExecoptions toapi[backport to v3]...c666d14chore: release v3.2.48a18c8efix(cli): throw error when--shard x/\<count>exceeds count of test files (#...8abd7ccchore(deps): updatetinypool(#8174)93f3200fix(deps): update all non-major dependencies (#8123)0c3be6ffix(coverage): ignore SCSS in browser mode (#8161)Maintainer changes
This version was pushed to npm by GitHub Actions, a new releaser for vitest since your current version.
Updates
esbuildfrom 0.21.5 to 0.27.7Release notes
Sourced from esbuild's releases.
... (truncated)
Changelog
Sourced from esbuild's changelog.
... (truncated)
Commits
2025c9fpublish 0.27.7 to npmc6b586efix typo inMakefilefor@esbuild/win32-x649785e14publish 0.27.6 to npmb169d8cRevert "update go 1.25.7 => 1.26.1"7ac8762runmake update-compat-table8b5ff53remove an incorrectelsee955268fix #4421: lower generated class fields if neededa5a2500ci: movemake test-old-tsb71e7acomit go'sbuildvcsfor more reproducible builds7406b09organizemake platform-alloutput inMakefileMaintainer changes
This version was pushed to npm by GitHub Actions, a new releaser for esbuild since your current version.
Updates
vitefrom 5.4.21 to 7.3.5Release notes
Sourced from vite's releases.
... (truncated)
Changelog
Sourced from vite's changelog.
... (truncated)
Commits
077945crelease: v7.3.58a6a0c9chore: skip v7.3.4 release8c18556fix: backport #22572, reject windows alternate paths (#22574)f20d64bfix(deps): backport #22571, reject UNC paths for launch-editor-middleware (#2...ca31424release: v7.3.35ab51c0fix: avoid destructure lowering for newer safari (#22346)cc383e0release: v7.3.209d8c90fix: avoid path traversal with optimize deps sourcemap handler (#22161)f8103ccfix: checkserver.fsafter stripping query as well (#22160)19db0f2fix: backport #22159, apply server.fs check to env transport (#22162)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 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 conditionsYou can disable automated security fix PRs for this repo from the Security Alerts page.