mirror of
https://github.com/safishamsi/graphify.git
synced 2026-10-14 16:09:26 +00:00
#3699: the Fermat-spiral seed positions referenced `i` inside RAW_NODES.map(n => ...) which has no index param, so the emitted JS threw 'ReferenceError: i is not defined' and graph.html failed to render at every graph size. Bind the index: map((n, i) => ...). #3686: the tooltip `title` sinks were correctly un-escaped (vis-network renders a string title via Popup.setText -> innerText, verified in the pinned 9.1.6 bundle: its only non-Element branch is innerText and it has zero innerHTML=<var> sinks). Documented that invariant at the sink as the #1838 stored-XSS boundary. Adds two guards to test_export.py: a vis-network version pin assertion (a bump must force re-verifying the innerText tooltip path) and a spiral-seed indexed-map guard (catches the free-`i` regression, which the substring-only export tests missed). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>