@blueking/bk-weweb 0.0.26-beta.5 → 0.0.26-beta.6
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.
|
@@ -372,6 +372,8 @@ function rewriteWindowFunction(fakeWindow) {
|
|
|
372
372
|
}
|
|
373
373
|
|
|
374
374
|
// src/context/sandbox.ts
|
|
375
|
+
var xxx = /* @__PURE__ */ new Map();
|
|
376
|
+
window.xxxx = xxx;
|
|
375
377
|
var SandBox = class {
|
|
376
378
|
constructor(app) {
|
|
377
379
|
this.app = app;
|
|
@@ -408,6 +410,7 @@ var SandBox = class {
|
|
|
408
410
|
return true;
|
|
409
411
|
},
|
|
410
412
|
get: (target, key) => {
|
|
413
|
+
xxx.set(key, +xxx.get(key) + 1);
|
|
411
414
|
if (key === Symbol.unscopables) return rawWindow[Symbol.unscopables];
|
|
412
415
|
if (windowNativeFuncMap[key]) return rawWindow[key];
|
|
413
416
|
if (DEV_MICRO_APP_WINDOE_KEY_MAP[key]) return this.fakeWindow[key];
|