Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@dcloudio/uni-app

Package Overview
Dependencies
Maintainers
8
Versions
791
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dcloudio/uni-app - npm Package Compare versions

Comparing version 3.0.0-alpha-3021020211012005 to 3.0.0-alpha-3021020211025001

6

dist/uni-app.cjs.js

@@ -21,2 +21,4 @@ 'use strict';

const ON_UNHANDLE_REJECTION = 'onUnhandledRejection';
//Page
const ON_LOAD = 'onLoad';
const ON_READY = 'onReady';

@@ -122,3 +124,4 @@ const ON_UNLOAD = 'onUnload';

const onUnhandledRejection = /*#__PURE__*/ createHook(ON_UNHANDLE_REJECTION);
// 小程序如果想在 setup 的 props 传递页面参数,需要定义 props,故同时暴露 onLoad 吧
const onLoad = /*#__PURE__*/ createHook(ON_LOAD);
const onReady = /*#__PURE__*/ createHook(ON_READY);

@@ -147,2 +150,3 @@ const onUnload = /*#__PURE__*/ createHook(ON_UNLOAD);

exports.onLaunch = onLaunch;
exports.onLoad = onLoad;
exports.onNavigationBarButtonTap = onNavigationBarButtonTap;

@@ -149,0 +153,0 @@ exports.onNavigationBarSearchInputChanged = onNavigationBarSearchInputChanged;

@@ -17,2 +17,4 @@ import { ComponentInternalInstance } from 'vue';

export declare const onLoad: (hook: () => any, target?: ComponentInternalInstance | null) => any;
export declare const onNavigationBarButtonTap: (hook: () => any, target?: ComponentInternalInstance | null) => any;

@@ -19,0 +21,0 @@

7

dist/uni-app.es.js

@@ -18,2 +18,4 @@ import { shallowRef, ref, getCurrentInstance, isInSSRComponentSetup, injectHook } from 'vue';

const ON_UNHANDLE_REJECTION = 'onUnhandledRejection';
//Page
const ON_LOAD = 'onLoad';
const ON_READY = 'onReady';

@@ -91,3 +93,4 @@ const ON_UNLOAD = 'onUnload';

const onUnhandledRejection = /*#__PURE__*/ createHook(ON_UNHANDLE_REJECTION);
// 小程序如果想在 setup 的 props 传递页面参数,需要定义 props,故同时暴露 onLoad 吧
const onLoad = /*#__PURE__*/ createHook(ON_LOAD);
const onReady = /*#__PURE__*/ createHook(ON_READY);

@@ -110,2 +113,2 @@ const onUnload = /*#__PURE__*/ createHook(ON_UNLOAD);

export { getSsrGlobalData, onAddToFavorites, onBackPress, onError, onHide, onLaunch, onNavigationBarButtonTap, onNavigationBarSearchInputChanged, onNavigationBarSearchInputClicked, onNavigationBarSearchInputConfirmed, onNavigationBarSearchInputFocusChanged, onPageNotFound, onPageScroll, onPullDownRefresh, onReachBottom, onReady, onResize, onShareAppMessage, onShareTimeline, onShow, onTabItemTap, onThemeChange, onUnhandledRejection, onUnload, resolveEasycom, shallowSsrRef, ssrRef };
export { getSsrGlobalData, onAddToFavorites, onBackPress, onError, onHide, onLaunch, onLoad, onNavigationBarButtonTap, onNavigationBarSearchInputChanged, onNavigationBarSearchInputClicked, onNavigationBarSearchInputConfirmed, onNavigationBarSearchInputFocusChanged, onPageNotFound, onPageScroll, onPullDownRefresh, onReachBottom, onReady, onResize, onShareAppMessage, onShareTimeline, onShow, onTabItemTap, onThemeChange, onUnhandledRejection, onUnload, resolveEasycom, shallowSsrRef, ssrRef };
{
"name": "@dcloudio/uni-app",
"version": "3.0.0-alpha-3021020211012005",
"version": "3.0.0-alpha-3021020211025001",
"description": "@dcloudio/uni-app",

@@ -21,3 +21,3 @@ "main": "./dist/uni-app.cjs.js",

},
"gitHead": "b68ad612a4426795673cd892f5f4a6af6bf16f20"
"gitHead": "82942fec16ba25d46f0f42675bab4a2ccdc53bda"
}
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