@poe-platform/safe-js 0.1.138 → 0.1.139
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/README.md +2 -2
- package/dist/safe-js/chunks/{chunk-WBWD7ZCM.js → chunk-EZAX76DY.js} +1621 -760
- package/dist/safe-js/chunks/chunk-EZAX76DY.js.map +7 -0
- package/dist/safe-js/chunks/{chunk-3PGVVY7D.js → chunk-I5E3GOL7.js} +2 -2
- 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/exceptions.d.ts +1 -1
- package/dist/safe-js/interp/interpreter.d.ts +2 -2
- package/dist/safe-js/interp/patterns.d.ts +2 -2
- package/dist/safe-js/interp/values.d.ts +2 -1
- package/package.json +2 -2
- package/dist/safe-js/chunks/chunk-WBWD7ZCM.js.map +0 -7
- /package/dist/safe-js/chunks/{chunk-3PGVVY7D.js.map → chunk-I5E3GOL7.js.map} +0 -0
package/README.md
CHANGED
|
@@ -53,7 +53,7 @@ const result = await run(`
|
|
|
53
53
|
// result.returnValue: ["counter", 7, true]
|
|
54
54
|
```
|
|
55
55
|
|
|
56
|
-
Properties stay inside the interpreter, not on native host functions. Arrows and object methods remain nonconstructible. Prototype links between
|
|
56
|
+
Properties stay inside the interpreter, not on native host functions. Arrows and object methods remain nonconstructible. Prototype links between exotic objects (such as arrays) are unsupported; native `Function.prototype` is never exposed.
|
|
57
57
|
|
|
58
58
|
<details>
|
|
59
59
|
<summary>Object inspection and prototypes</summary>
|
|
@@ -74,7 +74,7 @@ const result = await run(`
|
|
|
74
74
|
- Intrinsic methods are non-enumerable. Guest constructor prototypes inherit the ordinary Object prototype; explicit null/custom prototypes work with `Object.create`, `Object.setPrototypeOf` and literal `__proto__`. A computed `['__proto__']` remains an own data property.
|
|
75
75
|
- Prototype mutations stay inside the current run or persistent realm and consume its retained-data budget. They never change native prototypes or another realm.
|
|
76
76
|
|
|
77
|
-
|
|
77
|
+
Symbols and full Array/Function/exotic prototype graphs are unsupported. Use borrowed Object methods for inspecting those supported values. Explicit prototype links and mutated Object intrinsics are not portable checkpoint/copy data; project own data before crossing those boundaries. The conservative `AS011` lint rule still flags explicit `prototype`/`constructor` access; `run()` executes it without automatic linting.
|
|
78
78
|
|
|
79
79
|
</details>
|
|
80
80
|
|