diff --git a/package.json b/package.json index 140fe32..efd5a87 100644 --- a/package.json +++ b/package.json @@ -55,7 +55,7 @@ "@types/jest": "^29.5.12", "@types/node": "^22.2.0", "@types/react": "^17.0.80", - "@types/react-dom": "^16.9.24", + "@types/react-dom": "^18.3.1", "@umijs/fabric": "^4.0.0", "@umijs/test": "^4.3.12", "dumi": "^2.4.7", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 8d1520d..424a0bf 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -37,8 +37,8 @@ importers: specifier: ^17.0.80 version: 17.0.80 '@types/react-dom': - specifier: ^16.9.24 - version: 16.9.24 + specifier: ^18.3.1 + version: 18.3.1 '@umijs/fabric': specifier: ^4.0.0 version: 4.0.1(jest@29.7.0(@types/node@22.2.0)(ts-node@10.9.2(@swc/core@1.4.2(@swc/helpers@0.5.1))(@types/node@22.2.0)(typescript@5.5.4)))(postcss@8.4.41) @@ -919,12 +919,15 @@ packages: '@esbuild-kit/cjs-loader@2.4.4': resolution: {integrity: sha512-NfsJX4PdzhwSkfJukczyUiZGc7zNNWZcEAyqeISpDnn0PTfzMJR1aR8xAIPskBejIxBJbIgCCMzbaYa9SXepIg==} + deprecated: 'Merged into tsx: https://tsx.is' '@esbuild-kit/core-utils@3.3.2': resolution: {integrity: sha512-sPRAnw9CdSsRmEtnsl2WXWdyquogVpB3yZ3dgwJfe8zrOzTsV7cJvmwrKVa+0ma5BoiGJ+BoqkMvawbayKUsqQ==} + deprecated: 'Merged into tsx: https://tsx.is' '@esbuild-kit/esm-loader@2.6.5': resolution: {integrity: sha512-FxEMIkJKnodyA1OaCUoEvbYRkoZlLZ4d/eXFu9Fh8CbBBgP5EmZxrfTRyN0qpXZ4vOvqnE5YdRdcrmUUXuU+dA==} + deprecated: 'Merged into tsx: https://tsx.is' '@esbuild/aix-ppc64@0.21.4': resolution: {integrity: sha512-Zrm+B33R4LWPLjDEVnEqt2+SLTATlru1q/xYKVn8oVTbiRBGmK2VIMoIYGJDGyftnGaC788IuzGFAlb7IQ0Y8A==} @@ -1976,14 +1979,8 @@ packages: '@types/ramda@0.29.3': resolution: {integrity: sha512-Yh/RHkjN0ru6LVhSQtTkCRo6HXkfL9trot/2elzM/yXLJmbLm2v6kJc8yftTnwv1zvUob6TEtqI2cYjdqG3U0Q==} - '@types/react-dom@16.9.24': - resolution: {integrity: sha512-Gcmq2JTDheyWn/1eteqyzzWKSqDjYU6KYsIvH7thb7CR5OYInAWOX+7WnKf6PaU/cbdOc4szJItcDEJO7UGmfA==} - - '@types/react-dom@18.3.0': - resolution: {integrity: sha512-EhwApuTmMBmXuFOikhQLIBUn6uFg81SwLMOAUgodJF14SOBOCMdU04gDoYi0WOJJHD144TL32z4yDqCW3dnkQg==} - - '@types/react@16.14.60': - resolution: {integrity: sha512-wIFmnczGsTcgwCBeIYOuy2mdXEiKZ5znU/jNOnMZPQyCcIxauMGWlX0TNG4lZ7NxRKj7YUIZRneJQSSdB2jKgg==} + '@types/react-dom@18.3.1': + resolution: {integrity: sha512-qW1Mfv8taImTthu4KoXgDfLuk4bydU6Q/TkADnDWWHwi4NX4BR+LWfTp2sVmTqRrsHvyDDTelgelxJ+SsejKKQ==} '@types/react@17.0.80': resolution: {integrity: sha512-LrgHIu2lEtIo8M7d1FcI3BdwXWoRQwMoXOZ7+dPTW0lYREjmlHl3P0U1VD0i/9tppOuv8/sam7sOjx34TxSFbA==} @@ -3904,6 +3901,7 @@ packages: eslint@8.57.0: resolution: {integrity: sha512-dZ6+mexnaTIbSBZWgou51U6OmzIhYM2VcNdtiTtI7qPNZm35Akpr0f6vtw3w1Kmn5PYo+tZVfh13WrhpS6oLqQ==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + deprecated: This version is no longer supported. Please see https://eslint.org/version-support for other options. hasBin: true espree@9.6.1: @@ -10717,7 +10715,7 @@ snapshots: dependencies: '@babel/runtime': 7.25.0 '@testing-library/dom': 9.3.4 - '@types/react-dom': 18.3.0 + '@types/react-dom': 18.3.1 react: 18.3.1 react-dom: 18.3.1(react@18.3.1) @@ -10882,20 +10880,10 @@ snapshots: dependencies: types-ramda: 0.29.10 - '@types/react-dom@16.9.24': - dependencies: - '@types/react': 16.14.60 - - '@types/react-dom@18.3.0': + '@types/react-dom@18.3.1': dependencies: '@types/react': 17.0.80 - '@types/react@16.14.60': - dependencies: - '@types/prop-types': 15.7.12 - '@types/scheduler': 0.16.8 - csstype: 3.1.3 - '@types/react@17.0.80': dependencies: '@types/prop-types': 15.7.12