@poe-platform/safe-js 0.1.220 → 0.1.221

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.
@@ -16637,13 +16637,13 @@ async function evaluateTemplateLiteral(node, context) {
16637
16637
  }
16638
16638
  async function evaluateTaggedTemplateExpression(node, context) {
16639
16639
  const invokeTag = async (tag2, receiver) => {
16640
- if (!isSandboxClosure(tag2)) throw new TypeError("Tagged template tag must be a function.");
16641
16640
  const call = createCallContinuation(node, tag2, context, receiver);
16642
16641
  context = call.context;
16643
16642
  const release = retainValues(context.budget, () => [tag2, receiver]);
16644
16643
  try {
16645
16644
  const values = await evaluateCallArguments(node.quasi.expressions, context, call.state);
16646
16645
  if (!values.ok) return values.result;
16646
+ if (!isSandboxClosure(tag2)) throw new TypeError("Tagged template tag must be a function.");
16647
16647
  return {
16648
16648
  kind: "normal",
16649
16649
  hasValue: true,
@@ -38762,4 +38762,4 @@ export {
38762
38762
  FileSnapshotBackend,
38763
38763
  run
38764
38764
  };
38765
- //# sourceMappingURL=chunk-AYL6LSPV.js.map
38765
+ //# sourceMappingURL=chunk-7DK7CIUK.js.map