drizzle-zod 0.8.3-e6bdce6 → 0.8.3-ec2e97b
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.cjs +1 -1
- package/index.mjs +1 -1
- package/package.json +1 -1
package/index.cjs
CHANGED
|
@@ -30,7 +30,7 @@ const jsonSchema = v4.z.union([
|
|
|
30
30
|
v4.z.record(v4.z.string(), v4.z.any()),
|
|
31
31
|
v4.z.array(v4.z.any()),
|
|
32
32
|
]);
|
|
33
|
-
const bufferSchema = v4.z.custom((v) => v instanceof Buffer);
|
|
33
|
+
const bufferSchema = v4.z.custom((v) => v instanceof Buffer);
|
|
34
34
|
function columnToSchema(column, factory) {
|
|
35
35
|
const z = factory?.zodInstance ?? v4.z;
|
|
36
36
|
const coerce = factory?.coerce ?? {};
|
package/index.mjs
CHANGED
|
@@ -28,7 +28,7 @@ const jsonSchema = z.union([
|
|
|
28
28
|
z.record(z.string(), z.any()),
|
|
29
29
|
z.array(z.any()),
|
|
30
30
|
]);
|
|
31
|
-
const bufferSchema = z.custom((v) => v instanceof Buffer);
|
|
31
|
+
const bufferSchema = z.custom((v) => v instanceof Buffer);
|
|
32
32
|
function columnToSchema(column, factory) {
|
|
33
33
|
const z$1 = factory?.zodInstance ?? z;
|
|
34
34
|
const coerce = factory?.coerce ?? {};
|