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
782
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-3000020210618002 to 3.0.0-alpha-3000020210708001

37

dist/uni-app.cjs.js

@@ -8,2 +8,39 @@ 'use strict';

const EVENT_MAP = {
onClick: '.e0',
onChange: '.e1',
onInput: '.e2',
onLoad: '.e3',
onError: '.e4',
onTouchstart: '.e5',
onTouchmove: '.e6',
onTouchcancel: '.e7',
onTouchend: '.e8',
onLongpress: '.e9',
onTransitionend: '.ea',
onAnimationstart: '.eb',
onAnimationiteration: '.ec',
onAnimationend: '.ed',
onTouchforcechange: '.ee',
};
const OPTIONS = [
'Capture',
'CaptureOnce',
'CapturePassive',
'CaptureOncePassive',
'Once',
'OncePassive',
'Passive',
];
/*#__PURE__*/ shared.extend({
class: '.c',
style: '.s',
}, Object.keys(EVENT_MAP).reduce((res, name) => {
const value = EVENT_MAP[name];
res[name] = value;
OPTIONS.forEach((v, i) => {
res[name + v] = value + i;
});
return res;
}, Object.create(null)));
const sanitise = (val) => (val && JSON.parse(JSON.stringify(val))) || val;

@@ -10,0 +47,0 @@ const UNI_SSR = '__uniSSR';

42

dist/uni-app.es.js
import { shallowRef, ref, getCurrentInstance, isInSSRComponentSetup, injectHook } from 'vue';
import { hasOwn, isString } from '@vue/shared';
import { extend, hasOwn, isString } from '@vue/shared';
const EVENT_MAP = {
onClick: '.e0',
onChange: '.e1',
onInput: '.e2',
onLoad: '.e3',
onError: '.e4',
onTouchstart: '.e5',
onTouchmove: '.e6',
onTouchcancel: '.e7',
onTouchend: '.e8',
onLongpress: '.e9',
onTransitionend: '.ea',
onAnimationstart: '.eb',
onAnimationiteration: '.ec',
onAnimationend: '.ed',
onTouchforcechange: '.ee',
};
const OPTIONS = [
'Capture',
'CaptureOnce',
'CapturePassive',
'CaptureOncePassive',
'Once',
'OncePassive',
'Passive',
];
/*#__PURE__*/ extend({
class: '.c',
style: '.s',
}, Object.keys(EVENT_MAP).reduce((res, name) => {
const value = EVENT_MAP[name];
res[name] = value;
OPTIONS.forEach((v, i) => {
res[name + v] = value + i;
});
return res;
}, Object.create(null)));
const sanitise = (val) => (val && JSON.parse(JSON.stringify(val))) || val;

@@ -19,2 +56,5 @@ const UNI_SSR = '__uniSSR';

const valRef = shallow ? shallowRef(value) : ref(value);
if (__PLATFORM__ !== 'h5') {
return valRef;
}
const __uniSSR = window[UNI_SSR];

@@ -21,0 +61,0 @@ if (!__uniSSR) {

4

package.json
{
"name": "@dcloudio/uni-app",
"version": "3.0.0-alpha-3000020210618002",
"version": "3.0.0-alpha-3000020210708001",
"description": "@dcloudio/uni-app",

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

},
"gitHead": "91d7c6f34134dc2f2ec372b68008db6a58234099"
"gitHead": "b151fe7e8364e3492054835f047ce902f39d8bf1"
}
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