Skip to content

chore(deps): bump dev dependencies and close undici/fast-uri advisories - #233

Merged
Musiker15 merged 1 commit into
mainfrom
chore/dev-deps-and-security-overrides
Aug 6, 2026
Merged

chore(deps): bump dev dependencies and close undici/fast-uri advisories#233
Musiker15 merged 1 commit into
mainfrom
chore/dev-deps-and-security-overrides

Conversation

@Musiker15

Copy link
Copy Markdown
Member

Supersedes #230, whose lockfile stopped applying once #231 landed. Rather than rebase it and then regenerate the same lockfile a second time for the override changes, this does both in one pass.

Dev dependency bumps (same set as #230)

Package From To
@types/node 26.1.1 26.1.2
prisma 7.9.0 7.9.1
turbo 2.10.6 2.10.7 (resolves to 2.10.8)
postcss 8.5.23 8.5.25

The Prisma CLI bump is required, not cosmetic: #231 moved @prisma/client and @prisma/adapter-pg to 7.9.1, and Prisma expects the CLI to track them.

Security overrides

undici <6.27.0 to <6.28.0 closes GHSA-8xcm-r25x-g524, GHSA-m8rv-5g2x-5cg5 and GHSA-v3r7-h72x-cjcm, which share 6.28.0 as their first patched version. It is a runtime dependency of the bot via discord.js, which pins the version exactly, so the override is the only way to move it.

fast-uri <3.1.3 to <3.1.5 closes GHSA-7p8r-x3mc-p8w7, which stacks on the GHSA-4c8g-83qw-93j6 fix already in place and flags everything below 3.1.5. Dev-only, via ajv, and still capped below 4 to stay on the line ajv wants.

Verified in the lockfile: undici@6.28.0 and fast-uri@3.1.5 are the only copies left, the older ones are gone rather than duplicated. This clears all four open Dependabot alerts.

Supersedes #230, whose lockfile no longer applied after #231 landed. Carries
the same dev-group bumps (@types/node 26.1.2, prisma 7.9.1, turbo 2.10.7,
postcss 8.5.25) and adds two override bumps on top, so the tree is resolved
once instead of twice.

Bumping the Prisma CLI is not optional here: #231 moved @prisma/client and
@prisma/adapter-pg to 7.9.1, and Prisma requires the CLI to match.

undici: GHSA-8xcm-r25x-g524, GHSA-m8rv-5g2x-5cg5 and GHSA-v3r7-h72x-cjcm are
all first patched in 6.28.0. It reaches us through discord.js, which pins the
version exactly, so the existing <6.27.0 override is the only lever.

fast-uri: GHSA-7p8r-x3mc-p8w7 lands on top of GHSA-4c8g-83qw-93j6 and flags
everything below 3.1.5. Dev-only, via ajv, and still capped below 4 because
that is the line ajv asks for.

Both old copies are gone from the lockfile rather than merely duplicated.
@Musiker15
Musiker15 merged commit 61f9ba2 into main Aug 6, 2026
4 checks passed
@Musiker15
Musiker15 deleted the chore/dev-deps-and-security-overrides branch August 6, 2026 08:04
Musiker15 added a commit that referenced this pull request Aug 6, 2026
The remainder of #232 after #233 landed. Its other four updates (@types/node,
prisma, turbo, postcss) are already on main, so only these two are left.
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