From 795682d6dd3324bbc7a6d3ca123474743684487d Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 25 Dec 2024 06:03:49 +0000 Subject: [PATCH] chore: update dependency @types/react to v19 --- package.json | 2 +- packages/smarthr-ui/package.json | 2 +- pnpm-lock.yaml | 163 ++++++++----------------------- sandbox/next/package.json | 2 +- 4 files changed, 44 insertions(+), 125 deletions(-) diff --git a/package.json b/package.json index 221109a1a7..b4b90a011a 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ "pnpm": { "overrides": { "@babel/helper-compilation-targets": "^7.25.9", - "@types/react": "^18.3.18", + "@types/react": "^19.0.2", "minimist": "1.2.8", "react": "^19.0.0", "react-dom": "^19.0.0", diff --git a/packages/smarthr-ui/package.json b/packages/smarthr-ui/package.json index 49e46b4264..531e8dbdcd 100644 --- a/packages/smarthr-ui/package.json +++ b/packages/smarthr-ui/package.json @@ -45,7 +45,7 @@ "@types/lodash.merge": "^4.6.9", "@types/lodash.range": "^3.2.9", "@types/node": "^20.17.10", - "@types/react": "^18.3.18", + "@types/react": "^19.0.2", "@types/react-dom": "^19.0.2", "@types/react-test-renderer": "^19.0.0", "@types/react-transition-group": "^4.4.12", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index fe485173a0..ec3b534669 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -6,7 +6,7 @@ settings: overrides: '@babel/helper-compilation-targets': ^7.25.9 - '@types/react': ^18.3.18 + '@types/react': ^19.0.2 minimist: 1.2.8 react: ^19.0.0 react-dom: ^19.0.0 @@ -96,7 +96,7 @@ importers: version: 5.4.0(react@19.0.0) react-innertext: specifier: ^1.1.5 - version: 1.1.5(@types/react@18.3.18)(react@19.0.0) + version: 1.1.5(@types/react@19.0.2)(react@19.0.0) react-transition-group: specifier: ^4.4.5 version: 4.4.5(react-dom@19.0.0(react@19.0.0))(react@19.0.0) @@ -127,7 +127,7 @@ importers: version: 8.4.7(storybook@8.4.7(prettier@3.4.2)) '@storybook/addon-essentials': specifier: ^8.4.7 - version: 8.4.7(@types/react@18.3.18)(storybook@8.4.7(prettier@3.4.2)) + version: 8.4.7(@types/react@19.0.2)(storybook@8.4.7(prettier@3.4.2)) '@storybook/addon-interactions': specifier: ^8.4.7 version: 8.4.7(storybook@8.4.7(prettier@3.4.2)) @@ -181,7 +181,7 @@ importers: version: 6.6.3 '@testing-library/react': specifier: ^16.1.0 - version: 16.1.0(@testing-library/dom@10.4.0)(@types/react-dom@19.0.2(@types/react@18.3.18))(@types/react@18.3.18)(react-dom@19.0.0(react@19.0.0))(react@19.0.0) + version: 16.1.0(@testing-library/dom@10.4.0)(@types/react-dom@19.0.2(@types/react@19.0.2))(@types/react@19.0.2)(react-dom@19.0.0(react@19.0.0))(react@19.0.0) '@types/lodash.merge': specifier: ^4.6.9 version: 4.6.9 @@ -192,17 +192,17 @@ importers: specifier: ^20.17.10 version: 20.17.10 '@types/react': - specifier: ^18.3.18 - version: 18.3.18 + specifier: ^19.0.2 + version: 19.0.2 '@types/react-dom': specifier: ^19.0.2 - version: 19.0.2(@types/react@18.3.18) + version: 19.0.2(@types/react@19.0.2) '@types/react-test-renderer': specifier: ^19.0.0 version: 19.0.0 '@types/react-transition-group': specifier: ^4.4.12 - version: 4.4.12(@types/react@18.3.18) + version: 4.4.12(@types/react@19.0.2) '@types/styled-components': specifier: ^5.1.34 version: 5.1.34 @@ -340,11 +340,11 @@ importers: specifier: ^20.17.10 version: 20.17.10 '@types/react': - specifier: ^18.3.18 - version: 18.3.18 + specifier: ^19.0.2 + version: 19.0.2 '@types/react-dom': specifier: ^19.0.2 - version: 19.0.2(@types/react@18.3.18) + version: 19.0.2(@types/react@19.0.2) postcss: specifier: ^8.4.49 version: 8.4.49 @@ -1441,7 +1441,7 @@ packages: '@mdx-js/react@3.1.0': resolution: {integrity: sha512-QjHtSaoameoalGnKDT3FoIl4+9RwyTmo9ZJGBdLOks/YOiWHoRDI3PUwEzOE7kEmGcV3AFcp9K6dYu9rEuKLAQ==} peerDependencies: - '@types/react': ^18.3.18 + '@types/react': ^19.0.2 react: ^19.0.0 '@next/env@14.2.20': @@ -1971,7 +1971,7 @@ packages: engines: {node: '>=18'} peerDependencies: '@testing-library/dom': ^10.0.0 - '@types/react': ^18.3.18 + '@types/react': ^19.0.2 '@types/react-dom': ^18.0.0 || ^19.0.0 react: ^19.0.0 react-dom: ^19.0.0 @@ -2056,9 +2056,6 @@ packages: '@types/istanbul-reports@3.0.1': resolution: {integrity: sha512-c3mAZEuK0lvBp8tmuL74XRKn1+y2dcwOUpH7x4WrF6gk1GIgiluDRgMYQtw2OFcBvAJWlt6ASU3tSqxp0Uu0Aw==} - '@types/json-schema@7.0.12': - resolution: {integrity: sha512-Hr5Jfhc9eYOQNPYO5WLDq/n4jqijdHNlDXjuAQkkt+mWdQR+XJToOHrsD4cPaMXpn6KO7y2+wM8AZEs8VpBLVA==} - '@types/json-schema@7.0.15': resolution: {integrity: sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==} @@ -2098,13 +2095,10 @@ packages: '@types/parse-json@4.0.0': resolution: {integrity: sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA==} - '@types/prop-types@15.7.3': - resolution: {integrity: sha512-KfRL3PuHmqQLOG+2tGpRO26Ctg+Cq1E01D2DMriKEATHgWLfeNDmq9e29Q9WIky0dQ3NPkd1mzYH8Lm936Z9qw==} - '@types/react-dom@19.0.2': resolution: {integrity: sha512-c1s+7TKFaDRRxr1TxccIX2u7sfCnc3RxkVyBIUA2lCpyqCF+QoAwQ/CBg7bsMdVwP120HEH143VQezKtef5nCg==} peerDependencies: - '@types/react': ^18.3.18 + '@types/react': ^19.0.2 '@types/react-test-renderer@19.0.0': resolution: {integrity: sha512-qDVnNybqFm2eZKJ4jD34EvRd6VHD67KjgnWaEMM0Id9L22EpWe3nOSVKHWL1XWRCxUWe3lhXwlEeCKD1BlJCQA==} @@ -2112,10 +2106,10 @@ packages: '@types/react-transition-group@4.4.12': resolution: {integrity: sha512-8TV6R3h2j7a91c+1DXdJi3Syo69zzIZbz7Lg5tORM5LEJG7X/E6a1V3drRyBRZq7/utz7A+c4OgYLiLcYGHG6w==} peerDependencies: - '@types/react': ^18.3.18 + '@types/react': ^19.0.2 - '@types/react@18.3.18': - resolution: {integrity: sha512-t4yC+vtgnkYjNSKlFx1jkAhH8LgTo2N/7Qvi83kdEaUtMDiwpbLAktKDaAMlRcJ5eSxZkH74eEGt1ky31d7kfQ==} + '@types/react@19.0.2': + resolution: {integrity: sha512-USU8ZI/xyKJwFTpjSVIrSeHBVAGagkHQKPNbxeWwql/vDmnTIBgx+TJnhFnj1NXgz8XfprU0egV2dROLGpsBEg==} '@types/resolve@1.20.6': resolution: {integrity: sha512-A4STmOXPhMUtHH+S6ymgE2GiBSMqf4oTvcQZMcHzokuTLVYzXTB8ttjcgxOVaAp2lGwEdzZ0J+cRbbeevQj1UQ==} @@ -2159,10 +2153,6 @@ packages: eslint: ^8.57.0 || ^9.0.0 typescript: '>=4.8.4 <5.8.0' - '@typescript-eslint/scope-manager@8.16.0': - resolution: {integrity: sha512-mwsZWubQvBki2t5565uxF0EYvG+FwdFb8bMtDuGQLdCCnGPrDEDvm1gtfynuKlnpzeBRqdFCkMf9jg1fnAK8sg==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@typescript-eslint/scope-manager@8.18.0': resolution: {integrity: sha512-PNGcHop0jkK2WVYGotk/hxj+UFLhXtGPiGtiaWgVBVP1jhMoMCHlTyJA+hEj4rszoSdLTK3fN4oOatrL0Cp+Xw==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} @@ -2174,39 +2164,16 @@ packages: eslint: ^8.57.0 || ^9.0.0 typescript: '>=4.8.4 <5.8.0' - '@typescript-eslint/types@8.16.0': - resolution: {integrity: sha512-NzrHj6thBAOSE4d9bsuRNMvk+BvaQvmY4dDglgkgGC0EW/tB3Kelnp3tAKH87GEwzoxgeQn9fNGRyFJM/xd+GQ==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@typescript-eslint/types@8.18.0': resolution: {integrity: sha512-FNYxgyTCAnFwTrzpBGq+zrnoTO4x0c1CKYY5MuUTzpScqmY5fmsh2o3+57lqdI3NZucBDCzDgdEbIaNfAjAHQA==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@typescript-eslint/typescript-estree@8.16.0': - resolution: {integrity: sha512-E2+9IzzXMc1iaBy9zmo+UYvluE3TW7bCGWSF41hVWUE01o8nzr1rvOQYSxelxr6StUvRcTMe633eY8mXASMaNw==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - peerDependencies: - typescript: '*' - peerDependenciesMeta: - typescript: - optional: true - '@typescript-eslint/typescript-estree@8.18.0': resolution: {integrity: sha512-rqQgFRu6yPkauz+ms3nQpohwejS8bvgbPyIDq13cgEDbkXt4LH4OkDMT0/fN1RUtzG8e8AKJyDBoocuQh8qNeg==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: typescript: '>=4.8.4 <5.8.0' - '@typescript-eslint/utils@8.16.0': - resolution: {integrity: sha512-C1zRy/mOL8Pj157GiX4kaw7iyRLKfJXBR3L82hk5kS/GyHcOFmy4YUq/zfZti72I9wnuQtA/+xzft4wCC8PJdA==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - peerDependencies: - eslint: ^8.57.0 || ^9.0.0 - typescript: '*' - peerDependenciesMeta: - typescript: - optional: true - '@typescript-eslint/utils@8.18.0': resolution: {integrity: sha512-p6GLdY383i7h5b0Qrfbix3Vc3+J2k6QWw6UMUeY5JGfm3C5LbZ4QIZzJNoNOfgyRe0uuYKjvVOsO/jD4SJO+xg==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} @@ -2214,10 +2181,6 @@ packages: eslint: ^8.57.0 || ^9.0.0 typescript: '>=4.8.4 <5.8.0' - '@typescript-eslint/visitor-keys@8.16.0': - resolution: {integrity: sha512-pq19gbaMOmFE3CbL0ZB8J8BFCo2ckfHBfaIsaOZgBIF4EoISJIdLX5xRhd0FGB0LlHReNRuzoJoMGpTjq8F2CQ==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@typescript-eslint/visitor-keys@8.18.0': resolution: {integrity: sha512-pCh/qEA8Lb1wVIqNvBke8UaRjJ6wrAWkJO5yyIbs8Yx6TNGYyfNjOo61tLv+WwLvoLPp4BQ8B7AHKijl8NGUfw==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} @@ -5844,7 +5807,7 @@ packages: react-innertext@1.1.5: resolution: {integrity: sha512-PWAqdqhxhHIv80dT9znP2KvS+hfkbRovFp4zFYHFFlOoQLRiawIic81gKb3U1wEyJZgMwgs3JoLtwryASRWP3Q==} peerDependencies: - '@types/react': ^18.3.18 + '@types/react': ^19.0.2 react: ^19.0.0 react-is@16.13.1: @@ -8467,10 +8430,10 @@ snapshots: '@jridgewell/resolve-uri': 3.1.1 '@jridgewell/sourcemap-codec': 1.5.0 - '@mdx-js/react@3.1.0(@types/react@18.3.18)(react@19.0.0)': + '@mdx-js/react@3.1.0(@types/react@19.0.2)(react@19.0.0)': dependencies: '@types/mdx': 2.0.5 - '@types/react': 18.3.18 + '@types/react': 19.0.2 react: 19.0.0 '@next/env@14.2.20': {} @@ -8628,9 +8591,9 @@ snapshots: storybook: 8.4.7(prettier@3.4.2) ts-dedent: 2.2.0 - '@storybook/addon-docs@8.4.7(@types/react@18.3.18)(storybook@8.4.7(prettier@3.4.2))': + '@storybook/addon-docs@8.4.7(@types/react@19.0.2)(storybook@8.4.7(prettier@3.4.2))': dependencies: - '@mdx-js/react': 3.1.0(@types/react@18.3.18)(react@19.0.0) + '@mdx-js/react': 3.1.0(@types/react@19.0.2)(react@19.0.0) '@storybook/blocks': 8.4.7(react-dom@19.0.0(react@19.0.0))(react@19.0.0)(storybook@8.4.7(prettier@3.4.2)) '@storybook/csf-plugin': 8.4.7(storybook@8.4.7(prettier@3.4.2)) '@storybook/react-dom-shim': 8.4.7(react-dom@19.0.0(react@19.0.0))(react@19.0.0)(storybook@8.4.7(prettier@3.4.2)) @@ -8641,12 +8604,12 @@ snapshots: transitivePeerDependencies: - '@types/react' - '@storybook/addon-essentials@8.4.7(@types/react@18.3.18)(storybook@8.4.7(prettier@3.4.2))': + '@storybook/addon-essentials@8.4.7(@types/react@19.0.2)(storybook@8.4.7(prettier@3.4.2))': dependencies: '@storybook/addon-actions': 8.4.7(storybook@8.4.7(prettier@3.4.2)) '@storybook/addon-backgrounds': 8.4.7(storybook@8.4.7(prettier@3.4.2)) '@storybook/addon-controls': 8.4.7(storybook@8.4.7(prettier@3.4.2)) - '@storybook/addon-docs': 8.4.7(@types/react@18.3.18)(storybook@8.4.7(prettier@3.4.2)) + '@storybook/addon-docs': 8.4.7(@types/react@19.0.2)(storybook@8.4.7(prettier@3.4.2)) '@storybook/addon-highlight': 8.4.7(storybook@8.4.7(prettier@3.4.2)) '@storybook/addon-measure': 8.4.7(storybook@8.4.7(prettier@3.4.2)) '@storybook/addon-outline': 8.4.7(storybook@8.4.7(prettier@3.4.2)) @@ -9103,15 +9066,15 @@ snapshots: lodash: 4.17.21 redent: 3.0.0 - '@testing-library/react@16.1.0(@testing-library/dom@10.4.0)(@types/react-dom@19.0.2(@types/react@18.3.18))(@types/react@18.3.18)(react-dom@19.0.0(react@19.0.0))(react@19.0.0)': + '@testing-library/react@16.1.0(@testing-library/dom@10.4.0)(@types/react-dom@19.0.2(@types/react@19.0.2))(@types/react@19.0.2)(react-dom@19.0.0(react@19.0.0))(react@19.0.0)': dependencies: '@babel/runtime': 7.24.0 '@testing-library/dom': 10.4.0 react: 19.0.0 react-dom: 19.0.0(react@19.0.0) optionalDependencies: - '@types/react': 18.3.18 - '@types/react-dom': 19.0.2(@types/react@18.3.18) + '@types/react': 19.0.2 + '@types/react-dom': 19.0.2(@types/react@19.0.2) '@testing-library/user-event@14.5.2(@testing-library/dom@10.4.0)': dependencies: @@ -9166,7 +9129,7 @@ snapshots: '@types/eslint@7.2.13': dependencies: '@types/estree': 1.0.6 - '@types/json-schema': 7.0.12 + '@types/json-schema': 7.0.15 '@types/estree@1.0.6': {} @@ -9178,7 +9141,7 @@ snapshots: '@types/hoist-non-react-statics@3.3.1': dependencies: - '@types/react': 18.3.18 + '@types/react': 19.0.2 hoist-non-react-statics: 3.3.2 '@types/html-minifier-terser@6.1.0': {} @@ -9198,8 +9161,6 @@ snapshots: dependencies: '@types/istanbul-lib-report': 3.0.0 - '@types/json-schema@7.0.12': {} - '@types/json-schema@7.0.15': {} '@types/json5@0.0.29': {} @@ -9237,23 +9198,20 @@ snapshots: '@types/parse-json@4.0.0': {} - '@types/prop-types@15.7.3': {} - - '@types/react-dom@19.0.2(@types/react@18.3.18)': + '@types/react-dom@19.0.2(@types/react@19.0.2)': dependencies: - '@types/react': 18.3.18 + '@types/react': 19.0.2 '@types/react-test-renderer@19.0.0': dependencies: - '@types/react': 18.3.18 + '@types/react': 19.0.2 - '@types/react-transition-group@4.4.12(@types/react@18.3.18)': + '@types/react-transition-group@4.4.12(@types/react@19.0.2)': dependencies: - '@types/react': 18.3.18 + '@types/react': 19.0.2 - '@types/react@18.3.18': + '@types/react@19.0.2': dependencies: - '@types/prop-types': 15.7.3 csstype: 3.0.8 '@types/resolve@1.20.6': {} @@ -9265,7 +9223,7 @@ snapshots: '@types/styled-components@5.1.34': dependencies: '@types/hoist-non-react-statics': 3.3.1 - '@types/react': 18.3.18 + '@types/react': 19.0.2 csstype: 3.0.8 '@types/through@0.0.33': @@ -9313,11 +9271,6 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/scope-manager@8.16.0': - dependencies: - '@typescript-eslint/types': 8.16.0 - '@typescript-eslint/visitor-keys': 8.16.0 - '@typescript-eslint/scope-manager@8.18.0': dependencies: '@typescript-eslint/types': 8.18.0 @@ -9334,25 +9287,8 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/types@8.16.0': {} - '@typescript-eslint/types@8.18.0': {} - '@typescript-eslint/typescript-estree@8.16.0(typescript@5.7.2)': - dependencies: - '@typescript-eslint/types': 8.16.0 - '@typescript-eslint/visitor-keys': 8.16.0 - debug: 4.4.0(supports-color@5.5.0) - fast-glob: 3.3.2 - is-glob: 4.0.3 - minimatch: 9.0.5 - semver: 7.6.3 - ts-api-utils: 1.3.0(typescript@5.7.2) - optionalDependencies: - typescript: 5.7.2 - transitivePeerDependencies: - - supports-color - '@typescript-eslint/typescript-estree@8.18.0(typescript@5.7.2)': dependencies: '@typescript-eslint/types': 8.18.0 @@ -9367,18 +9303,6 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/utils@8.16.0(eslint@9.17.0(jiti@2.4.1))(typescript@5.7.2)': - dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@9.17.0(jiti@2.4.1)) - '@typescript-eslint/scope-manager': 8.16.0 - '@typescript-eslint/types': 8.16.0 - '@typescript-eslint/typescript-estree': 8.16.0(typescript@5.7.2) - eslint: 9.17.0(jiti@2.4.1) - optionalDependencies: - typescript: 5.7.2 - transitivePeerDependencies: - - supports-color - '@typescript-eslint/utils@8.18.0(eslint@9.17.0(jiti@2.4.1))(typescript@5.7.2)': dependencies: '@eslint-community/eslint-utils': 4.4.0(eslint@9.17.0(jiti@2.4.1)) @@ -9390,11 +9314,6 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/visitor-keys@8.16.0': - dependencies: - '@typescript-eslint/types': 8.16.0 - eslint-visitor-keys: 4.2.0 - '@typescript-eslint/visitor-keys@8.18.0': dependencies: '@typescript-eslint/types': 8.18.0 @@ -11000,7 +10919,7 @@ snapshots: eslint-plugin-storybook@0.11.1(eslint@9.17.0(jiti@2.4.1))(typescript@5.7.2): dependencies: '@storybook/csf': 0.1.11 - '@typescript-eslint/utils': 8.16.0(eslint@9.17.0(jiti@2.4.1))(typescript@5.7.2) + '@typescript-eslint/utils': 8.18.0(eslint@9.17.0(jiti@2.4.1))(typescript@5.7.2) eslint: 9.17.0(jiti@2.4.1) ts-dedent: 2.2.0 transitivePeerDependencies: @@ -13602,9 +13521,9 @@ snapshots: dependencies: react: 19.0.0 - react-innertext@1.1.5(@types/react@18.3.18)(react@19.0.0): + react-innertext@1.1.5(@types/react@19.0.2)(react@19.0.0): dependencies: - '@types/react': 18.3.18 + '@types/react': 19.0.2 react: 19.0.0 react-is@16.13.1: {} @@ -13896,13 +13815,13 @@ snapshots: schema-utils@3.3.0: dependencies: - '@types/json-schema': 7.0.12 + '@types/json-schema': 7.0.15 ajv: 6.12.6 ajv-keywords: 3.5.2(ajv@6.12.6) schema-utils@4.0.0: dependencies: - '@types/json-schema': 7.0.12 + '@types/json-schema': 7.0.15 ajv: 8.11.0 ajv-formats: 2.1.1(ajv@8.11.0) ajv-keywords: 5.1.0(ajv@8.11.0) diff --git a/sandbox/next/package.json b/sandbox/next/package.json index ca7973a7c7..4088803e02 100644 --- a/sandbox/next/package.json +++ b/sandbox/next/package.json @@ -17,7 +17,7 @@ "devDependencies": { "@playwright/test": "^1.49.1", "@types/node": "^20.17.10", - "@types/react": "^18.3.18", + "@types/react": "^19.0.2", "@types/react-dom": "^19.0.2", "postcss": "^8.4.49", "tailwindcss": "^3.4.17",