Skip to content

Commit ab77271

Browse files
committed
fix: drop unused safeParse/safeParseAsync imports after #5379 refactor
`~standard.validate` no longer routes through them; only `safeParseMaybeAsync` is needed. `parse` and `parseAsync` are still used by `$ZodFunction`.
1 parent 2657c92 commit ab77271

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/zod/src/v4/core/schemas.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import * as core from "./core.js";
44
import { Doc } from "./doc.js";
55
import type * as errors from "./errors.js";
66
import type * as JSONSchema from "./json-schema.js";
7-
import { parse, parseAsync, safeParse, safeParseAsync, safeParseMaybeAsync } from "./parse.js";
7+
import { parse, parseAsync, safeParseMaybeAsync } from "./parse.js";
88
import * as regexes from "./regexes.js";
99
import type { StandardSchemaV1 } from "./standard-schema.js";
1010
import type { ProcessParams, ToJSONSchemaContext } from "./to-json-schema.js";

0 commit comments

Comments
 (0)