Repository navigation
fix(deps): bump vitest to 4.1.12 for the @vitest/mocker advisories - #130
Merged
Merged
Conversation
Two open Dependabot alerts (GHSA-qxg6-89mg-rqv8, GHSA-xp26-3454-mjgp) track @vitest/mocker < 4.1.12, first patched in 4.1.12. Dependabot cannot apply the security update itself because the vulnerable package is transitive through the pinned `vitest` 4.1.11, so its updater fails with `security_update_not_possible` (latest-resolvable 4.1.11). Bump the direct devDependency to `^4.1.12` and re-resolve; the lockfile diff is the vitest subtree only (vitest + 7 @vitest/* packages), no other dependency moves. Verification: `pnpm run typecheck` and `pnpm run test` (25 files / 649 tests) pass on the new version; the lockfile still resolves under the CI pnpm 11.21.0 `--frozen-lockfile`.
Merged
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.
中文
Dependabot 的两条
@vitest/mocker安全告警(GHSA-qxg6-89mg-rqv8、GHSA-xp26-3454-mjgp,均 medium,first patched 4.1.12)无法由 Dependabot 自己落地:脆弱包是vitest的传递依赖,而vitest被锁在 4.1.11,安全更新器因此报security_update_not_possible(latest-resolvable 4.1.11),对应两条红色npm_and_yarnworkflow。修复:把 devDependency
vitest从^4.1.11提到^4.1.12并重新解析锁文件。锁文件差异只涉及 vitest 子树(vitest+ 7 个@vitest/*),没有其它依赖变动。验证:
pnpm run typecheck、pnpm run test(25 文件 / 649 用例)在 4.1.12 上通过;锁文件在 CI 的 pnpm 11.21.0--frozen-lockfile下可解析。English
Two open Dependabot alerts on
@vitest/mocker(GHSA-qxg6-89mg-rqv8, GHSA-xp26-3454-mjgp; medium; first patched 4.1.12) cannot be applied by Dependabot: the vulnerable package is transitive through the pinnedvitest4.1.11, so the security updater fails withsecurity_update_not_possible(latest-resolvable 4.1.11) — the two rednpm_and_yarnworkflow runs.Fix: bump the direct devDependency to
^4.1.12and re-resolve. The lockfile diff covers the vitest subtree only (vitest+ 7@vitest/*packages); no other dependency moves.Verification:
pnpm run typecheckandpnpm run test(25 files / 649 tests) pass; the lockfile still resolves under the CI pnpm 11.21.0--frozen-lockfile.