mirror of
https://github.com/withastro/astro.git
synced 2024-12-16 21:46:22 -05:00
chore(deps): Upgrade Zod to @latest (#8762)
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> Co-authored-by: Nate Moore <nate@astro.build> Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
This commit is contained in:
parent
4c261c9c2f
commit
35cd810f0f
6 changed files with 26 additions and 11 deletions
7
.changeset/swift-rivers-impress.md
Normal file
7
.changeset/swift-rivers-impress.md
Normal file
|
@ -0,0 +1,7 @@
|
|||
---
|
||||
'@astrojs/markdoc': patch
|
||||
'@astrojs/sitemap': patch
|
||||
'astro': patch
|
||||
---
|
||||
|
||||
Upgrades Zod to 3.22.4
|
|
@ -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",
|
||||
|
@ -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"
|
||||
|
|
|
@ -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']>;
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"sitemap": "^7.1.1",
|
||||
"zod": "3.21.1"
|
||||
"zod": "^3.22.4"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@astrojs/node": "workspace:*",
|
||||
|
|
|
@ -586,6 +586,9 @@ importers:
|
|||
magic-string:
|
||||
specifier: ^0.30.3
|
||||
version: 0.30.5
|
||||
mdast-util-to-hast:
|
||||
specifier: 12.3.0
|
||||
version: 12.3.0
|
||||
mime:
|
||||
specifier: ^3.0.0
|
||||
version: 3.0.0
|
||||
|
@ -653,8 +656,8 @@ importers:
|
|||
specifier: ^21.1.1
|
||||
version: 21.1.1
|
||||
zod:
|
||||
specifier: 3.21.1
|
||||
version: 3.21.1
|
||||
specifier: ^3.22.4
|
||||
version: 3.22.4
|
||||
optionalDependencies:
|
||||
sharp:
|
||||
specifier: ^0.32.5
|
||||
|
@ -3760,8 +3763,8 @@ importers:
|
|||
specifier: ^0.6.8
|
||||
version: 0.6.10
|
||||
zod:
|
||||
specifier: 3.21.1
|
||||
version: 3.21.1
|
||||
specifier: ^3.22.4
|
||||
version: 3.22.4
|
||||
devDependencies:
|
||||
'@astrojs/markdown-remark':
|
||||
specifier: workspace:*
|
||||
|
@ -4459,8 +4462,8 @@ importers:
|
|||
specifier: ^7.1.1
|
||||
version: 7.1.1
|
||||
zod:
|
||||
specifier: 3.21.1
|
||||
version: 3.21.1
|
||||
specifier: ^3.22.4
|
||||
version: 3.22.4
|
||||
devDependencies:
|
||||
'@astrojs/node':
|
||||
specifier: workspace:*
|
||||
|
@ -17836,8 +17839,8 @@ packages:
|
|||
engines: {node: '>=12.20'}
|
||||
dev: false
|
||||
|
||||
/zod@3.21.1:
|
||||
resolution: {integrity: sha512-+dTu2m6gmCbO9Ahm4ZBDapx2O6ZY9QSPXst2WXjcznPMwf2YNpn3RevLx4KkZp1OPW/ouFcoBtBzFz/LeY69oA==}
|
||||
/zod@3.22.4:
|
||||
resolution: {integrity: sha512-iC+8Io04lddc+mVqQ9AZ7OQ2MrUKGN+oIQyq1vemgt46jwCwLfhq7/pwnBnNXXXZb8VTVLKwp9EDkx+ryxIWmg==}
|
||||
dev: false
|
||||
|
||||
/zwitch@2.0.4:
|
||||
|
|
Loading…
Reference in a new issue