SVGO Core and Plugin Ecosystem: Ensuring Safe Rollback After Internal Schema Changes
When SVGO updates its internal representation of the SVG tree to accommodate new SVG 2 elements or attributes, plugins that operate on the mutable JavaScript object tree may inadvertently discard fields they do not recognize. The goal is to allow plugins to detect such incompatibility and trigger a safe rollback to the pre‑optimization state without losing n