Repository navigation
fix(deps): clear known vulnerabilities and add a weekly dependency audit - #273
Merged
Merged
Conversation
- oxfmt ^0.51.0 -> ^0.73.0 (root) and 0.51.0 -> 0.73.0 (@rrlab/oxc-plugin devDependency): oxfmt 0.51 pins tinypool 2.1.0 (2 critical); 0.73 brings tinypool 2.2.0. - turbo 2.8.12 -> 2.11.9 (root, exact pin). - Lockfile refresh within existing ranges: vitest and @vitest/mocker 4.1.12, vite 8.3.4, postcss 8.5.30, nanoid 3.3.20, source-map-js 1.2.2, js-yaml 4.3.2 and brace-expansion 5.0.12. pnpm audit now reports no known vulnerabilities. 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 at "/", with a one-day cooldown and a single security group. - .github/workflows/dependency-audit.yml: runs pnpm audit every Monday and opens, updates or closes a `dependency-audit` issue. - .github/zizmor.yml: set dependabot-cooldown to 1 day, matching pnpm's minimumReleaseAge. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TkHa1BVnm277qEiEuipG6n
|
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 advisory
pnpm auditreports onmain(23 of the 25 open Dependabot alerts) and adds Dependabot security updates plus a weekly dependency audit. The other two alerts (#61, #62: theturbopin invland/templates/monorepo/package.json) belong to a separate templates PR.What was vulnerable
oxfmt@0.51.0(root and@rrlab/oxc-plugindevDependencies)oxfmt0.73.0 → tinypool 2.2.0@rrlab/cli)@rrlab/cli→glob/rimraf→minimatch@variablelab/clibuddy)@variablelab/clibuddy→@pnpm/fs.find-packages→read-yaml-file/write-yaml-filemagicast(dep of@rrlab/cli,@rrlab/tsdown-plugin);vitest→vite→postcssvitest→vite(auto-installed peer)vitest→vite→postcssvitest→vite→postcss→nanoid@rrlab/vitest-plugindevDependencies (^4.0.0)turbo2.11.9What changed
oxfmtbump alone was not enough:@rrlab/oxc-pluginpinsoxfmt0.51.0 as a devDependency, which kept tinypool 2.1.0 in the lockfile. Its peer range (>=0.30.0) andsrc/tool-versions.tsare unchanged.style:commit: this repo formats with biome (oxc({ only: ["typecheck"] })), so oxfmt never reformats repo files.pnpm update --depth Infinity viteleft it at 8.0.13. I removed the two lockedvite@8.0.13entries and letpnpm installre-resolve it. That pulled inrolldown1.2.14 (plus its platform bindings) and@oxc-project/types0.154.0, which explains most of the lockfile diff. Every new version passed pnpm'sminimumReleaseAge: 1440.dependenciesorpeerDependencieschange. The published dists importglob,rimraf,magicastand@pnpm/fs.find-packagesas externals (checked afterpnpm build), so the fixed versions reach consumers through their own installs.Maintenance files
The README has no CI or security section, so it is unchanged.
Evidence
main):pnpm audit→23 vulnerabilities found · Severity: 1 low | 7 moderate | 13 high | 2 critical. The audit step dry-run onmain's lockfile printsfound=true.After:
pnpm audit→No known vulnerabilities found. The audit step dry-run (RUNNER_TEMP=$(mktemp -d) GITHUB_OUTPUT=/dev/stdout bash -e -o pipefail -c '<step script>') printsfound=false.pnpm install --frozen-lockfile,pnpm rr check,pnpm test(18/18 turbo tasks, vitest 4.1.12) andpnpm build(10/10) all pass locally with turbo 2.11.9.zizmor==1.30.1on.github/, offline and online: no findings.Merge Danger
Door: two-way
Reverting restores the old pins and lockfile. Merging the maintenance files only adds a scheduled workflow and Dependabot config.
Blast Radius: tooling
Only dev tooling versions move in this repo. Published packages get no new manifest content, and their runtime dist output is byte-identical to
main. The one dist difference is in@rrlab/cli: its build also compilessrc/lib/**/__tests__and inlines the vitest runtime into adist/test.*.mjschunk, which now carries vitest 4.1.12 instead of 4.1.6. Only the shipped test files import that chunk, and it has no@vitest/mockercode, so no changeset is needed.run-run/oxc-plugin/package.jsonandpnpm-lock.yamlalso change in #269 (oxlint-tsgolint, a few lines below theoxfmtline), so whichever PR merges second needs a rebase.🤖 Generated with Claude Code
https://claude.ai/code/session_01TkHa1BVnm277qEiEuipG6n