@poe-platform/safe-js 0.1.421 → 0.1.422
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/safe-js/chunks/{chunk-NNBQXEW4.js → chunk-376NWSXZ.js} +18 -1
- package/dist/safe-js/chunks/{chunk-NNBQXEW4.js.map → chunk-376NWSXZ.js.map} +2 -2
- package/dist/safe-js/chunks/{chunk-VRRAQ6G5.js → chunk-BEKCUZXK.js} +2 -2
- package/dist/safe-js/cli.js +2 -2
- package/dist/safe-js/core.js +1 -1
- package/dist/safe-js/index.js +2 -2
- package/package.json +2 -2
- /package/dist/safe-js/chunks/{chunk-VRRAQ6G5.js.map → chunk-BEKCUZXK.js.map} +0 -0
|
@@ -23042,6 +23042,23 @@ function createIteratorGlobal(budget) {
|
|
|
23042
23042
|
Object.defineProperty(prototype, "constructor", { get: accessorAdapter(getter, "get"), set: accessorAdapter(setter, "set"), configurable: true });
|
|
23043
23043
|
registerIntrinsicFunction(budget, getter);
|
|
23044
23044
|
registerIntrinsicFunction(budget, setter);
|
|
23045
|
+
const dispose = createSandboxClosure({
|
|
23046
|
+
guest: true,
|
|
23047
|
+
sandbox: true,
|
|
23048
|
+
name: "[Symbol.dispose]",
|
|
23049
|
+
length: 0,
|
|
23050
|
+
call: async (_args, context) => {
|
|
23051
|
+
const receiver = context?.thisValue;
|
|
23052
|
+
if (receiver === null || receiver === void 0) throw new TypeError("Cannot read return from a nullish receiver.");
|
|
23053
|
+
const method = context?.getProperty !== void 0 ? await context.getProperty(receiver, "return") : await readPropertyDescriptor(getSandboxPropertyDescriptor(receiver, "return", budget) ?? { value: void 0 }, receiver, context);
|
|
23054
|
+
if (method === void 0 || method === null) return void 0;
|
|
23055
|
+
if (!isSandboxClosure(method)) throw new TypeError("Iterator return must be callable.");
|
|
23056
|
+
await invokeBuiltinClosure(method, [], budget, context, receiver);
|
|
23057
|
+
return void 0;
|
|
23058
|
+
}
|
|
23059
|
+
});
|
|
23060
|
+
Object.defineProperty(prototype, wellKnownSymbols.dispose, { value: dispose, writable: true, configurable: true });
|
|
23061
|
+
registerIntrinsicFunction(budget, dispose);
|
|
23045
23062
|
installIteratorFrom(constructor, budget);
|
|
23046
23063
|
installIteratorConsumers(prototype, budget);
|
|
23047
23064
|
installLazyIteratorHelpers(prototype, budget);
|
|
@@ -46145,4 +46162,4 @@ export {
|
|
|
46145
46162
|
FileSnapshotBackend,
|
|
46146
46163
|
run
|
|
46147
46164
|
};
|
|
46148
|
-
//# sourceMappingURL=chunk-
|
|
46165
|
+
//# sourceMappingURL=chunk-376NWSXZ.js.map
|