nuxt-typed-router 3.2.5 → 3.2.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/module.json +1 -1
- package/dist/module.mjs +1 -1
- package/package.json +25 -25
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -1369,7 +1369,7 @@ function modifyRoutePrefixDefaultIfI18n(route) {
|
|
|
1369
1369
|
const i18LocalesRecognizer = i18nLocales?.map((m) => m.replace(specialCharacterRegxp, "\\$&")).join("|");
|
|
1370
1370
|
if (i18nOptions?.strategy === "prefix_and_default") {
|
|
1371
1371
|
const routeDefaultRegXp = new RegExp(
|
|
1372
|
-
`([a-zA-
|
|
1372
|
+
`([a-zA-Z0-9-]+)${separator}(${i18LocalesRecognizer})${separator}default`,
|
|
1373
1373
|
"g"
|
|
1374
1374
|
);
|
|
1375
1375
|
const match = routeDefaultRegXp.exec(route.name);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nuxt-typed-router",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.6",
|
|
4
4
|
"description": "Provide autocompletion for routes paths, names and params in Nuxt apps",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/module.cjs",
|
|
@@ -60,44 +60,44 @@
|
|
|
60
60
|
"url": "https://github.com/victorgarciaesgi/nuxt-typed-router/issues"
|
|
61
61
|
},
|
|
62
62
|
"dependencies": {
|
|
63
|
-
"@nuxt/kit": "^3.6.
|
|
63
|
+
"@nuxt/kit": "^3.6.5",
|
|
64
64
|
"chalk": "^5.3.0",
|
|
65
65
|
"defu": "^6.1.2",
|
|
66
66
|
"lodash-es": "^4.17.21",
|
|
67
67
|
"log-symbols": "^5.1.0",
|
|
68
68
|
"mkdirp": "^3.0.1",
|
|
69
69
|
"nanoid": "^4.0.2",
|
|
70
|
-
"pathe": "1.1.
|
|
70
|
+
"pathe": "1.1.1"
|
|
71
71
|
},
|
|
72
72
|
"devDependencies": {
|
|
73
|
-
"@nuxt/devtools": "^0.
|
|
74
|
-
"@nuxt/module-builder": "^0.
|
|
75
|
-
"@nuxt/test-utils": "^3.6.
|
|
76
|
-
"@nuxt/types": "^2.17.
|
|
73
|
+
"@nuxt/devtools": "^0.8.0",
|
|
74
|
+
"@nuxt/module-builder": "^0.4.0",
|
|
75
|
+
"@nuxt/test-utils": "^3.6.5",
|
|
76
|
+
"@nuxt/types": "^2.17.1",
|
|
77
77
|
"@nuxtjs/eslint-config-typescript": "^12.0.0",
|
|
78
78
|
"@nuxtjs/i18n": "8.0.0-beta.10",
|
|
79
79
|
"@nuxtjs/web-vitals": "^0.2.6",
|
|
80
|
-
"@types/lodash-es": "^4.17.
|
|
81
|
-
"@types/node": "^20.
|
|
82
|
-
"@types/prettier": "^
|
|
83
|
-
"@typescript-eslint/eslint-plugin": "^
|
|
84
|
-
"@typescript-eslint/parser": "^
|
|
85
|
-
"@vue/test-utils": "^2.4.
|
|
86
|
-
"bumpp": "9.1.
|
|
87
|
-
"changelogithub": "0.12.
|
|
80
|
+
"@types/lodash-es": "^4.17.8",
|
|
81
|
+
"@types/node": "^20.5.0",
|
|
82
|
+
"@types/prettier": "^3.0.0",
|
|
83
|
+
"@typescript-eslint/eslint-plugin": "^6.4.0",
|
|
84
|
+
"@typescript-eslint/parser": "^6.4.0",
|
|
85
|
+
"@vue/test-utils": "^2.4.1",
|
|
86
|
+
"bumpp": "9.1.1",
|
|
87
|
+
"changelogithub": "0.12.12",
|
|
88
88
|
"cross-env": "^7.0.3",
|
|
89
|
-
"eslint": "8.
|
|
90
|
-
"eslint-config-prettier": "^
|
|
91
|
-
"eslint-plugin-vue": "^9.
|
|
92
|
-
"nuxt": "3.5
|
|
93
|
-
"nuxt-seo-kit": "1.3.
|
|
94
|
-
"playwright": "1.
|
|
89
|
+
"eslint": "8.47.0",
|
|
90
|
+
"eslint-config-prettier": "^9.0.0",
|
|
91
|
+
"eslint-plugin-vue": "^9.17.0",
|
|
92
|
+
"nuxt": "3.6.5",
|
|
93
|
+
"nuxt-seo-kit": "1.3.9",
|
|
94
|
+
"playwright": "1.37.0",
|
|
95
|
+
"prettier": "3.0.2",
|
|
95
96
|
"tsd": "^0.28.1",
|
|
96
97
|
"typescript": "^5.1.6",
|
|
97
|
-
"vitest": "^0.
|
|
98
|
+
"vitest": "^0.34.2",
|
|
98
99
|
"vue-eslint-parser": "^9.3.1",
|
|
99
|
-
"vue-router": "^4.2.
|
|
100
|
-
"vue-tsc": "^1.8.
|
|
101
|
-
"prettier": "2.8.8"
|
|
100
|
+
"vue-router": "^4.2.4",
|
|
101
|
+
"vue-tsc": "^1.8.8"
|
|
102
102
|
}
|
|
103
103
|
}
|