@poe-platform/safe-js 0.1.799 → 0.1.800

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.
Files changed (44) hide show
  1. package/README.md +3 -1
  2. package/dist/safe-js/chunks/{chunk-ULPZIHB5.js → chunk-5RLD4TVI.js} +174 -127
  3. package/dist/safe-js/chunks/{chunk-TBZILU4U.js → chunk-7THYP46K.js} +1 -1
  4. package/dist/safe-js/chunks/{chunk-UU4T2KIT.js → chunk-CK3YK2EC.js} +1 -1
  5. package/dist/safe-js/chunks/{chunk-3O7HA6WT.js → chunk-F6Y734YA.js} +2 -2
  6. package/dist/safe-js/chunks/{chunk-OPYN6N5M.js → chunk-HPHCQNFV.js} +154 -1
  7. package/dist/safe-js/chunks/{chunk-W6C3Q6U4.js → chunk-LWHXSNF6.js} +2 -2
  8. package/dist/safe-js/chunks/{chunk-ZKLJW27N.js → chunk-PMOXSLM5.js} +1 -1
  9. package/dist/safe-js/chunks/{chunk-M6S3F3WM.js → chunk-QEDOBN2G.js} +4 -4
  10. package/dist/safe-js/chunks/chunk-QRWRR6IA.js +78 -0
  11. package/dist/safe-js/chunks/{chunk-MCFRB5X3.js → chunk-SHMRT4QX.js} +76 -6
  12. package/dist/safe-js/chunks/{chunk-KULEMOAE.js → chunk-XAV2RKLO.js} +3 -154
  13. package/dist/safe-js/chunks/{chunk-MDJ7MJYI.js → chunk-XOMGWE37.js} +2 -2
  14. package/dist/safe-js/chunks/{chunk-QTCPJ7FN.js → chunk-XV5OYKND.js} +1 -1
  15. package/dist/safe-js/chunks/{chunk-OTVZWRYE.js → chunk-YAHDXC7P.js} +1 -1
  16. package/dist/safe-js/chunks/{cli-runtime-DYXJZCGV.js → cli-runtime-OCWFX4TM.js} +15 -15
  17. package/dist/safe-js/chunks/{dump-XDJEF2LG.js → dump-KUPBSXSL.js} +2 -2
  18. package/dist/safe-js/chunks/{harness-32OOFC5A.js → harness-3DDUS3RY.js} +2 -2
  19. package/dist/safe-js/chunks/{mcp-PTCA53MN.js → mcp-4D3WWY7U.js} +3 -3
  20. package/dist/safe-js/chunks/{migration-file-EEGIOHQB.js → migration-file-4CYSJ6LO.js} +3 -3
  21. package/dist/safe-js/chunks/{restore-U3CCH36B.js → restore-GDHBT5ZD.js} +3 -3
  22. package/dist/safe-js/chunks/{run-Q74MU3QQ.js → run-3X6J7FPV.js} +5 -5
  23. package/dist/safe-js/chunks/{runtime-modules-SL5D6LAJ.js → runtime-modules-MGSXY4BN.js} +2 -2
  24. package/dist/safe-js/cli.js +2 -2
  25. package/dist/safe-js/core.d.ts +6 -0
  26. package/dist/safe-js/core.js +33 -7
  27. package/dist/safe-js/index.js +24 -93
  28. package/dist/safe-js/interp/data-copy.d.ts +3 -2
  29. package/dist/safe-js/interp/host-bridge.d.ts +5 -4
  30. package/dist/safe-js/modules/fs.js +2 -2
  31. package/dist/safe-js/node-unavailable.d.ts +1 -0
  32. package/dist/safe-js/portable/chunks/chunk-H5X3T5VP.js +909 -0
  33. package/dist/safe-js/portable/chunks/chunk-KYJVK33V.js +58698 -0
  34. package/dist/safe-js/portable/chunks/chunk-XCTU25SU.js +111 -0
  35. package/dist/safe-js/portable/chunks/source-files-CVU252FB.js +7 -0
  36. package/dist/safe-js/portable/core.js +14757 -0
  37. package/dist/safe-js/portable/modules/fs.js +9 -0
  38. package/dist/safe-js/snapshot/arguments.d.ts +2 -0
  39. package/dist/safe-js/snapshot/property-descriptors.d.ts +2 -0
  40. package/dist/safe-js/snapshot/regexp-properties.d.ts +2 -0
  41. package/dist/safe-js/snapshot/symbols.d.ts +2 -0
  42. package/dist/safe-js/workerd.d.ts +3 -0
  43. package/dist/safe-js/workerd.js +74425 -0
  44. package/package.json +30 -6
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@poe-platform/safe-js",
3
- "version": "0.1.799",
3
+ "version": "0.1.800",
4
4
  "description": "Budgeted JavaScript interpreter with explicit host capabilities and resumable execution",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -13,18 +13,22 @@
13
13
  "exports": {
14
14
  ".": {
15
15
  "types": {
16
- "browser": "./dist/safe-fs/node-unavailable.d.ts",
16
+ "workerd": "./dist/safe-js/workerd.d.ts",
17
+ "browser": "./dist/safe-js/core.d.ts",
17
18
  "default": "./dist/safe-js/index.d.ts"
18
19
  },
19
- "browser": null,
20
+ "workerd": "./dist/safe-js/portable/core.js",
21
+ "browser": "./dist/safe-js/portable/core.js",
20
22
  "import": "./dist/safe-js/index.js"
21
23
  },
22
24
  "./core": {
23
25
  "types": {
24
- "browser": "./dist/safe-fs/node-unavailable.d.ts",
26
+ "workerd": "./dist/safe-js/core.d.ts",
27
+ "browser": "./dist/safe-js/core.d.ts",
25
28
  "default": "./dist/safe-js/core.d.ts"
26
29
  },
27
- "browser": null,
30
+ "workerd": "./dist/safe-js/portable/core.js",
31
+ "browser": "./dist/safe-js/portable/core.js",
28
32
  "import": "./dist/safe-js/core.js"
29
33
  },
30
34
  "./cli": {
@@ -35,6 +39,26 @@
35
39
  "browser": null,
36
40
  "import": "./dist/safe-js/cli.js"
37
41
  },
42
+ "./workerd": {
43
+ "types": {
44
+ "workerd": "./dist/safe-js/workerd.d.ts",
45
+ "browser": "./dist/safe-js/node-unavailable.d.ts",
46
+ "default": "./dist/safe-js/workerd.d.ts"
47
+ },
48
+ "workerd": "./dist/safe-js/workerd.js",
49
+ "browser": null,
50
+ "import": "./dist/safe-js/workerd.js"
51
+ },
52
+ "./modules/fs": {
53
+ "types": {
54
+ "workerd": "./dist/safe-js/modules/fs.d.ts",
55
+ "browser": "./dist/safe-js/modules/fs.d.ts",
56
+ "default": "./dist/safe-js/modules/fs.d.ts"
57
+ },
58
+ "workerd": "./dist/safe-js/portable/modules/fs.js",
59
+ "browser": "./dist/safe-js/portable/modules/fs.js",
60
+ "import": "./dist/safe-js/modules/fs.js"
61
+ },
38
62
  "./fs": {
39
63
  "types": "./dist/compat/fs.d.ts",
40
64
  "import": "./dist/compat/fs.js"
@@ -58,7 +82,7 @@
58
82
  "access": "public"
59
83
  },
60
84
  "dependencies": {
61
- "@poe-platform/safe-fs": "0.1.799",
85
+ "@poe-platform/safe-fs": "0.1.800",
62
86
  "@petamoriken/float16": "^3.9.3",
63
87
  "@noble/hashes": "2.4.0",
64
88
  "@formatjs/intl-localematcher": "0.8.13",