Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): Upgrade Zod to @latest #8762

Merged
merged 13 commits into from
Oct 30, 2023
7 changes: 7 additions & 0 deletions .changeset/swift-rivers-impress.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'@astrojs/markdoc': patch
'@astrojs/sitemap': patch
'astro': patch
---

Upgrades Zod to 3.22.4
3 changes: 2 additions & 1 deletion packages/astro/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@
"js-yaml": "^4.1.0",
"kleur": "^4.1.4",
"magic-string": "^0.30.3",
"mdast-util-to-hast": "12.3.0",
"mime": "^3.0.0",
"ora": "^7.0.1",
"p-limit": "^4.0.0",
Expand All @@ -176,7 +177,7 @@
"vitefu": "^0.2.4",
"which-pm": "^2.1.1",
"yargs-parser": "^21.1.1",
"zod": "3.21.1"
"zod": "^3.22.4"
},
"optionalDependencies": {
"sharp": "^0.32.5"
Expand Down
4 changes: 4 additions & 0 deletions packages/astro/src/core/config/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ import { pathToFileURL } from 'node:url';
import { z } from 'zod';
import { appendForwardSlash, prependForwardSlash, removeTrailingForwardSlash } from '../path.js';

// This import is required to appease TypeScript!
// See https://github.com/withastro/astro/pull/8762
import 'mdast-util-to-hast';

type ShikiLangs = NonNullable<ShikiConfig['langs']>;
type ShikiTheme = NonNullable<ShikiConfig['theme']>;

Expand Down
2 changes: 1 addition & 1 deletion packages/integrations/markdoc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
"htmlparser2": "^9.0.0",
"kleur": "^4.1.5",
"shikiji": "^0.6.8",
"zod": "3.21.1"
"zod": "^3.22.4"
},
"peerDependencies": {
"astro": "^3.0.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/integrations/sitemap/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
},
"dependencies": {
"sitemap": "^7.1.1",
"zod": "3.21.1"
"zod": "^3.22.4"
},
"devDependencies": {
"@astrojs/node": "workspace:*",
Expand Down
19 changes: 11 additions & 8 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading