nuxt-typed-router 3.0.0 → 3.0.1-beta.1

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 CHANGED
@@ -5,5 +5,5 @@
5
5
  "nuxt": "^3.0.0",
6
6
  "bridge": false
7
7
  },
8
- "version": "3.0.0"
8
+ "version": "3.0.1-beta.1"
9
9
  }
package/dist/module.mjs CHANGED
@@ -2,7 +2,8 @@ import { addPluginTemplate, extendPages, defineNuxtModule, createResolver } from
2
2
  import chalk from 'chalk';
3
3
  import logSymbols from 'log-symbols';
4
4
  import { defu } from 'defu';
5
- import { customAlphabet, nanoid as nanoid$1 } from 'nanoid';
5
+ import { customAlphabet } from 'nanoid/non-secure';
6
+ import { nanoid as nanoid$1 } from 'nanoid';
6
7
  import prettier from 'prettier';
7
8
  import fs from 'fs';
8
9
  import { fileURLToPath } from 'url';
@@ -551,7 +552,7 @@ function createTypedRouterDefinitionFile() {
551
552
  };
552
553
 
553
554
  // Declare runtime-core instead of vue for compatibility issues with pnpm
554
- declare module '@vue/runtime-core' {
555
+ declare module 'vue' {
555
556
  interface GlobalComponents {
556
557
  NuxtLink: TypedNuxtLink;
557
558
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nuxt-typed-router",
3
- "version": "3.0.0",
3
+ "version": "3.0.1-beta.1",
4
4
  "description": "Provide autocompletion for routes paths, names and params in Nuxt apps",
5
5
  "type": "module",
6
6
  "main": "./dist/module.cjs",