Packages

nuxt

4.6.4 · 2 Nov 2026MIT3.6M / weekRepositoryHomepagenpmAtom feed

The latest release, 4.6.4, is affected by 4 advisories with no fixed version yet.See advisories
Your version

3.4.2

20 Apr 2023Where it was published

3.21.11 is the newest release of 3.x.

In short

2 new3 faster13 fixed13 internal

Security

15 advisories affect 3.4.2; 4.6.0 fixes the others

10 more

Release note

3.4.2 is a patch release with the latest bug fixes and performance improvements

What's new?

Apart from the normal bug fixes, we have a couple things we should call out.

  1. 🔥 We're now on Vite 4.3 (#20405). This was a performance-focused release and hopefully you'll be enjoying the speed improvements! Check out the release announcement for more info.

  2. 👀 It's now possible to experimentally enable @parcel/watcher for the Nuxt dev watcher (#20179). This may improve performance if you're on Windows. You'll probably also want to install watchman in that case.

Upgrading

As usual, our recommendation for upgrading is to run:

nuxi upgrade --force

This will refresh your lockfile as well, and ensures that you pull in updates from other dependencies that Nuxt relies on, particularly in the unjs ecosystem.

Changelog

compare changes

Performance

  • nuxt: Share lazy component definitions

  • Remove unused deps and add implicit deps

  • Allow using @parcel/watcher for dev watcher

Fixes

  • vite: Set different cache dirs for client/server

  • nuxt: Generate hi-res sourcemaps

  • nuxt: Return type directly if not picking asyncData

  • nuxt: Provide more helpful error when instance unavailable

  • nuxt: Mark useRequestHeaders keys as optional

  • vite: Avoid serving arbitrary file in vite-node middleware

  • nuxt: Swap preloads for json/js payloads

  • nuxt: Handle pages with no content and log warning

  • test-utils: Import jest functions from @jest/globals

  • core,kit: Ensure module transpilation paths are dirs

  • schema: Rely on installed telemetry types

  • cli: Load kit from rootDir when preparing project

  • nuxt: Clone app config on server

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.