mirror of
https://github.com/hanzoai/zod.git
synced 2026-09-24 17:04:49 +00:00
Update zshy (#5249)
This commit is contained in:
+1
-1
@@ -47,7 +47,7 @@
|
||||
"vitest": "^2.1.9",
|
||||
"zod": "workspace:*",
|
||||
"zod3": "npm:zod@~3.24.0",
|
||||
"zshy": "^0.3.5"
|
||||
"zshy": "^0.4.2"
|
||||
},
|
||||
"lint-staged": {
|
||||
"packages/*/src/**/*.ts": [
|
||||
|
||||
@@ -1,10 +1,5 @@
|
||||
import * as z from "zod";
|
||||
const test = () => 1;
|
||||
|
||||
z;
|
||||
test.something = () => 2;
|
||||
|
||||
z.superRefine((val, ctx) => {
|
||||
ctx.addIssue({
|
||||
code: "custom",
|
||||
message: "Custom message",
|
||||
});
|
||||
});
|
||||
test.something;
|
||||
|
||||
Generated
+33
-13
@@ -105,8 +105,8 @@ importers:
|
||||
specifier: npm:zod@~3.24.0
|
||||
version: [email protected]
|
||||
zshy:
|
||||
specifier: ^0.3.5
|
||||
version: 0.3.5([email protected])
|
||||
specifier: ^0.4.2
|
||||
version: 0.4.2([email protected])
|
||||
|
||||
packages/bench:
|
||||
devDependencies:
|
||||
@@ -2810,6 +2810,10 @@ packages:
|
||||
resolution: {integrity: sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA==}
|
||||
engines: {node: '>=12'}
|
||||
|
||||
[email protected]:
|
||||
resolution: {integrity: sha512-Bq3SmSpyFHaWjPk8If9yc6svM8c56dB5BAtW4Qbw5jHTwwXXcTLoRMkpDJp6VL0XzlWaCHTXrkFURMYmD0sLqg==}
|
||||
engines: {node: '>=12'}
|
||||
|
||||
[email protected]:
|
||||
resolution: {integrity: sha512-kmCevFghRiWM7HB5zTPULl4r9bVFSWjz62MhqizDGUrq2NWuNMQyuv4tHHoKJHs69M/MF64lEcHdYIocrdWQYA==}
|
||||
engines: {node: '>=0.10.0'}
|
||||
@@ -2822,6 +2826,10 @@ packages:
|
||||
resolution: {integrity: sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==}
|
||||
engines: {node: '>=12'}
|
||||
|
||||
[email protected]:
|
||||
resolution: {integrity: sha512-4Dj6M28JB+oAH8kFkTLUo+a2jwOFkuqb3yucU0CANcRRUbxS0cP0nZYCGjcc3BNXwRIsUVmDGgzawme7zvJHvg==}
|
||||
engines: {node: '>=12'}
|
||||
|
||||
[email protected]:
|
||||
resolution: {integrity: sha512-P8nrHI1EyW9OfBt1X7hMSwGN2vwRuqHSKJAT1gbLWZRzDa24oHjYwGHvEgHeBepupzk878yS/HBZ0NMPYtbolw==}
|
||||
engines: {node: '>=14'}
|
||||
@@ -3197,8 +3205,8 @@ packages:
|
||||
resolution: {integrity: sha512-bwy0MGW55bG41VqxxypOsdSdGqLwXPI/focwgTYCFMbdUiBAxLg9CFzG08sz2aqzknwiX7Hkl0bQENjg8iLByw==}
|
||||
engines: {node: '>=8'}
|
||||
|
||||
detect-libc@2.0.4:
|
||||
resolution: {integrity: sha512-3UDv+G9CsCKO1WKMGw9fwq/SWJYbI0c5Y7LU1AXYoDdbhE2AHQ6N6Nb34sG8Fj7T5APy8qXDCKuuIHd1BR0tVA==}
|
||||
detect-libc@2.1.0:
|
||||
resolution: {integrity: sha512-vEtk+OcP7VBRtQZ1EJ3bdgzSfBjgnEalLTp5zjJrS+2Z1w2KZly4SBdac/WDU3hhsNAZ9E8SC96ME4Ey8MZ7cg==}
|
||||
engines: {node: '>=8'}
|
||||
|
||||
[email protected]:
|
||||
@@ -5203,6 +5211,10 @@ packages:
|
||||
resolution: {integrity: sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==}
|
||||
engines: {node: '>=12'}
|
||||
|
||||
[email protected]:
|
||||
resolution: {integrity: sha512-gmBGslpoQJtgnMAvOVqGZpEz9dyoKTCzy2nfz/n8aIFhN/jCE/rCmcxabB6jOOHV+0WNnylOxaxBQPSvcWklhA==}
|
||||
engines: {node: '>=12'}
|
||||
|
||||
[email protected]:
|
||||
resolution: {integrity: sha512-uCC2VHvQRYu+lMh4My/sFNmF2klFymLX1wHJeXnbEJERpV/ZsVuonzerjfrGpIGF7LBVa1O7i9kjiWvJiFck8g==}
|
||||
engines: {node: '>=0.10.0'}
|
||||
@@ -5718,8 +5730,8 @@ packages:
|
||||
[email protected]:
|
||||
resolution: {integrity: sha512-+MSh9cZU9r3QKlHqrgHMTSr3QwMGv4PLfR0M4N/sYWV5/x67HgXEhIGObdBkpnX8G78pTgWnIrBL2lZcNJOtfg==}
|
||||
|
||||
zshy@0.3.5:
|
||||
resolution: {integrity: sha512-snxs1iCIgLHY+eavk06UD54bTioXbXHzZ0XnsrDNjrztG7qrhagL6VyJ/jdBODZ0sCn+ZdqgXLwYLxZLydYdTA==}
|
||||
zshy@0.4.2:
|
||||
resolution: {integrity: sha512-q3OkMn4dXqVhwihg/XT5Rd/9kK38hFCpq+fM2uorXy8GjBMFjOSwW9P8wFHIBZQsyUakBFn/s7j7no8L2FU91w==}
|
||||
hasBin: true
|
||||
peerDependencies:
|
||||
typescript: '>5.5.0'
|
||||
@@ -6282,7 +6294,7 @@ snapshots:
|
||||
dependencies:
|
||||
string-width: 5.1.2
|
||||
string-width-cjs: [email protected]
|
||||
strip-ansi: 7.1.0
|
||||
strip-ansi: 7.1.2
|
||||
strip-ansi-cjs: [email protected]
|
||||
wrap-ansi: 8.1.0
|
||||
wrap-ansi-cjs: [email protected]
|
||||
@@ -7926,6 +7938,8 @@ snapshots:
|
||||
|
||||
[email protected]: {}
|
||||
|
||||
[email protected]: {}
|
||||
|
||||
[email protected]: {}
|
||||
|
||||
[email protected]:
|
||||
@@ -7934,6 +7948,8 @@ snapshots:
|
||||
|
||||
[email protected]: {}
|
||||
|
||||
[email protected]: {}
|
||||
|
||||
[email protected]: {}
|
||||
|
||||
[email protected]: {}
|
||||
@@ -8305,7 +8321,7 @@ snapshots:
|
||||
|
||||
[email protected]: {}
|
||||
|
||||
detect-libc@2.0.4:
|
||||
detect-libc@2.1.0:
|
||||
optional: true
|
||||
|
||||
[email protected]: {}
|
||||
@@ -9237,7 +9253,7 @@ snapshots:
|
||||
|
||||
[email protected]:
|
||||
dependencies:
|
||||
detect-libc: 2.0.4
|
||||
detect-libc: 2.1.0
|
||||
optionalDependencies:
|
||||
lightningcss-darwin-arm64: 1.29.3
|
||||
lightningcss-darwin-x64: 1.29.3
|
||||
@@ -10908,7 +10924,7 @@ snapshots:
|
||||
dependencies:
|
||||
eastasianwidth: 0.2.0
|
||||
emoji-regex: 9.2.2
|
||||
strip-ansi: 7.1.0
|
||||
strip-ansi: 7.1.2
|
||||
|
||||
[email protected]:
|
||||
dependencies:
|
||||
@@ -10939,6 +10955,10 @@ snapshots:
|
||||
dependencies:
|
||||
ansi-regex: 6.1.0
|
||||
|
||||
[email protected]:
|
||||
dependencies:
|
||||
ansi-regex: 6.2.2
|
||||
|
||||
[email protected]: {}
|
||||
|
||||
[email protected]: {}
|
||||
@@ -11411,9 +11431,9 @@ snapshots:
|
||||
|
||||
[email protected]:
|
||||
dependencies:
|
||||
ansi-styles: 6.2.1
|
||||
ansi-styles: 6.2.3
|
||||
string-width: 5.1.2
|
||||
strip-ansi: 7.1.0
|
||||
strip-ansi: 7.1.2
|
||||
|
||||
[email protected]:
|
||||
dependencies:
|
||||
@@ -11459,7 +11479,7 @@ snapshots:
|
||||
|
||||
[email protected]: {}
|
||||
|
||||
zshy@0.3.5([email protected]):
|
||||
zshy@0.4.2([email protected]):
|
||||
dependencies:
|
||||
arg: 5.0.2
|
||||
globby: 14.1.0
|
||||
|
||||
Reference in New Issue
Block a user