sandboxedjs 0.1.55 → 0.1.56

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.
Binary file
@@ -18,9 +18,9 @@
18
18
  "artifacts": {
19
19
  "moduleUrl": "./python.js",
20
20
  "hashes": {
21
- "python.js": "sha256-a7d2f77a7377f91a82f6237e7bada0866bafef649f6f49aa31619b3b84c50741",
22
- "python.wasm": "sha256-d9cbb948979308a9f9be6c4161790b96231c51f633876fc345f836dc4f05c94b",
23
- "python.data": "sha256-57797a0f38886a00b880f5a32a31326f826c1f5a4a3d5047ef4ff81769b903e6",
21
+ "python.js": "sha256-2989bee5ca3a7302559bd03db7ffcbf4d5c91610bd2262c91fe3e0a330ec2b2b",
22
+ "python.wasm": "sha256-5295ddb8307d328d0c06ebbd6deb4b1ea9c165a913efb3c76eca9bcd502a1ebb",
23
+ "python.data": "sha256-9fb302311338fdb46a19fb0710c0f7ab82918e6f72e786f96e8faee9590a0ad0",
24
24
  "python.worker.js": "sha256-63bb1df52c4e3a95eae7b2d77c98554188fcc5925e72628ea0c34d5c573977a5"
25
25
  }
26
26
  },
@@ -0,0 +1,42 @@
1
+ {
2
+ "format": "sandboxedjs-wheel-index",
3
+ "schemaVersion": 1,
4
+ "wheels": [
5
+ {
6
+ "name": "pydantic-core",
7
+ "version": "2.23.2",
8
+ "filename": "pydantic_core-2.23.2-cp313-cp313-emscripten_5_0_6_wasm32.whl",
9
+ "sha256": "fd4726160e8a87e24cb3948219a252277c6c585ae14e5b131d7a8c48d00da281",
10
+ "abiId": "sbxabi1-c2637d04695ad927",
11
+ "requires": [
12
+ "typing-extensions>=4.6.0"
13
+ ]
14
+ },
15
+ {
16
+ "name": "pydantic-core",
17
+ "version": "2.46.5",
18
+ "filename": "pydantic_core-2.46.5-cp313-cp313-emscripten_5_0_6_wasm32.whl",
19
+ "sha256": "7740f595bd4a047ce250838a37eed3546153cdf2296c936f934572dcad398256",
20
+ "abiId": "sbxabi1-c2637d04695ad927",
21
+ "requires": [
22
+ "typing-extensions>=4.14.1"
23
+ ]
24
+ },
25
+ {
26
+ "name": "sbx-c-probe",
27
+ "version": "1.0.0",
28
+ "filename": "sbx_c_probe-1.0.0-cp313-cp313-emscripten_5_0_6_wasm32.whl",
29
+ "sha256": "8999aac3cab16507f1cefe8b22ea7e9a1b4330c0c9923df2672774fcc618d508",
30
+ "abiId": "sbxabi1-c2637d04695ad927",
31
+ "requires": []
32
+ },
33
+ {
34
+ "name": "sbx-rust-probe",
35
+ "version": "1.0.0",
36
+ "filename": "sbx_rust_probe-1.0.0-cp313-cp313-emscripten_5_0_6_wasm32.whl",
37
+ "sha256": "a3d8c232a1a70deeccc7aac22de585f3b25119c584fd3adc785d03516c7d63c7",
38
+ "abiId": "sbxabi1-c2637d04695ad927",
39
+ "requires": []
40
+ }
41
+ ]
42
+ }
@@ -1765,6 +1765,12 @@ var HostAbiClient = class {
1765
1765
  mkdir(path, mode = 511) {
1766
1766
  this.call(Op.mkdirat, new Writer().string(path).u32(mode).finish());
1767
1767
  }
1768
+ readlink(path) {
1769
+ return new Reader(this.call(Op.readlinkat, new Writer().string(path).finish()).payload).string();
1770
+ }
1771
+ symlink(target, path) {
1772
+ this.call(Op.symlinkat, new Writer().string(target).string(path).finish());
1773
+ }
1768
1774
  readdir(fd, bufferSize = 4096) {
1769
1775
  const { payload } = this.call(Op.getdents, new Writer().i32(fd).u32(bufferSize).finish());
1770
1776
  const text = new TextDecoder().decode(payload);