Skip to content

Commit cef63b7

Browse files
Bump zod from 4.1.12 to 4.3.6 (#42218)
1 parent eb6c53a commit cef63b7

4 files changed

Lines changed: 25 additions & 25 deletions

File tree

package-lock.json

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

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@
181181
"terser": "^5.44.1",
182182
"unist-util-visit": "^5.0.0",
183183
"vnu-jar": "25.11.25",
184-
"zod": "^4.2.1"
184+
"zod": "^4.3.6"
185185
},
186186
"files": [
187187
"dist/{css,js}/*.{css,js,map}",

site/src/libs/config.ts

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -18,19 +18,19 @@ const configSchema = z.object({
1818
max: z.number()
1919
}),
2020
authors: z.string(),
21-
baseURL: z.string().url(),
22-
blog: z.string().url(),
21+
baseURL: z.url(),
22+
blog: z.url(),
2323
cdn: z.object({
24-
css: z.string().url(),
25-
css_rtl: z.string().url(),
24+
css: z.url(),
25+
css_rtl: z.url(),
2626
css_hash: z.string(),
2727
css_rtl_hash: z.string(),
28-
js: z.string().url(),
28+
js: z.url(),
2929
js_hash: z.string(),
30-
js_bundle: z.string().url(),
30+
js_bundle: z.url(),
3131
js_bundle_hash: z.string(),
32-
popper: z.string().url(),
33-
popper_esm: z.string().url(),
32+
popper: z.url(),
33+
popper_esm: z.url(),
3434
popper_hash: z.string()
3535
}),
3636
current_version: zVersionSemver,
@@ -39,17 +39,17 @@ const configSchema = z.object({
3939
docs_version: zVersionMajorMinor,
4040
docsDir: z.string(),
4141
download: z.object({
42-
dist: z.string().url(),
43-
dist_examples: z.string().url(),
44-
source: z.string().url()
42+
dist: z.url(),
43+
dist_examples: z.url(),
44+
source: z.url()
4545
}),
46-
github_org: z.string().url(),
47-
icons: z.string().url(),
48-
opencollective: z.string().url(),
49-
repo: z.string().url(),
46+
github_org: z.url(),
47+
icons: z.url(),
48+
opencollective: z.url(),
49+
repo: z.url(),
5050
rfs_version: zPrefixedVersionSemver,
5151
subtitle: z.string(),
52-
swag: z.string().url(),
52+
swag: z.url(),
5353
title: z.string(),
5454
toc: z.object({
5555
min: z.number(),

site/src/libs/data.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ const dataDefinitions = {
3333
'docs-versions': z
3434
.object({
3535
group: z.string(),
36-
baseurl: z.string().url(),
36+
baseurl: z.url(),
3737
description: z.string(),
3838
versions: z.union([zVersionSemver, zVersionMajorMinor]).array()
3939
})
@@ -58,13 +58,13 @@ const dataDefinitions = {
5858
preferred: z
5959
.object({
6060
name: z.string(),
61-
website: z.string().url()
61+
website: z.url()
6262
})
6363
.array(),
6464
more: z
6565
.object({
6666
name: z.string(),
67-
website: z.string().url()
67+
website: z.url()
6868
})
6969
.array()
7070
}),
@@ -104,7 +104,7 @@ const dataDefinitions = {
104104
name: z.string(),
105105
code: zLanguageCode,
106106
description: z.string(),
107-
url: z.string().url()
107+
url: z.url()
108108
})
109109
.array()
110110
} satisfies Record<string, DataSchema>

0 commit comments

Comments
 (0)