Skip to content

chore(deps): upgrade nextra to 3.3.1 to remove vulnerable next-mdx-remote - #659

Merged
devknight-ink merged 1 commit into
mainfrom
chore/upgrade-nextra-3
Aug 28, 2026
Merged

chore(deps): upgrade nextra to 3.3.1 to remove vulnerable next-mdx-remote#659
devknight-ink merged 1 commit into
mainfrom
chore/upgrade-nextra-3

Conversation

@devknight-ink

@devknight-ink devknight-ink commented Aug 28, 2026

Copy link
Copy Markdown
Collaborator

Migrates from Nextra 2.13.4: _meta.json → _meta.ts, _app.mdx → _app.tsx, theme config updates (banner.content, head-based titles, theme color instead of removed sidebar.titleComponent), and v3 Toc prop contract. Clears GHSA-g4xw-jxrg-5f6m (MDX RCE) and ~30 other transitive advisories.

Also fix CI dependency caching: the cache was restored after pnpm install, letting restore-keys extract stale node_modules over fresh installs and re-save them under the new lockfile key, while build/lint jobs never ran
install at all. Restore before install, reconcile in base-setup, and bump the cache key to drop poisoned entries.

@devknight-ink
devknight-ink requested a review from a team as a code owner August 28, 2026 17:54
@devknight-ink
devknight-ink force-pushed the chore/upgrade-nextra-3 branch from 65ddd16 to 9823740 Compare August 28, 2026 18:30
Comment thread .github/actions/base-setup/action.yaml Fixed
Comment thread .github/actions/base-setup/action.yaml Fixed
…mote

Migrates from Nextra 2.13.4: _meta.json → _meta.ts, _app.mdx → _app.tsx,
theme config updates (banner.content, head-based titles, theme color
instead of removed sidebar.titleComponent), and v3 Toc prop contract.
Clears GHSA-g4xw-jxrg-5f6m (MDX RCE) and ~30 other transitive advisories.

Also fix CI dependency caching: the cache was restored after pnpm install,
letting restore-keys extract stale node_modules over fresh installs and
re-save them under the new lockfile key, while build/lint jobs never ran
install at all. Restore before install, reconcile in base-setup, and bump
the cache key to drop poisoned entries.
@devknight-ink
devknight-ink force-pushed the chore/upgrade-nextra-3 branch from 9823740 to d4ae85a Compare August 28, 2026 18:32
@devknight-ink
devknight-ink merged commit 635eb73 into main Aug 28, 2026
15 checks passed
@devknight-ink
devknight-ink deleted the chore/upgrade-nextra-3 branch August 28, 2026 18:53
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.

2 participants