Packages

nuxt

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

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

0.3.6

10 Nov 2016Where it was published

0.10.7 is the newest release of 0.3.x.

npm marks 0.3.6 as deprecated: Nuxt 1 has reached EOL and is no longer actively maintained. See nuxt.com/blog/nuxt2-eol for more details.

In short

1 new1 internal

Security

Release note

Features

  • Add redirect field in the contextreceived in data (context) and fetch (context), useful for authenticated routes:

// Ex: dashboard.vue
<script>
export default {
  fetch ({ redirect, route }) {
    // Check if user is connected via req.session or JWT...
    redirect({
      path: '/login',
      query: { redirect: route.fullPath }
    })
  }
}
</script>

You can also use redirect('/login') if you don't want to add any query parameter.

The redirect also works for nuxt generate and will create a html page with:

<meta http-equiv="refresh" content="0; url={{ redirectedPath }}" />
<script type="text/javascript">
    window.location.href = '{{ redirectedPath }}'
</script>

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.