@poe-platform/safe-js 0.1.371 → 0.1.373
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-J5WI6EGF.js → chunk-CFRO3VRS.js} +2 -2
- package/dist/safe-js/chunks/{chunk-SDKXAZOP.js → chunk-SCIKHRZS.js} +4635 -4615
- package/dist/safe-js/chunks/chunk-SCIKHRZS.js.map +7 -0
- 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/dist/safe-js/interp/typed-array-constructors.d.ts +15 -0
- package/dist/safe-js/interp/typed-array.d.ts +2 -13
- package/package.json +2 -2
- package/dist/safe-js/chunks/chunk-SDKXAZOP.js.map +0 -7
- /package/dist/safe-js/chunks/{chunk-J5WI6EGF.js.map → chunk-CFRO3VRS.js.map} +0 -0
package/dist/safe-js/cli.js
CHANGED
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
resolveFsConfig,
|
|
23
23
|
splitFrontmatter,
|
|
24
24
|
withBrokenPipeGuard
|
|
25
|
-
} from "./chunks/chunk-
|
|
25
|
+
} from "./chunks/chunk-CFRO3VRS.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-
|
|
37
|
+
} from "./chunks/chunk-SCIKHRZS.js";
|
|
38
38
|
import "./chunks/chunk-4YIDX44G.js";
|
|
39
39
|
|
|
40
40
|
// packages/safe-js/src/cli.ts
|
package/dist/safe-js/core.js
CHANGED
package/dist/safe-js/index.js
CHANGED
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
runWithSpawnUsageAccumulator,
|
|
27
27
|
splitFrontmatter,
|
|
28
28
|
supportsSpawnMode
|
|
29
|
-
} from "./chunks/chunk-
|
|
29
|
+
} from "./chunks/chunk-CFRO3VRS.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-
|
|
53
|
+
} from "./chunks/chunk-SCIKHRZS.js";
|
|
54
54
|
import "./chunks/chunk-4YIDX44G.js";
|
|
55
55
|
|
|
56
56
|
// packages/safe-js/src/parse.ts
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export declare const numericTypedArrayConstructors: {
|
|
2
|
+
Float32Array: Float32ArrayConstructor;
|
|
3
|
+
Uint8Array: Uint8ArrayConstructor;
|
|
4
|
+
Int8Array: Int8ArrayConstructor;
|
|
5
|
+
Uint8ClampedArray: Uint8ClampedArrayConstructor;
|
|
6
|
+
Int16Array: Int16ArrayConstructor;
|
|
7
|
+
Uint16Array: Uint16ArrayConstructor;
|
|
8
|
+
Int32Array: Int32ArrayConstructor;
|
|
9
|
+
Uint32Array: Uint32ArrayConstructor;
|
|
10
|
+
Float64Array: Float64ArrayConstructor;
|
|
11
|
+
BigInt64Array: BigInt64ArrayConstructor;
|
|
12
|
+
BigUint64Array: BigUint64ArrayConstructor;
|
|
13
|
+
};
|
|
14
|
+
export type NumericTypedArrayConstructor = typeof numericTypedArrayConstructors[keyof typeof numericTypedArrayConstructors];
|
|
15
|
+
export type NumericTypedArray = InstanceType<NumericTypedArrayConstructor>;
|
|
@@ -1,17 +1,6 @@
|
|
|
1
1
|
import type { Budget } from "./budget.js";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
Uint8Array: Uint8ArrayConstructor;
|
|
5
|
-
Int8Array: Int8ArrayConstructor;
|
|
6
|
-
Uint8ClampedArray: Uint8ClampedArrayConstructor;
|
|
7
|
-
Int16Array: Int16ArrayConstructor;
|
|
8
|
-
Uint16Array: Uint16ArrayConstructor;
|
|
9
|
-
Int32Array: Int32ArrayConstructor;
|
|
10
|
-
Uint32Array: Uint32ArrayConstructor;
|
|
11
|
-
Float64Array: Float64ArrayConstructor;
|
|
12
|
-
};
|
|
13
|
-
export type NumericTypedArrayConstructor = typeof numericTypedArrayConstructors[keyof typeof numericTypedArrayConstructors];
|
|
14
|
-
export type NumericTypedArray = InstanceType<NumericTypedArrayConstructor>;
|
|
2
|
+
import { type NumericTypedArrayConstructor, type NumericTypedArray } from "./typed-array-constructors.js";
|
|
3
|
+
export { numericTypedArrayConstructors, type NumericTypedArrayConstructor, type NumericTypedArray } from "./typed-array-constructors.js";
|
|
15
4
|
export declare const typedArrayViewLayouts: WeakMap<NumericTypedArray, {
|
|
16
5
|
byteOffset: number;
|
|
17
6
|
length?: number;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@poe-platform/safe-js",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.373",
|
|
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.
|
|
61
|
+
"@poe-platform/safe-fs": "0.1.373",
|
|
62
62
|
"yaml": "^2.8.2",
|
|
63
63
|
"jose": "^6.1.3",
|
|
64
64
|
"@types/node": "^25.2.2"
|