nuxt
4.6.4 · 2 Nov 2026MIT3.6M / weekRepositoryHomepagenpmAtom feed
Upgrading nuxt From 2.5.1 to 2.6.0
1 release in betweenevery note read
Reading releases, release notes and advisories…
- 1
- change to make
- 0
- advisories fixed
- 9
- new
- 11
- fixes
Before you upgrade
Tick each one off as you go- Deprecated2.6.0
Security
3 advisories still affect 2.6.0
- Nuxt: Incomplete fix for GHSA-934w-87qh-qr26: a `javascript:` URL prefixed with an ASCII control character executes from `<NuxtLink>` when `pages` is disabledlow · GHSA-jjm6-p2m9-9w4x
- Cross-site scripting via <NoScript> slot content in Nuxt's head componentslow · GHSA-m3q2-p4fw-w38m
- nuxt vulnerable to Cross-site Scripting in navigateTo if used after SSRmoderate · GHSA-vf6r-87q4-2vjf
Upgrading to 4.6.0 clears them.
Release by release
- Deprecated
postcss: Deprecate config support
- New
yarn:
yarn add nuxt ts-node - New
npm:
npm i nuxt ts-node - New
yarn:
yarn add -D @nuxt/typescript
- Deprecated
11 other lines we could not sort, mostly version bumps
- 2.6.0
Using yarn as the package manager is more preferred as Nuxt is internally being tested against yarn
- 2.6.0
Before upgrade ensure to remove
yarn.lock,package-lock.jsonandnode_modules - 2.6.0
After full install and testing, also consider upgrading other dependencies. The
yarn outdatedcommand can be used. - 2.6.0
yarn:
yarn add -D core-js@2 @babel/runtime-corejs2 - 2.6.0
npm:
npm i -D core-js@2 @babel/runtime-corejs2 - 2.6.0
yarn:
yarn add -D core-js@3 @babel/runtime-corejs3 - 2.6.0
npm:
npm i -D core-js@3 @babel/runtime-corejs3 - 2.6.0
Remove
nuxt-tsdependency (2.4 users only) - 2.6.0
Create an empty
tsconfig.jsonfile. Nuxt will automatically generate it with defaults at first run, then you can edit it to fit your needs - 2.6.0
loading-screen: Use wss for https (nuxt/loading-screen#4)
8 internal lines (docs, tests, tooling) left out.
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.