pin preact to 10.5 to resolve preact issue (#2170)
* pin preact to 10.5 to resolve preact issue * fix: use current yarn.lock and only update preact Co-authored-by: Nate Moore <nate@skypack.dev>
This commit is contained in:
parent
9ac4259d2e
commit
5af24efb34
3 changed files with 7 additions and 2 deletions
5
.changeset/curvy-crabs-pay.md
Normal file
5
.changeset/curvy-crabs-pay.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
'@astrojs/renderer-preact': patch
|
||||
---
|
||||
|
||||
Fix preact 10.6 regression by pinning to preact 10.5
|
|
@ -18,7 +18,7 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"@babel/plugin-transform-react-jsx": "^7.16.0",
|
||||
"preact": "^10.5.15",
|
||||
"preact": "~10.5.15",
|
||||
"preact-render-to-string": "^5.1.19"
|
||||
},
|
||||
"engines": {
|
||||
|
|
|
@ -9164,7 +9164,7 @@ preact-render-to-string@^5.1.19:
|
|||
dependencies:
|
||||
pretty-format "^3.8.0"
|
||||
|
||||
preact@^10.5.15:
|
||||
preact@~10.5.15:
|
||||
version "10.5.15"
|
||||
resolved "https://registry.yarnpkg.com/preact/-/preact-10.5.15.tgz#6df94d8afecf3f9e10a742fd8c362ddab464225f"
|
||||
integrity sha512-5chK29n6QcJc3m1lVrKQSQ+V7K1Gb8HeQY6FViQ5AxCAEGu3DaHffWNDkC9+miZgsLvbvU9rxbV1qinGHMHzqA==
|
||||
|
|
Loading…
Reference in a new issue