diff --git a/package.json b/package.json index 9db37a23..a4e029f6 100644 --- a/package.json +++ b/package.json @@ -30,8 +30,8 @@ "esbuild": "^0.17.18", "inversify": "^6.0.1", "prismjs": "^1.29.0", - "react": "17.0.2", - "react-dom": "17.0.2", + "react": "18.2.0", + "react-dom": "18.2.0", "styled-components": "^6.0.8", "tslib": "^2.6.2", "typescript": "5.2.2", @@ -45,9 +45,9 @@ "@types/jest": "^29.5.5", "@types/node": "^20.6.0", "@types/prismjs": "^1.26.1", - "@types/react": "^17.0.38", - "@types/react-dom": "^17.0.11", - "@types/react-test-renderer": "^17.0.0", + "@types/react": "^18.2.23", + "@types/react-dom": "^18.2.8", + "@types/react-test-renderer": "^18.0.3", "@typescript-eslint/eslint-plugin": "^6.7.2", "@typescript-eslint/parser": "^6.7.2", "esbuild-jest": "^0.5.0", @@ -65,7 +65,7 @@ "playwright-webextext": "^0.0.3", "prettier": "3.0.3", "prettier-eslint": "15.0.1", - "react-test-renderer": "17.0.2", + "react-test-renderer": "18.2.0", "ts-node": "^10.7.0", "webext-agent": "^0.1.0" }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 0b90efab..a55bde8c 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -18,14 +18,14 @@ dependencies: specifier: ^1.29.0 version: 1.29.0 react: - specifier: 17.0.2 - version: 17.0.2 + specifier: 18.2.0 + version: 18.2.0 react-dom: - specifier: 17.0.2 - version: 17.0.2(react@17.0.2) + specifier: 18.2.0 + version: 18.2.0(react@18.2.0) styled-components: specifier: ^6.0.8 - version: 6.0.8(react-dom@17.0.2)(react@17.0.2) + version: 6.0.8(react-dom@18.2.0)(react@18.2.0) tslib: specifier: ^2.6.2 version: 2.6.2 @@ -45,7 +45,7 @@ devDependencies: version: 1.26.0 '@testing-library/react-hooks': specifier: ^8.0.1 - version: 8.0.1(@types/react@17.0.38)(react-dom@17.0.2)(react-test-renderer@17.0.2)(react@17.0.2) + version: 8.0.1(@types/react@18.2.23)(react-dom@18.2.0)(react-test-renderer@18.2.0)(react@18.2.0) '@types/chrome': specifier: ^0.0.233 version: 0.0.233 @@ -59,14 +59,14 @@ devDependencies: specifier: ^1.26.1 version: 1.26.1 '@types/react': - specifier: ^17.0.38 - version: 17.0.38 + specifier: ^18.2.23 + version: 18.2.23 '@types/react-dom': - specifier: ^17.0.11 - version: 17.0.11 + specifier: ^18.2.8 + version: 18.2.8 '@types/react-test-renderer': - specifier: ^17.0.0 - version: 17.0.1 + specifier: ^18.0.3 + version: 18.0.3 '@typescript-eslint/eslint-plugin': specifier: ^6.7.2 version: 6.7.2(@typescript-eslint/parser@6.7.2)(eslint@8.50.0)(typescript@5.2.2) @@ -119,8 +119,8 @@ devDependencies: specifier: 15.0.1 version: 15.0.1 react-test-renderer: - specifier: 17.0.2 - version: 17.0.2(react@17.0.2) + specifier: 18.2.0 + version: 18.2.0(react@18.2.0) ts-node: specifier: ^10.7.0 version: 10.7.0(@types/node@20.6.0)(typescript@5.2.2) @@ -2392,7 +2392,7 @@ packages: '@sinonjs/commons': 3.0.0 dev: true - /@testing-library/react-hooks@8.0.1(@types/react@17.0.38)(react-dom@17.0.2)(react-test-renderer@17.0.2)(react@17.0.2): + /@testing-library/react-hooks@8.0.1(@types/react@18.2.23)(react-dom@18.2.0)(react-test-renderer@18.2.0)(react@18.2.0): resolution: {integrity: sha512-Aqhl2IVmLt8IovEVarNDFuJDVWVvhnr9/GCU6UUnrYXwgDFF9h2L2o2P9KBni1AST5sT6riAyoukFLyjQUgD/g==} engines: {node: '>=12'} peerDependencies: @@ -2409,11 +2409,11 @@ packages: optional: true dependencies: '@babel/runtime': 7.21.0 - '@types/react': 17.0.38 - react: 17.0.2 - react-dom: 17.0.2(react@17.0.2) - react-error-boundary: 3.1.4(react@17.0.2) - react-test-renderer: 17.0.2(react@17.0.2) + '@types/react': 18.2.23 + react: 18.2.0 + react-dom: 18.2.0(react@18.2.0) + react-error-boundary: 3.1.4(react@18.2.0) + react-test-renderer: 18.2.0(react@18.2.0) dev: true /@tootallnate/once@2.0.0: @@ -2573,24 +2573,24 @@ packages: resolution: {integrity: sha512-rZ5drC/jWjrArrS8BR6SIr4cWpW09RNTYt9AMZo3Jwwif+iacXAqgVjm0B0Bv/S1jhDXKHqRVNCbACkJ89RAnQ==} dev: true - /@types/react-dom@17.0.11: - resolution: {integrity: sha512-f96K3k+24RaLGVu/Y2Ng3e1EbZ8/cVJvypZWd7cy0ofCBaf2lcM46xNhycMZ2xGwbBjRql7hOlZ+e2WlJ5MH3Q==} + /@types/react-dom@18.2.8: + resolution: {integrity: sha512-bAIvO5lN/U8sPGvs1Xm61rlRHHaq5rp5N3kp9C+NJ/Q41P8iqjkXSu0+/qu8POsjH9pNWb0OYabFez7taP7omw==} dependencies: - '@types/react': 17.0.38 + '@types/react': 18.2.23 dev: true - /@types/react-test-renderer@17.0.1: - resolution: {integrity: sha512-3Fi2O6Zzq/f3QR9dRnlnHso9bMl7weKCviFmfF6B4LS1Uat6Hkm15k0ZAQuDz+UBq6B3+g+NM6IT2nr5QgPzCw==} + /@types/react-test-renderer@18.0.3: + resolution: {integrity: sha512-4wcNLnY6nIT+L6g94CpzL4CXX2P18JvKPU9CDlaHr3DnbP3GiaQLhDotJqjWlVqOcE4UhLRjp0MtxqwuNKONnA==} dependencies: - '@types/react': 17.0.38 + '@types/react': 18.2.23 dev: true - /@types/react@17.0.38: - resolution: {integrity: sha512-SI92X1IA+FMnP3qM5m4QReluXzhcmovhZnLNm3pyeQlooi02qI7sLiepEYqT678uNiyc25XfCqxREFpy3W7YhQ==} + /@types/react@18.2.23: + resolution: {integrity: sha512-qHLW6n1q2+7KyBEYnrZpcsAmU/iiCh9WGCKgXvMxx89+TYdJWRjZohVIo9XTcoLhfX3+/hP0Pbulu3bCZQ9PSA==} dependencies: '@types/prop-types': 15.7.4 '@types/scheduler': 0.16.1 - csstype: 3.0.2 + csstype: 3.1.2 dev: true /@types/scheduler@0.16.1: @@ -3727,13 +3727,8 @@ packages: cssom: 0.3.8 dev: true - /csstype@3.0.2: - resolution: {integrity: sha512-ofovWglpqoqbfLNOTBNZLSbMuGrblAf1efvvArGKOZMBrIoJeu5UsAipQolkijtyQx5MtAzT/J9IHj/CEY1mJw==} - dev: true - /csstype@3.1.2: resolution: {integrity: sha512-I7K1Uu0MBPzaFKg4nI5Q7Vs2t+3gWWW648spaF+Rg7pI9ds18Ugn+lvg4SHczUdKlHI5LWBXyqfS8+DufyBsgQ==} - dev: false /data-urls@3.0.2: resolution: {integrity: sha512-Jy/tj3ldjZJo63sVAvg6LHt2mHvl4V6AgRAmNDtLdm7faqtsx+aJG42rsyCo9JCoRVKwPFzKlIPx3DIibwSIaQ==} @@ -6310,6 +6305,7 @@ packages: /object-assign@4.1.1: resolution: {integrity: sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==} engines: {node: '>=0.10.0'} + dev: true /object-copy@0.1.0: resolution: {integrity: sha512-79LYn6VAb63zgtmAteVOWo9Vdj71ZVBy3Pbse+VqxDpEP83XuujMrGqHIwAXJ5I/aM0zU7dIyIAhifVTPrNItQ==} @@ -6769,66 +6765,59 @@ packages: resolution: {integrity: sha512-tYC1Q1hgyRuHgloV/YXs2w15unPVh8qfu/qCTfhTYamaw7fyhumKa2yGpdSo87vY32rIclj+4fWYQXUMs9EHvg==} dev: true - /react-dom@17.0.2(react@17.0.2): - resolution: {integrity: sha512-s4h96KtLDUQlsENhMn1ar8t2bEa+q/YAtj8pPPdIjPDGBDIVNsrD9aXNWqspUe6AzKCIG0C1HZZLqLV7qpOBGA==} + /react-dom@18.2.0(react@18.2.0): + resolution: {integrity: sha512-6IMTriUmvsjHUjNtEDudZfuDQUoWXVxKHhlEGSk81n4YFS+r/Kl99wXiwlVXtPBtJenozv2P+hxDsw9eA7Xo6g==} peerDependencies: - react: 17.0.2 + react: ^18.2.0 dependencies: loose-envify: 1.4.0 - object-assign: 4.1.1 - react: 17.0.2 - scheduler: 0.20.2 + react: 18.2.0 + scheduler: 0.23.0 - /react-error-boundary@3.1.4(react@17.0.2): + /react-error-boundary@3.1.4(react@18.2.0): resolution: {integrity: sha512-uM9uPzZJTF6wRQORmSrvOIgt4lJ9MC1sNgEOj2XGsDTRE4kmpWxg7ENK9EWNKJRMAOY9z0MuF4yIfl6gp4sotA==} engines: {node: '>=10', npm: '>=6'} peerDependencies: react: '>=16.13.1' dependencies: '@babel/runtime': 7.21.0 - react: 17.0.2 + react: 18.2.0 dev: true /react-is@16.13.1: resolution: {integrity: sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==} dev: true - /react-is@17.0.2: - resolution: {integrity: sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==} - dev: true - /react-is@18.2.0: resolution: {integrity: sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w==} dev: true - /react-shallow-renderer@16.14.1(react@17.0.2): - resolution: {integrity: sha512-rkIMcQi01/+kxiTE9D3fdS959U1g7gs+/rborw++42m1O9FAQiNI/UNRZExVUoAOprn4umcXf+pFRou8i4zuBg==} + /react-shallow-renderer@16.15.0(react@18.2.0): + resolution: {integrity: sha512-oScf2FqQ9LFVQgA73vr86xl2NaOIX73rh+YFqcOp68CWj56tSfgtGKrEbyhCj0rSijyG9M1CYprTh39fBi5hzA==} peerDependencies: - react: ^16.0.0 || ^17.0.0 + react: ^16.0.0 || ^17.0.0 || ^18.0.0 dependencies: object-assign: 4.1.1 - react: 17.0.2 - react-is: 17.0.2 + react: 18.2.0 + react-is: 18.2.0 dev: true - /react-test-renderer@17.0.2(react@17.0.2): - resolution: {integrity: sha512-yaQ9cB89c17PUb0x6UfWRs7kQCorVdHlutU1boVPEsB8IDZH6n9tHxMacc3y0JoXOJUsZb/t/Mb8FUWMKaM7iQ==} + /react-test-renderer@18.2.0(react@18.2.0): + resolution: {integrity: sha512-JWD+aQ0lh2gvh4NM3bBM42Kx+XybOxCpgYK7F8ugAlpaTSnWsX+39Z4XkOykGZAHrjwwTZT3x3KxswVWxHPUqA==} peerDependencies: - react: 17.0.2 + react: ^18.2.0 dependencies: - object-assign: 4.1.1 - react: 17.0.2 - react-is: 17.0.2 - react-shallow-renderer: 16.14.1(react@17.0.2) - scheduler: 0.20.2 + react: 18.2.0 + react-is: 18.2.0 + react-shallow-renderer: 16.15.0(react@18.2.0) + scheduler: 0.23.0 dev: true - /react@17.0.2: - resolution: {integrity: sha512-gnhPt75i/dq/z3/6q/0asP78D0u592D5L1pd7M8P+dck6Fu/jJeL6iVVK23fptSUZj8Vjf++7wXA8UNclGQcbA==} + /react@18.2.0: + resolution: {integrity: sha512-/3IjMdb2L9QbBdWiW5e3P2/npwMBaU9mHCSCUzNln0ZCYbcfTsGbTJrU/kGemdH2IWmB2ioZ+zkxtmq6g09fGQ==} engines: {node: '>=0.10.0'} dependencies: loose-envify: 1.4.0 - object-assign: 4.1.1 /readable-stream@1.0.34: resolution: {integrity: sha512-ok1qVCJuRkNmvebYikljxJA/UEsKwLl2nI1OmaqAu4/UE+h0wKCHok4XkL/gvi39OacXvw59RJUOFUkDib2rHg==} @@ -7146,11 +7135,10 @@ packages: xmlchars: 2.2.0 dev: true - /scheduler@0.20.2: - resolution: {integrity: sha512-2eWfGgAqqWFGqtdMmcL5zCMK1U8KlXv8SQFGglL3CEtd0aDVDWgeF/YoCmvln55m5zSk3J/20hTaSBeSObsQDQ==} + /scheduler@0.23.0: + resolution: {integrity: sha512-CtuThmgHNg7zIZWAXi3AsyIzA3n4xx7aNyjwC2VJldO2LMVDhFK+63xGqq6CsJH4rTAt6/M+N4GhZiDYPx9eUw==} dependencies: loose-envify: 1.4.0 - object-assign: 4.1.1 /secure-json-parse@2.5.0: resolution: {integrity: sha512-ZQruFgZnIWH+WyO9t5rWt4ZEGqCKPwhiw+YbzTwpmT9elgLrLcfuyUiSnwwjUiVy9r4VM3urtbNF1xmEh9IL2w==} @@ -7487,7 +7475,7 @@ packages: engines: {node: '>=8'} dev: true - /styled-components@6.0.8(react-dom@17.0.2)(react@17.0.2): + /styled-components@6.0.8(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-AwI02MTWZwqjzfXgR5QcbmcSn5xVjY4N2TLjSuYnmuBGF3y7GicHz3ysbpUq2EMJP5M8/Nc22vcmF3V3WNZDFA==} engines: {node: '>= 16'} peerDependencies: @@ -7514,8 +7502,8 @@ packages: css-to-react-native: 3.2.0 csstype: 3.1.2 postcss: 8.4.31 - react: 17.0.2 - react-dom: 17.0.2(react@17.0.2) + react: 18.2.0 + react-dom: 18.2.0(react@18.2.0) shallowequal: 1.1.0 stylis: 4.3.0 tslib: 2.6.2