Skip to content

Commit d7391f4

Browse files
committed
chore: set explicit versions
1 parent 93a24eb commit d7391f4

8 files changed

Lines changed: 25 additions & 23 deletions

File tree

packages/admin/admin-sdk/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
},
2626
"dependencies": {
2727
"@medusajs/admin-shared": "2.8.7",
28-
"zod": "^3.25.7"
28+
"zod": "3.25.76"
2929
},
3030
"packageManager": "yarn@3.2.1"
3131
}

packages/admin/dashboard/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
"react-i18next": "13.5.0",
7474
"react-jwt": "^1.2.0",
7575
"react-router-dom": "6.20.1",
76-
"zod": "^3.25.7"
76+
"zod": "3.25.76"
7777
},
7878
"devDependencies": {
7979
"@medusajs/admin-shared": "2.8.7",

packages/core/framework/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,8 @@
9797
"morgan": "^1.9.1",
9898
"path-to-regexp": "^0.1.10",
9999
"tsconfig-paths": "^4.2.0",
100-
"zod": "^3.25.7",
101-
"zod-validation-error": "^3.5.1"
100+
"zod": "3.25.76",
101+
"zod-validation-error": "3.5.1"
102102
},
103103
"peerDependencies": {
104104
"@aws-sdk/client-dynamodb": "^3.218.0",

packages/core/utils/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
"pg-connection-string": "^2.7.0",
5858
"pluralize": "^8.0.0",
5959
"ulid": "^2.3.0",
60-
"zod": "^3.25.7"
60+
"zod": "3.25.76"
6161
},
6262
"peerDependencies": {
6363
"@mikro-orm/core": "6.4.3",

packages/core/workflows-sdk/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"pg": "^8.13.0",
4040
"rimraf": "^5.0.1",
4141
"typescript": "^5.6.2",
42-
"zod": "^3.25.7"
42+
"zod": "3.25.76"
4343
},
4444
"dependencies": {
4545
"@medusajs/modules-sdk": "2.8.7",
@@ -56,7 +56,7 @@
5656
"awilix": "^8.0.1",
5757
"express": "^4.21.0",
5858
"pg": "^8.13.0",
59-
"zod": "^3.25.7"
59+
"zod": "3.25.76"
6060
},
6161
"scripts": {
6262
"build": "rimraf dist && tsc --build",

packages/medusa/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@
126126
"request-ip": "^3.3.0",
127127
"slugify": "^1.6.6",
128128
"uuid": "^9.0.0",
129-
"zod": "^3.25.7"
129+
"zod": "3.25.76"
130130
},
131131
"peerDependencies": {
132132
"@medusajs/framework": "2.8.7",

packages/medusa/src/api/utils/common-validators/common.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,9 @@ export const BigNumberInput = z.union([
3131
* @param {ZodObject<any>} schema
3232
* @return {ZodObject<any>}
3333
*/
34-
export const applyAndAndOrOperators = (schema: z.ZodObject<any>) => {
34+
export const applyAndAndOrOperators = <T extends z.ZodObject<any>>(
35+
schema: T
36+
) => {
3537
return schema.merge(
3638
z.object({
3739
$and: z.lazy(() => schema.array()).optional(),

yarn.lock

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -5783,7 +5783,7 @@ __metadata:
57835783
"@types/react": ^18.3.2
57845784
tsup: ^8.0.1
57855785
typescript: ^5.3.3
5786-
zod: ^3.25.7
5786+
zod: 3.25.76
57875787
languageName: unknown
57885788
linkType: soft
57895789

@@ -6204,7 +6204,7 @@ __metadata:
62046204
vite: ^5.4.14
62056205
vite-plugin-inspect: ^0.8.7
62066206
vitest: ^3.0.5
6207-
zod: ^3.25.7
6207+
zod: 3.25.76
62086208
languageName: unknown
62096209
linkType: soft
62106210

@@ -6343,8 +6343,8 @@ __metadata:
63436343
tsconfig-paths: ^4.2.0
63446344
typescript: ^5.6.2
63456345
vite: ^5.4.14
6346-
zod: ^3.25.7
6347-
zod-validation-error: ^3.5.1
6346+
zod: 3.25.76
6347+
zod-validation-error: 3.5.1
63486348
peerDependencies:
63496349
"@aws-sdk/client-dynamodb": ^3.218.0
63506350
"@medusajs/cli": 2.8.7
@@ -6712,7 +6712,7 @@ __metadata:
67126712
typescript: ^5.6.2
67136713
uuid: ^9.0.0
67146714
yalc: 1.0.0-pre.53
6715-
zod: ^3.25.7
6715+
zod: 3.25.76
67166716
peerDependencies:
67176717
"@medusajs/framework": 2.8.7
67186718
"@mikro-orm/core": 6.4.3
@@ -7377,7 +7377,7 @@ __metadata:
73777377
rimraf: ^5.0.1
73787378
typescript: ^5.6.2
73797379
ulid: ^2.3.0
7380-
zod: ^3.25.7
7380+
zod: 3.25.76
73817381
peerDependencies:
73827382
"@mikro-orm/core": 6.4.3
73837383
"@mikro-orm/knex": 6.4.3
@@ -7465,7 +7465,7 @@ __metadata:
74657465
rimraf: ^5.0.1
74667466
typescript: ^5.6.2
74677467
ulid: ^2.3.0
7468-
zod: ^3.25.7
7468+
zod: 3.25.76
74697469
peerDependencies:
74707470
"@mikro-orm/core": 6.4.3
74717471
"@mikro-orm/knex": 6.4.3
@@ -7474,7 +7474,7 @@ __metadata:
74747474
awilix: ^8.0.1
74757475
express: ^4.21.0
74767476
pg: ^8.13.0
7477-
zod: ^3.25.7
7477+
zod: 3.25.76
74787478
languageName: unknown
74797479
linkType: soft
74807480

@@ -35647,16 +35647,16 @@ __metadata:
3564735647
languageName: node
3564835648
linkType: hard
3564935649

35650-
"zod-validation-error@npm:^3.5.1":
35651-
version: 3.5.3
35652-
resolution: "zod-validation-error@npm:3.5.3"
35650+
"zod-validation-error@npm:3.5.1":
35651+
version: 3.5.1
35652+
resolution: "zod-validation-error@npm:3.5.1"
3565335653
peerDependencies:
35654-
zod: ^3.25.0 || ^4.0.0
35655-
checksum: 4a1054f49049a5414857a4a85ae7b853d59be83dedb89942d4966345a58bd26d939beb574f0f5592fe4cc9963b26ac306d5b0950f6905651569059ef3517c803
35654+
zod: ^3.25.0
35655+
checksum: 37e83266755f798cf7f0437441ad72657882afae36e451177e9ae6ba555d211aa80b4f5d9dfbb08839ddb5538b94325499f0445aae923e09c0f7d9f472868c85
3565635656
languageName: node
3565735657
linkType: hard
3565835658

35659-
"zod@npm:^3.25.7":
35659+
"zod@npm:3.25.76":
3566035660
version: 3.25.76
3566135661
resolution: "zod@npm:3.25.76"
3566235662
checksum: 5718ec35e3c40b600316c5b4c5e4976f7fee68151bc8f8d90ec18a469be9571f072e1bbaace10f1e85cf8892ea12d90821b200e980ab46916a6166a4260a983c

0 commit comments

Comments
 (0)