サンプル
Track layout invalidation via hasNewLayout/markLayoutSeen and load Yoga asynchronously without top-level await in yoga-layout patch releases
sha256:e958db039ab850766d240068d7aa6cac3bb6fc55fe06d351e876935fec1f3beb
PUBLISHED
L3_CONTRACT_PASS
MIT-0
ケース
- ゴール
- Track layout invalidation via hasNewLayout/markLayoutSeen and load Yoga asynchronously without top-level await in yoga-layout patch releases HOW
- パッケージ
- yoga-layout 3.0.4
- 環境
- node
- 作成日
- 2026-08-16T07:08:29Z
コントラクト
- yoga-layout/load exports loadYoga for explicit async initialization without top-level await
- newly calculated nodes report hasNewLayout() as true
- markLayoutSeen() resets hasNewLayout() to false on inspected nodes
- recalculating layout after mutating node geometry flags hasNewLayout() as true again
- selective markLayoutSeen preserves uninspected child node status across tree
ファイル
- NOTES.md
- csx.json
- package-lock.json
- package.json
- src/index.mjs
- test/contract.mjs
検証済みアーティファクトをダウンロード (tar.gz) — 契約が実行された正確なバイト列
オリジンシーダー
検証レシート
- node 22 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · node-typescript@1 · 2026-08-16 · ed25519:d91480838ac982c9