Skip to content

Commit 46f2b74

Browse files
committed
fix zod
1 parent 3c3f335 commit 46f2b74

3 files changed

Lines changed: 11 additions & 8 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,6 @@
8686
"safe-regex": "^2.1.0",
8787
"ts-node-dev": "^2.0.0",
8888
"uuid": "^8.3.2",
89-
"zod": "^4.1.12"
89+
"zod": "^3.25.76"
9090
}
9191
}

tsconfig.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,16 @@
4141

4242
/* Module Resolution Options */
4343
// "moduleResolution": "node", /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */
44-
// "baseUrl": "./", /* Base directory to resolve non-absolute module names. */
45-
// "paths": {}, /* A series of entries which re-map imports to lookup locations relative to the 'baseUrl'. */
44+
"baseUrl": "./", /* Base directory to resolve non-absolute module names. */
45+
"paths": { /* A series of entries which re-map imports to lookup locations relative to the 'baseUrl'. */
46+
"zod/v4": ["src/types/zod-v4.d.ts"]
47+
},
4648
// "rootDirs": [], /* List of root folders whose combined content represents the structure of the project at runtime. */
4749
// "typeRoots": [], /* List of folders to include type definitions from. */
4850
// "types": [], /* Type declaration files to be included in compilation. */
4951
// "allowSyntheticDefaultImports": true, /* Allow default imports from modules with no default export. This does not affect code emit, just typechecking. */
50-
"esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */
52+
"esModuleInterop": true, /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */
53+
"skipLibCheck": true
5154
// "preserveSymlinks": true, /* Do not resolve the real path of symlinks. */
5255
// "allowUmdGlobalAccess": true, /* Allow accessing UMD globals from modules. */
5356

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7210,7 +7210,7 @@ yn@3.1.1:
72107210
resolved "https://registry.yarnpkg.com/yn/-/yn-3.1.1.tgz#1e87401a09d767c1d5eab26a6e4c185182d2eb50"
72117211
integrity sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q==
72127212

7213-
zod@^4.1.12:
7214-
version "4.1.12"
7215-
resolved "https://registry.yarnpkg.com/zod/-/zod-4.1.12.tgz#64f1ea53d00eab91853195653b5af9eee68970f0"
7216-
integrity sha512-JInaHOamG8pt5+Ey8kGmdcAcg3OL9reK8ltczgHTAwNhMys/6ThXHityHxVV2p3fkw/c+MAvBHFVYHFZDmjMCQ==
7213+
zod@^3.25.76:
7214+
version "3.25.76"
7215+
resolved "https://registry.yarnpkg.com/zod/-/zod-3.25.76.tgz#26841c3f6fd22a6a2760e7ccb719179768471e34"
7216+
integrity sha512-gzUt/qt81nXsFGKIFcC3YnfEAx5NkunCfnDlvuBSSFS02bcXu4Lmea0AFIUwbLWxWPx3d9p8S5QoaujKcNQxcQ==

0 commit comments

Comments
 (0)