Skip to content

chore(deps): bump deps, clear advisories, automate releases#8

Merged
stevan-borus merged 1 commit into
mainfrom
chore/deps-security-bumps
Jun 16, 2026
Merged

chore(deps): bump deps, clear advisories, automate releases#8
stevan-borus merged 1 commit into
mainfrom
chore/deps-security-bumps

Conversation

@stevan-borus

Copy link
Copy Markdown
Owner

What

  • Bumped all dev dependencies to latest (vite, vitest, tsdown, typescript, biome, changesets).
  • Added a pnpm.overrides pin esbuild: ^0.28.1 to clear the esbuild advisories that vite still peers transitively.
  • Migrated biome.json to the 2.5.0 schema (recommendedpreset).
  • Added .github/dependabot.yml (npm + github-actions, weekly, grouped minor/patch).
  • Added .github/workflows/release.yml — automated changesets release (OIDC publish), mirroring start-toast. Updated CLAUDE.md to document the new flow and required setup.

Security

pnpm audit: 7 → 1.

The one remaining moderate is js-yaml@3.14.2, pulled deep under @changesets/cliread-yaml-file@1.1.0. The patched js-yaml@4 removed safeLoad(), which read-yaml-file calls directly — forcing it would break the release tooling to patch a local-only DoS in a dev tool parsing its own config. Left intentionally.

No changeset

These are dev-only changes that don't affect the published dist/, so they intentionally do not trigger a version bump.

Required one-time setup (done)

  • npm Trusted Publishing (OIDC) configured for ts-referer-parser → this repo's release.yml.
  • CHANGESETS_GITHUB_TOKEN repo secret added so the Release PR can trigger CI.

Verification

  • ✅ Tests 35/35 (vitest 4.1.9)
  • ✅ Build clean (CJS + ESM + types)
  • ✅ Biome check clean (0 infos after migrate)

Cleared 6 of 7 audit findings — the esbuild RCE was only reachable
transitively through vite, so pinned esbuild ^0.28.1 via a pnpm override
since vite still peers an older, vulnerable one. Left the js-yaml moderate:
its fix (js-yaml 4) removed safeLoad() which changesets' read-yaml-file
calls, so forcing it would break releases to patch a local-only DoS in a
dev tool. Added dependabot and an automated changesets release workflow
mirroring start-toast (OIDC publish), replacing the manual tag/publish
steps in CLAUDE.md. No changeset: dev-only deps don't ship in dist/.
@stevan-borus stevan-borus merged commit c253d09 into main Jun 16, 2026
1 check passed
@stevan-borus stevan-borus deleted the chore/deps-security-bumps branch June 16, 2026 20:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant