summarum/src/engine
Andrew Pimenov b285f546c2 stream-cap rates responses instead of buffering then checking size
resp.bytes() already pulls the whole body into memory before the 5MB
check ran, so a malicious server could still OOM the process during
download. read_body_capped aborts mid-stream once the cap is hit.

also fix goal-seek probe fallback: it could update lo/hi to a genuine
bracket without ever setting found=true, throwing "no solution" on
cases that do have one.
2026-08-19 04:11:27 +03:00
..
datetime.test.ts add isCalendarUnit edge case tests 2026-08-09 15:57:20 +03:00
datetime.ts extract baseUnitId in datetime.ts 2026-08-12 20:07:31 +03:00
edge.test.ts drop ambiguous bare currency aliases shared across countries 2026-08-12 20:04:33 +03:00
engine.test.ts [Code Health] Replace generic Error with specific EvalError in tests 2026-08-14 13:39:05 +03:00
evaluator.test.ts add evaluator quantity conversion tests 2026-08-09 15:59:13 +03:00
evaluator.ts stream-cap rates responses instead of buffering then checking size 2026-08-19 04:11:27 +03:00
extraunits.ts feat: Summarum — natural language calculator notebook for Windows 2026-06-10 22:19:24 +03:00
formatter.test.ts add formatter tests for formatNumber/formatValue 2026-07-29 14:14:48 +03:00
formatter.ts fix: address adversarial review findings 2026-08-19 04:11:27 +03:00
index.ts Refactor console logs to use centralized logger 2026-08-14 13:39:07 +03:00
lexer.test.ts add lexer tests for lexLine 2026-07-29 14:14:48 +03:00
lexer.ts split lexLine's number/date matching into named helpers 2026-07-08 15:48:40 +03:00
parser.test.ts add parser tests for parseLine 2026-07-29 14:14:48 +03:00
parser.ts flatten parser into a Pratt parser 2026-08-09 16:00:19 +03:00
rates-snapshot.json feat: Summarum — natural language calculator notebook for Windows 2026-06-10 22:19:24 +03:00
registry.test.ts add registry tests 2026-08-09 15:57:13 +03:00
registry.ts document PctOp usage 2026-08-09 15:57:30 +03:00
tokenizer.test.ts add tokenizer tests 2026-07-29 14:14:48 +03:00
tokenizer.ts stop '5 min' from losing the minute unit to the min() aggregate 2026-08-12 20:02:58 +03:00
types.test.ts add type constructor tests 2026-08-14 13:39:05 +03:00
types.ts share the Decimal PI constant with unitdata.ts 2026-08-12 20:08:28 +03:00
unitdata.ts share the Decimal PI constant with unitdata.ts 2026-08-12 20:08:28 +03:00
vocab-data.ts drop ambiguous bare currency aliases shared across countries 2026-08-12 20:04:33 +03:00
vocab.test.ts add engine vocab module tests 2026-08-09 15:57:17 +03:00
vocab.ts feat: Summarum — natural language calculator notebook for Windows 2026-06-10 22:19:24 +03:00