From bdcc3b0fbda3caa76e8bdecc132dffe1d76d959a Mon Sep 17 00:00:00 2001 From: jer-0 <86112502+jer-0@users.noreply.github.com> Date: Mon, 10 Jul 2023 04:48:42 -0400 Subject: [PATCH] Allow Svelte 4 in the specified peer dependency range (#4128) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Update package.json closes: https://github.com/statelyai/xstate/issues/4105, make xstate-svelte compatible with svelte 4. * Update packages/xstate-svelte/package.json * Create forty-knives-remain.md --------- Co-authored-by: Mateusz BurzyƄski --- .changeset/forty-knives-remain.md | 5 +++++ packages/xstate-svelte/package.json | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/forty-knives-remain.md diff --git a/.changeset/forty-knives-remain.md b/.changeset/forty-knives-remain.md new file mode 100644 index 0000000000..5ccbf7e52d --- /dev/null +++ b/.changeset/forty-knives-remain.md @@ -0,0 +1,5 @@ +--- +"@xstate/svelte": minor +--- + +Allow Svelte 4 in the specified peer dependency range. diff --git a/packages/xstate-svelte/package.json b/packages/xstate-svelte/package.json index 619057b803..3a888e4246 100644 --- a/packages/xstate-svelte/package.json +++ b/packages/xstate-svelte/package.json @@ -46,7 +46,7 @@ }, "peerDependencies": { "@xstate/fsm": "^2.1.0", - "svelte": "^3.24.1", + "svelte": "^3.24.1 || ^4", "xstate": "^4.38.0" }, "peerDependenciesMeta": {