Versions 175 to 318
Lines 18–27 at 318 (were 18–24 at 175)
21−export function* jsonValueChunks(input: unknown): IterableIterator<string> {
Lines 41–50 at 318 (were 38–45 at 175)
41− if (typeof toJSON === "function") return toJSON.call(value, key);
46+ if (options.unboxPrimitives && (value instanceof String || value instanceof Number || value instanceof Boolean))
4550 const omitted = (value: unknown) => value === undefined || typeof value === "function" || typeof value === "symbol";
Lines 68–74 at 318 (were 63–69 at 175)
6368 else if (typeof value !== "object" || value === null) throw Error("unsupported canonical JSON value");
66− if (active.size >= 128) throw Error("canonical JSON depth exceeds bound");
71+ if (active.size >= (options.maxDepth ?? 128)) throw Error("canonical JSON depth exceeds bound");
- MCP
- compare on this site's /mcp
- CLI
- abso diff 175 318 src/engine/json-value-chunks.ts --json
- JSON
- /christopher/abso-core/compare/175..318?file=src%2Fengine%2Fjson-value-chunks.ts&format=json