From 18a4d0e4cb65bcf7ad39eff8a43bf4c50ee9ca9b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 23 Jan 2025 07:52:04 +0000 Subject: [PATCH] Bump react and @types/react Bumps [react](https://github.com/facebook/react/tree/HEAD/packages/react) and [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react). These dependencies needed to be updated together. Updates `react` from 18.2.0 to 19.0.0 - [Release notes](https://github.com/facebook/react/releases) - [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md) - [Commits](https://github.com/facebook/react/commits/v19.0.0/packages/react) Updates `@types/react` from 18.2.9 to 19.0.7 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react) --- updated-dependencies: - dependency-name: react dependency-type: direct:production update-type: version-update:semver-major - dependency-name: "@types/react" dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- pnpm-lock.yaml | 278 ++++++++++++++++--------------- polaris-react/package.json | 4 +- polaris.shopify.com/package.json | 4 +- 3 files changed, 145 insertions(+), 141 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 15f47b9afab..53d9b2be556 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -271,7 +271,7 @@ importers: version: link:../polaris-tokens '@types/react': specifier: '*' - version: 18.2.9 + version: 19.0.7 '@types/react-dom': specifier: '*' version: 18.2.4 @@ -283,7 +283,7 @@ importers: version: 3.2.0 react-transition-group: specifier: ^4.4.2 - version: 4.4.2(react-dom@18.2.0)(react@18.2.0) + version: 4.4.2(react-dom@18.2.0)(react@19.0.0) devDependencies: '@changesets/get-release-plan': specifier: ^3.0.13 @@ -299,7 +299,7 @@ importers: version: 5.0.1(postcss@8.5.1) '@shopify/react-testing': specifier: ^4.1.0 - version: 4.1.0(react-dom@18.2.0)(react@18.2.0) + version: 4.1.0(react-dom@18.2.0)(react@19.0.0) '@shopify/useful-types': specifier: ^5.3.0 version: 5.3.0 @@ -314,7 +314,7 @@ importers: version: 8.5.1(storybook@8.5.1) '@storybook/blocks': specifier: ^8.5.1 - version: 8.5.1(react-dom@18.2.0)(react@18.2.0)(storybook@8.5.1) + version: 8.5.1(react-dom@18.2.0)(react@19.0.0)(storybook@8.5.1) '@storybook/components': specifier: ^8.5.1 version: 8.5.1(storybook@8.5.1) @@ -326,10 +326,10 @@ importers: version: 8.5.1(storybook@8.5.1) '@storybook/react': specifier: ^8.5.1 - version: 8.5.1(@storybook/test@8.5.0)(react-dom@18.2.0)(react@18.2.0)(storybook@8.5.1)(typescript@4.9.3) + version: 8.5.1(@storybook/test@8.5.0)(react-dom@18.2.0)(react@19.0.0)(storybook@8.5.1)(typescript@4.9.3) '@storybook/react-vite': specifier: ^8.5.1 - version: 8.5.1(@storybook/test@8.5.0)(react-dom@18.2.0)(react@18.2.0)(rollup@3.29.5)(storybook@8.5.1)(typescript@4.9.3)(vite@4.5.6) + version: 8.5.1(@storybook/test@8.5.0)(react-dom@18.2.0)(react@19.0.0)(rollup@3.29.5)(storybook@8.5.1)(typescript@4.9.3)(vite@4.5.6) '@storybook/test': specifier: ^8.5.0 version: 8.5.0(storybook@8.5.1) @@ -400,11 +400,11 @@ importers: specifier: ^6.0.0 version: 6.1.0(postcss@8.5.1) react: - specifier: ^18.2.0 - version: 18.2.0 + specifier: ^19.0.0 + version: 19.0.0 react-dom: specifier: ^18.2.0 - version: 18.2.0(react@18.2.0) + version: 18.2.0(react@19.0.0) rimraf: specifier: ^3.0.0 version: 3.0.2 @@ -440,16 +440,16 @@ importers: dependencies: '@floating-ui/react-dom-interactions': specifier: ^0.10.1 - version: 0.10.1(react-dom@18.2.0)(react@18.2.0) + version: 0.10.1(react-dom@18.2.0)(react@19.0.0) '@headlessui/react': specifier: ^1.6.5 - version: 1.6.5(react-dom@18.2.0)(react@18.2.0) + version: 1.6.5(react-dom@18.2.0)(react@19.0.0) '@juggle/resize-observer': specifier: ^3.4.0 version: 3.4.0 '@radix-ui/react-polymorphic': specifier: ^0.0.14 - version: 0.0.14(react@18.2.0) + version: 0.0.14(react@19.0.0) '@shopify/polaris': specifier: ^13.9.2 version: link:../polaris-react @@ -473,7 +473,7 @@ importers: version: 2.1.0 framer-motion: specifier: ^6.5.1 - version: 6.5.1(react-dom@18.2.0)(react@18.2.0) + version: 6.5.1(react-dom@18.2.0)(react@19.0.0) fuse.js: specifier: ^6.5.3 version: 6.5.3 @@ -494,28 +494,28 @@ importers: version: 4.0.2 next: specifier: ^14.2.7 - version: 14.2.16(@babel/core@7.24.4)(react-dom@18.2.0)(react@18.2.0)(sass@1.83.4) + version: 14.2.16(@babel/core@7.24.4)(react-dom@18.2.0)(react@19.0.0)(sass@1.83.4) next-mdx-remote: specifier: ^4.4.1 - version: 4.4.1(react-dom@18.2.0)(react@18.2.0) + version: 4.4.1(react-dom@18.2.0)(react@19.0.0) prismjs: specifier: ^1.29.0 version: 1.29.0 react: - specifier: ^18.2.0 - version: 18.2.0 + specifier: ^19.0.0 + version: 19.0.0 react-dom: specifier: ^18.2.0 - version: 18.2.0(react@18.2.0) + version: 18.2.0(react@19.0.0) react-markdown: specifier: ^8.0.2 - version: 8.0.3(@types/react@18.2.9)(react@18.2.0) + version: 8.0.3(@types/react@19.0.7)(react@19.0.0) react-merge-refs: specifier: ^2.0.1 version: 2.0.1 react-syntax-highlighter: specifier: ^15.5.0 - version: 15.5.0(react@18.2.0) + version: 15.5.0(react@19.0.0) rehype-slug: specifier: ^5.1.0 version: 5.1.0 @@ -536,7 +536,7 @@ importers: version: 2.8.0 use-dark-mode: specifier: ^2.3.1 - version: 2.3.1(react@18.2.0) + version: 2.3.1(react@19.0.0) uuid: specifier: ^9.0.0 version: 9.0.0 @@ -581,8 +581,8 @@ importers: specifier: ^1.26.5 version: 1.26.5 '@types/react': - specifier: ^18.2.0 - version: 18.2.9 + specifier: ^19.0.7 + version: 19.0.7 '@types/unist': specifier: ^2.0.6 version: 2.0.6 @@ -651,7 +651,7 @@ importers: version: 6.4.7 playroom: specifier: ^0.28.0 - version: 0.28.0(react-dom@18.2.0)(react@18.2.0) + version: 0.28.0(react-dom@18.2.0)(react@19.0.0) sass: specifier: ^1.83.4 version: 1.83.4 @@ -4224,28 +4224,28 @@ packages: '@floating-ui/utils': 0.1.6 dev: false - /@floating-ui/react-dom-interactions@0.10.1(react-dom@18.2.0)(react@18.2.0): + /@floating-ui/react-dom-interactions@0.10.1(react-dom@18.2.0)(react@19.0.0): resolution: {integrity: sha512-mb9Sn/cnPjVlEucSZTSt4Iu7NAvqnXTvmzeE5EtfdRhVQO6L94dqqT+DPTmJmbiw4XqzoyGP+Q6J+I5iK2p6bw==} deprecated: Package renamed to @floating-ui/react peerDependencies: react: '>=16.8.0' react-dom: '>=16.8.0' dependencies: - '@floating-ui/react-dom': 1.0.0(react-dom@18.2.0)(react@18.2.0) + '@floating-ui/react-dom': 1.0.0(react-dom@18.2.0)(react@19.0.0) aria-hidden: 1.2.3 - react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) + react: 19.0.0 + react-dom: 18.2.0(react@19.0.0) dev: false - /@floating-ui/react-dom@1.0.0(react-dom@18.2.0)(react@18.2.0): + /@floating-ui/react-dom@1.0.0(react-dom@18.2.0)(react@19.0.0): resolution: {integrity: sha512-uiOalFKPG937UCLm42RxjESTWUVpbbatvlphQAU6bsv+ence6IoVG8JOUZcy8eW81NkU+Idiwvx10WFLmR4MIg==} peerDependencies: react: '>=16.8.0' react-dom: '>=16.8.0' dependencies: '@floating-ui/dom': 1.5.3 - react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) + react: 19.0.0 + react-dom: 18.2.0(react@19.0.0) dev: false /@floating-ui/utils@0.1.6: @@ -4262,15 +4262,15 @@ packages: '@hapi/hoek': 9.3.0 dev: true - /@headlessui/react@1.6.5(react-dom@18.2.0)(react@18.2.0): + /@headlessui/react@1.6.5(react-dom@18.2.0)(react@19.0.0): resolution: {integrity: sha512-3VkKteDxlxf3fE0KbfO9t60KC1lM7YNpZggLpwzVNg1J/zwL+h+4N7MBlFDVpInZI3rKlZGpNx0PWsG/9c2vQg==} engines: {node: '>=10'} peerDependencies: react: ^16 || ^17 || ^18 react-dom: ^16 || ^17 || ^18 dependencies: - react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) + react: 19.0.0 + react-dom: 18.2.0(react@19.0.0) dev: false /@humanwhocodes/config-array@0.9.5: @@ -4849,14 +4849,14 @@ packages: - supports-color dev: false - /@mdx-js/react@2.3.0(react@18.2.0): + /@mdx-js/react@2.3.0(react@19.0.0): resolution: {integrity: sha512-zQH//gdOmuu7nt2oJR29vFhDv88oGPmVw6BggmrHeMI+xgEkp1B2dX9/bMBSYtK0dyLX/aOmesKS09g222K1/g==} peerDependencies: react: '>=16' dependencies: '@types/mdx': 2.0.3 - '@types/react': 18.2.9 - react: 18.2.0 + '@types/react': 19.0.7 + react: 19.0.0 dev: false /@motionone/animation@10.14.0: @@ -5286,12 +5286,12 @@ packages: resolution: {integrity: sha512-a5Sab1C4/icpTZVzZc5Ghpz88yQtGOyNqYXcZgOssB2uuAr+wF/MvN6bgtW32q7HHrvBki+BsZ0OuNv6EV3K9g==} dev: true - /@radix-ui/react-polymorphic@0.0.14(react@18.2.0): + /@radix-ui/react-polymorphic@0.0.14(react@19.0.0): resolution: {integrity: sha512-9nsMZEDU3LeIUeHJrpkkhZVxu/9Fc7P2g2I3WR+uA9mTbNC3hGaabi0dV6wg0CfHb+m4nSs1pejbE/5no3MJTA==} peerDependencies: react: ^16.8 || ^17.0 dependencies: - react: 18.2.0 + react: 19.0.0 dev: false /@rollup/plugin-babel@5.3.1(@babel/core@7.26.0)(rollup@2.79.2): @@ -5712,7 +5712,7 @@ packages: postcss-will-change: 4.0.1(postcss@8.5.1) dev: true - /@shopify/react-testing@4.1.0(react-dom@18.2.0)(react@18.2.0): + /@shopify/react-testing@4.1.0(react-dom@18.2.0)(react@19.0.0): resolution: {integrity: sha512-CfqhcjcDisvQ3tmeL81eMEv0Hqmy8z1etDdqg4J5pgt9JN+TR8w1Thp0hm8N/XvLaOeD4qm6IpzRE7Iyamj2ZQ==} engines: {node: ^14.17.0 || >=16.0.0} peerDependencies: @@ -5721,9 +5721,9 @@ packages: dependencies: '@shopify/useful-types': 5.3.0 jest-matcher-utils: 26.6.2 - react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) - react-reconciler: 0.28.0(react@18.2.0) + react: 19.0.0 + react-dom: 18.2.0(react@19.0.0) + react-reconciler: 0.28.0(react@19.0.0) dev: true /@shopify/stylelint-plugin@11.0.1(prettier@2.8.8)(stylelint@14.15.0): @@ -5917,7 +5917,7 @@ packages: storybook: 8.5.1(prettier@2.8.8) dev: true - /@storybook/blocks@8.5.1(react-dom@18.2.0)(react@18.2.0)(storybook@8.5.1): + /@storybook/blocks@8.5.1(react-dom@18.2.0)(react@19.0.0)(storybook@8.5.1): resolution: {integrity: sha512-xUjnOa9udmHhlBTZ+bmMHeU1M9a5OnvnX8urQ0TrNpSyHH7HoPd3xZC4fzz73nSJNMVHIYMZYsz2pj/WfeA/hg==} peerDependencies: react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-beta @@ -5930,9 +5930,9 @@ packages: optional: true dependencies: '@storybook/csf': 0.1.12 - '@storybook/icons': 1.3.1(react-dom@18.2.0)(react@18.2.0) - react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) + '@storybook/icons': 1.3.1(react-dom@18.2.0)(react@19.0.0) + react: 19.0.0 + react-dom: 18.2.0(react@19.0.0) storybook: 8.5.1(prettier@2.8.8) ts-dedent: 2.2.0 dev: true @@ -6015,15 +6015,15 @@ packages: resolution: {integrity: sha512-FcOqPAXACP0I3oJ/ws6/rrPT9WGhu915Cg8D02a9YxLo0DE9zI+a9A5gRGvmQ09fiWPukqI8ZAEoQEdWUKMQdQ==} dev: true - /@storybook/icons@1.3.1(react-dom@18.2.0)(react@18.2.0): + /@storybook/icons@1.3.1(react-dom@18.2.0)(react@19.0.0): resolution: {integrity: sha512-tgiD2v9v/4sjGOliemoP/8bUe4+ZFpehcqdCVQcPiGZfV0kSBv34Ge+MafeKqM7SLwvGesrbOEOakaogSqGxiQ==} engines: {node: '>=14.0.0'} peerDependencies: react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-beta react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-beta dependencies: - react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) + react: 19.0.0 + react-dom: 18.2.0(react@19.0.0) dev: true /@storybook/instrumenter@8.5.0(storybook@8.5.1): @@ -6062,19 +6062,19 @@ packages: storybook: 8.5.1(prettier@2.8.8) dev: true - /@storybook/react-dom-shim@8.5.1(react-dom@18.2.0)(react@18.2.0)(storybook@8.5.1): + /@storybook/react-dom-shim@8.5.1(react-dom@18.2.0)(react@19.0.0)(storybook@8.5.1): resolution: {integrity: sha512-peDiT6A1zyODKd7tVQIiFNU42Iolca67h3kkOQPb7nm/Czf2yIa/BHw+yiNDZx82eCIEvBy1Xf7lnjH8PD61xA==} peerDependencies: react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-beta react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-beta storybook: ^8.5.1 dependencies: - react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) + react: 19.0.0 + react-dom: 18.2.0(react@19.0.0) storybook: 8.5.1(prettier@2.8.8) dev: true - /@storybook/react-vite@8.5.1(@storybook/test@8.5.0)(react-dom@18.2.0)(react@18.2.0)(rollup@3.29.5)(storybook@8.5.1)(typescript@4.9.3)(vite@4.5.6): + /@storybook/react-vite@8.5.1(@storybook/test@8.5.0)(react-dom@18.2.0)(react@19.0.0)(rollup@3.29.5)(storybook@8.5.1)(typescript@4.9.3)(vite@4.5.6): resolution: {integrity: sha512-ccsPJXjR7WMS/t7R5nJpPtqRzJxjsllqVMNGk9xxoLasWDf3vOLohgyCgt63ws8iOMh26lqZsFyPyWFcpKW/hQ==} engines: {node: '>=18.0.0'} peerDependencies: @@ -6090,13 +6090,13 @@ packages: '@joshwooding/vite-plugin-react-docgen-typescript': 0.4.2(typescript@4.9.3)(vite@4.5.6) '@rollup/pluginutils': 5.1.4(rollup@3.29.5) '@storybook/builder-vite': 8.5.1(storybook@8.5.1)(vite@4.5.6) - '@storybook/react': 8.5.1(@storybook/test@8.5.0)(react-dom@18.2.0)(react@18.2.0)(storybook@8.5.1)(typescript@4.9.3) + '@storybook/react': 8.5.1(@storybook/test@8.5.0)(react-dom@18.2.0)(react@19.0.0)(storybook@8.5.1)(typescript@4.9.3) '@storybook/test': 8.5.0(storybook@8.5.1) find-up: 5.0.0 magic-string: 0.30.17 - react: 18.2.0 + react: 19.0.0 react-docgen: 7.1.0 - react-dom: 18.2.0(react@18.2.0) + react-dom: 18.2.0(react@19.0.0) resolve: 1.22.10 storybook: 8.5.1(prettier@2.8.8) tsconfig-paths: 4.2.0 @@ -6107,7 +6107,7 @@ packages: - typescript dev: true - /@storybook/react@8.5.1(@storybook/test@8.5.0)(react-dom@18.2.0)(react@18.2.0)(storybook@8.5.1)(typescript@4.9.3): + /@storybook/react@8.5.1(@storybook/test@8.5.0)(react-dom@18.2.0)(react@19.0.0)(storybook@8.5.1)(typescript@4.9.3): resolution: {integrity: sha512-wKhR9SZUbpYUxRDAYUHH4fZHVxiNG43PxT1uvLfX/i7TPMw+wW+G3Q2yrgms1oHmqqRCvlnGHwT5/t9FFxN31w==} engines: {node: '>=18.0.0'} peerDependencies: @@ -6126,11 +6126,11 @@ packages: '@storybook/global': 5.0.0 '@storybook/manager-api': 8.5.1(storybook@8.5.1) '@storybook/preview-api': 8.5.1(storybook@8.5.1) - '@storybook/react-dom-shim': 8.5.1(react-dom@18.2.0)(react@18.2.0)(storybook@8.5.1) + '@storybook/react-dom-shim': 8.5.1(react-dom@18.2.0)(react@19.0.0)(storybook@8.5.1) '@storybook/test': 8.5.0(storybook@8.5.1) '@storybook/theming': 8.5.1(storybook@8.5.1) - react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) + react: 19.0.0 + react-dom: 18.2.0(react@19.0.0) storybook: 8.5.1(prettier@2.8.8) typescript: 4.9.3 dev: true @@ -6919,41 +6919,39 @@ packages: /@types/react-dom@17.0.17: resolution: {integrity: sha512-VjnqEmqGnasQKV0CWLevqMTXBYG9GbwuE6x3VetERLh0cq2LTptFE73MrQi2S7GkKXCf2GgwItB/melLnxfnsg==} dependencies: - '@types/react': 17.0.50 + '@types/react': 17.0.83 dev: true /@types/react-dom@18.2.4: resolution: {integrity: sha512-G2mHoTMTL4yoydITgOGwWdWMVd8sNgyEP85xVmMKAPUBwQWm9wBPQUmvbeF4V3WBY1P7mmL4BkjQ0SqUpf1snw==} dependencies: - '@types/react': 18.2.9 + '@types/react': 19.0.7 dev: false /@types/react-syntax-highlighter@15.5.6: resolution: {integrity: sha512-i7wFuLbIAFlabTeD2I1cLjEOrG/xdMa/rpx2zwzAoGHuXJDhSqp9BSfDlMHSh9JSuNfxHk9eEmMX6D55GiyjGg==} dependencies: - '@types/react': 18.2.9 + '@types/react': 19.0.7 dev: false /@types/react-transition-group@4.4.2: resolution: {integrity: sha512-KibDWL6nshuOJ0fu8ll7QnV/LVTo3PzQ9aCPnRUYPfX7eZohHwLIdNHj7pftanREzHNP4/nJa8oeM73uSiavMQ==} dependencies: - '@types/react': 18.2.9 + '@types/react': 19.0.7 dev: false - /@types/react@17.0.50: - resolution: {integrity: sha512-ZCBHzpDb5skMnc1zFXAXnL3l1FAdi+xZvwxK+PkglMmBrwjpp9nKaWuEvrGnSifCJmBFGxZOOFuwC6KH/s0NuA==} + /@types/react@17.0.83: + resolution: {integrity: sha512-l0m4ArKJvmFtR4e8UmKrj1pB4tUgOhJITf+mADyF/p69Ts1YAR/E+G9XEM0mHXKVRa1dQNHseyyDNzeuAXfXQw==} dependencies: '@types/prop-types': 15.7.5 '@types/scheduler': 0.16.2 - csstype: 3.1.1 + csstype: 3.1.3 dev: true - /@types/react@18.2.9: - resolution: {integrity: sha512-pL3JAesUkF7PEQGxh5XOwdXGV907te6m1/Qe1ERJLgomojS6Ne790QiA7GUl434JEkFA2aAaB6qJ5z4e1zJn/w==} + /@types/react@19.0.7: + resolution: {integrity: sha512-MoFsEJKkAtZCrC1r6CM8U22GzhG7u2Wir8ons/aCKH6MBdD1ibV24zOSSkdZVUKqN5i396zG5VKLYZ3yaUZdLA==} dependencies: - '@types/prop-types': 15.7.5 - '@types/scheduler': 0.16.2 - csstype: 3.1.1 + csstype: 3.1.3 /@types/resolve@1.17.1: resolution: {integrity: sha512-yy7HuzQhj0dhGpD8RLXSZWEkLsV9ibvxvi6EiJ3bkqLAO1RGo0WbkWQiwpRlSFymTJRz0d3k5LM3kkx8ArDbLw==} @@ -6980,6 +6978,7 @@ packages: /@types/scheduler@0.16.2: resolution: {integrity: sha512-hppQEBDmlwhFAXKJX2KnWLYu5yMfi91yazPb2l+lbJiwW+wdo1gNeRA+3RgNSO39WYX2euey41KEwnqesU2Jew==} + dev: true /@types/semver@7.5.6: resolution: {integrity: sha512-dn1l8LaMea/IjDoHNd9J52uBbInB796CDffS6VdIxvqYCPSG0V0DzHp76GpaWnlhg88uYyPbXCDIowa86ybd5A==} @@ -7283,12 +7282,12 @@ packages: eslint-visitor-keys: 3.3.0 dev: true - /@use-it/event-listener@0.1.7(react@18.2.0): + /@use-it/event-listener@0.1.7(react@19.0.0): resolution: {integrity: sha512-hgfExDzUU9uTRTPDCpw2s9jWTxcxmpJya3fK5ADpf5VDpSy8WYwY/kh28XE0tUcbsljeP8wfan48QvAQTSSa3Q==} peerDependencies: react: '>=16.8.0' dependencies: - react: 18.2.0 + react: 19.0.0 dev: false /@vanilla-extract/babel-plugin-debug-ids@1.0.0: @@ -7323,7 +7322,7 @@ packages: chalk: 4.1.2 css-what: 5.1.0 cssesc: 3.0.0 - csstype: 3.1.1 + csstype: 3.1.3 deep-object-diff: 1.1.9 deepmerge: 4.3.1 media-query-parser: 2.0.2 @@ -10547,8 +10546,8 @@ packages: cssom: 0.3.8 dev: true - /csstype@3.1.1: - resolution: {integrity: sha512-DJR/VvkAvSZW9bTouZue2sSxDwdTN92uHjqeKVm+0dAqdfNykRzQ95tay8aXMBAAPpUiq4Qcug2L7neoRh2Egw==} + /csstype@3.1.3: + resolution: {integrity: sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==} /current-git-branch@1.1.0: resolution: {integrity: sha512-n5mwGZllLsFzxDPtTmadqGe4IIBPfqPbiIRX4xgFR9VK/Bx47U+94KiVkxSKAKN6/s43TlkztS2GZpgMKzwQ8A==} @@ -10981,7 +10980,7 @@ packages: resolution: {integrity: sha512-nRCa7CK3VTrM2NmGkIy4cbK7IZlgBE/PYMn55rrXefr5xXDP0LdtfPnblFDoVdcAfslJ7or6iqAUnx0CCGIWQA==} dependencies: '@babel/runtime': 7.26.0 - csstype: 3.1.1 + csstype: 3.1.3 dev: false /dom-serializer@0.2.2: @@ -12649,7 +12648,7 @@ packages: dependencies: map-cache: 0.2.2 - /framer-motion@6.5.1(react-dom@18.2.0)(react@18.2.0): + /framer-motion@6.5.1(react-dom@18.2.0)(react@19.0.0): resolution: {integrity: sha512-o1BGqqposwi7cgDrtg0dNONhkmPsUFDaLcKXigzuTFC5x58mE8iyTazxSudFzmT6MEyJKfjjU8ItoMe3W+3fiw==} peerDependencies: react: '>=16.8 || ^17.0.0 || ^18.0.0' @@ -12659,8 +12658,8 @@ packages: framesync: 6.0.1 hey-listen: 1.0.8 popmotion: 11.0.3 - react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) + react: 19.0.0 + react-dom: 18.2.0(react@19.0.0) style-value-types: 5.0.0 tslib: 2.4.0 optionalDependencies: @@ -17545,18 +17544,18 @@ packages: dev: true optional: true - /nano-css@5.3.5(react-dom@18.2.0)(react@18.2.0): + /nano-css@5.3.5(react-dom@18.2.0)(react@19.0.0): resolution: {integrity: sha512-vSB9X12bbNu4ALBu7nigJgRViZ6ja3OU7CeuiV1zMIbXOdmkLahgtPmh3GBOlDxbKY0CitqlPdOReGlBLSp+yg==} peerDependencies: react: '*' react-dom: '*' dependencies: css-tree: 1.1.3 - csstype: 3.1.1 + csstype: 3.1.3 fastest-stable-stringify: 2.0.2 inline-style-prefixer: 6.0.1 - react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) + react: 19.0.0 + react-dom: 18.2.0(react@19.0.0) rtl-css-js: 1.16.0 sourcemap-codec: 1.4.8 stacktrace-js: 2.0.2 @@ -17616,7 +17615,7 @@ packages: /neo-async@2.6.2: resolution: {integrity: sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==} - /next-mdx-remote@4.4.1(react-dom@18.2.0)(react@18.2.0): + /next-mdx-remote@4.4.1(react-dom@18.2.0)(react@19.0.0): resolution: {integrity: sha512-1BvyXaIou6xy3XoNF4yaMZUCb6vD2GTAa5ciOa6WoO+gAUTYsb1K4rI/HSC2ogAWLrb/7VSV52skz07vOzmqIQ==} engines: {node: '>=14', npm: '>=7'} peerDependencies: @@ -17624,16 +17623,16 @@ packages: react-dom: '>=16.x <=18.x' dependencies: '@mdx-js/mdx': 2.3.0 - '@mdx-js/react': 2.3.0(react@18.2.0) - react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) + '@mdx-js/react': 2.3.0(react@19.0.0) + react: 19.0.0 + react-dom: 18.2.0(react@19.0.0) vfile: 5.3.7 vfile-matter: 3.0.1 transitivePeerDependencies: - supports-color dev: false - /next@14.2.16(@babel/core@7.24.4)(react-dom@18.2.0)(react@18.2.0)(sass@1.83.4): + /next@14.2.16(@babel/core@7.24.4)(react-dom@18.2.0)(react@19.0.0)(sass@1.83.4): resolution: {integrity: sha512-LcO7WnFu6lYSvCzZoo1dB+IO0xXz5uEv52HF1IUN0IqVTUIZGHuuR10I5efiLadGt+4oZqTcNZyVVEem/TM5nA==} engines: {node: '>=18.17.0'} hasBin: true @@ -17657,10 +17656,10 @@ packages: caniuse-lite: 1.0.30001676 graceful-fs: 4.2.11 postcss: 8.4.31 - react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) + react: 19.0.0 + react-dom: 18.2.0(react@19.0.0) sass: 1.83.4 - styled-jsx: 5.1.1(@babel/core@7.24.4)(react@18.2.0) + styled-jsx: 5.1.1(@babel/core@7.24.4)(react@19.0.0) optionalDependencies: '@next/swc-darwin-arm64': 14.2.16 '@next/swc-darwin-x64': 14.2.16 @@ -18818,7 +18817,7 @@ packages: find-up: 5.0.0 dev: true - /playroom@0.28.0(react-dom@18.2.0)(react@18.2.0): + /playroom@0.28.0(react-dom@18.2.0)(react@19.0.0): resolution: {integrity: sha512-LbwzPA8tm56OKlk/0W7XHj8SNjxz/NoOLR4Ur+fCQpjSqUKBRkaKALbRT19fFubCW57Oc0mwKa7QQOMddPhx5w==} hasBin: true peerDependencies: @@ -18839,7 +18838,7 @@ packages: '@types/lodash': 4.14.186 '@types/lz-string': 1.3.34 '@types/prettier': 2.7.1 - '@types/react': 17.0.50 + '@types/react': 17.0.83 '@types/react-dom': 17.0.17 '@vanilla-extract/babel-plugin': 1.2.0 '@vanilla-extract/css': 1.9.1 @@ -18872,17 +18871,17 @@ packages: prettier: 2.8.8 prop-types: 15.8.1 query-string: 6.14.1 - re-resizable: 6.9.9(react-dom@18.2.0)(react@18.2.0) - react: 18.2.0 - react-codemirror2: 7.2.1(codemirror@5.65.9)(react@18.2.0) + re-resizable: 6.9.9(react-dom@18.2.0)(react@19.0.0) + react: 19.0.0 + react-codemirror2: 7.2.1(codemirror@5.65.9)(react@19.0.0) react-docgen-typescript: 2.2.2(typescript@4.9.3) - react-dom: 18.2.0(react@18.2.0) - react-use: 17.4.0(react-dom@18.2.0)(react@18.2.0) + react-dom: 18.2.0(react@19.0.0) + react-use: 17.4.0(react-dom@18.2.0)(react@19.0.0) read-pkg-up: 7.0.1 scope-eval: 1.0.0 typescript: 4.9.3 url-join: 4.0.1 - use-debounce: 3.4.3(react@18.2.0) + use-debounce: 3.4.3(react@19.0.0) webpack: 5.76.0 webpack-dev-server: 4.11.1(webpack@5.76.0) webpack-merge: 5.8.0 @@ -19845,24 +19844,24 @@ packages: minimist: 1.2.8 strip-json-comments: 2.0.1 - /re-resizable@6.9.9(react-dom@18.2.0)(react@18.2.0): + /re-resizable@6.9.9(react-dom@18.2.0)(react@19.0.0): resolution: {integrity: sha512-l+MBlKZffv/SicxDySKEEh42hR6m5bAHfNu3Tvxks2c4Ah+ldnWjfnVRwxo/nxF27SsUsxDS0raAzFuJNKABXA==} peerDependencies: react: ^16.13.1 || ^17.0.0 || ^18.0.0 react-dom: ^16.13.1 || ^17.0.0 || ^18.0.0 dependencies: - react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) + react: 19.0.0 + react-dom: 18.2.0(react@19.0.0) dev: true - /react-codemirror2@7.2.1(codemirror@5.65.9)(react@18.2.0): + /react-codemirror2@7.2.1(codemirror@5.65.9)(react@19.0.0): resolution: {integrity: sha512-t7YFmz1AXdlImgHXA9Ja0T6AWuopilub24jRaQdPVbzUJVNKIYuy3uCFZYa7CE5S3UW6SrSa5nAqVQvtzRF9gw==} peerDependencies: codemirror: 5.x react: '>=15.5 <=16.x' dependencies: codemirror: 5.65.9 - react: 18.2.0 + react: 19.0.0 dev: true /react-docgen-typescript@2.2.2(typescript@4.9.3): @@ -19891,13 +19890,13 @@ packages: - supports-color dev: true - /react-dom@18.2.0(react@18.2.0): + /react-dom@18.2.0(react@19.0.0): resolution: {integrity: sha512-6IMTriUmvsjHUjNtEDudZfuDQUoWXVxKHhlEGSk81n4YFS+r/Kl99wXiwlVXtPBtJenozv2P+hxDsw9eA7Xo6g==} peerDependencies: react: ^18.2.0 dependencies: loose-envify: 1.4.0 - react: 18.2.0 + react: 19.0.0 scheduler: 0.23.0 /react-fast-compare@3.2.0: @@ -19919,7 +19918,7 @@ packages: resolution: {integrity: sha512-/LLMVyas0ljjAtoYiPqYiL8VWXzUUdThrmU5+n20DZv+a+ClRoevUzw5JxU+Ieh5/c87ytoTBV9G1FiKfNJdmg==} dev: true - /react-markdown@8.0.3(@types/react@18.2.9)(react@18.2.0): + /react-markdown@8.0.3(@types/react@19.0.7)(react@19.0.0): resolution: {integrity: sha512-We36SfqaKoVNpN1QqsZwWSv/OZt5J15LNgTLWynwAN5b265hrQrsjMtlRNwUvS+YyR3yDM8HpTNc4pK9H/Gc0A==} peerDependencies: '@types/react': '>=16' @@ -19927,13 +19926,13 @@ packages: dependencies: '@types/hast': 2.3.4 '@types/prop-types': 15.7.5 - '@types/react': 18.2.9 + '@types/react': 19.0.7 '@types/unist': 2.0.6 comma-separated-tokens: 2.0.2 hast-util-whitespace: 2.0.0 prop-types: 15.8.1 property-information: 6.1.1 - react: 18.2.0 + react: 19.0.0 react-is: 18.1.0 remark-parse: 10.0.1 remark-rehype: 10.1.0 @@ -19950,18 +19949,18 @@ packages: resolution: {integrity: sha512-pywF6oouJWuqL26xV3OruRSIqai31R9SdJX/I3gP2q8jLxUnA1IwXcLW8werUHLZOrp4N7YOeQNZrh/BKrHI4A==} dev: false - /react-reconciler@0.28.0(react@18.2.0): + /react-reconciler@0.28.0(react@19.0.0): resolution: {integrity: sha512-sGIHDOpgVjRYgsi8NgosDnbkDvvkYFFSF900ZUhUw0+lSBEA5n76TcKFaVkfYMIuYm+7W6mT8Q673DLBfuTxcQ==} engines: {node: '>=0.10.0'} peerDependencies: react: ^18.1.0 dependencies: loose-envify: 1.4.0 - react: 18.2.0 + react: 19.0.0 scheduler: 0.22.0 dev: true - /react-syntax-highlighter@15.5.0(react@18.2.0): + /react-syntax-highlighter@15.5.0(react@19.0.0): resolution: {integrity: sha512-+zq2myprEnQmH5yw6Gqc8lD55QHnpKaU8TOcFeC/Lg/MQSs8UknEA0JC4nTZGFAXC2J2Hyj/ijJ7NlabyPi2gg==} peerDependencies: react: '>= 0.14.0' @@ -19970,11 +19969,11 @@ packages: highlight.js: 10.7.3 lowlight: 1.20.0 prismjs: 1.29.0 - react: 18.2.0 + react: 19.0.0 refractor: 3.6.0 dev: false - /react-transition-group@4.4.2(react-dom@18.2.0)(react@18.2.0): + /react-transition-group@4.4.2(react-dom@18.2.0)(react@19.0.0): resolution: {integrity: sha512-/RNYfRAMlZwDSr6z4zNKV6xu53/e2BuaBbGhbyYIXTrmgu/bGHzmqOs7mJSJBHy9Ud+ApHx3QjrkKSp1pxvlFg==} peerDependencies: react: '>=16.6.0' @@ -19984,21 +19983,21 @@ packages: dom-helpers: 5.2.1 loose-envify: 1.4.0 prop-types: 15.8.1 - react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) + react: 19.0.0 + react-dom: 18.2.0(react@19.0.0) dev: false - /react-universal-interface@0.6.2(react@18.2.0)(tslib@2.8.1): + /react-universal-interface@0.6.2(react@19.0.0)(tslib@2.8.1): resolution: {integrity: sha512-dg8yXdcQmvgR13RIlZbTRQOoUrDciFVoSBZILwjE2LFISxZZ8loVJKAkuzswl5js8BHda79bIb2b84ehU8IjXw==} peerDependencies: react: '*' tslib: '*' dependencies: - react: 18.2.0 + react: 19.0.0 tslib: 2.8.1 dev: true - /react-use@17.4.0(react-dom@18.2.0)(react@18.2.0): + /react-use@17.4.0(react-dom@18.2.0)(react@19.0.0): resolution: {integrity: sha512-TgbNTCA33Wl7xzIJegn1HndB4qTS9u03QUwyNycUnXaweZkE4Kq2SB+Yoxx8qbshkZGYBDvUXbXWRUmQDcZZ/Q==} peerDependencies: react: ^16.8.0 || ^17.0.0 || ^18.0.0 @@ -20010,10 +20009,10 @@ packages: fast-deep-equal: 3.1.3 fast-shallow-equal: 1.0.0 js-cookie: 2.2.1 - nano-css: 5.3.5(react-dom@18.2.0)(react@18.2.0) - react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) - react-universal-interface: 0.6.2(react@18.2.0)(tslib@2.8.1) + nano-css: 5.3.5(react-dom@18.2.0)(react@19.0.0) + react: 19.0.0 + react-dom: 18.2.0(react@19.0.0) + react-universal-interface: 0.6.2(react@19.0.0)(tslib@2.8.1) resize-observer-polyfill: 1.5.1 screenfull: 5.2.0 set-harmonic-interval: 1.0.1 @@ -20027,6 +20026,11 @@ packages: engines: {node: '>=0.10.0'} dependencies: loose-envify: 1.4.0 + dev: false + + /react@19.0.0: + resolution: {integrity: sha512-V8AVnmPIICiWpGfm6GLzCR/W5FXLchHop40W4nXBmdlEceh16rCN8O8LNWm5bh5XUX91fh7KpA+W0TgMKmgTpQ==} + engines: {node: '>=0.10.0'} /read-cache@1.0.0: resolution: {integrity: sha512-Owdv/Ft7IjOgm/i0xvNDZ1LrRANRfew4b2prF3OWMQLxLfu3bS8FVhCsrSCMK4lR56Y9ya+AThoTpDCTxCmpRA==} @@ -21934,7 +21938,7 @@ packages: tslib: 2.8.1 dev: false - /styled-jsx@5.1.1(@babel/core@7.24.4)(react@18.2.0): + /styled-jsx@5.1.1(@babel/core@7.24.4)(react@19.0.0): resolution: {integrity: sha512-pW7uC1l4mBZ8ugbiZrcIsiIvVx1UmTfw7UkC3Um2tmfUq9Bhk8IiyEIPl6F8agHgjzku6j0xQEZbfA5uSgSaCw==} engines: {node: '>= 12.0.0'} peerDependencies: @@ -21949,7 +21953,7 @@ packages: dependencies: '@babel/core': 7.24.4 client-only: 0.0.1 - react: 18.2.0 + react: 19.0.0 dev: false /stylehacks@5.1.0(postcss@8.5.1): @@ -23201,31 +23205,31 @@ packages: querystring: 0.2.0 dev: true - /use-dark-mode@2.3.1(react@18.2.0): + /use-dark-mode@2.3.1(react@19.0.0): resolution: {integrity: sha512-hmcdJR96tTustRQdaQwe6jMrZHnmPqXBxgy4jaQ4gsfhwajsCpjECuq9prgDe9XxMx/f9r96o2/md6O4Lwhwjg==} peerDependencies: react: ^16.8.0 dependencies: - '@use-it/event-listener': 0.1.7(react@18.2.0) - react: 18.2.0 - use-persisted-state: 0.3.3(react@18.2.0) + '@use-it/event-listener': 0.1.7(react@19.0.0) + react: 19.0.0 + use-persisted-state: 0.3.3(react@19.0.0) dev: false - /use-debounce@3.4.3(react@18.2.0): + /use-debounce@3.4.3(react@19.0.0): resolution: {integrity: sha512-nxy+opOxDccWfhMl36J5BSCTpvcj89iaQk2OZWLAtBJQj7ISCtx1gh+rFbdjGfMl6vtCZf6gke/kYvrkVfHMoA==} peerDependencies: react: '>=16.8.0' dependencies: - react: 18.2.0 + react: 19.0.0 dev: true - /use-persisted-state@0.3.3(react@18.2.0): + /use-persisted-state@0.3.3(react@19.0.0): resolution: {integrity: sha512-pCNlvYC8+XjRxwnIut4teGC9f2p9aD88R8OGseQGZa2dvqG/h1vEGk1vRE1IZG0Vf161UDpn+NlW4+UGubQflQ==} peerDependencies: react: ^16.8.0 || ^17.0.0 dependencies: - '@use-it/event-listener': 0.1.7(react@18.2.0) - react: 18.2.0 + '@use-it/event-listener': 0.1.7(react@19.0.0) + react: 19.0.0 dev: false /use@3.1.1: diff --git a/polaris-react/package.json b/polaris-react/package.json index 26dbd9f5b75..c57873e4b6c 100644 --- a/polaris-react/package.json +++ b/polaris-react/package.json @@ -89,7 +89,7 @@ "@storybook/theming": "^8.5.1", "@types/js-yaml": "^4.0.5", "@types/node": "^20.10.0", - "@types/react": "^18.2.0", + "@types/react": "^19.0.7", "@types/react-dom": "^18.2.0", "@types/react-transition-group": "^4.4.2", "axe-playwright": "^2.0.3", @@ -110,7 +110,7 @@ "postcss-modules": "^4.2.2", "postcss-nesting": "^12.0.2", "postcss-pxtorem": "^6.0.0", - "react": "^18.2.0", + "react": "^19.0.0", "react-dom": "^18.2.0", "rimraf": "^3.0.0", "sass-loader": "^12.4.0", diff --git a/polaris.shopify.com/package.json b/polaris.shopify.com/package.json index 539e3591bb1..1c02fd8dab1 100644 --- a/polaris.shopify.com/package.json +++ b/polaris.shopify.com/package.json @@ -47,7 +47,7 @@ "next": "^14.2.7", "next-mdx-remote": "^4.4.1", "prismjs": "^1.29.0", - "react": "^18.2.0", + "react": "^19.0.0", "react-dom": "^18.2.0", "react-markdown": "^8.0.2", "react-merge-refs": "^2.0.1", @@ -75,7 +75,7 @@ "@types/marked": "^4.0.3", "@types/mdast": "^3.0.10", "@types/prismjs": "^1.26.5", - "@types/react": "^18.2.0", + "@types/react": "^19.0.7", "@types/unist": "^2.0.6", "@types/uuid": "^9.0.1", "babel-plugin-preval": "^5.1.0",