@poe-platform/safe-js 0.1.417 → 0.1.418

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.
@@ -22,7 +22,7 @@ import {
22
22
  resolveFsConfig,
23
23
  splitFrontmatter,
24
24
  withBrokenPipeGuard
25
- } from "./chunks/chunk-WX23Y7DF.js";
25
+ } from "./chunks/chunk-5W7GMU34.js";
26
26
  import {
27
27
  Budget,
28
28
  SandboxError,
@@ -34,7 +34,7 @@ import {
34
34
  replaceErrorStack,
35
35
  restore,
36
36
  run
37
- } from "./chunks/chunk-J2YIA5RE.js";
37
+ } from "./chunks/chunk-VL4HQ4WF.js";
38
38
  import "./chunks/chunk-4YIDX44G.js";
39
39
 
40
40
  // packages/safe-js/src/cli.ts
@@ -5,7 +5,7 @@ import {
5
5
  defineExtension,
6
6
  lint,
7
7
  run
8
- } from "./chunks/chunk-J2YIA5RE.js";
8
+ } from "./chunks/chunk-VL4HQ4WF.js";
9
9
  import "./chunks/chunk-4YIDX44G.js";
10
10
  export {
11
11
  Budget,
@@ -7,9 +7,9 @@ export type ErrorSourcePosition = {
7
7
  column: number;
8
8
  offset: number;
9
9
  };
10
- export declare const sandboxErrorNames: readonly ["Error", "TypeError", "RangeError", "ReferenceError", "SyntaxError", "URIError", "EvalError", "AbortError", "AggregateError", "HarnessFailure"];
10
+ export declare const sandboxErrorNames: readonly ["Error", "TypeError", "RangeError", "ReferenceError", "SyntaxError", "URIError", "EvalError", "AbortError", "AggregateError", "SuppressedError", "HarnessFailure"];
11
11
  export type SandboxErrorName = (typeof sandboxErrorNames)[number];
12
- export declare const sandboxErrorTypes: WeakMap<object, "Error" | "TypeError" | "RangeError" | "ReferenceError" | "SyntaxError" | "URIError" | "EvalError" | "AbortError" | "AggregateError" | "HarnessFailure">;
12
+ export declare const sandboxErrorTypes: WeakMap<object, "Error" | "TypeError" | "RangeError" | "ReferenceError" | "SyntaxError" | "URIError" | "EvalError" | "AbortError" | "AggregateError" | "SuppressedError" | "HarnessFailure">;
13
13
  export declare const hostErrorData: WeakMap<Error, Record<string, unknown>>;
14
14
  export declare function formatErrorStack(name: string, message: string, stackFrames?: readonly string[]): string;
15
15
  export declare function replaceErrorStack(error: {
@@ -26,7 +26,7 @@ import {
26
26
  runWithSpawnUsageAccumulator,
27
27
  splitFrontmatter,
28
28
  supportsSpawnMode
29
- } from "./chunks/chunk-WX23Y7DF.js";
29
+ } from "./chunks/chunk-5W7GMU34.js";
30
30
  import {
31
31
  Budget,
32
32
  FileSnapshotBackend,
@@ -50,7 +50,7 @@ import {
50
50
  registerPendingHostCallPolicy,
51
51
  restore,
52
52
  run
53
- } from "./chunks/chunk-J2YIA5RE.js";
53
+ } from "./chunks/chunk-VL4HQ4WF.js";
54
54
  import "./chunks/chunk-4YIDX44G.js";
55
55
 
56
56
  // packages/safe-js/src/parse.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@poe-platform/safe-js",
3
- "version": "0.1.417",
3
+ "version": "0.1.418",
4
4
  "description": "Budgeted JavaScript interpreter with explicit host capabilities and resumable execution",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -58,7 +58,7 @@
58
58
  "access": "public"
59
59
  },
60
60
  "dependencies": {
61
- "@poe-platform/safe-fs": "0.1.417",
61
+ "@poe-platform/safe-fs": "0.1.418",
62
62
  "@petamoriken/float16": "^3.9.3",
63
63
  "yaml": "^2.8.2",
64
64
  "jose": "^6.1.3",