zod probed Function("") on its first object schema, which the production CSP
(no unsafe-eval) reported on every boot. Schema code now imports z from
src/contracts/zod.ts, enforced by a dependency-cruiser rule, and the CSP smoke
drops its init-script workaround.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
7 lines
126 B
TypeScript
7 lines
126 B
TypeScript
// F-7 (13-08): the one module that imports zod itself.
|
|
import { z } from "zod";
|
|
|
|
z.config({ jitless: true });
|
|
|
|
export { z };
|