Repository navigation
fix(deps): bump vitest browser packages and refresh lockfile - #19
Merged
Merged
Conversation
|
Clears every pnpm audit finding (3 critical, 12 high, 4 moderate), all in devDependencies: - @vitest/browser and @vitest/browser-playwright 4.1.9 -> 4.1.12; vitest and @vitest/mocker follow to 4.1.12 within the existing ^4.0.0 range. - oxfmt ^0.73.0 as an explicit devDependency. It was only an auto-installed peer of @rrlab/oxc-plugin, pinned at 0.51.0 with tinypool 2.1.0; 0.73.0 brings tinypool 2.2.0. - Targeted lockfile refresh of brace-expansion 5.0.12, js-yaml 4.3.2, source-map-js 1.2.2, postcss 8.5.30 and nanoid 3.3.20. The published package has no runtime dependencies and its dist is unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TkHa1BVnm277qEiEuipG6n
- .github/dependabot.yml: security updates only (open-pull-requests-limit: 0 turns version updates off) for npm and github-actions, grouped, with a one-day cooldown that mirrors pnpm's minimumReleaseAge. - .github/workflows/dependency-audit.yml: weekly pnpm audit of pnpm-lock.yaml that opens, updates or closes a `dependency-audit` issue instead of blocking pull requests. - .github/zizmor.yml: dependabot-cooldown expects that one-day cooldown. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TkHa1BVnm277qEiEuipG6n
rqbazan
force-pushed
the
fix/deps-vulns
branch
from
October 17, 2026 23:15
61fadeb to
b5c23ba
Compare
Contributor
Preview releaseLatest commit: Some packages have been released:
Note Use the PR number as tag to install any package. For instance: |
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.
Summary
Clears every
pnpm auditfinding (3 critical, 12 high, 4 moderate). All of them are in dev tooling: the published package has no runtime dependencies.@vitest/browser4.1.9tinypool2.1.0 (2 advisories)@rrlab/oxc-plugin>oxfmt0.51.0 (auto-installed peer) >tinypooloxfmt^0.73.0 as an explicit devDependency, which bringstinypool2.2.0brace-expansion5.0.6 (6 advisories)@rrlab/cli>glob>minimatch>brace-expansionjs-yaml4.2.0 (3 advisories)@rrlab/biome-plugin>@variablelab/clibuddy>@pnpm/fs.find-packages> ... >write-yaml-file>js-yamlnanoid3.3.15 (2 advisories)@vitest/browser>@vitest/mocker>vite>postcss>nanoidpostcss8.5.15 (2 advisories)@vitest/browser>@vitest/mocker>vite>postcsssource-map-js1.2.1@rrlab/cli>magicast>source-map-jsvitest4.1.9^4.0.0)@vitest/mocker4.1.9@vitest/browser>@vitest/mockerWhat changed in
package.json(exact pins stay exact, ranges stay ranges):"devDependencies": { - "@vitest/browser": "4.1.9", - "@vitest/browser-playwright": "4.1.9", + "@vitest/browser": "4.1.12", + "@vitest/browser-playwright": "4.1.12", "lefthook": "^2.1.9", + "oxfmt": "^0.73.0", "oxlint": "^1.0.0", ... "vitest": "^4.0.0",oxfmtwas only an auto-installed peer of@rrlab/oxc-plugin(>=0.30.0), sopnpm update oxfmtleft it at 0.51.0. Declaring it directly is what moves it. This repo formats with Biome and runs the oxc plugin only fortypecheck, so oxfmt never touches the sources and there is no format diff.pnpm update <pkg> --depth Infinity; the lockfile was not regenerated. As a side effect pnpm also refreshed vite's ownlightningcss(1.32.0 -> 1.33.0) androlldown(1.1.3 -> 1.1.5, used only by vite).tsdownstill builds withrolldown1.1.3.minimumReleaseAge: 1440was not bypassed). The newest, the 4.1.12 vitest packages, came out on 2026-10-15.dependenciesorpeerDependencieschange, anddistis built by the same tsdown 0.22.3 / rolldown 1.1.3.Maintenance files (second commit):
The audit runs on a weekly schedule, not as a pull request check, so a new advisory never blocks unrelated PRs. The README has no CI or security section, so it is unchanged.
Evidence
pnpm auditonmain:19 vulnerabilities found,Severity: 4 moderate | 12 high | 3 critical, exit 1.After:
pnpm audit:No known vulnerabilities found, exit 0.pnpm install --frozen-lockfile,pnpm rr check(Biome made no fixes, oxlint typecheck is clean),pnpm exec playwright install chromium,pnpm test(Vitest 4.1.12 browser mode: 2 files, 25 tests passed),pnpm rr pack(tsdown 0.22.3, rolldown 1.1.3).pipx run --spec zizmor==1.30.1 zizmor --offline .:No findings to report.RUNNER_TEMP=$(mktemp -d) GITHUB_OUTPUT=/dev/stdout bash -e -o pipefail -c '<step>') printsfound=false; the samepnpm auditexits 1 onmain's lockfile.pnpm why oxfmt tinypool:oxfmt@0.73.0,tinypool@2.2.0, one version each.Merge Danger
Door: two-way
Only dev tooling, the lockfile and CI config change. A revert restores the previous state.
Blast Radius: dev-tooling
Tests, type checks and the build tooling move to patched versions. Consumers of
@variablelab/theme-togglesee no change. The new workflow only runs on its weekly schedule or when dispatched by hand.🤖 Generated with Claude Code
https://claude.ai/code/session_01TkHa1BVnm277qEiEuipG6n