@dcloudio/uni-quickapp-webview 3.0.0-alpha-3030820220114009 → 3.0.0-alpha-3030820220114011
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/uni.mp.esm.js +14 -14
- package/package.json +5 -5
package/dist/uni.mp.esm.js
CHANGED
|
@@ -93,6 +93,20 @@ function customizeEvent(str) {
|
|
|
93
93
|
return camelize(str.replace(customizeRE, '-'));
|
|
94
94
|
}
|
|
95
95
|
|
|
96
|
+
function hasLeadingSlash(str) {
|
|
97
|
+
return str.indexOf('/') === 0;
|
|
98
|
+
}
|
|
99
|
+
function addLeadingSlash(str) {
|
|
100
|
+
return hasLeadingSlash(str) ? str : '/' + str;
|
|
101
|
+
}
|
|
102
|
+
const invokeArrayFns = (fns, arg) => {
|
|
103
|
+
let ret;
|
|
104
|
+
for (let i = 0; i < fns.length; i++) {
|
|
105
|
+
ret = fns[i](arg);
|
|
106
|
+
}
|
|
107
|
+
return ret;
|
|
108
|
+
};
|
|
109
|
+
|
|
96
110
|
const encode = encodeURIComponent;
|
|
97
111
|
function stringifyQuery(obj, encodeStr = encode) {
|
|
98
112
|
const res = obj
|
|
@@ -113,20 +127,6 @@ function stringifyQuery(obj, encodeStr = encode) {
|
|
|
113
127
|
return res ? `?${res}` : '';
|
|
114
128
|
}
|
|
115
129
|
|
|
116
|
-
function hasLeadingSlash(str) {
|
|
117
|
-
return str.indexOf('/') === 0;
|
|
118
|
-
}
|
|
119
|
-
function addLeadingSlash(str) {
|
|
120
|
-
return hasLeadingSlash(str) ? str : '/' + str;
|
|
121
|
-
}
|
|
122
|
-
const invokeArrayFns = (fns, arg) => {
|
|
123
|
-
let ret;
|
|
124
|
-
for (let i = 0; i < fns.length; i++) {
|
|
125
|
-
ret = fns[i](arg);
|
|
126
|
-
}
|
|
127
|
-
return ret;
|
|
128
|
-
};
|
|
129
|
-
|
|
130
130
|
class EventChannel {
|
|
131
131
|
constructor(id, events) {
|
|
132
132
|
this.id = id;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dcloudio/uni-quickapp-webview",
|
|
3
|
-
"version": "3.0.0-alpha-
|
|
3
|
+
"version": "3.0.0-alpha-3030820220114011",
|
|
4
4
|
"description": "uni-app quickapp-webview",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"repository": {
|
|
@@ -25,10 +25,10 @@
|
|
|
25
25
|
"@vue/compiler-core": "3.2.30"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@dcloudio/uni-cli-shared": "3.0.0-alpha-
|
|
29
|
-
"@dcloudio/uni-mp-vite": "3.0.0-alpha-
|
|
30
|
-
"@dcloudio/uni-mp-vue": "3.0.0-alpha-
|
|
31
|
-
"@dcloudio/uni-shared": "3.0.0-alpha-
|
|
28
|
+
"@dcloudio/uni-cli-shared": "3.0.0-alpha-3030820220114011",
|
|
29
|
+
"@dcloudio/uni-mp-vite": "3.0.0-alpha-3030820220114011",
|
|
30
|
+
"@dcloudio/uni-mp-vue": "3.0.0-alpha-3030820220114011",
|
|
31
|
+
"@dcloudio/uni-shared": "3.0.0-alpha-3030820220114011",
|
|
32
32
|
"@vue/shared": "3.2.30"
|
|
33
33
|
}
|
|
34
34
|
}
|