diff --git a/package.json b/package.json index 6b906f90bda94..fdbe1d70d8d93 100644 --- a/package.json +++ b/package.json @@ -900,7 +900,7 @@ "@turf/distance": "6.0.1", "@turf/helpers": "6.0.1", "@turf/length": "^6.0.2", - "@xstate/react": "^3.2.2", + "@xstate/react": "^4.1.0", "JSONStream": "1.3.5", "adm-zip": "^0.5.9", "ajv": "^8.12.0", @@ -1134,7 +1134,7 @@ "wellknown": "^0.5.0", "whatwg-fetch": "^3.0.0", "xml2js": "^0.5.0", - "xstate": "^4.38.2", + "xstate": "^5.8.0", "xterm": "^5.1.0", "yauzl": "^2.10.0", "yazl": "^2.5.1", diff --git a/yarn.lock b/yarn.lock index dbf5bb8f1f7e2..446149ad4261f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -11053,10 +11053,10 @@ resolved "https://registry.yarnpkg.com/@xobotyi/scrollbar-width/-/scrollbar-width-1.9.5.tgz#80224a6919272f405b87913ca13b92929bdf3c4d" integrity sha512-N8tkAACJx2ww8vFMneJmaAgmjAG1tnVBZJRLRcx061tmsLRZHSEZSLuGWnwPtunsSLvSqXQ2wfp7Mgqg1I+2dQ== -"@xstate/react@^3.2.2": - version "3.2.2" - resolved "https://registry.yarnpkg.com/@xstate/react/-/react-3.2.2.tgz#ddf0f9d75e2c19375b1e1b7335e72cb99762aed8" - integrity sha512-feghXWLedyq8JeL13yda3XnHPZKwYDN5HPBLykpLeuNpr9178tQd2/3d0NrH6gSd0sG5mLuLeuD+ck830fgzLQ== +"@xstate/react@^4.1.0": + version "4.1.0" + resolved "https://registry.yarnpkg.com/@xstate/react/-/react-4.1.0.tgz#369378951e1f7f9326700f65ed02847598aad704" + integrity sha512-Fh89luCwuMXIVXIua67d8pNuVgdGpqke2jHfIIL+ZjkfNh6YFtPDSwNSZZDhdNUsOW1zZYSbtUzbC8MIUyTSHQ== dependencies: use-isomorphic-layout-effect "^1.1.2" use-sync-external-store "^1.0.0" @@ -31908,10 +31908,10 @@ xpath@^0.0.33: resolved "https://registry.yarnpkg.com/xpath/-/xpath-0.0.33.tgz#5136b6094227c5df92002e7c3a13516a5074eb07" integrity sha512-NNXnzrkDrAzalLhIUc01jO2mOzXGXh1JwPgkihcLLzw98c0WgYDmmjSh1Kl3wzaxSVWMuA+fe0WTWOBDWCBmNA== -xstate@^4.38.2: - version "4.38.2" - resolved "https://registry.yarnpkg.com/xstate/-/xstate-4.38.2.tgz#1b74544fc9c8c6c713ba77f81c6017e65aa89804" - integrity sha512-Fba/DwEPDLneHT3tbJ9F3zafbQXszOlyCJyQqqdzmtlY/cwE2th462KK48yaANf98jHlP6lJvxfNtN0LFKXPQg== +xstate@^5.8.0: + version "5.8.2" + resolved "https://registry.yarnpkg.com/xstate/-/xstate-5.8.2.tgz#1d2cd6bed17ccff85fc7a0500c1da00333df68c6" + integrity sha512-uNCEpI0+h1Dwy8yLjBCFj8b94LxWSp+xlyrmS5+X5KQ2WnKlQfILImoDOEOK4bUOnt5xhjWAtW9sGecoWn/uew== "xtend@>=4.0.0 <4.1.0-0", xtend@^4.0.0, xtend@^4.0.1, xtend@^4.0.2, xtend@~4.0.1: version "4.0.2"