@nuxt/utils
Advanced tools
Comparing version 2.14.9 to 2.14.10
/*! | ||
* @nuxt/utils v2.14.9 (c) 2016-2020 | ||
* @nuxt/utils v2.14.10 (c) 2016-2020 | ||
@@ -18,2 +18,3 @@ * - All the amazing contributors | ||
const onExit = require('signal-exit'); | ||
const ufo = require('@nuxt/ufo'); | ||
const serialize = require('serialize-javascript'); | ||
@@ -1728,6 +1729,4 @@ const UAParser = require('ua-parser-js'); | ||
} else { | ||
const isDynamic = key.startsWith('_'); | ||
route.path += '/' + getRoutePathExtension(isDynamic ? key : encodeURIComponent(decodeURIComponent(key))); | ||
if (isDynamic && key.length > 1) { | ||
route.path += ufo.normalizeURL(getRoutePathExtension(key)); | ||
if (key.startsWith('_') && key.length > 1) { | ||
route.path += '?'; | ||
@@ -1734,0 +1733,0 @@ } |
{ | ||
"name": "@nuxt/utils", | ||
"version": "2.14.9", | ||
"version": "2.14.10", | ||
"repository": "nuxt/nuxt.js", | ||
@@ -11,2 +11,3 @@ "license": "MIT", | ||
"dependencies": { | ||
"@nuxt/ufo": "^0.0.3", | ||
"consola": "^2.15.0", | ||
@@ -13,0 +14,0 @@ "fs-extra": "^8.1.0", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
56148
9
+ Added@nuxt/ufo@^0.0.3
+ Added@nuxt/ufo@0.0.3(transitive)