build: configure dependabot and resolve open vulnerabilities - #459
Merged
Conversation
|
Adds a .github/dependabot.yml matching the pattern used across the fastify org (weekly schedule, pnpm monorepo via directories, prod/dev dependency groups, github-actions grouping). Resolves every open Dependabot advisory (69 → 0) by bumping the direct dependencies that pull them in, instead of pinning patches through pnpm.overrides: - fastify catalog ^5.8.5 → ^5.12.1 - @fastify/middie catalog ^9.3.2 → ^9.3.4 (pulls patched find-my-way) - vitest catalog ^4.1.9 → ^5.0.0 (pulls patched jsdom/form-data) - @unhead/vue catalog ^3.0.0 → ^3.4.0 (pulls patched valibot chain) - eslint catalog ^10.2.0 → ^10.10.0 (pulls patched @humanfs/node) - eslint-plugin-vue ^10.8.0 → ^10.11.0 (pulls patched postcss-selector-parser) - react-router catalog ^7.15.1 → ^7.18.2 - @changesets/cli ^2.31.0 → ^3.0.2 (pulls patched js-yaml) - undici ^7.24.7 → ^7.29.0 in e2e/react-next-mini - postcss ^8.5.3 → ^8.5.23 in starters (pulls patched nanoid) - postcss-preset-env ^10.1.5 → ^11.5.1 in starters/react-base (pulls patched browserslist) - mermaid ^11.15.0 → ^11.17.2 in docs (pulls patched dompurify/uuid) - fastify, postcss, @unhead/vue bumped in starters' package.json too Only three pnpm.overrides remain (all pre-existing except vite): - vite: '>=6.4.3' — vitepress 1.6.4 pins vite 5.x and is incompatible with vite 6+ peer ranges without the override; verified the docs site builds cleanly with vite 8.1.5. - @xmldom/xmldom: '>=0.9.12' — already present, kept (transitive via mathjax-full/speech-rule-engine in docs, no direct dep to bump). - esbuild: '>=0.28.1' — already present, kept. Co-authored-by: Matteo Pietro Dazzi <matteo@iltteoood.com>
ilteoood
force-pushed
the
chore/dependabot-config-and-vuln-fixes
branch
from
September 6, 2026 13:33
c254914 to
9765e6b
Compare
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.
What's in here
.github/dependabot.ymlmatching the pattern used across the fastify org: weekly schedule,github-actionsecosystem for workflow bumps, andnpmecosystem covering the pnpm monorepo viadirectories: ['/']with separate prod/dev grouping.Approach
The vulns are almost all transitive — pulled in by direct deps that already had loose caret ranges — so the fix is to bump those direct deps rather than pin patches in
pnpm.overrides:fastifycatalog^5.8.5→^5.12.1fast-uri@fastify/middiecatalog^9.3.2→^9.3.4find-my-wayvitestcatalog^4.1.9→^5.0.0jsdom→form-data@unhead/vuecatalog^3.0.0→^3.4.0valibotchaineslintcatalog^10.2.0→^10.10.0@humanfs/nodeeslint-plugin-vue^10.8.0→^10.11.0postcss-selector-parserreact-routercatalog^7.15.1→^7.18.2@changesets/cli^2.31.0→^3.0.2js-yamlundici^7.24.7→^7.29.0ine2e/react-next-minipostcss^8.5.3→^8.5.23in startersnanoidpostcss-preset-env^10.1.5→^11.5.1instarters/react-basebrowserslistmermaid^11.15.0→^11.17.2in docsdompurify,uuidfastify,postcss,@unhead/vuebumped in starters'package.jsontoopnpm.overrides(kept to a minimum)Only three entries remain, two of which were pre-existing:
vite: '>=6.4.3'— new. Vitepress 1.6.4 pins vite 5.x; verified the docs site builds cleanly with vite 8.1.5 under this override.@xmldom/xmldom: '>=0.9.12'— pre-existing. Transitive viamathjax-full/speech-rule-enginein docs; no direct dep to bump.esbuild: '>=0.28.1'— pre-existing. Dev-only dep, kept.Verification
pnpm audit→ No known vulnerabilities found.pnpm format:check→ clean.pnpm lint→ no errors (warnings only, all pre-existing).pnpm test→ 103/103 passing acrossfastify-vite(86),fastify-react(0 tests vianode --test, suite passes),fastify-vue(17).pnpm build→ bothfastify-viteandfastify-vuecompile.vitepress build(docs site) → builds cleanly under the new vite override.