chore: 2.14.9 hotfix

This commit is contained in:
Pooya Parsa 2020-12-02 11:39:55 +01:00
commit dad4590613
17 changed files with 45 additions and 44 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "nuxt-start", "name": "nuxt-start",
"version": "2.14.8", "version": "2.14.9",
"description": "Starts Nuxt Application in production mode", "description": "Starts Nuxt Application in production mode",
"keywords": [ "keywords": [
"nuxt", "nuxt",
@ -55,8 +55,8 @@
"dist" "dist"
], ],
"dependencies": { "dependencies": {
"@nuxt/cli": "2.14.8", "@nuxt/cli": "2.14.9",
"@nuxt/core": "2.14.8", "@nuxt/core": "2.14.9",
"@nuxt/telemetry": "^1.2.3", "@nuxt/telemetry": "^1.2.3",
"node-fetch": "^2.6.1", "node-fetch": "^2.6.1",
"vue": "^2.6.12", "vue": "^2.6.12",

View File

@ -1,6 +1,6 @@
{ {
"name": "nuxt", "name": "nuxt",
"version": "2.14.8", "version": "2.14.9",
"description": "A minimalistic framework for server-rendered Vue.js applications (inspired by Next.js)", "description": "A minimalistic framework for server-rendered Vue.js applications (inspired by Next.js)",
"keywords": [ "keywords": [
"nuxt", "nuxt",
@ -58,15 +58,15 @@
"postinstall": "opencollective || exit 0" "postinstall": "opencollective || exit 0"
}, },
"dependencies": { "dependencies": {
"@nuxt/builder": "2.14.8", "@nuxt/builder": "2.14.9",
"@nuxt/cli": "2.14.8", "@nuxt/cli": "2.14.9",
"@nuxt/components": "^1.2.0", "@nuxt/components": "^1.2.0",
"@nuxt/core": "2.14.8", "@nuxt/core": "2.14.9",
"@nuxt/generator": "2.14.8", "@nuxt/generator": "2.14.9",
"@nuxt/loading-screen": "^2.0.3", "@nuxt/loading-screen": "^2.0.3",
"@nuxt/opencollective": "^0.3.2", "@nuxt/opencollective": "^0.3.2",
"@nuxt/telemetry": "^1.2.3", "@nuxt/telemetry": "^1.2.3",
"@nuxt/webpack": "2.14.8" "@nuxt/webpack": "2.14.9"
}, },
"engines": { "engines": {
"node": ">=10.13.0", "node": ">=10.13.0",

View File

@ -1,5 +1,5 @@
{ {
"version": "2.14.8", "version": "2.14.9",
"npmClient": "yarn", "npmClient": "yarn",
"useWorkspaces": true, "useWorkspaces": true,
"conventionalCommits": true, "conventionalCommits": true,

View File

@ -1,6 +1,6 @@
{ {
"name": "@nuxt/babel-preset-app", "name": "@nuxt/babel-preset-app",
"version": "2.14.8", "version": "2.14.9",
"description": "babel-preset-app for nuxt", "description": "babel-preset-app for nuxt",
"repository": "nuxt/nuxt.js", "repository": "nuxt/nuxt.js",
"license": "MIT", "license": "MIT",

View File

@ -1,6 +1,6 @@
{ {
"name": "@nuxt/builder", "name": "@nuxt/builder",
"version": "2.14.8", "version": "2.14.9",
"repository": "nuxt/nuxt.js", "repository": "nuxt/nuxt.js",
"license": "MIT", "license": "MIT",
"main": "dist/builder.js", "main": "dist/builder.js",
@ -9,10 +9,10 @@
], ],
"dependencies": { "dependencies": {
"@nuxt/devalue": "^1.2.4", "@nuxt/devalue": "^1.2.4",
"@nuxt/utils": "2.14.7", "@nuxt/utils": "2.14.9",
"@nuxt/vue-app": "2.14.7", "@nuxt/vue-app": "2.14.9",
"@nuxt/webpack": "2.14.7", "@nuxt/webpack": "2.14.9",
"chalk": "^4.1.0", "chalk": "^3.0.0",
"chokidar": "^3.4.3", "chokidar": "^3.4.3",
"consola": "^2.15.0", "consola": "^2.15.0",
"fs-extra": "^9.0.1", "fs-extra": "^9.0.1",

View File

@ -1,6 +1,6 @@
{ {
"name": "@nuxt/cli", "name": "@nuxt/cli",
"version": "2.14.8", "version": "2.14.9",
"repository": "nuxt/nuxt.js", "repository": "nuxt/nuxt.js",
"license": "MIT", "license": "MIT",
"main": "dist/cli.js", "main": "dist/cli.js",
@ -12,8 +12,8 @@
"dist" "dist"
], ],
"dependencies": { "dependencies": {
"@nuxt/config": "2.14.8", "@nuxt/config": "2.14.9",
"@nuxt/utils": "2.14.8", "@nuxt/utils": "2.14.9",
"boxen": "^4.2.0", "boxen": "^4.2.0",
"chalk": "^4.1.0", "chalk": "^4.1.0",
"compression": "^1.7.4", "compression": "^1.7.4",

View File

@ -1,6 +1,6 @@
{ {
"name": "@nuxt/config", "name": "@nuxt/config",
"version": "2.14.8", "version": "2.14.9",
"repository": "nuxt/nuxt.js", "repository": "nuxt/nuxt.js",
"license": "MIT", "license": "MIT",
"main": "dist/config.js", "main": "dist/config.js",
@ -10,7 +10,7 @@
"index.d.ts" "index.d.ts"
], ],
"dependencies": { "dependencies": {
"@nuxt/utils": "2.14.8", "@nuxt/utils": "2.14.9",
"consola": "^2.15.0", "consola": "^2.15.0",
"create-require": "^1.1.1", "create-require": "^1.1.1",
"defu": "^3.2.2", "defu": "^3.2.2",

View File

@ -1,6 +1,6 @@
{ {
"name": "@nuxt/core", "name": "@nuxt/core",
"version": "2.14.8", "version": "2.14.9",
"repository": "nuxt/nuxt.js", "repository": "nuxt/nuxt.js",
"license": "MIT", "license": "MIT",
"main": "dist/core.js", "main": "dist/core.js",
@ -8,11 +8,11 @@
"dist" "dist"
], ],
"dependencies": { "dependencies": {
"@nuxt/config": "2.14.8", "@nuxt/config": "2.14.9",
"@nuxt/devalue": "^1.2.4", "@nuxt/devalue": "^1.2.4",
"@nuxt/server": "2.14.8", "@nuxt/server": "2.14.9",
"@nuxt/utils": "2.14.8", "@nuxt/utils": "2.14.9",
"@nuxt/vue-renderer": "2.14.8", "@nuxt/vue-renderer": "2.14.9",
"consola": "^2.15.0", "consola": "^2.15.0",
"debug": "^4.2.0", "debug": "^4.2.0",
"esm": "^3.2.25", "esm": "^3.2.25",

View File

@ -1,6 +1,6 @@
{ {
"name": "@nuxt/generator", "name": "@nuxt/generator",
"version": "2.14.8", "version": "2.14.9",
"repository": "nuxt/nuxt.js", "repository": "nuxt/nuxt.js",
"license": "MIT", "license": "MIT",
"main": "dist/generator.js", "main": "dist/generator.js",
@ -8,8 +8,8 @@
"dist" "dist"
], ],
"dependencies": { "dependencies": {
"@nuxt/utils": "2.14.7", "@nuxt/utils": "2.14.9",
"chalk": "^4.1.0", "chalk": "^3.0.0",
"consola": "^2.15.0", "consola": "^2.15.0",
"devalue": "^2.0.1", "devalue": "^2.0.1",
"fs-extra": "^9.0.1", "fs-extra": "^9.0.1",

View File

@ -1,6 +1,6 @@
{ {
"name": "@nuxt/server", "name": "@nuxt/server",
"version": "2.14.8", "version": "2.14.9",
"repository": "nuxt/nuxt.js", "repository": "nuxt/nuxt.js",
"license": "MIT", "license": "MIT",
"main": "dist/server.js", "main": "dist/server.js",
@ -8,9 +8,9 @@
"dist" "dist"
], ],
"dependencies": { "dependencies": {
"@nuxt/config": "2.14.8", "@nuxt/config": "2.14.9",
"@nuxt/utils": "2.14.8", "@nuxt/utils": "2.14.9",
"@nuxt/vue-renderer": "2.14.8", "@nuxt/vue-renderer": "2.14.9",
"@nuxtjs/youch": "^4.2.3", "@nuxtjs/youch": "^4.2.3",
"chalk": "^4.1.0", "chalk": "^4.1.0",
"compression": "^1.7.4", "compression": "^1.7.4",

View File

@ -1,6 +1,6 @@
{ {
"name": "@nuxt/types", "name": "@nuxt/types",
"version": "2.14.8", "version": "2.14.9",
"description": "Nuxt types", "description": "Nuxt types",
"repository": "nuxt/nuxt.js", "repository": "nuxt/nuxt.js",
"license": "MIT", "license": "MIT",

View File

@ -1,6 +1,6 @@
{ {
"name": "@nuxt/utils", "name": "@nuxt/utils",
"version": "2.14.8", "version": "2.14.9",
"repository": "nuxt/nuxt.js", "repository": "nuxt/nuxt.js",
"license": "MIT", "license": "MIT",
"main": "dist/utils.js", "main": "dist/utils.js",

View File

@ -201,9 +201,10 @@ export const createRoutes = function createRoutes ({
} else if (key === 'index' && i + 1 === keys.length) { } else if (key === 'index' && i + 1 === keys.length) {
route.path += i > 0 ? '' : '/' route.path += i > 0 ? '' : '/'
} else { } else {
route.path += '/' + getRoutePathExtension(key) const isDynamic = key.startsWith('_')
route.path += '/' + getRoutePathExtension(isDynamic ? key : encodeURIComponent(decodeURIComponent(key)))
if (key.startsWith('_') && key.length > 1) { if (isDynamic && key.length > 1) {
route.path += '?' route.path += '?'
} }
} }

View File

@ -1,6 +1,6 @@
{ {
"name": "@nuxt/vue-app", "name": "@nuxt/vue-app",
"version": "2.14.8", "version": "2.14.9",
"repository": "nuxt/nuxt.js", "repository": "nuxt/nuxt.js",
"license": "MIT", "license": "MIT",
"main": "dist/vue-app.js", "main": "dist/vue-app.js",

View File

@ -47,7 +47,7 @@ import scrollBehavior from './router.scrollBehavior.js'
} }
// @see: https://router.vuejs.org/api/#router-construction-options // @see: https://router.vuejs.org/api/#router-construction-options
res += '{' res += '{'
res += firstIndent + 'path: ' + JSON.stringify(encodeURI(decodeURI(route.path))) res += firstIndent + 'path: ' + JSON.stringify(route.path)
res += (route.components) ? nextIndent + 'components: {' + resMap + '\n' + baseIndent + tab + '}' : '' res += (route.components) ? nextIndent + 'components: {' + resMap + '\n' + baseIndent + tab + '}' : ''
res += (route.component) ? nextIndent + 'component: ' + route._name : '' res += (route.component) ? nextIndent + 'component: ' + route._name : ''
res += (route.redirect) ? nextIndent + 'redirect: ' + JSON.stringify(route.redirect) : '' res += (route.redirect) ? nextIndent + 'redirect: ' + JSON.stringify(route.redirect) : ''

View File

@ -1,6 +1,6 @@
{ {
"name": "@nuxt/vue-renderer", "name": "@nuxt/vue-renderer",
"version": "2.14.8", "version": "2.14.9",
"repository": "nuxt/nuxt.js", "repository": "nuxt/nuxt.js",
"license": "MIT", "license": "MIT",
"main": "dist/vue-renderer.js", "main": "dist/vue-renderer.js",
@ -9,7 +9,7 @@
], ],
"dependencies": { "dependencies": {
"@nuxt/devalue": "^1.2.4", "@nuxt/devalue": "^1.2.4",
"@nuxt/utils": "2.14.8", "@nuxt/utils": "2.14.9",
"consola": "^2.15.0", "consola": "^2.15.0",
"fs-extra": "^9.0.1", "fs-extra": "^9.0.1",
"lru-cache": "^5.1.1", "lru-cache": "^5.1.1",

View File

@ -1,6 +1,6 @@
{ {
"name": "@nuxt/webpack", "name": "@nuxt/webpack",
"version": "2.14.8", "version": "2.14.9",
"repository": "nuxt/nuxt.js", "repository": "nuxt/nuxt.js",
"license": "MIT", "license": "MIT",
"main": "dist/webpack.js", "main": "dist/webpack.js",
@ -9,9 +9,9 @@
], ],
"dependencies": { "dependencies": {
"@babel/core": "^7.12.9", "@babel/core": "^7.12.9",
"@nuxt/babel-preset-app": "2.14.8", "@nuxt/babel-preset-app": "2.14.9",
"@nuxt/friendly-errors-webpack-plugin": "^2.5.0", "@nuxt/friendly-errors-webpack-plugin": "^2.5.0",
"@nuxt/utils": "2.14.8", "@nuxt/utils": "2.14.9",
"babel-loader": "^8.2.2", "babel-loader": "^8.2.2",
"cache-loader": "^4.1.0", "cache-loader": "^4.1.0",
"caniuse-lite": "^1.0.30001164", "caniuse-lite": "^1.0.30001164",