Skip to content

fix(deps): Upgrade to nuxt 4.5.1 [security]. - #210

Merged
fago merged 1 commit into
1.xfrom
feature/nuxt-4.5-upgrade
Aug 3, 2026
Merged

fix(deps): Upgrade to nuxt 4.5.1 [security].#210
fago merged 1 commit into
1.xfrom
feature/nuxt-4.5-upgrade

Conversation

@drubot

@drubot drubot commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

Carries the nuxt security fix and supersedes #183 (which pins 4.4.7). Follows #208 (vitest 4 + @nuxt/test-utils 4), now merged — this PR is rebased on 1.x and contains only the nuxt bump.

Changes

nuxt / @nuxt/kit / @nuxt/schema: 4.2.1 → 4.5.1, plus two resolution overrides that keep the graph single-copy — nuxt 4.5 needs both:

  • vite ^8 — nuxt 4.5 builds on the rolldown-based vite 8 while vitest still resolves a vite 7. Transforming through two vite majors throws Missing field moduleType and no test file starts its pool worker.
  • vue ^3.5.40 — nuxt's nested vue outranked the hoisted 3.5.28, so nitro traced one copy while the renderer imported the other. The server bundle shipped an incomplete vue, and every SSR route 500'd with Cannot find module .output/server/node_modules/vue/index.mjs.

vue-component-meta deliberately stays at 3.2.9 — its 3.3 upgrade breaks includePackages and is a separate PR.

Verification

CI green on this branch (run): lint pass, unit 7/7 files, e2e 5/5 files (dev + production servers, real browser). Locally: unit 128/128, e2e 24/24.

Follow-ups

  1. vue-component-meta 3.3 upgrade
  2. non-major dependency cleanup (clears the renovate/dependabot queue)

🤖 Generated with Claude Code

https://claude.ai/code/session_0135TzeJ5xX7vdwouF9Qd6yv

@drubot
drubot changed the base branch from feature/vitest-4-upgrade to 1.x August 3, 2026 20:27
@drubot drubot closed this Aug 3, 2026
@drubot drubot reopened this Aug 3, 2026
Carries the nuxt security fix. Supersedes #183 (which pins 4.4.7).

Two resolution overrides keep the dependency graph single-copy, which
nuxt 4.5 requires:

- `vite ^8`: nuxt 4.5 builds on the rolldown-based vite 8 while vitest
  still resolves a vite 7. Transforming through two vite majors throws
  `Missing field moduleType` and no test file starts its pool worker.
- `vue ^3.5.40`: nuxt's nested vue outranked the hoisted 3.5.28, so
  nitro traced one copy while the renderer imported the other and the
  server bundle shipped an incomplete `vue` — every SSR route 500'd
  with `Cannot find module .output/server/node_modules/vue/index.mjs`.

vue-component-meta stays at 3.2.9; its 3.3 upgrade is a separate PR.
@drubot
drubot force-pushed the feature/nuxt-4.5-upgrade branch from 240cd65 to 3c36edd Compare August 3, 2026 20:34
@fago
fago merged commit bc331ad into 1.x Aug 3, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants