Socket
Socket
Sign inDemoInstall

uniapp-router-next

Package Overview
Dependencies
0
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.2.0 to 1.2.1

17

js_sdk/index.d.ts

@@ -214,4 +214,2 @@ import type { App } from 'vue';

declare type PageHook = (args: Array<any>, next: (args: Array<any>) => void, router: Router) => void;
export declare function parseQuery(search: string): LocationQuery;

@@ -224,18 +222,6 @@

*/
export declare type PlatformType = 'h5' | 'mp-weixin' | 'mp-alipay' | 'app-plus' | 'mp-baidu' | 'mp-qq' | 'mp-toutiao' | 'mp-lark' | 'mp-kuaishou' | 'mp-jd';
export declare type PlatformType = 'h5' | 'mp-weixin' | 'mp-alipay' | 'app' | 'mp-baidu' | 'mp-qq' | 'mp-toutiao' | 'mp-lark' | 'mp-kuaishou' | 'mp-jd';
export declare const PLUS_RE: RegExp;
declare interface ProxyHooksConfig {
onLaunch?: PageHook;
onShow?: PageHook;
onHide?: PageHook;
onError?: PageHook;
onInit?: PageHook;
onLoad?: PageHook;
onReady?: PageHook;
onUnload?: PageHook;
onResize?: PageHook;
}
export declare function resolveRelativePath(to: string, from: string): string;

@@ -349,3 +335,2 @@

routeMatcher: RouteMatcher;
readonly proxyHooksConfig?: ProxyHooksConfig;
resolve(rawLocation: RouteLocationRaw, navType?: NavigationType): RouteLocation | undefined;

@@ -352,0 +337,0 @@ navigateTo(to: RouteLocationRaw): Promise<NavigationReturn>;

2

package.json
{
"name": "uniapp-router-next",
"version": "1.2.0",
"version": "1.2.1",
"description": "",

@@ -5,0 +5,0 @@ "exports": {

# uniapp-router-next
> 一个类似于vue-router的路由器,用于uniapp,目前支持h5和微信小程序,只适用与vue3
> 一个类似于vue-router的路由器,用于uniapp(vue3),支持h5和微信小程序和app,其他小程序请自测

@@ -129,3 +129,3 @@ ## 安装

#### App.vue 模板替换
#### App.vue 模板替换(nvue不支持)

@@ -132,0 +132,0 @@ - 开启该功能 (unplugin-uni-router需更新到1.2.0版本以上)

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

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