0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-01-20 22:12:38 -05:00

fix: try the simple solution (#10200)

This commit is contained in:
Erika 2024-02-22 20:21:31 +01:00 committed by GitHub
parent 0b4e5298d2
commit c692d0c66a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 7 additions and 2 deletions

View file

@ -0,0 +1,5 @@
---
"@astrojs/preact": patch
---
Fixes passing children to server-rendered components causing an error

View file

@ -40,7 +40,7 @@
"@preact/preset-vite": "^2.7.0", "@preact/preset-vite": "^2.7.0",
"@preact/signals": "^1.2.1", "@preact/signals": "^1.2.1",
"babel-plugin-transform-hook-names": "^1.0.2", "babel-plugin-transform-hook-names": "^1.0.2",
"preact-render-to-string": "^6.3.1", "preact-render-to-string": "~6.3.1",
"preact-ssr-prepass": "^1.2.1" "preact-ssr-prepass": "^1.2.1"
}, },
"devDependencies": { "devDependencies": {

2
pnpm-lock.yaml generated
View file

@ -4487,7 +4487,7 @@ importers:
specifier: ^1.0.2 specifier: ^1.0.2
version: 1.0.2 version: 1.0.2
preact-render-to-string: preact-render-to-string:
specifier: ^6.3.1 specifier: ~6.3.1
version: 6.3.1(preact@10.19.3) version: 6.3.1(preact@10.19.3)
preact-ssr-prepass: preact-ssr-prepass:
specifier: ^1.2.1 specifier: ^1.2.1