Bump nuxt from 2.4.5 to 2.6.1 in /webapp
Created by: Tirokk
Authored by dependabot-preview[bot] Merged
Bumps nuxt from 2.4.5 to 2.6.1.
Release notes
Sourced from nuxt's releases.
v2.6.0
Migration Guide
This version is addressing most of the problems of 2.5 and is without any breaking changes. For most of the users, a normal version upgrade would be enough. However, reading this guide can help to have a smooth upgrade.
General Tips
- Using yarn as the package manager is more preferred as Nuxt is internally being tested against yarn
- Before upgrade ensure to remove
yarn.lock,package-lock.jsonandnode_modules- After full install and testing, also consider upgrading other dependencies. The
yarn outdatedcommand can be used.Missing App Dependencies
Because of how package managers (yarn, npm) work, a wrong version of a dependency from one of the other dependencies may be hoisted into
node_modules. Nuxt is strict about this and provides instructions for dependency resolution so please follow it.The well-known problem is with
firebasepackage that requires to manually installnode-fetchdependency in your project.Core-js
Since
core-js@2andcore-js@3are both supported from babel 7.4.0, Starting from 2.6 Nuxt supports both versions (#5411). It is highly advised to stick with 2 (default) unless having a special dependency that needs 3. (Instructions forcore-js@2are not required but recommended)
core-js@2
- yarn:
yarn add -D core-js@2 @babel/runtime-corejs2- npm:
npm i -D core-js@2 @babel/runtime-corejs2
core-js@3
- yarn:
yarn add -D core-js@3 @babel/runtime-corejs3- npm:
npm i -D core-js@3 @babel/runtime-corejs3Edit
nuxt.config.js:export default { build: { babel: { presets({ isServer }) { return [ [ require.resolve('@nuxt/babel-preset-app'), // require.resolve('@nuxt/babel-preset-app-edge'), // For nuxt-edge users { targets: isServer ? { node: '10' } : { ie: '11' }, corejs: { version: 3 } } ] ] } } </tr></table> ... (truncated)
Changelog
Sourced from nuxt's changelog.
2.6.1 (2019-04-04)
Bug Fixes
2.6.0 (2019-04-04)
Bug Fixes
- revert node-externals disabling in dev mode (#5452) (6ce99d2)
- webpack: prefer
mainovermodulefield for server config (#5446) (e155ea4)- disable
node-externalsfor dev mode (#5414) (a5a1657)- not override externals set by build.extend (#5444) (1ae4333)
- build: disable loading
babel.config.jsby default (#5365) (64fa424)- builder: await for renderer to load resources (#5341) (caf5198)
- cli: catch all possible errors thrown from proper-filelock (#5347) (39bbe46)
- renderer: retry render if renderer is in loading or created state (#5417) (8b99695)
- vue-app: prevent mounting page twice on redirect (#5361) (2d73e8a)
- vue-renderer: add the csp hash if
unsafe-inlinehasn't been specified (#5387) (97db6a4)- add type definition for configuring forkTsChecker (2c1444d)
- fail in case of missing core-js dependency (#5342) (439b914)
- memory leak in dev mode (#5399) (04ddcac)
- SyntaxError Unexpected token export in importing babel runtime helper (#5401) (3b85dd9)
- vue-app: decode uri in
getlocation(#5337) (77dcfe6)Features
- babel-preset-app: support specifying core-js version (#5411) (159123f)
- cli: add
--quietoption to nuxt generate command (#5357) (91f4eb0)- cli: add internal _generate and _build options (#5434) (516aea3)
- typescript: detect typescript based on
tsconfig.json(#5412) (6ffc5c5)- vue-renderer: add csp meta tags (#5354) (b978a37)
Reverts
... (truncated)
Commits
-
c0776ebv2.6.1 -
53915c5fix: pin esm to 3.2.20 (#5464) -
f00a675v2.6.0 (#5352) -
0e51676v2.6.0 -
737c4d0chore(deps): update dependency rollup-plugin-commonjs to ^9.3.3 (#5459) -
615351dchore(deps): update all non-major dependencies (#5458) -
75e8a89chore(deps): update all non-major dependencies (#5454) -
3c73701[release] -
6ce99d2fix: revert node-externals disabling in dev mode (#5452) -
913069fchore(deps): update all non-major dependencies (#5447) - Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot ignore this [patch|minor|major] versionwill close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) -
@dependabot use these labelswill set the current labels as the default for future PRs for this repo and language -
@dependabot use these reviewerswill set the current reviewers as the default for future PRs for this repo and language -
@dependabot use these assigneeswill set the current assignees as the default for future PRs for this repo and language -
@dependabot use this milestonewill set the current milestone as the default for future PRs for this repo and language -
@dependabot badge mewill comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot dashboard:
- Update frequency (including time of day and day of week)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Finally, you can contact us by mentioning @dependabot.