@dashspec/renderer 0.0.0-stage → 0.1.0

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.
@@ -0,0 +1,10 @@
1
+ import {
2
+ createSandboxRunner,
3
+ loadQuickJS
4
+ } from "./chunk-M4WXE3FW.js";
5
+ import "./chunk-NLKXHTLO.js";
6
+ export {
7
+ createSandboxRunner,
8
+ loadQuickJS
9
+ };
10
+ //# sourceMappingURL=sandbox-WEMG76LE.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,15 @@
1
+ import { S as ScriptRunner } from './index-CdW6ugMG.js';
2
+
3
+ interface SandboxOptions {
4
+ /** Synchronous budget for one transform or the synchronous part of a callback. Default 1000 ms. */
5
+ syncTimeoutMs?: number;
6
+ /** Budget for one function-prop call (formatters run often). Default 50 ms. */
7
+ fnPropTimeoutMs?: number;
8
+ /** A callback including its awaits. Default 30 s. */
9
+ asyncTimeoutMs?: number;
10
+ /** VM heap. Default 32 MB. */
11
+ memoryBytes?: number;
12
+ }
13
+ declare function createSandboxRunner(opts?: SandboxOptions): Promise<ScriptRunner>;
14
+
15
+ export { type SandboxOptions, createSandboxRunner };
@@ -0,0 +1,8 @@
1
+ import {
2
+ createSandboxRunner
3
+ } from "./chunk-M4WXE3FW.js";
4
+ import "./chunk-NLKXHTLO.js";
5
+ export {
6
+ createSandboxRunner
7
+ };
8
+ //# sourceMappingURL=sandbox.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}