New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

unplugin-vue-router

Package Overview
Dependencies
Maintainers
1
Versions
71
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

unplugin-vue-router - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

dist/chunk-ITJID6B5.mjs

12

dist/index.d.ts
import * as unplugin from 'unplugin';
import { Options } from './types.js';
import { RouteParamsRaw, RouteParams, RouteMeta, RouteLocationNormalized, RouteRecordName, RouteLocationNormalizedLoaded, RouteQueryAndHash, RouteLocationOptions, NavigationGuardNext, Router, NavigationFailure, RouterLinkProps as RouterLinkProps$1, RouteLocation } from 'vue-router';
import { Options } from './options.js';
import { RouteParamsRaw, RouteParams, RouteMeta, RouteLocationNormalized, RouteRecordName, RouteLocationNormalizedLoaded, RouteQueryAndHash, RouteLocationOptions, RouteLocation, NavigationGuardNext, NavigationFailure, Router, RouterLinkProps as RouterLinkProps$1 } from 'vue-router';
import { Ref, AllowedComponentProps, ComponentCustomProps, VNodeProps, VNode } from 'vue';
declare type LiteralStringUnion<LiteralType, BaseType extends string = string> = LiteralType | (BaseType & Record<never, never>);
interface RouteRecordInfo<Name extends string = string, Path extends string = string, ParamsRaw extends RouteParamsRaw = RouteParamsRaw, Params extends RouteParams = RouteParams, Meta extends RouteMeta = RouteMeta> {

@@ -16,2 +14,5 @@ name: Name;

declare type _RouteMapGeneric = Record<string, RouteRecordInfo>;
declare type LiteralStringUnion<LiteralType, BaseType extends string = string> = LiteralType | (BaseType & Record<never, never>);
interface RouteLocationNormalizedTyped<RouteMap extends _RouteMapGeneric = Record<string, RouteRecordInfo>, Name extends keyof RouteMap = keyof RouteMap> extends RouteLocationNormalized {

@@ -55,2 +56,3 @@ name: Extract<Name, RouteRecordName>;

};
declare type NavigationGuardReturn<RouteMap extends _RouteMapGeneric> = void | boolean | RouteLocationAsString<RouteMap> | RouteLocationAsRelativeTypedList<RouteMap>[keyof RouteMap] | RouteLocationAsPathTypedList<RouteMap>[keyof RouteMap];

@@ -66,2 +68,3 @@ interface NavigationGuardWithThis<T, RouteMap extends _RouteMapGeneric> {

}
interface _RouterTyped<RouteMap extends _RouteMapGeneric = _RouteMapGeneric> extends Omit<Router, 'resolve' | 'push' | 'replace' | 'beforeEach' | 'beforeResolve' | 'afterEach'> {

@@ -76,2 +79,3 @@ currentRoute: Ref<RouteLocationNormalizedLoadedTypedList<RouteMap>[keyof RouteMap]>;

}
interface RouterLinkProps<RouteMap extends _RouteMapGeneric> extends Omit<RouterLinkProps$1, 'to'> {

@@ -78,0 +82,0 @@ to: RouteLocationAsString<RouteMap> | RouteLocationAsRelativeTypedList<RouteMap>[keyof RouteMap] | RouteLocationAsPathTypedList<RouteMap>[keyof RouteMap];

@@ -1,2 +0,2 @@

import { Options } from './types.js';
import { Options } from './options.js';

@@ -3,0 +3,0 @@ declare function export_default(this: any, options: Options): void;

import * as unplugin from 'unplugin';
import { Options } from './types.js';
import { Options } from './options.js';

@@ -4,0 +4,0 @@ declare const _default: (options?: Options | undefined) => unplugin.RollupPlugin;

import * as unplugin from 'unplugin';
import { Options } from './types.js';
import { Options } from './options.js';

@@ -4,0 +4,0 @@ declare const _default: (options?: Options | undefined) => unplugin.VitePlugin;

import * as webpack from 'webpack';
import { Options } from './types.js';
import { Options } from './options.js';

@@ -4,0 +4,0 @@ declare const _default: (options?: Options | undefined) => webpack.WebpackPluginInstance;

{
"name": "unplugin-vue-router",
"version": "0.0.1",
"version": "0.0.2",
"packageManager": "pnpm@7.1.7",

@@ -5,0 +5,0 @@ "description": "Register global imports on demand for Vite and Webpack",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc