From 344866762c3a96b92bd754cf3706db73e2d74647 Mon Sep 17 00:00:00 2001 From: moritzlaube <39345259+moritzlaube@users.noreply.github.com> Date: Tue, 4 Jan 2022 16:17:21 +0100 Subject: [PATCH] Update svelte version in renderer-svelte (#2300) * 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: https://github.com/sveltejs/kit/issues/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". --- .changeset/swift-cherries-rule.md | 5 +++++ packages/renderers/renderer-svelte/package.json | 2 +- yarn.lock | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 .changeset/swift-cherries-rule.md diff --git a/.changeset/swift-cherries-rule.md b/.changeset/swift-cherries-rule.md new file mode 100644 index 000000000000..7bcfce518c43 --- /dev/null +++ b/.changeset/swift-cherries-rule.md @@ -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". diff --git a/packages/renderers/renderer-svelte/package.json b/packages/renderers/renderer-svelte/package.json index 4456cd802b42..dc476725a1ab 100644 --- a/packages/renderers/renderer-svelte/package.json +++ b/packages/renderers/renderer-svelte/package.json @@ -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": { diff --git a/yarn.lock b/yarn.lock index 0e2c658ce595..5d15d4293601 100644 --- a/yarn.lock +++ b/yarn.lock @@ -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==