MCP servers 2026-06-24 16:12 UTC
Figma-Context-MCP
Committed by GLips. Update Category: Bug Fixes & Stability Improvements. Commit details: fix: use canonical style comparison and guard aspect-ratio divide-by-zero (#402). This update resolves known runtime errors and enhances system reliability.
CommitRaw commit message
fix: use canonical style comparison and guard aspect-ratio divide-by-zero (#402) * chore: nit * fix: use canonical style comparison and guard aspect-ratio divide-by-zero resolveStyleKey now compares same-name styles with stableStringify (key-order insensitive) instead of raw JSON.stringify, so semantically identical styles emitted in different key orders collapse to one key instead of getting a spurious id suffix that wastes tokens and produces misleading distinct keys. Guard the aspectRatio division in buildSimplifiedLayout against zero height so a zero-height column child no longer emits aspectRatio: Infinity.