Packages

@nuxt/types

2.18.1 · 28 Jun 2024MIT154.3k / weekRepositoryHomepagenpmAtom feed

Deprecated by its maintainers: Nuxt 2 has reached EOL and is no longer actively maintained. See https://nuxt.com/blog/nuxt2-eol for more details.What to use instead

Upgrading @nuxt/types From 0.2.15 to 0.3.0

1 release in betweenevery note read

Other targets from 0.2.15Newest 0.x0.7.9Latest2.18.1
  1. 0.2.15yours
  2. 0.3.0target
2
changes to make
0
advisories fixed
1
new
0
fixes

Before you upgrade

Tick each one off as you go
  • Breaking0.3.0
  • Breaking0.3.0

Release by release

  1. 0.3.0

    Migration needed2 Oct 20191 new
    • Breaking

      ./static/ folder is now mapped to /, this to allows to have robots.txt files or sitemap.xml, since there is no main reason to not map it to /

    • Breaking

      nuxt.renderRoute(route, context) send back an object with html and error instead of the html

    • New

      Nuxt.js is now serving the static folder from its render(req, res) function (instead of the server used by nuxt-dev and nuxt-start), this to keep consistency in the behaviour of nuxt

2 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.