nuxt
4.6.4 · 2 Nov 2026MIT3.5M / weekRepositoryHomepagenpmAtom feed
Upgrading nuxt From 0.5.3 to 0.6.0
1 release in betweenevery note read
Security
3 advisories still affect 0.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
- New
We can now extend the root application by adding
pages/_app.vue. You can now add a navigation bar which stays whatever the page you're on (error pages included), see an examples/extend-app/ for more details and documentation (you can also watch the short video example) - New
Add
context.isDevin the data(context) and fetch(context) methods, can be useful for caching some data calls on production - New
Add
callbackargument (optional), indata(context [, callback])method, because not everyone may be comfortable with using Promises. The callback is the node.js style:callback(err, data), see examples/async-data/ for more details. - Fixed
Bug with path with ~ inside (example: ~plugins/my-plugin.js)
- New
3 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.