diff --git a/package.json b/package.json index 90786cb7..59772569 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": "^5.3.9", "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.0", - "@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", "@types/styled-components": "^5.1.26", "@typescript-eslint/eslint-plugin": "^6.7.2", "@typescript-eslint/parser": "^6.7.2", @@ -66,7 +66,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 27cf2f7c..f0e6ab5e 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: ^5.3.9 - version: 5.3.9(react-dom@17.0.2)(react-is@18.2.0)(react@17.0.2) + version: 5.3.9(react-dom@18.2.0)(react-is@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.0 version: 1.26.0 '@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 '@types/styled-components': specifier: ^5.1.26 version: 5.1.26 @@ -122,8 +122,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) @@ -1425,7 +1425,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: @@ -1442,11 +1442,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: @@ -1554,7 +1554,7 @@ packages: /@types/hoist-non-react-statics@3.3.1: resolution: {integrity: sha512-iMIqiko6ooLrTh1joXodJK5X9xeEALT1kM5G3ZLhD3hszxBdIEd5C75U834D9mLcINgD4OyZf5uQXjkuYydWvA==} dependencies: - '@types/react': 17.0.38 + '@types/react': 18.2.23 hoist-non-react-statics: 3.3.2 dev: true @@ -1613,16 +1613,16 @@ 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: @@ -1633,6 +1633,14 @@ packages: csstype: 3.0.2 dev: true + /@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 + dev: true + /@types/scheduler@0.16.1: resolution: {integrity: sha512-EaCxbanVeyxDRTQBkdLb3Bvl/HK7PBK6UJjsSixB0iHKoWxE5uu2Q/DgtpOhPIojN0Zl1whvOd7PoHs2P0s5eA==} dev: true @@ -2268,7 +2276,7 @@ packages: '@babel/helper-module-imports': 7.18.6 babel-plugin-syntax-jsx: 6.18.0 lodash: 4.17.21 - styled-components: 5.3.9(react-dom@17.0.2)(react-is@18.2.0)(react@17.0.2) + styled-components: 5.3.9(react-dom@18.2.0)(react-is@18.2.0)(react@18.2.0) dev: false /babel-plugin-syntax-jsx@6.18.0: @@ -5306,6 +5314,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==} @@ -5756,64 +5765,57 @@ 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==} - /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==} - /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==} @@ -6092,11 +6094,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==} @@ -6425,7 +6426,7 @@ packages: engines: {node: '>=8'} dev: true - /styled-components@5.3.9(react-dom@17.0.2)(react-is@18.2.0)(react@17.0.2): + /styled-components@5.3.9(react-dom@18.2.0)(react-is@18.2.0)(react@18.2.0): resolution: {integrity: sha512-Aj3kb13B75DQBo2oRwRa/APdB5rSmwUfN5exyarpX+x/tlM/rwZA2vVk2vQgVSP6WKaZJHWwiFrzgHt+CLtB4A==} engines: {node: '>=10'} peerDependencies: @@ -6441,8 +6442,8 @@ packages: babel-plugin-styled-components: 1.12.0(styled-components@5.3.9) css-to-react-native: 3.0.0 hoist-non-react-statics: 3.3.2 - 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) react-is: 18.2.0 shallowequal: 1.1.0 supports-color: 5.5.0