wevu 6.15.7 → 6.15.10

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.
@@ -0,0 +1,3 @@
1
+ import { installRequestGlobals, installWebRuntimeGlobals } from "@wevu/web-apis";
2
+ export * from "@wevu/web-apis";
3
+ export { installRequestGlobals, installWebRuntimeGlobals };
@@ -0,0 +1,3 @@
1
+ import { installRequestGlobals, installWebRuntimeGlobals } from "@wevu/web-apis";
2
+ export * from "@wevu/web-apis";
3
+ export { installRequestGlobals, installWebRuntimeGlobals };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "wevu",
3
3
  "type": "module",
4
- "version": "6.15.7",
4
+ "version": "6.15.10",
5
5
  "description": "Vue 3 风格的小程序运行时,包含响应式、diff+setData 与轻量状态管理",
6
6
  "author": "ice breaker <1324318532@qq.com>",
7
7
  "license": "MIT",
@@ -69,6 +69,13 @@
69
69
  "default": "./dist/fetch.mjs"
70
70
  }
71
71
  },
72
+ "./web-apis": {
73
+ "types": "./dist/web-apis.d.mts",
74
+ "import": {
75
+ "types": "./dist/web-apis.d.mts",
76
+ "default": "./dist/web-apis.mjs"
77
+ }
78
+ },
72
79
  "./router": {
73
80
  "types": "./dist/router.d.mts",
74
81
  "import": {
@@ -104,8 +111,9 @@
104
111
  "vue": "^3.5.32",
105
112
  "@weapp-core/constants": "^0.1.1",
106
113
  "@weapp-core/shared": "3.0.4",
107
- "@wevu/api": "0.2.4",
108
- "@wevu/compiler": "6.15.7"
114
+ "@wevu/api": "0.2.5",
115
+ "@wevu/compiler": "6.15.10",
116
+ "@wevu/web-apis": "1.2.9"
109
117
  },
110
118
  "scripts": {
111
119
  "dev": "tsdown -w",
@@ -1,39 +0,0 @@
1
- //#region \0@oxc-project+runtime@0.124.0/helpers/typeof.js
2
- function _typeof(o) {
3
- "@babel/helpers - typeof";
4
- return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o) {
5
- return typeof o;
6
- } : function(o) {
7
- return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
8
- }, _typeof(o);
9
- }
10
- //#endregion
11
- //#region \0@oxc-project+runtime@0.124.0/helpers/toPrimitive.js
12
- function toPrimitive(t, r) {
13
- if ("object" != _typeof(t) || !t) return t;
14
- var e = t[Symbol.toPrimitive];
15
- if (void 0 !== e) {
16
- var i = e.call(t, r || "default");
17
- if ("object" != _typeof(i)) return i;
18
- throw new TypeError("@@toPrimitive must return a primitive value.");
19
- }
20
- return ("string" === r ? String : Number)(t);
21
- }
22
- //#endregion
23
- //#region \0@oxc-project+runtime@0.124.0/helpers/toPropertyKey.js
24
- function toPropertyKey(t) {
25
- var i = toPrimitive(t, "string");
26
- return "symbol" == _typeof(i) ? i : i + "";
27
- }
28
- //#endregion
29
- //#region \0@oxc-project+runtime@0.124.0/helpers/defineProperty.js
30
- function _defineProperty(e, r, t) {
31
- return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
32
- value: t,
33
- enumerable: !0,
34
- configurable: !0,
35
- writable: !0
36
- }) : e[r] = t, e;
37
- }
38
- //#endregion
39
- export { _defineProperty as t };