You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@intlify/vue-router-bridge

Package Overview
Dependencies
Maintainers
2
Versions
88
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@intlify/vue-router-bridge - npm Package Compare versions

Comparing version

to
0.3.3-1ecc7b2

15

lib/index.d.ts

@@ -92,3 +92,3 @@ /* eslint-disable @typescript-eslint/no-explicit-any */

}
declare type RoutePropsFunction = (route: Route) => Record<string, anu>
declare type RoutePropsFunction = (route: Route) => Record<string, any>
declare interface _RouteConfigBase {

@@ -107,3 +107,3 @@ path: string

component?: Component
props?: boolean | Rect | RoutePropsFunction
props?: boolean | Record<string, any> | RoutePropsFunction
}

@@ -148,2 +148,9 @@ declare interface RouteConfigMultipleViews extends _RouteConfigBase {

/**
* Define dummy vue-router 3 class
*/
declare class VueRouter3 {
constructor(options?: RouterOptions)
}
// export vue-router@4 typings

@@ -167,5 +174,5 @@ export * from 'vue-router'

// export dummy VueRouter class
export default VueRouter
// Export dummy VueRouter class
export default VueRouter3
/* eslint-enable @typescript-eslint/no-explicit-any */

@@ -92,3 +92,3 @@ /* eslint-disable @typescript-eslint/no-explicit-any */

}
declare type RoutePropsFunction = (route: Route) => Record<string, anu>
declare type RoutePropsFunction = (route: Route) => Record<string, any>
declare interface _RouteConfigBase {

@@ -107,3 +107,3 @@ path: string

component?: Component
props?: boolean | Rect | RoutePropsFunction
props?: boolean | Record<string, any> | RoutePropsFunction
}

@@ -148,2 +148,9 @@ declare interface RouteConfigMultipleViews extends _RouteConfigBase {

/**
* Define dummy vue-router 3 class
*/
declare class VueRouter3 {
constructor(options?: RouterOptions)
}
// export vue-router@4 typings

@@ -167,5 +174,5 @@ export * from 'vue-router'

// export dummy VueRouter class
export default VueRouter
// Export dummy VueRouter class
export default VueRouter3
/* eslint-enable @typescript-eslint/no-explicit-any */
{
"name": "@intlify/vue-router-bridge",
"version": "0.3.2",
"version": "0.3.3-1ecc7b2",
"description": "Vue Router bridging for Vue 2 & Vue 3",
"scripts": {
"postinstall": "node ./scripts/postinstall.js"
},
"peerDependencies": {

@@ -67,3 +64,6 @@ "@vue/composition-api": "^1.0.0-rc.1",

"access": "public"
},
"scripts": {
"postinstall": "node ./scripts/postinstall.js"
}
}
}