From 28aa1d28050961e2e98468c30704a97ecb64f97c Mon Sep 17 00:00:00 2001 From: Jerel Miller Date: Fri, 25 Sep 2020 17:16:01 -0700 Subject: [PATCH] chore: add xstate libraries --- package-lock.json | 28 +++++++++++++++++++++++++--- package.json | 4 +++- 2 files changed, 28 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index 8ddbf6be3..28dffce18 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6257,6 +6257,15 @@ "resolved": "https://registry.npmjs.org/@xobotyi/scrollbar-width/-/scrollbar-width-1.9.5.tgz", "integrity": "sha512-N8tkAACJx2ww8vFMneJmaAgmjAG1tnVBZJRLRcx061tmsLRZHSEZSLuGWnwPtunsSLvSqXQ2wfp7Mgqg1I+2dQ==" }, + "@xstate/react": { + "version": "1.0.0-rc.6", + "resolved": "https://registry.npmjs.org/@xstate/react/-/react-1.0.0-rc.6.tgz", + "integrity": "sha512-H4VMWaF60thHEZEMHBXWFUwOr0ppPFg65Q8effrG0EgBA+hIFDkJF6OzNVQReeD4HmYrGw7hRuuHTR8elanfnQ==", + "requires": { + "use-isomorphic-layout-effect": "^1.0.0", + "use-subscription": "^1.3.0" + } + }, "@xtuc/ieee754": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/@xtuc/ieee754/-/ieee754-1.2.0.tgz", @@ -31450,6 +31459,11 @@ "use-persisted-state": "^0.3.0" } }, + "use-isomorphic-layout-effect": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/use-isomorphic-layout-effect/-/use-isomorphic-layout-effect-1.0.0.tgz", + "integrity": "sha512-JMwJ7Vd86NwAt1jH7q+OIozZSIxA4ND0fx6AsOe2q1H8ooBUp5aN6DvVCqZiIaYU6JaMRJGyR0FO7EBCIsb/Rg==" + }, "use-media": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/use-media/-/use-media-1.4.0.tgz", @@ -31463,6 +31477,14 @@ "@use-it/event-listener": "^0.1.2" } }, + "use-subscription": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/use-subscription/-/use-subscription-1.4.1.tgz", + "integrity": "sha512-7+IIwDG/4JICrWHL/Q/ZPK5yozEnvRm6vHImu0LKwQlmWGKeiF7mbAenLlK/cTNXrTtXHU/SFASQHzB6+oSJMQ==", + "requires": { + "object-assign": "^4.1.1" + } + }, "utfx": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/utfx/-/utfx-1.0.1.tgz", @@ -32516,9 +32538,9 @@ } }, "xstate": { - "version": "4.11.0", - "resolved": "https://registry.npmjs.org/xstate/-/xstate-4.11.0.tgz", - "integrity": "sha512-v+S3jF2YrM2tFOit8o7+4N3FuFd9IIGcIKHyfHeeNjMlmNmwuiv/IbY9uw7ECifx7H/A9aGLcxPSr0jdjTGDww==" + "version": "4.13.0", + "resolved": "https://registry.npmjs.org/xstate/-/xstate-4.13.0.tgz", + "integrity": "sha512-UnUJJzP2KTPqnmxIoD/ymXtpy/hehZnUlO6EXqWC/72XkPb15p9Oz/X4WhS3QE+by7NP+6b5bCi/GTGFzm5D+A==" }, "xtend": { "version": "4.0.2", diff --git a/package.json b/package.json index 20925fe52..061c482a6 100644 --- a/package.json +++ b/package.json @@ -9,6 +9,7 @@ "@mdx-js/react": "^1.6.16", "@newrelic/gatsby-theme-newrelic": "^1.9.5", "@splitsoftware/splitio-react": "^1.2.0", + "@xstate/react": "^1.0.0-rc.6", "classnames": "^2.2.6", "date-fns": "^2.16.1", "eslint-plugin-react-hooks": "^4.1.0", @@ -50,7 +51,8 @@ "react-shadow": "^18.3.0", "react-simple-code-editor": "^0.11.0", "use-dark-mode": "^2.3.1", - "use-media": "^1.4.0" + "use-media": "^1.4.0", + "xstate": "^4.13.0" }, "devDependencies": { "@newrelic/eslint-plugin-newrelic": "^0.3.0",