Files
reverse-engineering-anything/tests/fixtures/cliJsonStdinProbe.mjs
T
gensokyo-devandtijo95 e3066c1705 fix(deps): upgrade zod without narrowing timestamp inputs
Upgrade Zod to 4.6.6 and refresh locked license inventories. Preserve REA's established timestamp spellings through one shared UTC/offset grammar, including completion-verifier consumers. Size the stdin resource regression from the child's actual heap capacity.

Fixes #7173
Includes the dependency and inventory changes proposed in #7184.

Co-authored-by: tijo95 <georgesarmede@gmail.com>
2026-10-26 20:13:12 +08:00

11 lines
377 B
JavaScript

import { getHeapStatistics } from "node:v8";
// Observe the production stdin reader without supplying data or closing its pipe.
const iterate = process.stdin[Symbol.asyncIterator];
process.stdin[Symbol.asyncIterator] = function (...args) {
process.stderr.write(
`REA_TEST_STDIN_READ ${getHeapStatistics().heap_size_limit}\n`,
);
return iterate.apply(this, args);
};