mirror of
https://github.com/larvit/adf-codec.git
synced 2026-11-20 15:15:44 +01:00
Answer architecture round 2: every builder joins its pieces through one bounded join, the readers take the engine guard, every refusal stands at the document's path, and a portable list's refusal names its own place
This commit is contained in:
+4
-2
@@ -85,9 +85,11 @@
|
||||
where all three hung.
|
||||
- Fix a document whose markdown would be longer than 536,870,888 characters, V8's longest string:
|
||||
`adfToLosslessMarkdown` and `adfToPortableMarkdown` refuse it as `unsupported-node-shape` on
|
||||
every engine, before building it, where they threw or ran out of memory.
|
||||
every engine, where they threw or ran out of memory.
|
||||
- Fix a directive whose CommonMark spelling would be that long: `losslessMarkdownToAdf` refuses it
|
||||
as `unsupported-node-shape`, where a few megabytes of nested list lines ran it out of memory.
|
||||
as `unsupported-node-shape`, where a few megabytes of nested list lines ran it out of memory. The
|
||||
markdown readers return `unsupported-node-shape` where they threw past the longest string or
|
||||
array the JavaScript engine builds.
|
||||
- Fix deeply nested compact JSON in an `adf:` fence: `losslessMarkdownToAdf` refuses it as
|
||||
`unsupported-node-shape`, as it refuses any compact JSON there, where about a megabyte of it threw.
|
||||
- Add `adfToPortableMarkdown` and `portableMarkdownToAdf`, a lossy pair converting ADF to and from
|
||||
|
||||
Reference in New Issue
Block a user