Repository navigation
chore(deps): clear developer dependency audit findings (git-stunts/plumbing#23) - #38
Conversation
Baseline audit (main
|
| Package | Severity | Direct | Vulnerable range |
|---|---|---|---|
@humanfs/node |
moderate | false | <0.16.8 |
@vitest/mocker |
moderate | false | <=4.1.11 |
ajv |
moderate | false | <6.14.0 |
brace-expansion |
high | false | <=1.1.20 |
flatted |
high | false | <=3.4.1 |
js-yaml |
high | false | 4.0.0 - 4.3.1 |
minimatch |
high | false | <=3.1.3 |
nanoid |
high | false | <=3.3.17 |
picomatch |
high | false | 4.0.0 - 4.0.3 |
postcss |
high | false | <=8.5.22 |
rollup |
high | false | 4.0.0 - 4.58.0 |
source-map-js |
high | false | 1.0.0 - 1.2.1 |
tinypool |
critical | false | <=2.1.1 |
vite |
high | false | 7.0.0 - 7.3.6 |
vitest |
critical | true | <=4.1.10 |
All findings are in developer dependencies: the Vitest 3 chain (vitest, @vitest/mocker, tinypool, vite, rollup, postcss, nanoid, source-map-js, picomatch) and the ESLint 9 chain (@humanfs/node, ajv, brace-expansion, flatted, js-yaml, minimatch).
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 50 minutes. View limit details
No actionable comments were generated in the recent review. Summary
Merge Risk:
|
…findings Vitest ^4.1.12 (Vite 8, no tinypool) and ESLint/@eslint/js 10 clear the 15 developer-dependency advisories. globals becomes a declared dev dependency because eslint.config.js imports it and ESLint 10 no longer pulls it in. bun.lock is resolved fresh by Bun 1.3.5 and matches package-lock.json version for version. Refs #23
Pushed
|
| Package | Before | After | Major |
|---|---|---|---|
vitest |
^3.0.0 (3.x) |
^4.1.12 |
yes |
eslint |
^9.17.0 |
^10.16.0 |
yes |
@eslint/js |
^9.17.0 |
^10.0.1 |
yes |
globals |
transitive via @eslint/eslintrc (14.0.0) |
^17.14.0, declared |
new direct dep |
prettier |
^3.4.2 |
unchanged range; lock 3.7.4 -> 3.10.1 | no |
Why these choices:
- Vitest 4.1.12 is the first 4.x outside the
@vitest/mocker <=4.1.11advisory and still supports Node 20, so the Node 20 test image keeps covering the published Node floor. Vitest 5 would need Node 22.12+ for development and was not needed. - ESLint 9.39.5 alone would also clear the audit, but npm marks ESLint 9 as no longer supported, so this moves to 10. Lint is clean under ESLint 10's recommended set with no config change.
eslint.config.jsalready importsglobals; it was only present through ESLint 9's@eslint/eslintrc, which ESLint 10 dropped, so it is now declared.- No
overrides, no ignore list, no threshold change.
Lockfiles: package-lock.json from npm; bun.lock resolved fresh by Bun 1.3.5 (the engines.bun floor, lockfile v1). Both lockfiles list the same package@version set, and Bun latest (1.4.5) accepts the lock with --frozen-lockfile unchanged. Refreshing the old bun.lock in place kept stale entries, including vulnerable picomatch@4.0.3, which is why it was resolved fresh.
Docs: CONTRIBUTING lists the development-tool Node floor ^20.19.0 || ^22.13.0 || >=24 (ESLint 10, Vitest 4, Vite 8) separately from the published engines. CHANGELOG Unreleased has a Security entry.
Gates
npm audit --package-lock-only --json: exit 0, 0 findings (all groups, default threshold).npm ci(clean, lifecycle scripts enabled): exit 0.npm run lint: clean.npm test(Docker, COPY-based): Node 20.20.2 Vitest 4.1.12 43 files / 383 tests passed; Bun 1.4.5 383 pass / 0 fail; Deno 50 passed (417 steps) / 0 failed. No test files or assertions changed.
Pushed
|
| Package | Severity | Direct | Vulnerable range |
|---|---|---|---|
@humanfs/node |
moderate | false | <0.16.8 |
@vitest/mocker |
moderate | false | <=4.1.11 |
ajv |
moderate | false | <6.14.0 |
brace-expansion |
high | false | <=1.1.20 |
cross-spawn |
critical | false | 7.0.0 - 7.0.6 |
flatted |
high | false | <=3.4.1 |
js-yaml |
high | false | 4.0.0 - 4.3.1 |
minimatch |
high | false | <=3.1.3 |
nanoid |
high | false | <=3.3.17 |
picomatch |
high | false | 4.0.0 - 4.0.3 |
postcss |
high | false | <=8.5.22 |
rollup |
high | false | 4.0.0 - 4.58.0 |
source-map-js |
high | false | 1.0.0 - 1.2.1 |
tinypool |
critical | false | <=2.1.1 |
vite |
high | false | 7.0.0 - 7.3.6 |
vitest |
critical | true | <=4.1.10 |
The CHANGELOG Security entry now gives these figures and counts affected packages, the unit npm reports, rather than advisories. The full audit on this branch is still exit 0, 0 findings. Pre-push gates: lint clean; Docker Node 383/383 (43 files), Bun 383 pass / 0 fail, Deno 50 passed (417 steps) / 0 failed.
Codex review, round 1Reviewed head: No actionable findings in I ran the requested
Validation limit: I attempted a complete I did not run the test suite or modify repository files. VERDICT: APPROVEFollow-up on the validation limit: the reviewer's sandbox had no registry access, so I ran Push note: the first pre-push run of |
Closes #23
Plan
package-lock.jsonandbun.locktogether.dependenciesand the publishedenginesfloor unchanged; if a tool needs a newer Node for development, document that as a separate development-tool floor.npm audit --package-lock-onlyexits 0 with no omitted groups; cleannpm ci; lint clean; Node/Bun/Deno suites green in Docker.Draft until all gates are green.