mirror of
https://github.com/larvit/adf-codec.git
synced 2026-11-21 15:42:58 +01:00
Answer architecture round 3: 0 🔴, 0 🟡; an out-of-memory throw is engine-limit whatever the engine ran short of, the ruling reads same
This commit is contained in:
+2
-3
@@ -10,9 +10,8 @@
|
||||
- **Breaking:** the markdown readers refuse a value that is not a string with the new code
|
||||
`not-a-string`; `MIGRATION.md` lists what each value did before.
|
||||
- **Breaking:** every call returns the new code `engine-limit` where the JavaScript engine passes
|
||||
its longest array, `Map` or `Set`, or finds no memory for a buffer, and, on JavaScriptCore, where
|
||||
its heap runs short or a string passes its longest. A retry may succeed. Every other refusal stays
|
||||
deterministic.
|
||||
its longest array, `Map` or `Set`, or reports itself out of memory, and, on JavaScriptCore, where
|
||||
a string passes its longest. A retry may succeed. Every other refusal stays deterministic.
|
||||
- **Breaking:** an attribute value that is not a plain object, array or JSON primitive, such as a
|
||||
`Date`, `Map`, typed array or class instance, makes `isAdfDocument` return `false` and the
|
||||
converters refuse it as `not-an-adf-document`. Before, the converters wrote it as `{}` or its own
|
||||
|
||||
Reference in New Issue
Block a user