Runs the registered chain over value until it reaches the target version
(§80), without validating the result against the current schema.
The document is deep-copied and validated as JSON on the way in, and again
after every step, so a step that returns something JSON cannot carry fails at
that step rather than at the end of the chain.
Parameters
value: unknown
the candidate document (typically JSON.parse output)
FourError SERIALIZATION_VERSION_MISMATCH if the document is newer
than the target, or if a link in the chain is missing
Throws
TypeError if the document is not representable JSON, declares no
usable formatVersion, or a step returns something that is not a JSON object
(or one whose formatVersion is neither the version it was handed nor the
version it produces)
Runs the registered chain over
valueuntil it reaches the target version (§80), without validating the result against the current schema.The document is deep-copied and validated as JSON on the way in, and again after every step, so a step that returns something JSON cannot carry fails at that step rather than at the end of the chain.