diff --git a/.pnpmfile.cjs b/.pnpmfile.cjs index 2a0a73f82871d..c98f007664651 100644 --- a/.pnpmfile.cjs +++ b/.pnpmfile.cjs @@ -103,19 +103,6 @@ function fixDeps( pkg ) { pkg.dependencies[ 'detect-package-manager' ] ??= '*'; } - // Outdated deps. - // https://github.com/linearlabs-workspace/storybook-addon-mock/issues/208 - if ( pkg.name === 'storybook-addon-mock' ) { - for ( const [ dep, ver ] of Object.entries( pkg.dependencies ) ) { - if ( ( dep === 'storybook' || dep.startsWith( '@storybook/' ) ) && ver.match( /^\^7\./ ) ) { - pkg.dependencies[ dep ] += ' || ^8'; - } - } - if ( pkg.dependencies[ '@storybook/addons' ] ) { - pkg.dependencies[ '@storybook/addons' ] = 'npm:@storybook/manager-api@^8'; - } - } - // Types packages have outdated deps. Reset all their `@wordpress/*` deps to star-version, // which pnpm should 🤞 dedupe to match whatever is in use elsewhere in the monorepo. // https://github.com/Automattic/jetpack/pull/35904#discussion_r1508681777 diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index a16023379114d..0f3cdb54bb358 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1344,8 +1344,8 @@ importers: specifier: 8.0.6 version: 8.0.6(react-dom@18.2.0)(react@18.2.0) storybook-addon-mock: - specifier: 4.3.0 - version: 4.3.0(react-dom@18.2.0)(react@18.2.0) + specifier: 5.0.0 + version: 5.0.0(react-dom@18.2.0)(react@18.2.0) style-loader: specifier: 2.0.0 version: 2.0.0(webpack@5.76.0) @@ -7967,6 +7967,49 @@ packages: - supports-color dev: true + /@storybook/blocks@8.0.8(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-kwsjhvnmFEaIl51QHJt/83G7mZ5YbzFKnWCwy8WUpi0xvVcyoFQSGGgwR3XRrzGfUEPK8P2FDHeKw1bLzyIejA==} + peerDependencies: + react: ^16.8.0 || ^17.0.0 || ^18.0.0 + react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 + peerDependenciesMeta: + react: + optional: true + react-dom: + optional: true + dependencies: + '@storybook/channels': 8.0.8 + '@storybook/client-logger': 8.0.8 + '@storybook/components': 8.0.8(react-dom@18.2.0)(react@18.2.0) + '@storybook/core-events': 8.0.8 + '@storybook/csf': 0.1.3 + '@storybook/docs-tools': 8.0.8 + '@storybook/global': 5.0.0 + '@storybook/icons': 1.2.9(react-dom@18.2.0)(react@18.2.0) + '@storybook/manager-api': 8.0.8(react-dom@18.2.0)(react@18.2.0) + '@storybook/preview-api': 8.0.8 + '@storybook/theming': 8.0.8(react-dom@18.2.0)(react@18.2.0) + '@storybook/types': 8.0.8 + '@types/lodash': 4.17.0 + color-convert: 2.0.1 + dequal: 2.0.3 + lodash: 4.17.21 + markdown-to-jsx: 7.3.2(react@18.2.0) + memoizerific: 1.11.3 + polished: 4.3.1 + react: 18.2.0 + react-colorful: 5.6.1(react-dom@18.2.0)(react@18.2.0) + react-dom: 18.2.0(react@18.2.0) + telejson: 7.2.0 + tocbot: 4.25.0 + ts-dedent: 2.2.0 + util-deprecate: 1.0.2 + transitivePeerDependencies: + - '@types/react' + - encoding + - supports-color + dev: true + /@storybook/builder-manager@8.0.6: resolution: {integrity: sha512-N61Gh9FKsSYvsbdBy5qFvq1anTIuUAjh2Z+ezDMlxnfMGG77nZP9heuy1NnCaYCTFzl+lq4BsmRfXXDcKtSPRA==} dependencies: @@ -7989,6 +8032,28 @@ packages: - supports-color dev: true + /@storybook/builder-manager@8.0.8: + resolution: {integrity: sha512-0uihNTpTou0RFMM6PQLlfCxDxse9nIDEb83AmWE/OUnpKDDY9+WFupVWGaZc9HfH9h4Yqre2fiuK1b7KNYe7AQ==} + dependencies: + '@fal-works/esbuild-plugin-global-externals': 2.1.2 + '@storybook/core-common': 8.0.8 + '@storybook/manager': 8.0.8 + '@storybook/node-logger': 8.0.8 + '@types/ejs': 3.1.5 + '@yarnpkg/esbuild-plugin-pnp': 3.0.0-rc.15(esbuild@0.20.2) + browser-assert: 1.2.1 + ejs: 3.1.9 + esbuild: 0.20.2 + esbuild-plugin-alias: 0.2.1 + express: 4.19.2 + fs-extra: 11.2.0 + process: 0.11.10 + util: 0.12.5 + transitivePeerDependencies: + - encoding + - supports-color + dev: true + /@storybook/builder-webpack5@8.0.6(typescript@5.0.4)(webpack-cli@4.9.1): resolution: {integrity: sha512-xhGmjDufD4nhOC9D10A78V73gw5foGWXACs0Trz76PdrSymwHdaTIZ4y4lMJMdp7qkqhO4o2K9kHweO4YPbajg==} peerDependencies: @@ -8052,6 +8117,16 @@ packages: tiny-invariant: 1.3.3 dev: true + /@storybook/channels@8.0.8: + resolution: {integrity: sha512-L3EGVkabv3fweXnykD/GlNUDO5HtwlIfSovC7BF4MmP7662j2/eqlZrJxDojGtbv11XHjWp/UJHUIfKpcHXYjQ==} + dependencies: + '@storybook/client-logger': 8.0.8 + '@storybook/core-events': 8.0.8 + '@storybook/global': 5.0.0 + telejson: 7.2.0 + tiny-invariant: 1.3.3 + dev: true + /@storybook/cli@8.0.6(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-gAnl9soQUu1BtB4sANaqaaeTZAt/ThBSwCdzSLut5p21fP4ovi3FeP7hcDCJbyJZ/AvnD4k6leDrqRQxMVPr0A==} hasBin: true @@ -8102,12 +8177,68 @@ packages: - utf-8-validate dev: true + /@storybook/cli@8.0.8(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-RnSdgykh2i7es1rQ7CNGpDrKK/PN1f0xjwpkAHXCEB6T9KpHBmqDquzZp+N127a1HBHHXy018yi4wT8mSQyEoA==} + hasBin: true + dependencies: + '@babel/core': 7.24.0 + '@babel/types': 7.24.0 + '@ndelangen/get-tarball': 3.0.9 + '@storybook/codemod': 8.0.8 + '@storybook/core-common': 8.0.8 + '@storybook/core-events': 8.0.8 + '@storybook/core-server': 8.0.8(react-dom@18.2.0)(react@18.2.0) + '@storybook/csf-tools': 8.0.8 + '@storybook/node-logger': 8.0.8 + '@storybook/telemetry': 8.0.8 + '@storybook/types': 8.0.8 + '@types/semver': 7.5.8 + '@yarnpkg/fslib': 2.10.3 + '@yarnpkg/libzip': 2.3.0 + chalk: 4.1.2 + commander: 6.2.1 + cross-spawn: 7.0.3 + detect-indent: 6.1.0 + envinfo: 7.12.0 + execa: 5.1.1 + find-up: 5.0.0 + fs-extra: 11.2.0 + get-npm-tarball-url: 2.1.0 + giget: 1.2.3 + globby: 11.1.0 + jscodeshift: 0.15.2 + leven: 3.1.0 + ora: 5.4.1 + prettier: 3.2.5 + prompts: 2.4.2 + read-pkg-up: 7.0.1 + semver: 7.5.2 + strip-json-comments: 3.1.1 + tempy: 1.0.1 + tiny-invariant: 1.3.3 + ts-dedent: 2.2.0 + transitivePeerDependencies: + - '@babel/preset-env' + - bufferutil + - encoding + - react + - react-dom + - supports-color + - utf-8-validate + dev: true + /@storybook/client-logger@8.0.6: resolution: {integrity: sha512-et/IHPHiiOwMg93l5KSgw47NZXz5xOyIrIElRcsT1wr8OJeIB9DzopB/suoHBZ/IML+t8x91atdutzUN2BLF6A==} dependencies: '@storybook/global': 5.0.0 dev: true + /@storybook/client-logger@8.0.8: + resolution: {integrity: sha512-a4BKwl9NLFcuRgMyI7S4SsJeLFK0LCQxIy76V6YyrE1DigoXz4nA4eQxdjLf7JVvU0EZFmNSfbVL/bXzzWKNXA==} + dependencies: + '@storybook/global': 5.0.0 + dev: true + /@storybook/codemod@8.0.6: resolution: {integrity: sha512-IMaTVI+EvmFxkz4leKWKForPC3LFxzfeTmd/QnTNF3nCeyvmIXvP01pQXRjro0+XcGDncEStuxa1d9ClMlac9Q==} dependencies: @@ -8130,6 +8261,28 @@ packages: - supports-color dev: true + /@storybook/codemod@8.0.8: + resolution: {integrity: sha512-ufEBLciLmLlAh+L6lGgBObTiny6odXMKqiJOewQ9XfIN0wdWdyRUf5QdZIPOdfgHhWF2Q2HeswiulsoHm8Z/hA==} + dependencies: + '@babel/core': 7.24.0 + '@babel/preset-env': 7.24.0(@babel/core@7.24.0) + '@babel/types': 7.24.0 + '@storybook/csf': 0.1.3 + '@storybook/csf-tools': 8.0.8 + '@storybook/node-logger': 8.0.8 + '@storybook/types': 8.0.8 + '@types/cross-spawn': 6.0.6 + cross-spawn: 7.0.3 + globby: 11.1.0 + jscodeshift: 0.15.2(@babel/preset-env@7.24.0) + lodash: 4.17.21 + prettier: 3.2.5 + recast: 0.23.6 + tiny-invariant: 1.3.3 + transitivePeerDependencies: + - supports-color + dev: true + /@storybook/components@8.0.6(@types/react@18.2.74)(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-6W2BAqAPJkrExk8D/ug2NPBPvMs05p6Bdt9tk3eWjiMrhG/CUKBzlBTEfNK/mzy3YVB6ijyT2DgsqzmWWYJ/Xw==} peerDependencies: @@ -8172,6 +8325,27 @@ packages: - '@types/react' dev: true + /@storybook/components@8.0.8(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-EpBExH4kHWQJSfA8QXJJ5AsLRUGi5X/zWY7ffiYW8rtnBmEnk3T9FpmnyJlY1A8sdd3b1wQ07JGBDHfL1mdELw==} + peerDependencies: + react: ^16.8.0 || ^17.0.0 || ^18.0.0 + react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 + dependencies: + '@radix-ui/react-slot': 1.0.2(react@18.2.0) + '@storybook/client-logger': 8.0.8 + '@storybook/csf': 0.1.3 + '@storybook/global': 5.0.0 + '@storybook/icons': 1.2.9(react-dom@18.2.0)(react@18.2.0) + '@storybook/theming': 8.0.8(react-dom@18.2.0)(react@18.2.0) + '@storybook/types': 8.0.8 + memoizerific: 1.11.3 + react: 18.2.0 + react-dom: 18.2.0(react@18.2.0) + util-deprecate: 1.0.2 + transitivePeerDependencies: + - '@types/react' + dev: true + /@storybook/core-common@8.0.6: resolution: {integrity: sha512-Z4cA52SjcW6SAV9hayqVm5kyr362O20Zmwz7+H2nYEhcu8bY69y5p45aaoyElMxL1GDNu84GrmTp7dY4URw1fQ==} dependencies: @@ -8208,11 +8382,53 @@ packages: - supports-color dev: true + /@storybook/core-common@8.0.8: + resolution: {integrity: sha512-CL15M2oeQW+Rb1l7ciunLDI2Re+ojL2lX1ZFAiDedcOU+JHsdq43zAuXoZVzp8icUi2AUSwEjZIxGCSingj+JQ==} + dependencies: + '@storybook/core-events': 8.0.8 + '@storybook/csf-tools': 8.0.8 + '@storybook/node-logger': 8.0.8 + '@storybook/types': 8.0.8 + '@yarnpkg/fslib': 2.10.3 + '@yarnpkg/libzip': 2.3.0 + chalk: 4.1.2 + cross-spawn: 7.0.3 + esbuild: 0.20.2 + esbuild-register: 3.5.0(esbuild@0.20.2) + execa: 5.1.1 + file-system-cache: 2.3.0 + find-cache-dir: 3.3.2 + find-up: 5.0.0 + fs-extra: 11.2.0 + glob: 10.3.12 + handlebars: 4.7.8 + lazy-universal-dotenv: 4.0.0 + node-fetch: 2.6.7 + picomatch: 2.3.1 + pkg-dir: 5.0.0 + pretty-hrtime: 1.0.3 + resolve-from: 5.0.0 + semver: 7.5.2 + tempy: 1.0.1 + tiny-invariant: 1.3.3 + ts-dedent: 2.2.0 + util: 0.12.5 + transitivePeerDependencies: + - encoding + - supports-color + dev: true + /@storybook/core-events@8.0.6: resolution: {integrity: sha512-EwGmuMm8QTUAHPhab4yftQWoSCX3OzEk6cQdpLtbNFtRRLE9aPZzxhk5Z/d3KhLNSCUAGyCiDt5I9JxTBetT9A==} dependencies: ts-dedent: 2.2.0 + /@storybook/core-events@8.0.8: + resolution: {integrity: sha512-PtuvR7vS4glDEdCfKB4f1k3Vs1C3rTWP2DNbF+IjjPhNLMBznCdzTAPcz+NUIBvpjjGnhKwWikJ0yj931YjSVg==} + dependencies: + ts-dedent: 2.2.0 + dev: true + /@storybook/core-server@8.0.6(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-COmcjrry8vZXDh08ZGbfDz2bFB4of5wnwOwYf8uwlVND6HnhQzV22On1s3/p8qw+dKOpjpwDdHWtMnndnPNuqQ==} dependencies: @@ -8268,6 +8484,61 @@ packages: - utf-8-validate dev: true + /@storybook/core-server@8.0.8(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-tSEueEBttbSohzhZVN2bFNlFx3eoqQ7p57cjQLKXXwKygS2qKxISKnFy+Y0nj20APz68Wj51kx0rN0nGALeegw==} + dependencies: + '@aw-web-design/x-default-browser': 1.4.126 + '@babel/core': 7.24.0 + '@discoveryjs/json-ext': 0.5.7 + '@storybook/builder-manager': 8.0.8 + '@storybook/channels': 8.0.8 + '@storybook/core-common': 8.0.8 + '@storybook/core-events': 8.0.8 + '@storybook/csf': 0.1.3 + '@storybook/csf-tools': 8.0.8 + '@storybook/docs-mdx': 3.0.0 + '@storybook/global': 5.0.0 + '@storybook/manager': 8.0.8 + '@storybook/manager-api': 8.0.8(react-dom@18.2.0)(react@18.2.0) + '@storybook/node-logger': 8.0.8 + '@storybook/preview-api': 8.0.8 + '@storybook/telemetry': 8.0.8 + '@storybook/types': 8.0.8 + '@types/detect-port': 1.3.5 + '@types/node': 18.19.30 + '@types/pretty-hrtime': 1.0.3 + '@types/semver': 7.5.8 + better-opn: 3.0.2 + chalk: 4.1.2 + cli-table3: 0.6.4 + compression: 1.7.4 + detect-port: 1.5.1 + express: 4.19.2 + fs-extra: 11.2.0 + globby: 11.1.0 + ip: 2.0.1 + lodash: 4.17.21 + open: 8.4.2 + pretty-hrtime: 1.0.3 + prompts: 2.4.2 + read-pkg-up: 7.0.1 + semver: 7.5.2 + telejson: 7.2.0 + tiny-invariant: 1.3.3 + ts-dedent: 2.2.0 + util: 0.12.5 + util-deprecate: 1.0.2 + watchpack: 2.4.1 + ws: 8.16.0 + transitivePeerDependencies: + - bufferutil + - encoding + - react + - react-dom + - supports-color + - utf-8-validate + dev: true + /@storybook/core-webpack@8.0.6: resolution: {integrity: sha512-77f3vc8wQz22hWBzW1pf+MB2K8LBhyUjST0vr0NoO7tPf/7LMvVgtIr/qZdumx9jjytv8P3reJ92pkarqdvdQQ==} dependencies: @@ -8306,6 +8577,22 @@ packages: - supports-color dev: true + /@storybook/csf-tools@8.0.8: + resolution: {integrity: sha512-Ji5fpoGym/MSyHJ6ALghVUUecwhEbN0On+jOZ2VPkrkATi9UDtryHQPdF60HKR63Iv53xRuWRzudB6zm43RTzw==} + dependencies: + '@babel/generator': 7.24.4 + '@babel/parser': 7.24.4 + '@babel/traverse': 7.24.1 + '@babel/types': 7.24.0 + '@storybook/csf': 0.1.3 + '@storybook/types': 8.0.8 + fs-extra: 11.2.0 + recast: 0.23.6 + ts-dedent: 2.2.0 + transitivePeerDependencies: + - supports-color + dev: true + /@storybook/csf@0.1.3: resolution: {integrity: sha512-IPZvXXo4b3G+gpmgBSBqVM81jbp2ePOKsvhgJdhyZJtkYQCII7rg9KKLQhvBQM5sLaF1eU6r0iuwmyynC9d9SA==} dependencies: @@ -8331,6 +8618,21 @@ packages: - supports-color dev: true + /@storybook/docs-tools@8.0.8: + resolution: {integrity: sha512-p/MIrDshXMl/fiCRlfG9StkRYI1QlUyUSQQ/YDBFlBfWcJYARIt3TIvQyvs3Q/apnQNcDXIW663W57s7WHTO2w==} + dependencies: + '@storybook/core-common': 8.0.8 + '@storybook/preview-api': 8.0.8 + '@storybook/types': 8.0.8 + '@types/doctrine': 0.0.3 + assert: 2.1.0 + doctrine: 3.0.0 + lodash: 4.17.21 + transitivePeerDependencies: + - encoding + - supports-color + dev: true + /@storybook/global@5.0.0: resolution: {integrity: sha512-FcOqPAXACP0I3oJ/ws6/rrPT9WGhu915Cg8D02a9YxLo0DE9zI+a9A5gRGvmQ09fiWPukqI8ZAEoQEdWUKMQdQ==} @@ -8368,14 +8670,45 @@ packages: - react-dom dev: true + /@storybook/manager-api@8.0.8(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-1HU4nfLRi0sD2uw229gb8EQyufNWrLvMNpg013kBsBXRd+Dj4dqF3v+KrYFNtteY7riC4mAJ6YcQ4tBUNYZDug==} + dependencies: + '@storybook/channels': 8.0.8 + '@storybook/client-logger': 8.0.8 + '@storybook/core-events': 8.0.8 + '@storybook/csf': 0.1.3 + '@storybook/global': 5.0.0 + '@storybook/icons': 1.2.9(react-dom@18.2.0)(react@18.2.0) + '@storybook/router': 8.0.8 + '@storybook/theming': 8.0.8(react-dom@18.2.0)(react@18.2.0) + '@storybook/types': 8.0.8 + dequal: 2.0.3 + lodash: 4.17.21 + memoizerific: 1.11.3 + store2: 2.14.3 + telejson: 7.2.0 + ts-dedent: 2.2.0 + transitivePeerDependencies: + - react + - react-dom + dev: true + /@storybook/manager@8.0.6: resolution: {integrity: sha512-wdL3lG72qrCOLkxEUW49+hmwA4fIFXFvAEU7wVgEt4KyRRGWhHa8Dr/5Tnq54CWJrA+BTrTPHaoo/Vu4BAjgow==} dev: true + /@storybook/manager@8.0.8: + resolution: {integrity: sha512-pWYHSDmgT8p/XbQMKuDPdgB6KzjePI6dU5KQ5MERYfch1UiuGPVm1HHDlxxSfHW0IIXw9Qnwq4L0Awe4qhvJKQ==} + dev: true + /@storybook/node-logger@8.0.6: resolution: {integrity: sha512-mDRJLVAuTWauO0mnrwajfJV/6zKBJVPp/9g0ULccE3Q+cuqNfUefqfCd17cZBlJHeRsdB9jy9tod48d4qzGEkQ==} dev: true + /@storybook/node-logger@8.0.8: + resolution: {integrity: sha512-ymps3MMTxtMWq0eDiXk1iO7iv0Eg0PuUvOpPPohEJauGzU9THv81xx01aaHKSprFFJYD2LMQr1aFuUplItO12g==} + dev: true + /@storybook/preset-react-webpack@8.0.6(react-dom@18.2.0)(react@18.2.0)(typescript@5.0.4)(webpack-cli@4.9.1): resolution: {integrity: sha512-nOcpjqefSh0kTtKBJEyvWv1QIeWfp47RSwR2z1/jPtU8XT4Tw+Y1g0Vu+RkeL/UWRWYrAoIO++14CxCwFu1Knw==} engines: {node: '>=18.0.0'} @@ -8433,6 +8766,25 @@ packages: util-deprecate: 1.0.2 dev: true + /@storybook/preview-api@8.0.8: + resolution: {integrity: sha512-khgw2mNiBrSZS3KNGQPzjneL3Csh3BOq0yLAtJpT7CRSrI/YjlE7jjcTkKzoxW+UCgvNTnLvsowcuzu82e69fA==} + dependencies: + '@storybook/channels': 8.0.8 + '@storybook/client-logger': 8.0.8 + '@storybook/core-events': 8.0.8 + '@storybook/csf': 0.1.3 + '@storybook/global': 5.0.0 + '@storybook/types': 8.0.8 + '@types/qs': 6.9.14 + dequal: 2.0.3 + lodash: 4.17.21 + memoizerific: 1.11.3 + qs: 6.12.0 + tiny-invariant: 1.3.3 + ts-dedent: 2.2.0 + util-deprecate: 1.0.2 + dev: true + /@storybook/preview@8.0.6: resolution: {integrity: sha512-NdVstxdUghv5goQJ4zFftyezfCEPKHOSNu8k02KU6u6g5IiK430jp5y71E/eiBK3m1AivtluC7tPRSch0HsidA==} dev: true @@ -8542,6 +8894,14 @@ packages: qs: 6.12.0 dev: true + /@storybook/router@8.0.8: + resolution: {integrity: sha512-wdFdNsEKweigU9VkGZtpb7GhBJLWzbABcwOuEy2h0d5m7egB97hy9BxhANdqkC+PbAHrabxC99Ca3wTj50MoDg==} + dependencies: + '@storybook/client-logger': 8.0.8 + memoizerific: 1.11.3 + qs: 6.12.0 + dev: true + /@storybook/source-loader@8.0.6: resolution: {integrity: sha512-19R7iUNK2OVT/a/wWfGAMJwotKn51GrD5vqhGYtaUIp0DgqV7fj1rADvFWkqNrz1b1GWeRqCMcNr7p5l+ZFMEw==} dependencies: @@ -8568,6 +8928,22 @@ packages: - supports-color dev: true + /@storybook/telemetry@8.0.8: + resolution: {integrity: sha512-Uvj4nN01vQgjXZYKF/GKTFE85//Qm4ZTlJxTFWid+oYWc8NpAyJvlsJkj/dsEn4cLrgnJx2e4xvnx0Umr2ck+A==} + dependencies: + '@storybook/client-logger': 8.0.8 + '@storybook/core-common': 8.0.8 + '@storybook/csf-tools': 8.0.8 + chalk: 4.1.2 + detect-package-manager: 2.0.1 + fetch-retry: 5.0.6 + fs-extra: 11.2.0 + read-pkg-up: 7.0.1 + transitivePeerDependencies: + - encoding + - supports-color + dev: true + /@storybook/test-runner@0.17.0: resolution: {integrity: sha512-4mt822j0VF1H/c0//OWSST9eWV0wboncJUQ+hBm5N4wmyuObvwsiMh4pmgXw8Y82wF7g1RIofjEQqAGLa7NjgQ==} engines: {node: ^16.10.0 || ^18.0.0 || >=20.0.0} @@ -8578,9 +8954,9 @@ packages: '@babel/template': 7.24.0 '@babel/types': 7.24.0 '@jest/types': 29.6.3 - '@storybook/core-common': 8.0.6 + '@storybook/core-common': 8.0.8 '@storybook/csf': 0.1.3 - '@storybook/csf-tools': 8.0.6 + '@storybook/csf-tools': 8.0.8 '@storybook/preview-api': 8.0.6 '@swc/core': 1.4.12 '@swc/jest': 0.2.36(@swc/core@1.4.12) @@ -8626,6 +9002,25 @@ packages: react-dom: 18.2.0(react@18.2.0) dev: true + /@storybook/theming@8.0.8(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-43hkNz7yo8Bl97AO2WbxIGprUqMhUZyK9g8383bd30gSxy9nfND/bdSdcgmA8IokDn8qp37Q4QmxtUZdhjMzZQ==} + peerDependencies: + react: ^16.8.0 || ^17.0.0 || ^18.0.0 + react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 + peerDependenciesMeta: + react: + optional: true + react-dom: + optional: true + dependencies: + '@emotion/use-insertion-effect-with-fallbacks': 1.0.1(react@18.2.0) + '@storybook/client-logger': 8.0.8 + '@storybook/global': 5.0.0 + memoizerific: 1.11.3 + react: 18.2.0 + react-dom: 18.2.0(react@18.2.0) + dev: true + /@storybook/types@8.0.6: resolution: {integrity: sha512-YKq4A+3diQ7UCGuyrB/9LkB29jjGoEmPl3TfV7mO1FvdRw22BNuV3GyJCiLUHigSKiZgFo+pfQhmsNRJInHUnQ==} dependencies: @@ -8634,6 +9029,14 @@ packages: file-system-cache: 2.3.0 dev: true + /@storybook/types@8.0.8: + resolution: {integrity: sha512-NGsgCsXnWlaZmHenHDgHGs21zhweZACkqTNsEQ7hvsiF08QeiKAdgJLQg3YeGK73h9mFDRP9djprUtJYab6vnQ==} + dependencies: + '@storybook/channels': 8.0.8 + '@types/express': 4.17.21 + file-system-cache: 2.3.0 + dev: true + /@svgr/babel-plugin-add-jsx-attribute@7.0.0(@babel/core@7.24.0): resolution: {integrity: sha512-khWbXesWIP9v8HuKCl2NU2HNAyqpSQ/vkIl36Nbn4HIwEYSRWL0H7Gs6idJdha2DkpFDWlsqMELvoCE8lfFY6Q==} engines: {node: '>=14'} @@ -21488,8 +21891,8 @@ packages: resolution: {integrity: sha512-4QcZ+yx7nzEFiV4BMLnr/pRa5HYzNITX2ri0Zh6sT9EyQHbBHacC6YigllUPU9X3D0f/22QCgfokpKs52YRrUg==} dev: true - /storybook-addon-mock@4.3.0(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-N4Yepagkom0t5jk6ur3wrtGVeOYTlGx9LX6jg8iRhFbhrpfcbr+6XhmAQSE/3FiNQXwHiwdo1Az8MvlzwymcUA==} + /storybook-addon-mock@5.0.0(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-AGhfdAsksusJgh/VNcaGbXe1gJIVx8RKuPYMCkmCRyeMAEZggrWcU7nIADZWUJuD477mKUkaBP7I54p+3527Xg==} peerDependencies: react: ^16.8.0 || ^17.0.0 || ^18.0.0 react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 @@ -21499,20 +21902,20 @@ packages: react-dom: optional: true dependencies: - '@storybook/addons': /@storybook/manager-api@8.0.6(react-dom@18.2.0)(react@18.2.0) - '@storybook/blocks': 8.0.6(react-dom@18.2.0)(react@18.2.0) - '@storybook/channels': 8.0.6 - '@storybook/components': 8.0.6(react-dom@18.2.0)(react@18.2.0) - '@storybook/core-events': 8.0.6 - '@storybook/manager-api': 8.0.6(react-dom@18.2.0)(react@18.2.0) - '@storybook/theming': 8.0.6(react-dom@18.2.0)(react@18.2.0) + '@storybook/blocks': 8.0.8(react-dom@18.2.0)(react@18.2.0) + '@storybook/channels': 8.0.8 + '@storybook/components': 8.0.8(react-dom@18.2.0)(react@18.2.0) + '@storybook/core-events': 8.0.8 + '@storybook/manager-api': 8.0.8(react-dom@18.2.0)(react@18.2.0) + '@storybook/preview-api': 8.0.8 + '@storybook/theming': 8.0.8(react-dom@18.2.0)(react@18.2.0) mock-xmlhttprequest: 8.3.0 path-to-regexp: 6.2.2 polished: 4.3.1 prop-types: 15.8.1 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) - storybook: 8.0.6(react-dom@18.2.0)(react@18.2.0) + storybook: 8.0.8(react-dom@18.2.0)(react@18.2.0) whatwg-fetch: 3.6.20 transitivePeerDependencies: - '@babel/preset-env' @@ -21538,6 +21941,21 @@ packages: - utf-8-validate dev: true + /storybook@8.0.8(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-9gTnnAakJBtMCg8oPGqnpy7g/C3Tj2IWiVflHiFg1SDD9zXBoc4mZhaYPTne4LRBUhXk7XuFagKfiRN2V/MuKA==} + hasBin: true + dependencies: + '@storybook/cli': 8.0.8(react-dom@18.2.0)(react@18.2.0) + transitivePeerDependencies: + - '@babel/preset-env' + - bufferutil + - encoding + - react + - react-dom + - supports-color + - utf-8-validate + dev: true + /stream-shift@1.0.3: resolution: {integrity: sha512-76ORR0DO1o1hlKwTbi/DM3EXWGf3ZJYO8cXX5RJwnul2DEg2oyoZyjLNoQM8WsvZiFKCRfC1O0J7iCvie3RZmQ==} dev: true diff --git a/projects/js-packages/storybook/changelog/renovate-storybook-addon-mock-5.x b/projects/js-packages/storybook/changelog/renovate-storybook-addon-mock-5.x new file mode 100644 index 0000000000000..c47cb18e82997 --- /dev/null +++ b/projects/js-packages/storybook/changelog/renovate-storybook-addon-mock-5.x @@ -0,0 +1,4 @@ +Significance: patch +Type: changed + +Updated package dependencies. diff --git a/projects/js-packages/storybook/package.json b/projects/js-packages/storybook/package.json index a8968de169260..52eb421aadf57 100644 --- a/projects/js-packages/storybook/package.json +++ b/projects/js-packages/storybook/package.json @@ -63,7 +63,7 @@ "sass": "1.64.1", "sass-loader": "12.4.0", "storybook": "8.0.6", - "storybook-addon-mock": "4.3.0", + "storybook-addon-mock": "5.0.0", "style-loader": "2.0.0", "ts-dedent": "2.2.0", "typescript": "5.0.4",