diff --git a/package.json b/package.json index 904e818..35ea102 100644 --- a/package.json +++ b/package.json @@ -54,9 +54,9 @@ "access": "public" }, "dependencies": { - "@chromaui/rrweb-snapshot": "2.0.0-alpha.7-noAbsolute.2", "@storybook/csf": "^0.1.0", - "lodash.debounce": "^4.0.8" + "lodash.debounce": "^4.0.8", + "rrweb-snapshot": "^2.0.0-alpha.4" }, "peerDependencies": { "@storybook/addon-essentials": ">= 7.0.0", diff --git a/src/preview.ts b/src/preview.ts index d990685..741b79c 100644 --- a/src/preview.ts +++ b/src/preview.ts @@ -1,5 +1,5 @@ import type { RenderToCanvas, WebRenderer } from '@storybook/types'; -import { rebuild } from '@chromaui/rrweb-snapshot'; +import { rebuild } from 'rrweb-snapshot'; // eslint-disable-next-line no-restricted-imports import debounce from 'lodash.debounce'; diff --git a/yarn.lock b/yarn.lock index 9e1bc27..15941e9 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2182,11 +2182,6 @@ resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39" integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw== -"@chromaui/rrweb-snapshot@2.0.0-alpha.7-noAbsolute.2": - version "2.0.0-alpha.7-noAbsolute.2" - resolved "https://registry.yarnpkg.com/@chromaui/rrweb-snapshot/-/rrweb-snapshot-2.0.0-alpha.7-noAbsolute.2.tgz#20efa4772dc9ef7cac99f4d99ee191df879161a8" - integrity sha512-vOVSOgfNyxomxm6ENMqm1C4rLkLLOlyEyhR5J2SKBALuFfuJHjhIqNLSOgqVRO9J3++AUOCktknyJ/F+mSvEfA== - "@colors/colors@1.5.0": version "1.5.0" resolved "https://registry.yarnpkg.com/@colors/colors/-/colors-1.5.0.tgz#bb504579c1cae923e6576a4f5da43d25f97bdbd9" @@ -10715,6 +10710,11 @@ rollup@^3.2.5: optionalDependencies: fsevents "~2.3.2" +rrweb-snapshot@^2.0.0-alpha.4: + version "2.0.0-alpha.4" + resolved "https://registry.yarnpkg.com/rrweb-snapshot/-/rrweb-snapshot-2.0.0-alpha.4.tgz#2801bf5946177b9d685a01661a62d9d2e958f174" + integrity sha512-KQ2OtPpXO5jLYqg1OnXS/Hf+EzqnZyP5A+XPqBCjYpj3XIje/Od4gdUwjbFo3cVuWq5Cw5Y1d3/xwgIS7/XpQQ== + run-parallel@^1.1.9: version "1.2.0" resolved "https://registry.yarnpkg.com/run-parallel/-/run-parallel-1.2.0.tgz#66d1368da7bdf921eb9d95bd1a9229e7f21a43ee"