Socket
Socket
Sign inDemoInstall

@intlify/vue-router-bridge

Package Overview
Dependencies
25
Maintainers
2
Versions
88
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.9.0 to 1.0.0-ad7f3ab

27

lib/v4/index.d.ts
/* eslint-disable @typescript-eslint/no-explicit-any */
import type { RouteLocationNormalizedLoaded, Router, RouteRecord, RouteMeta, NavigationGuard } from 'vue-router'
import type { RouteLocationNormalizedLoaded, Router, RouteRecord, RouteMeta, NavigationGuard, RouteLocationRaw, LocationQuery, RouteParams } from 'vue-router'

@@ -17,11 +17,11 @@ /**

afterEach(hook: (to: Route, from: Route) => any): Function
push(location: RawLocation): Promise<Route>
push(location: RawLocation, onComplete?: Function, onAbort?: ErrorHandler): void
replace(location: RawLocation): Promise<Route>
replace(location: RawLocation, onComplete?: Function, onAbort?: ErrorHandler): void
push(location: RouteLocationRaw): Promise<Route>
push(location: RouteLocationRaw, onComplete?: Function, onAbort?: ErrorHandler): void
replace(location: RouteLocationRaw): Promise<Route>
replace(location: RouteLocationRaw, onComplete?: Function, onAbort?: ErrorHandler): void
go(n: number): void
back(): void
forward(): void
match(raw: RawLocation, current?: Route, redirectedFrom?: Location): Route
getMatchedComponents(to?: RawLocation | Route): Component[]
match(raw: RouteLocationRaw, current?: Route, redirectedFrom?: Location): Route
getMatchedComponents(to?: RouteLocationRaw | Route): Component[]
onReady(cb: Function, errorCb?: ErrorHandler): void

@@ -33,3 +33,3 @@ onError(cb: ErrorHandler): void

resolve(
to: RawLocation,
to: RouteLocationRaw,
current?: Route,

@@ -57,3 +57,3 @@ append?: boolean

}
declare type RawLocation = string | Location
declare type RawLocation = RouteLocationRaw
declare interface Route {

@@ -63,4 +63,4 @@ path: string

hash: string
query: Dictionary<string | (string | null)[]>
params: Dictionary<string>
query: LocationQuery
params: RouteParams
fullPath: string

@@ -71,3 +71,3 @@ matched: RouteRecord[]

}
declare type RedirectOption = RawLocation | ((to: Route) => RawLocation)
declare type RedirectOption = RouteLocationRaw | ((to: Route) => RouteLocationRaw)
declare interface PathToRegexpOptions {

@@ -125,3 +125,3 @@ sensitive?: boolean

meta: any
beforeEnter?: (route: Route, redirect: (location: RawLocation) => void, next: () => void) => any
beforeEnter?: (route: Route, redirect: (location: RouteLocationRaw) => void, next: () => void) => any
props:

@@ -170,2 +170,3 @@ | boolean

RawLocation,
RouteLocationRaw,
RedirectOption,

@@ -172,0 +173,0 @@ RouteConfig,

{
"name": "@intlify/vue-router-bridge",
"version": "0.9.0",
"version": "1.0.0-ad7f3ab",
"description": "Vue Router bridging for Vue 2 & Vue 3",
"scripts": {
"postinstall": "node ./scripts/postinstall.js"
},
"dependencies": {

@@ -74,3 +71,6 @@ "vue-demi": "^0.13.5"

"access": "public"
},
"scripts": {
"postinstall": "node ./scripts/postinstall.js"
}
}
}
SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc