Skip to content

Commit 55f785e

Browse files
authored
fix(deps): Upgrading zod to 4.4.3. (#3384)
instead of #3379 <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Chores** * Updated zod dependency to version 4.4.3. [![Review Change Stack](https://storage.googleapis.com/coderabbit_public_assets/review-stack-in-coderabbit-ui.svg)](https://app.coderabbit.ai/change-stack/RobinTail/express-zod-api/pull/3384) <!-- end of auto-generated comment: release notes by coderabbit.ai -->
1 parent a18131e commit 55f785e

4 files changed

Lines changed: 17 additions & 17 deletions

File tree

express-zod-api/tests/__snapshots__/documentation.spec.ts.snap

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2470,13 +2470,13 @@ paths:
24702470
parameters:
24712471
- name: string
24722472
in: query
2473-
required: true
2473+
required: false
24742474
description: GET /v1/getSomething Parameter
24752475
schema:
24762476
format: string (preprocessed)
24772477
- name: number
24782478
in: query
2479-
required: true
2479+
required: false
24802480
description: GET /v1/getSomething Parameter
24812481
schema:
24822482
minimum: 0
@@ -2538,13 +2538,13 @@ paths:
25382538
parameters:
25392539
- name: string
25402540
in: query
2541-
required: true
2541+
required: false
25422542
description: HEAD /v1/getSomething Parameter
25432543
schema:
25442544
format: string (preprocessed)
25452545
- name: number
25462546
in: query
2547-
required: true
2547+
required: false
25482548
description: HEAD /v1/getSomething Parameter
25492549
schema:
25502550
minimum: 0

express-zod-api/tests/__snapshots__/zts.spec.ts.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ exports[`zod-to-ts > Example > should produce the expected results 1`] = `
7474
y: number;
7575
};
7676
branded: string;
77-
catch: number;
77+
catch?: number | undefined;
7878
pipeline: string;
7979
readonly: string;
8080
extended: {

pnpm-lock.yaml

Lines changed: 11 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pnpm-workspace.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ catalogs:
6464
"http-errors": "^2.0.1"
6565
"typescript": "^6.0.2"
6666
"typescript-eslint": "^8.59.0"
67-
"zod": "^4.4.1"
67+
"zod": "^4.4.3"
6868
overrides:
6969
"@scarf/scarf": "-"
7070
"lightningcss": "-"

0 commit comments

Comments
 (0)