openpencil/packages/core
Danila Poyarkov b6e792846f Harden FigmaAPI: hide internals via symbols, freeze arrays, fix layoutSizing
- Replace _id/_graph/_api with Symbol-keyed properties so eval scripts
  can't access SceneGraph internals directly
- fills/strokes/effects return frozen structuredClone copies
- Fix currentPage getter to define selection only once per proxy
- Fix layoutSizingHorizontal/Vertical: respect parent layout direction
  even when the node itself is an auto-layout frame
- Add 6 new tests: layoutSizing, frozen arrays, internals not exposed
2026-03-01 13:12:26 +03:00
..
src Harden FigmaAPI: hide internals via symbols, freeze arrays, fix layoutSizing 2026-03-01 13:12:26 +03:00
package.json Point core exports to src/index.ts for Vite compatibility 2026-03-01 01:27:04 +03:00
tsconfig.json Prepare packages for npm publishing 2026-03-01 01:24:54 +03:00