Skip to content

Commit

Permalink
Update svelte version in renderer-svelte (#2300)
Browse files Browse the repository at this point in the history
* Update svelte version in renderer-svelte

I am having funny console logs saying that my svelte component `received an unexpected slot "default".`. This issue is described here: sveltejs/kit#981

Supposedly, updating svelte to version 3.44.3 solves this issue. I couldn't test it, though.

* Update Svelte to 3.44.3 to get rid of console warning that component receives an unexpected slot "default".
  • Loading branch information
moritzlaube committed Jan 4, 2022
1 parent e75b50d commit 3448667
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/swift-cherries-rule.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@astrojs/renderer-svelte': patch
---

Update Svelte to 3.44.3 to get rid of console warning that component receives an unexpected slot "default".
2 changes: 1 addition & 1 deletion packages/renderers/renderer-svelte/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
},
"dependencies": {
"@sveltejs/vite-plugin-svelte": "1.0.0-next.30",
"svelte": "^3.44.2",
"svelte": "^3.44.3",
"svelte-preprocess": "^4.9.8"
},
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -8804,7 +8804,7 @@ svelte-preprocess@^4.9.8:
sorcery "^0.10.0"
strip-indent "^3.0.0"

svelte@^3.44.2:
svelte@^3.44.3:
version "3.44.3"
resolved "https://registry.yarnpkg.com/svelte/-/svelte-3.44.3.tgz#795b1ced6ed3da44969099e5061b850c93c95e9a"
integrity sha512-aGgrNCip5PQFNfq9e9tmm7EYxWLVHoFsEsmKrtOeRD8dmoGDdyTQ+21xd7qgFd8MNdKGSYvg7F9dr+Tc0yDymg==
Expand Down

0 comments on commit 3448667

Please sign in to comment.