[Snyk] Upgrade nuxt from 1.0.0-rc11 to 2.10.2 #8
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Snyk has created this PR to upgrade nuxt from 1.0.0-rc11 to 2.10.2.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.Warning: This is a major version upgrade, and may be a breaking change.
The recommended version fixes:
Release notes
🐛 Bug Fixes
webpack
config
unsafeInlineCompatibility
namevue-app
📝 Examples
with-sockets
💖 Thanks to
🐞 Fixes
vue-app, webpack
utils
router.trailingSlash
isfalse
generator
webpack
chunkhash
andcontenthash
not work withextractCSS
cli
nuxt build
when pages should be generated🏡 Chore
readme
⚓ Dependency Upgrades
vue-meta
: Upgraded tov2.3
which fixes duplicated tags in SPA mode💖 Thanks to
🌟Highlights
loading-screen
. No more endless loops (nuxt/loading-screen#44) and show fatal errors (nuxt/loading-screen#45) for the initial build🐛 Bug Fixes
core
vue-app
vm
as arg to supportdata()
with arrow functionasyncData
hydration whenfeatures.transition
isfalse
webpack
consola
IE compatibilitypause/resume
sass-loader@8
compilersWatching
in callbackcli
babel-preset-app
vue-renderer
options.head
config
server.timing
is enabledconfig, vue-app
config
andvue-app
🚀 Features
cli, config
cli.bannerColor
optionconfig
serverMiddleware
as a simple key/value objectbuilder
followSymlinks
option to allow for symlinksextendPlugins
option andbuilder:extendPlugins
hookbuilder:prepared
hookcli
cli:buildError
hookwebpack
vue-meta
browser build for client bundleterser-webpack-plugin
tov2
webpack:config
hookserver
etag
hash functionvue-app
prefetch
prop to<nuxt-link>
general
vue-meta
options by userutils
builder, router
💅 Refactors
cli
builder
build.createRoutes
to allow async functions inside itbabel-preset-app
📝 Examples
with-sockets
🏡 Chore
general
babel-preset-app
readmevue-app
templatesrun:before
💖 Thanks to
🐛 Bug Fixes
general
builder
server
https: null
ashttps: undefined
nuxt-start
vue-client-only
dependencyvue-app
config
💅 Refactors
core
🐛 Bug Fixes
vue-app
loading-screen
Content-Type
for index page📝 Examples
CoffeeScript
additionalExtensions
💖 Thanks to
8.9.0
vue-meta
upgraded to 2.0.0. Please refer to the changelog to review notable changes.scrollBehavior
option is deprecated in favor ofapp/router.scrollBehavior.js
(#6055)devModules
option is deprecated in favor ofbuildModules
(#6203)🐛 Bug Fixes
general
modulepreload
warningsrenderer
nomodule
scripts in safari 10cli
nuxt
&nuxt-edge
being installedvue-app
triggerScroll
to support hash navigationtransition.leave
asynchronouslyvue-renderer
render:resourcesLoaded
hook beforecreateRenderer
webpack
🚀 Features
cli
server
loadingTimeout
and other arguments torenderAndGetWindow
webpack
build.transpile
vue-app
$nuxt.refresh
app/router.scrollBehavior.js
and deprecatescrollBehavior
<client-only
> alias for<no-ssr>
$nuxt.refresh()
method or refresh the actual pageasyncData
andfetch
watchQuery
vue-renderer
typescript
💅 Refactors
config
devModules
tobuildModules
babel-preset-app
babel-plugin-dynamic-import-node
webpack
general
🏡 Chore
general
babel-preset-app
⚓ Dependency Upgrades
💖 Thanks to
🐛 Bug Fixes
vue-renderer
vue-app
console.log
cli
💅 Refactors
typescript
💖 Thanks to
😎 Developer Experience
pages/
creation when default page displayed🐛 Bug Fixes
vue-renderer
User-Agent
toVary
header in modern server modeserver
builder
pages/
creation when default page displayedgenerator
types
babel.presets
vue-app
watchQuery
fixPrepatch
in-out transition fix (issue #5797)utils
serializeFunction
edge case🚀 Features
vue-renderer
render.injectScripts
optionrender.ssrLog
for controlling SSR logs💅 Refactors
core
require.resolve
instead ofModule
internalsbuilder
nuxtOptions
vue-app
general
📝 Examples
auth-jwt
typescript
🏡 Chore
ci
general
♻️ Tests
general
core/resolver.js
packages/core/test/resolver
⚓ Dependency upgrades
💖 Thanks to
Fixes
Dependency Upgrades
style
property when resolving (jsless/postcss-import-resolver#2)Thanks to
DX Improvements 💅
SSR logs in your browser 🖥️
We all know the
console.log
debugging method, but when working with universal applications, you have to remember that sometimes, your logs are in your terminal and not in your browser console.This can be really annoying when developing a Nuxt.js application, starting with this version and running
nuxt dev
, the ssr logs are now reported to your browser console:Detecting
store/
creation 👀Nuxt.js now detects when you created a
store/
directory and will reload himself auto-magically so you don't have to restart it anymore.PS: We also improved the
serverMiddleware
watch to restart Nuxt.js and clean their cacheFixes ✔️
watch:restart
afterwatch:fileChanged
hook (#5620)watchQuery
option inrouterViewKey
(#5516)spa:templateParams
hook (#5619)HardSourcePlugin
(#5653)serverMiddleware
paths (#5681)Features 🚀
transition
topageTransition
and deprecate it (#5558)babel.presets
and babelenvName
(#5637)Refactors 🧹
Examples 📚
core-js@3
example in the readme (#5633)Typescript 👷
Only for typescript users, Nuxt.js v2.7 dropped support for node < 8.6 relate to
ts-loader v6
context.app
type (#5701)extendRoutes
method type (#5700)ts-node
to register twice (#5699)Thanks to 🙏
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs