unplugin-vue-router
Advanced tools
Comparing version 0.10.3 to 0.10.4
import * as esbuild from 'esbuild'; | ||
import { O as Options } from './types-CRPDwP9n.js'; | ||
import { O as Options } from './types-BKiIKy34.js'; | ||
import 'vue-router'; | ||
@@ -4,0 +4,0 @@ |
import { | ||
src_default | ||
} from "./chunk-TUW4PAFU.js"; | ||
import "./chunk-HWA3WM2K.js"; | ||
} from "./chunk-6A4C6YZ3.js"; | ||
import "./chunk-Y2QLRHDX.js"; | ||
import "./chunk-6F4PWJZI.js"; | ||
@@ -6,0 +6,0 @@ |
import * as unplugin from 'unplugin'; | ||
import { R as ResolvedOptions, S as ServerContext, O as Options } from './types-CRPDwP9n.js'; | ||
export { D as DEFAULT_OPTIONS, E as EditableTreeNode, T as TreeNode, b as TreeNodeValueParam, d as TreeNodeValueStatic, c as createTreeNodeValue, g as getFileBasedRouteName, a as getPascalCaseRouteName } from './types-CRPDwP9n.js'; | ||
import { R as ResolvedOptions, S as ServerContext, O as Options } from './types-BKiIKy34.js'; | ||
export { D as DEFAULT_OPTIONS, E as EditableTreeNode, T as TreeNode, b as TreeNodeValueParam, d as TreeNodeValueStatic, c as createTreeNodeValue, g as getFileBasedRouteName, a as getPascalCaseRouteName } from './types-BKiIKy34.js'; | ||
import 'vue-router'; | ||
@@ -5,0 +5,0 @@ |
@@ -7,3 +7,3 @@ import { | ||
src_default | ||
} from "./chunk-TUW4PAFU.js"; | ||
} from "./chunk-6A4C6YZ3.js"; | ||
import { | ||
@@ -13,3 +13,3 @@ DEFAULT_OPTIONS, | ||
getPascalCaseRouteName | ||
} from "./chunk-HWA3WM2K.js"; | ||
} from "./chunk-Y2QLRHDX.js"; | ||
import "./chunk-6F4PWJZI.js"; | ||
@@ -16,0 +16,0 @@ export { |
@@ -1,2 +0,2 @@ | ||
export { D as DEFAULT_OPTIONS, O as Options, R as ResolvedOptions, i as RoutesFolder, e as RoutesFolderOption, f as RoutesFolderOptionResolved, S as ServerContext, _ as _OverridableOption, h as _RoutesFolder, m as mergeAllExtensions, j as resolveOptions, r as resolveOverridableOption } from './types-CRPDwP9n.js'; | ||
export { D as DEFAULT_OPTIONS, O as Options, R as ResolvedOptions, i as RoutesFolder, e as RoutesFolderOption, f as RoutesFolderOptionResolved, S as ServerContext, _ as _OverridableOption, h as _RoutesFolder, m as mergeAllExtensions, j as resolveOptions, r as resolveOverridableOption } from './types-BKiIKy34.js'; | ||
import 'vue-router'; |
@@ -6,3 +6,3 @@ import { | ||
resolveOverridableOption | ||
} from "./chunk-HWA3WM2K.js"; | ||
} from "./chunk-Y2QLRHDX.js"; | ||
export { | ||
@@ -9,0 +9,0 @@ DEFAULT_OPTIONS, |
import * as rollup from 'rollup'; | ||
import { O as Options } from './types-CRPDwP9n.js'; | ||
import { O as Options } from './types-BKiIKy34.js'; | ||
import 'vue-router'; | ||
@@ -4,0 +4,0 @@ |
import { | ||
src_default | ||
} from "./chunk-TUW4PAFU.js"; | ||
import "./chunk-HWA3WM2K.js"; | ||
} from "./chunk-6A4C6YZ3.js"; | ||
import "./chunk-Y2QLRHDX.js"; | ||
import "./chunk-6F4PWJZI.js"; | ||
@@ -6,0 +6,0 @@ |
@@ -132,2 +132,9 @@ // src/data-loaders/navigation-guard.ts | ||
} | ||
if (Array.isArray(viewModule.__loaders)) { | ||
for (const loader of viewModule.__loaders) { | ||
if (isDataLoader(loader)) { | ||
record.meta[LOADER_SET_KEY].add(loader); | ||
} | ||
} | ||
} | ||
} | ||
@@ -134,0 +141,0 @@ ); |
@@ -1,2 +0,2 @@ | ||
export { E as EditableTreeNode, O as Options, T as TreeNode, b as TreeNodeValueParam, d as TreeNodeValueStatic } from './types-CRPDwP9n.js'; | ||
export { E as EditableTreeNode, O as Options, T as TreeNode, b as TreeNodeValueParam, d as TreeNodeValueStatic } from './types-BKiIKy34.js'; | ||
import 'vue-router'; |
import * as vite from 'vite'; | ||
import { O as Options } from './types-CRPDwP9n.js'; | ||
import { O as Options } from './types-BKiIKy34.js'; | ||
import 'vue-router'; | ||
@@ -4,0 +4,0 @@ |
import { | ||
src_default | ||
} from "./chunk-TUW4PAFU.js"; | ||
import "./chunk-HWA3WM2K.js"; | ||
} from "./chunk-6A4C6YZ3.js"; | ||
import "./chunk-Y2QLRHDX.js"; | ||
import "./chunk-6F4PWJZI.js"; | ||
@@ -6,0 +6,0 @@ |
import * as webpack from 'webpack'; | ||
import { O as Options } from './types-CRPDwP9n.js'; | ||
import { O as Options } from './types-BKiIKy34.js'; | ||
import 'vue-router'; | ||
@@ -4,0 +4,0 @@ |
import { | ||
src_default | ||
} from "./chunk-TUW4PAFU.js"; | ||
import "./chunk-HWA3WM2K.js"; | ||
} from "./chunk-6A4C6YZ3.js"; | ||
import "./chunk-Y2QLRHDX.js"; | ||
import "./chunk-6F4PWJZI.js"; | ||
@@ -6,0 +6,0 @@ |
{ | ||
"name": "unplugin-vue-router", | ||
"version": "0.10.3", | ||
"version": "0.10.4", | ||
"type": "module", | ||
@@ -155,3 +155,3 @@ "description": "File based typed routing for Vue Router", | ||
"@vue-macros/common": "^1.12.2", | ||
"ast-walker-scope": "^0.6.1", | ||
"ast-walker-scope": "^0.6.2", | ||
"chokidar": "^3.6.0", | ||
@@ -161,2 +161,3 @@ "fast-glob": "^3.3.2", | ||
"local-pkg": "^0.5.0", | ||
"magic-string": "^0.30.11", | ||
"mlly": "^1.7.1", | ||
@@ -191,3 +192,3 @@ "pathe": "^1.1.2", | ||
"happy-dom": "^14.12.3", | ||
"lint-staged": "^15.2.8", | ||
"lint-staged": "^15.2.9", | ||
"minimist": "^1.2.8", | ||
@@ -207,3 +208,3 @@ "nodemon": "^3.1.4", | ||
"vite": "^5.4.0", | ||
"vite-plugin-vue-devtools": "^7.3.7", | ||
"vite-plugin-vue-devtools": "^7.3.8", | ||
"vitepress": "1.3.2", | ||
@@ -218,3 +219,3 @@ "vitest": "^2.0.5", | ||
"yorkie": "^2.0.0", | ||
"unplugin-vue-router": "0.10.3" | ||
"unplugin-vue-router": "0.10.4" | ||
}, | ||
@@ -221,0 +222,0 @@ "scripts": { |
@@ -17,3 +17,5 @@ # unplugin-vue-router | ||
⚠️ This package is still experimental. If you found any issue, design flaw, or have ideas to improve it, please, open an [issue](https://github.com/posva/unplugin-vue-router/issues/new/choose) or a [Discussion](https://github.com/posva/unplugin-vue-router/discussions). | ||
> [!WARNING] | ||
> While unplugin-vue-router typed routing and file based routing is fundamentally stable, it contains other experimental APIs that are subject to change (e.g. Data Loaders). Make sure to check the relevant [Documentation](https://uvr.esm.is) for the latest information. | ||
> If you find any issue, design flaw, or have ideas to improve it, please, open open an [issue](https://github.com/posva/unplugin-vue-router/issues/new/choose) or a [Discussion](https://github.com/posva/unplugin-vue-router/discussions). | ||
@@ -20,0 +22,0 @@ ## Install |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
308640
7067
209
15
+ Addedmagic-string@^0.30.11
Updatedast-walker-scope@^0.6.2