sandboxedjs 0.1.51 → 0.1.52
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/agent.d.cts +1 -1
- package/dist/agent.d.ts +1 -1
- package/dist/{container-Dg8NwBc7.d.cts → container-B--ykWn3.d.cts} +57 -1
- package/dist/{container-DBMPLbUu.d.ts → container-BSW6jjlq.d.ts} +57 -1
- package/dist/index.cjs +512 -357
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +513 -358
- package/dist/index.js.map +1 -1
- package/dist/python/python.data +147 -136
- package/dist/python/python.js +1 -1
- package/dist/python/python.wasm +0 -0
- package/dist/python/runtime.json +13 -7
- package/package.json +3 -2
package/dist/python/python.wasm
CHANGED
|
Binary file
|
package/dist/python/runtime.json
CHANGED
|
@@ -1,26 +1,32 @@
|
|
|
1
1
|
{
|
|
2
2
|
"format": "sandboxedjs-python-runtime",
|
|
3
3
|
"schemaVersion": 1,
|
|
4
|
-
"runtimeId": "sbx-cpython-3.13.5-
|
|
4
|
+
"runtimeId": "sbx-cpython-3.13.5-dynamic",
|
|
5
5
|
"engine": "cpython-wasm",
|
|
6
6
|
"pythonVersion": "3.13.5",
|
|
7
|
-
"profile": "
|
|
7
|
+
"profile": "dynamic",
|
|
8
8
|
"hostAbi": {
|
|
9
9
|
"name": "sbx_host_v1",
|
|
10
10
|
"version": 1
|
|
11
11
|
},
|
|
12
|
+
"extensionAbi": {
|
|
13
|
+
"id": "sbxabi1-c2637d04695ad927",
|
|
14
|
+
"wheelTag": "cp313-cp313-emscripten_5_0_6_wasm32",
|
|
15
|
+
"extensionSuffix": ".cpython-313-wasm32-emscripten.so",
|
|
16
|
+
"emscripten": "5.0.6"
|
|
17
|
+
},
|
|
12
18
|
"artifacts": {
|
|
13
19
|
"moduleUrl": "./python.js",
|
|
14
20
|
"hashes": {
|
|
15
|
-
"python.js": "sha256-
|
|
16
|
-
"python.wasm": "sha256-
|
|
17
|
-
"python.data": "sha256-
|
|
21
|
+
"python.js": "sha256-a7d2f77a7377f91a82f6237e7bada0866bafef649f6f49aa31619b3b84c50741",
|
|
22
|
+
"python.wasm": "sha256-d9cbb948979308a9f9be6c4161790b96231c51f633876fc345f836dc4f05c94b",
|
|
23
|
+
"python.data": "sha256-57797a0f38886a00b880f5a32a31326f826c1f5a4a3d5047ef4ff81769b903e6",
|
|
18
24
|
"python.worker.js": "sha256-63bb1df52c4e3a95eae7b2d77c98554188fcc5925e72628ea0c34d5c573977a5"
|
|
19
25
|
}
|
|
20
26
|
},
|
|
21
27
|
"capabilities": {
|
|
22
28
|
"threads": true,
|
|
23
|
-
"nativeExtensions": "
|
|
29
|
+
"nativeExtensions": "dynamic",
|
|
24
30
|
"networking": "none",
|
|
25
31
|
"processes": "none",
|
|
26
32
|
"persistence": "memory"
|
|
@@ -28,7 +34,7 @@
|
|
|
28
34
|
"build": {
|
|
29
35
|
"source": "cpython-3.13.5",
|
|
30
36
|
"toolchain": {
|
|
31
|
-
"emcc": "
|
|
37
|
+
"emcc": "emcc (Emscripten gcc/clang-like replacement + linker emulating GNU ld) 5.0.6-git"
|
|
32
38
|
}
|
|
33
39
|
}
|
|
34
40
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sandboxedjs",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.52",
|
|
4
4
|
"description": "A Linux-like container that runs entirely inside Node.js \u2014 POSIX shell, ~140 coreutils, Node.js and Python runtimes, virtual filesystem and networking. No Docker, no VM, no native modules.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -52,7 +52,8 @@
|
|
|
52
52
|
"test": "vitest run",
|
|
53
53
|
"test:watch": "vitest",
|
|
54
54
|
"check": "npm run typecheck && npm run build && npm test",
|
|
55
|
-
"prepublishOnly": "npm run typecheck && npm run build"
|
|
55
|
+
"prepublishOnly": "npm run typecheck && npm run build && npm run test:release",
|
|
56
|
+
"test:release": "vitest run test/python-runtime/extension-abi.test.ts test/python-runtime/resolver.test.ts test/no-static-node-builtins.test.ts"
|
|
56
57
|
},
|
|
57
58
|
"keywords": [
|
|
58
59
|
"sandbox",
|