wevu 6.11.6 → 6.11.7

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.
@@ -1,4 +1,4 @@
1
- //#region \0@oxc-project+runtime@0.122.0/helpers/typeof.js
1
+ //#region \0@oxc-project+runtime@0.121.0/helpers/typeof.js
2
2
  function _typeof(o) {
3
3
  "@babel/helpers - typeof";
4
4
  return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o) {
@@ -8,7 +8,7 @@ function _typeof(o) {
8
8
  }, _typeof(o);
9
9
  }
10
10
  //#endregion
11
- //#region \0@oxc-project+runtime@0.122.0/helpers/toPrimitive.js
11
+ //#region \0@oxc-project+runtime@0.121.0/helpers/toPrimitive.js
12
12
  function toPrimitive(t, r) {
13
13
  if ("object" != _typeof(t) || !t) return t;
14
14
  var e = t[Symbol.toPrimitive];
@@ -20,13 +20,13 @@ function toPrimitive(t, r) {
20
20
  return ("string" === r ? String : Number)(t);
21
21
  }
22
22
  //#endregion
23
- //#region \0@oxc-project+runtime@0.122.0/helpers/toPropertyKey.js
23
+ //#region \0@oxc-project+runtime@0.121.0/helpers/toPropertyKey.js
24
24
  function toPropertyKey(t) {
25
25
  var i = toPrimitive(t, "string");
26
26
  return "symbol" == _typeof(i) ? i : i + "";
27
27
  }
28
28
  //#endregion
29
- //#region \0@oxc-project+runtime@0.122.0/helpers/defineProperty.js
29
+ //#region \0@oxc-project+runtime@0.121.0/helpers/defineProperty.js
30
30
  function _defineProperty(e, r, t) {
31
31
  return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
32
32
  value: t,
package/dist/fetch.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { t as _defineProperty } from "./defineProperty-CbyrzcbA.mjs";
1
+ import { t as _defineProperty } from "./defineProperty-BZYESRfZ.mjs";
2
2
  import { wpi } from "@wevu/api";
3
3
  //#region src/fetch.ts
4
4
  let _Symbol$iterator, _Symbol$toStringTag;
package/dist/index.mjs CHANGED
@@ -1,6 +1,6 @@
1
- import { A as track, C as effect, D as onScopeDispose, E as getCurrentScope, M as triggerEffects, N as nextTick, O as startBatch, P as queueJob, S as batch, T as endBatch, _ as ReactiveFlags, a as toValue, b as addMutationRecorder, c as isRaw, d as reactive, f as isShallowReactive, g as touchReactive, h as prelinkReactiveTree, i as ref, j as trigger, k as stop, l as isReactive, m as clearPatchIndices, n as isRef, o as unref, p as shallowReactive, r as markAsRef, s as getReactiveVersion, t as customRef, u as markRaw, v as isObject$1, w as effectScope, x as removeMutationRecorder, y as toRaw } from "./ref-dcoErj--.mjs";
2
- import { i as computed, n as defineStore, r as createStore, t as storeToRefs } from "./store-9E-bMfXJ.mjs";
3
- import { A as onUnhandledRejection, B as getMiniProgramGlobalObject, C as onRouteDone, D as onShow, E as onShareTimeline, F as getCurrentInstance, H as readonly, I as getCurrentSetupContext, L as pushHook, M as assertInSetup, N as callHookList, O as onTabItemTap, P as callHookReturn, R as setCurrentInstance, S as onResize, T as onShareAppMessage, U as shallowReadonly, V as getScopedSlotHostGlobalObject, _ as onPageNotFound, a as injectGlobal, b as onReachBottom, c as onAddToFavorites, d as onError, f as onHide, g as onMoved, h as onMemoryWarning, i as inject, j as onUnload, k as onThemeChange, l as onAttached, m as onLoad, n as useNativeRouter, o as provide, p as onLaunch, r as hasInjectionContext, s as provideGlobal, t as useNativePageRouter, u as onDetached, v as onPageScroll, w as onSaveExitState, x as onReady, y as onPullDownRefresh, z as setCurrentSetupContext } from "./router-BryV82qU.mjs";
1
+ import { A as track, C as effect, D as onScopeDispose, E as getCurrentScope, M as triggerEffects, N as nextTick, O as startBatch, P as queueJob, S as batch, T as endBatch, _ as ReactiveFlags, a as toValue, b as addMutationRecorder, c as isRaw, d as reactive, f as isShallowReactive, g as touchReactive, h as prelinkReactiveTree, i as ref, j as trigger, k as stop, l as isReactive, m as clearPatchIndices, n as isRef, o as unref, p as shallowReactive, r as markAsRef, s as getReactiveVersion, t as customRef, u as markRaw, v as isObject$1, w as effectScope, x as removeMutationRecorder, y as toRaw } from "./ref-B37H82Eg.mjs";
2
+ import { i as computed, n as defineStore, r as createStore, t as storeToRefs } from "./store-DDjlcddD.mjs";
3
+ import { A as onUnhandledRejection, B as getMiniProgramGlobalObject, C as onRouteDone, D as onShow, E as onShareTimeline, F as getCurrentInstance, H as readonly, I as getCurrentSetupContext, L as pushHook, M as assertInSetup, N as callHookList, O as onTabItemTap, P as callHookReturn, R as setCurrentInstance, S as onResize, T as onShareAppMessage, U as shallowReadonly, V as getScopedSlotHostGlobalObject, _ as onPageNotFound, a as injectGlobal, b as onReachBottom, c as onAddToFavorites, d as onError, f as onHide, g as onMoved, h as onMemoryWarning, i as inject, j as onUnload, k as onThemeChange, l as onAttached, m as onLoad, n as useNativeRouter, o as provide, p as onLaunch, r as hasInjectionContext, s as provideGlobal, t as useNativePageRouter, u as onDetached, v as onPageScroll, w as onSaveExitState, x as onReady, y as onPullDownRefresh, z as setCurrentSetupContext } from "./router-DHeyqsP-.mjs";
4
4
  //#region src/reactivity/shallowRef.ts
5
5
  /**
6
6
  * 创建一个“浅层” ref:它只在 .value 被整体替换时触发依赖,不会对内部对象做深层响应式处理。
@@ -1,4 +1,4 @@
1
- import { t as _defineProperty } from "./defineProperty-CbyrzcbA.mjs";
1
+ import { t as _defineProperty } from "./defineProperty-BZYESRfZ.mjs";
2
2
  //#region src/scheduler.ts
3
3
  const resolvedPromise = Promise.resolve();
4
4
  const jobQueue = /* @__PURE__ */ new Set();
@@ -1,4 +1,4 @@
1
- import { n as isRef, r as markAsRef, v as isObject } from "./ref-dcoErj--.mjs";
1
+ import { n as isRef, r as markAsRef, v as isObject } from "./ref-B37H82Eg.mjs";
2
2
  //#region src/reactivity/readonly.ts
3
3
  function createReadonlyWrapper(target) {
4
4
  if (isRef(target)) {
package/dist/router.mjs CHANGED
@@ -1,5 +1,5 @@
1
- import { d as reactive } from "./ref-dcoErj--.mjs";
2
- import { C as onRouteDone, D as onShow, H as readonly, I as getCurrentSetupContext, a as injectGlobal, m as onLoad, n as useNativeRouter$1, s as provideGlobal, t as useNativePageRouter$1 } from "./router-BryV82qU.mjs";
1
+ import { d as reactive } from "./ref-B37H82Eg.mjs";
2
+ import { C as onRouteDone, D as onShow, H as readonly, I as getCurrentSetupContext, a as injectGlobal, m as onLoad, n as useNativeRouter$1, s as provideGlobal, t as useNativePageRouter$1 } from "./router-DHeyqsP-.mjs";
3
3
  //#region src/routerInternal/path.ts
4
4
  function normalizePathSegments(path) {
5
5
  const segments = [];
@@ -1,4 +1,4 @@
1
- import { A as track, C as effect, d as reactive, g as touchReactive, j as trigger, l as isReactive, n as isRef, r as markAsRef, y as toRaw } from "./ref-dcoErj--.mjs";
1
+ import { A as track, C as effect, d as reactive, g as touchReactive, j as trigger, l as isReactive, n as isRef, r as markAsRef, y as toRaw } from "./ref-B37H82Eg.mjs";
2
2
  //#region src/reactivity/computed.ts
3
3
  function computed(getterOrOptions) {
4
4
  let getter;
package/dist/store.mjs CHANGED
@@ -1,2 +1,2 @@
1
- import { n as defineStore, r as createStore, t as storeToRefs } from "./store-9E-bMfXJ.mjs";
1
+ import { n as defineStore, r as createStore, t as storeToRefs } from "./store-DDjlcddD.mjs";
2
2
  export { createStore, defineStore, storeToRefs };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "wevu",
3
3
  "type": "module",
4
- "version": "6.11.6",
4
+ "version": "6.11.7",
5
5
  "description": "Vue 3 风格的小程序运行时,包含响应式、diff+setData 与轻量状态管理",
6
6
  "author": "ice breaker <1324318532@qq.com>",
7
7
  "license": "MIT",
@@ -96,7 +96,7 @@
96
96
  "dependencies": {
97
97
  "vue": "^3.5.31",
98
98
  "@wevu/api": "0.2.2",
99
- "@wevu/compiler": "6.11.6"
99
+ "@wevu/compiler": "6.11.7"
100
100
  },
101
101
  "scripts": {
102
102
  "dev": "tsdown -w",