nuxt-typed-router 3.6.5 → 3.7.0

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.d.mts CHANGED
@@ -79,6 +79,6 @@ interface StrictParamsOptions {
79
79
  strictRouteLocation?: boolean;
80
80
  }
81
81
 
82
- declare const _default: _nuxt_schema.NuxtModule<ModuleOptions>;
82
+ declare const _default: _nuxt_schema.NuxtModule<ModuleOptions, ModuleOptions, false>;
83
83
 
84
84
  export { type ModuleOptions, _default as default };
package/dist/module.d.ts CHANGED
@@ -79,6 +79,6 @@ interface StrictParamsOptions {
79
79
  strictRouteLocation?: boolean;
80
80
  }
81
81
 
82
- declare const _default: _nuxt_schema.NuxtModule<ModuleOptions>;
82
+ declare const _default: _nuxt_schema.NuxtModule<ModuleOptions, ModuleOptions, false>;
83
83
 
84
84
  export { type ModuleOptions, _default as default };
package/dist/module.json CHANGED
@@ -5,9 +5,9 @@
5
5
  "nuxt": ">=3.0.0",
6
6
  "bridge": false
7
7
  },
8
- "version": "3.6.5",
8
+ "version": "3.7.0",
9
9
  "builder": {
10
- "@nuxt/module-builder": "0.7.1",
10
+ "@nuxt/module-builder": "0.8.4",
11
11
  "unbuild": "unknown"
12
12
  }
13
13
  }
package/dist/module.mjs CHANGED
@@ -170,7 +170,7 @@ function createRoutesNamedLocationsResolvedExport(routesParams) {
170
170
  export type RoutesNamedLocationsResolved =
171
171
  {
172
172
  name: RoutesNamesList;
173
- params: unknown;
173
+ params: RoutesParamsRecord[keyof RoutesParamsRecord];
174
174
  } ${routesParams.length ? `& (
175
175
  ${routesParams.map(
176
176
  ({ name, params }) => `{name: "${name}" ${params.length ? `, params: {
package/dist/types.d.mts CHANGED
@@ -1,17 +1 @@
1
-
2
- import type { ModuleOptions } from './module.js'
3
-
4
-
5
-
6
- declare module '@nuxt/schema' {
7
- interface NuxtConfig { ['nuxtTypedRouter']?: Partial<ModuleOptions> }
8
- interface NuxtOptions { ['nuxtTypedRouter']?: ModuleOptions }
9
- }
10
-
11
- declare module 'nuxt/schema' {
12
- interface NuxtConfig { ['nuxtTypedRouter']?: Partial<ModuleOptions> }
13
- interface NuxtOptions { ['nuxtTypedRouter']?: ModuleOptions }
14
- }
15
-
16
-
17
- export type { ModuleOptions, default } from './module.js'
1
+ export { type ModuleOptions, default } from './module.js'
package/dist/types.d.ts CHANGED
@@ -1,17 +1 @@
1
-
2
- import type { ModuleOptions } from './module'
3
-
4
-
5
-
6
- declare module '@nuxt/schema' {
7
- interface NuxtConfig { ['nuxtTypedRouter']?: Partial<ModuleOptions> }
8
- interface NuxtOptions { ['nuxtTypedRouter']?: ModuleOptions }
9
- }
10
-
11
- declare module 'nuxt/schema' {
12
- interface NuxtConfig { ['nuxtTypedRouter']?: Partial<ModuleOptions> }
13
- interface NuxtOptions { ['nuxtTypedRouter']?: ModuleOptions }
14
- }
15
-
16
-
17
- export type { ModuleOptions, default } from './module'
1
+ export { type ModuleOptions, default } from './module'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nuxt-typed-router",
3
- "version": "3.6.5",
3
+ "version": "3.7.0",
4
4
  "description": "Provide autocompletion for routes paths, names and params in Nuxt apps",
5
5
  "type": "module",
6
6
  "main": "./dist/module.cjs",
@@ -63,53 +63,53 @@
63
63
  "prettier": "^2.5.x || 3.x"
64
64
  },
65
65
  "dependencies": {
66
- "@nuxt/kit": "^3.12.1",
66
+ "@nuxt/kit": "^3.13.2",
67
67
  "chalk": "5.3.0",
68
68
  "defu": "6.1.4",
69
69
  "lodash-es": "4.17.21",
70
- "log-symbols": "6.0.0",
70
+ "log-symbols": "7.0.0",
71
71
  "mkdirp": "3.0.1",
72
72
  "nanoid": "5.0.7",
73
73
  "pathe": "1.1.2",
74
- "prettier": "3.3.2"
74
+ "prettier": "3.3.3"
75
75
  },
76
76
  "devDependencies": {
77
- "@intlify/core-base": "9.13.1",
78
- "@intlify/message-compiler": "9.13.1",
79
- "@intlify/shared": "9.13.1",
77
+ "@intlify/core-base": "9.14",
78
+ "@intlify/message-compiler": "9.14",
79
+ "@intlify/shared": "9.14",
80
80
  "@intlify/vue-i18n-bridge": "1.1.0",
81
81
  "@intlify/vue-router-bridge": "1.1.0",
82
- "@nuxt/content": "2.12.1",
83
- "@nuxt/devtools": "1.3.3",
84
- "@nuxt/module-builder": "0.7.1",
85
- "@nuxt/schema": "3.12.1",
86
- "@nuxt/test-utils": "3.13.1",
87
- "@nuxt/types": "2.17.3",
82
+ "@nuxt/content": "2.13.2",
83
+ "@nuxt/devtools": "1.5.1",
84
+ "@nuxt/module-builder": "0.8.4",
85
+ "@nuxt/schema": "3.13.2",
86
+ "@nuxt/test-utils": "3.14.2",
87
+ "@nuxt/types": "2.18.1",
88
88
  "@nuxtjs/eslint-config-typescript": "12.1.0",
89
- "@nuxtjs/i18n": "8.3.1",
89
+ "@nuxtjs/i18n": "8.5.5",
90
90
  "@nuxtjs/web-vitals": "0.2.7",
91
- "@playwright/test": "1.44.1",
91
+ "@playwright/test": "1.47.2",
92
92
  "@types/lodash-es": "4.17.12",
93
- "@types/node": "20.14.2",
94
- "@typescript-eslint/eslint-plugin": "7.13.0",
95
- "@typescript-eslint/parser": "7.13.0",
93
+ "@types/node": "22.7.2",
94
+ "@typescript-eslint/eslint-plugin": "8.7.0",
95
+ "@typescript-eslint/parser": "8.7.0",
96
96
  "@vue/test-utils": "2.4.6",
97
- "bumpp": "9.4.1",
98
- "changelogithub": "0.13.7",
97
+ "bumpp": "9.5.2",
98
+ "changelogithub": "0.13.10",
99
99
  "cross-env": "7.0.3",
100
- "eslint": "9.4.0",
100
+ "eslint": "9.11.1",
101
101
  "eslint-config-prettier": "9.1.0",
102
- "eslint-plugin-vue": "9.26.0",
103
- "nuxt": "3.12.1",
102
+ "eslint-plugin-vue": "9.28.0",
103
+ "nuxt": "3.13.2",
104
104
  "nuxt-seo-kit": "1.3.13",
105
- "playwright": "1.44.1",
106
- "tsd": "0.31.0",
107
- "typescript": "5.4.5",
108
- "vitest": "1.6.0",
109
- "vue": "3.4.27",
105
+ "playwright": "1.47.2",
106
+ "tsd": "0.31.2",
107
+ "typescript": "5.6.2",
108
+ "vitest": "2.1.1",
109
+ "vue": "3.5.8",
110
110
  "vue-eslint-parser": "9.4.3",
111
- "vue-i18n": "9.13.1",
112
- "vue-router": "4.3.3",
113
- "vue-tsc": "2.0.21"
111
+ "vue-i18n": "9.14",
112
+ "vue-router": "4.4.5",
113
+ "vue-tsc": "2.1.6"
114
114
  }
115
- }
115
+ }