@poe-platform/safe-js 0.1.116 → 0.1.117
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-VDFW3EKS.js → chunk-L7PHF62H.js} +22 -9
- package/dist/safe-js/chunks/{chunk-VDFW3EKS.js.map → chunk-L7PHF62H.js.map} +2 -2
- package/dist/safe-js/chunks/{chunk-3R3FX4C5.js → chunk-WXZUZEV2.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-3R3FX4C5.js.map → chunk-WXZUZEV2.js.map} +0 -0
|
@@ -24935,14 +24935,27 @@ function getStringMember(value, property, budget) {
|
|
|
24935
24935
|
name: `String#${property}`,
|
|
24936
24936
|
...property === "localeCompare" ? { length: 1 } : {},
|
|
24937
24937
|
...property === "isWellFormed" || property === "toWellFormed" ? { length: 0 } : {},
|
|
24938
|
-
call: (args, context) =>
|
|
24939
|
-
|
|
24940
|
-
|
|
24941
|
-
|
|
24942
|
-
|
|
24943
|
-
|
|
24944
|
-
|
|
24945
|
-
|
|
24938
|
+
call: async (args, context) => {
|
|
24939
|
+
const receiver = context?.thisValue;
|
|
24940
|
+
if (receiver === null || receiver === void 0) {
|
|
24941
|
+
throw new TypeError(`String#${property} requires a non-null receiver.`);
|
|
24942
|
+
}
|
|
24943
|
+
const retainedReceiver = {};
|
|
24944
|
+
budget.setRetainedValues(retainedReceiver, () => [receiver]);
|
|
24945
|
+
try {
|
|
24946
|
+
const string = await sandboxString(receiver, budget, context);
|
|
24947
|
+
return await callStringMethod(
|
|
24948
|
+
string,
|
|
24949
|
+
property,
|
|
24950
|
+
args,
|
|
24951
|
+
budget,
|
|
24952
|
+
(closure, closureArgs) => invokeBuiltinClosure(closure, closureArgs, budget, context, void 0),
|
|
24953
|
+
context?.compilation
|
|
24954
|
+
);
|
|
24955
|
+
} finally {
|
|
24956
|
+
budget.setRetainedValues(retainedReceiver, void 0);
|
|
24957
|
+
}
|
|
24958
|
+
}
|
|
24946
24959
|
});
|
|
24947
24960
|
}
|
|
24948
24961
|
function getStringIndex(property) {
|
|
@@ -33283,4 +33296,4 @@ export {
|
|
|
33283
33296
|
FileSnapshotBackend,
|
|
33284
33297
|
run
|
|
33285
33298
|
};
|
|
33286
|
-
//# sourceMappingURL=chunk-
|
|
33299
|
+
//# sourceMappingURL=chunk-L7PHF62H.js.map
|