diff --git a/packages/gatsby/package.json b/packages/gatsby/package.json index 97c0219e4269..ba50b714ecd4 100644 --- a/packages/gatsby/package.json +++ b/packages/gatsby/package.json @@ -32,12 +32,12 @@ }, "peerDependencies": { "gatsby": "^2.0.0 || ^3.0.0 || ^4.0.0", - "react": "15.x || 16.x || 17.x" + "react": "15.x || 16.x || 17.x || 18.x" }, "devDependencies": { "@sentry/types": "6.19.3", - "@testing-library/react": "^10.4.9", - "react": "^17.0.0" + "@testing-library/react": "^13.0.0", + "react": "^18.0.0" }, "scripts": { "build": "run-p build:cjs build:esm build:types", diff --git a/packages/react/package.json b/packages/react/package.json index eefa9b5aadd4..800b8d96f195 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -24,11 +24,11 @@ "tslib": "^1.9.3" }, "peerDependencies": { - "react": "15.x || 16.x || 17.x" + "react": "15.x || 16.x || 17.x || 18.x" }, "devDependencies": { - "@testing-library/react": "^11.2.6", - "@testing-library/react-hooks": "^5.1.1", + "@testing-library/react": "^13.0.0", + "@testing-library/react-hooks": "^7.0.2", "@types/history-4": "npm:@types/history@4.7.8", "@types/history-5": "npm:@types/history@4.7.8", "@types/hoist-non-react-statics": "^3.3.1", @@ -41,12 +41,11 @@ "history-4": "npm:history@4.6.0", "history-5": "npm:history@4.9.0", "jsdom": "^16.2.2", - "react": "^17.0.0", - "react-dom": "^17.0.0", + "react": "^18.0.0", + "react-dom": "^18.0.0", "react-router-3": "npm:react-router@3.2.0", "react-router-4": "npm:react-router@4.1.0", "react-router-5": "npm:react-router@5.0.0", - "react-test-renderer": "^16.13.1", "redux": "^4.0.5" }, "scripts": { diff --git a/packages/react/test/errorboundary.test.tsx b/packages/react/test/errorboundary.test.tsx index 03297016ca50..c2c2ea1ac268 100644 --- a/packages/react/test/errorboundary.test.tsx +++ b/packages/react/test/errorboundary.test.tsx @@ -341,7 +341,8 @@ describe('isAtLeastReact17', () => { ['React 17', '17.0.0', true], ['React 17 with no patch', '17.4', true], ['React 17 with no patch and no minor', '17', true], - ['React 18', '18.0.0', true], + ['React 18', '18.1.0', true], + ['React 19', '19.0.0', true], ])('%s', (_: string, input: string, output: ReturnType) => { expect(isAtLeastReact17(input)).toBe(output); }); diff --git a/packages/react/test/reactrouterv3.test.tsx b/packages/react/test/reactrouterv3.test.tsx index d8162d3d311b..e36a8d20d9ab 100644 --- a/packages/react/test/reactrouterv3.test.tsx +++ b/packages/react/test/reactrouterv3.test.tsx @@ -1,4 +1,4 @@ -import { render } from '@testing-library/react'; +import { act, render } from '@testing-library/react'; import * as React from 'react'; import { createMemoryHistory, createRoutes, IndexRoute, match, Route, Router } from 'react-router-3'; @@ -108,7 +108,9 @@ describe('React Router V3', () => { instrumentation(mockStartTransaction); const { container } = render({routes}); - history.push('/users/123'); + act(() => { + history.push('/users/123'); + }); expect(container.innerHTML).toContain('123'); expect(mockStartTransaction).toHaveBeenCalledTimes(2); @@ -124,7 +126,9 @@ describe('React Router V3', () => { instrumentation(mockStartTransaction); const { container } = render({routes}); - history.push('/organizations/1234/v1/758'); + act(() => { + history.push('/organizations/1234/v1/758'); + }); expect(container.innerHTML).toContain('Team'); expect(mockStartTransaction).toHaveBeenCalledTimes(2); @@ -134,7 +138,9 @@ describe('React Router V3', () => { tags: { from: '/', 'routing.instrumentation': 'react-router-v3' }, }); - history.push('/organizations/543'); + act(() => { + history.push('/organizations/543'); + }); expect(container.innerHTML).toContain('OrgId'); expect(mockStartTransaction).toHaveBeenCalledTimes(3); diff --git a/packages/react/test/reactrouterv4.test.tsx b/packages/react/test/reactrouterv4.test.tsx index 04e93bd043dc..89caf7b398ee 100644 --- a/packages/react/test/reactrouterv4.test.tsx +++ b/packages/react/test/reactrouterv4.test.tsx @@ -1,4 +1,4 @@ -import { render } from '@testing-library/react'; +import { act, render } from '@testing-library/react'; import { createMemoryHistory } from 'history-4'; import * as React from 'react'; import { matchPath, Route, Router, Switch } from 'react-router-4'; @@ -125,7 +125,7 @@ describe('React Router v4', () => { it('does not normalize transaction name ', () => { const [mockStartTransaction, history] = createInstrumentation(); - const { container } = render( + const { getByText } = render(
UserId
} /> @@ -135,8 +135,10 @@ describe('React Router v4', () => {
, ); - history.push('/users/123'); - expect(container.innerHTML).toContain('UserId'); + act(() => { + history.push('/users/123'); + }); + getByText('UserId'); expect(mockStartTransaction).toHaveBeenCalledTimes(2); expect(mockStartTransaction).toHaveBeenLastCalledWith({ @@ -149,7 +151,7 @@ describe('React Router v4', () => { it('normalizes transaction name with custom Route', () => { const [mockStartTransaction, history, { mockSetName }] = createInstrumentation(); const SentryRoute = withSentryRouting(Route); - const { container } = render( + const { getByText } = render(
UserId
} /> @@ -159,8 +161,10 @@ describe('React Router v4', () => {
, ); - history.push('/users/123'); - expect(container.innerHTML).toContain('UserId'); + act(() => { + history.push('/users/123'); + }); + getByText('UserId'); expect(mockStartTransaction).toHaveBeenCalledTimes(2); expect(mockStartTransaction).toHaveBeenLastCalledWith({ @@ -175,7 +179,7 @@ describe('React Router v4', () => { it('normalizes nested transaction names with custom Route', () => { const [mockStartTransaction, history, { mockSetName }] = createInstrumentation(); const SentryRoute = withSentryRouting(Route); - const { container } = render( + const { getByText } = render(
Team
} /> @@ -185,8 +189,10 @@ describe('React Router v4', () => {
, ); - history.push('/organizations/1234/v1/758'); - expect(container.innerHTML).toContain('Team'); + act(() => { + history.push('/organizations/1234/v1/758'); + }); + getByText('Team'); expect(mockStartTransaction).toHaveBeenCalledTimes(2); expect(mockStartTransaction).toHaveBeenLastCalledWith({ @@ -197,8 +203,10 @@ describe('React Router v4', () => { expect(mockSetName).toHaveBeenCalledTimes(2); expect(mockSetName).toHaveBeenLastCalledWith('/organizations/:orgid/v1/:teamid'); - history.push('/organizations/543'); - expect(container.innerHTML).toContain('OrgId'); + act(() => { + history.push('/organizations/543'); + }); + getByText('OrgId'); expect(mockStartTransaction).toHaveBeenCalledTimes(3); expect(mockStartTransaction).toHaveBeenLastCalledWith({ diff --git a/packages/react/test/reactrouterv5.test.tsx b/packages/react/test/reactrouterv5.test.tsx index d4ba0b95c489..5d9cd66c9898 100644 --- a/packages/react/test/reactrouterv5.test.tsx +++ b/packages/react/test/reactrouterv5.test.tsx @@ -1,4 +1,4 @@ -import { render } from '@testing-library/react'; +import { act,render } from '@testing-library/react'; import { createMemoryHistory } from 'history-4'; import * as React from 'react'; import { matchPath, Route, Router, Switch } from 'react-router-5'; @@ -125,7 +125,7 @@ describe('React Router v5', () => { it('does not normalize transaction name ', () => { const [mockStartTransaction, history] = createInstrumentation(); - const { container } = render( + const { getByText } = render(
UserId
} /> @@ -135,8 +135,10 @@ describe('React Router v5', () => {
, ); - history.push('/users/123'); - expect(container.innerHTML).toContain('UserId'); + act(() => { + history.push('/users/123'); + }); + getByText('UserId'); expect(mockStartTransaction).toHaveBeenCalledTimes(2); expect(mockStartTransaction).toHaveBeenLastCalledWith({ @@ -149,7 +151,8 @@ describe('React Router v5', () => { it('normalizes transaction name with custom Route', () => { const [mockStartTransaction, history, { mockSetName }] = createInstrumentation(); const SentryRoute = withSentryRouting(Route); - const { container } = render( + + const { getByText } = render(
UserId
} /> @@ -158,9 +161,10 @@ describe('React Router v5', () => {
, ); - - history.push('/users/123'); - expect(container.innerHTML).toContain('UserId'); + act(() => { + history.push('/users/123'); + }); + getByText('UserId'); expect(mockStartTransaction).toHaveBeenCalledTimes(2); expect(mockStartTransaction).toHaveBeenLastCalledWith({ @@ -175,7 +179,8 @@ describe('React Router v5', () => { it('normalizes nested transaction names with custom Route', () => { const [mockStartTransaction, history, { mockSetName }] = createInstrumentation(); const SentryRoute = withSentryRouting(Route); - const { container } = render( + + const { getByText } = render(
Team
} /> @@ -185,8 +190,10 @@ describe('React Router v5', () => {
, ); - history.push('/organizations/1234/v1/758'); - expect(container.innerHTML).toContain('Team'); + act(() => { + history.push('/organizations/1234/v1/758'); + }); + getByText('Team'); expect(mockStartTransaction).toHaveBeenCalledTimes(2); expect(mockStartTransaction).toHaveBeenLastCalledWith({ @@ -197,8 +204,10 @@ describe('React Router v5', () => { expect(mockSetName).toHaveBeenCalledTimes(2); expect(mockSetName).toHaveBeenLastCalledWith('/organizations/:orgid/v1/:teamid'); - history.push('/organizations/543'); - expect(container.innerHTML).toContain('OrgId'); + act(() => { + history.push('/organizations/543'); + }); + getByText('OrgId'); expect(mockStartTransaction).toHaveBeenCalledTimes(3); expect(mockStartTransaction).toHaveBeenLastCalledWith({ diff --git a/yarn.lock b/yarn.lock index b54e162d474d..378af0b069b2 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1378,14 +1378,6 @@ "@babel/helper-validator-option" "^7.16.7" "@babel/plugin-transform-typescript" "^7.16.7" -"@babel/runtime-corejs3@^7.10.2": - version "7.13.10" - resolved "https://registry.yarnpkg.com/@babel/runtime-corejs3/-/runtime-corejs3-7.13.10.tgz#14c3f4c85de22ba88e8e86685d13e8861a82fe86" - integrity sha512-x/XYVQ1h684pp1mJwOV4CyvqZXqbc8CMsMGUnAbuc82ZCdv1U63w5RSUzgDSXQHG5Rps/kiksH6g2D5BuaKyXg== - dependencies: - core-js-pure "^3.0.0" - regenerator-runtime "^0.13.4" - "@babel/runtime@7.12.18": version "7.12.18" resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.12.18.tgz#af137bd7e7d9705a412b3caaf991fe6aaa97831b" @@ -1400,7 +1392,7 @@ dependencies: regenerator-runtime "^0.13.4" -"@babel/runtime@^7.1.2", "@babel/runtime@^7.10.2", "@babel/runtime@^7.10.3", "@babel/runtime@^7.12.5", "@babel/runtime@^7.8.4": +"@babel/runtime@^7.1.2", "@babel/runtime@^7.12.5", "@babel/runtime@^7.8.4": version "7.13.10" resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.13.10.tgz#47d42a57b6095f4468da440388fdbad8bebf0d7d" integrity sha512-4QPkjJq6Ns3V/RgpEahRk+AGfL0eO6RHHtTWoNNr5mO49G6B5+X6d6THgWEAvTrznU5xYpbAlVKRYcsCgh/Akw== @@ -2100,7 +2092,7 @@ source-map "^0.6.1" write-file-atomic "2.4.1" -"@jest/types@>=24 <=26", "@jest/types@^26.6.2": +"@jest/types@>=24 <=26": version "26.6.2" resolved "https://registry.yarnpkg.com/@jest/types/-/types-26.6.2.tgz#bef5a532030e1d88a2f5a6d933f84e97226ed48e" integrity sha512-fC6QCp7Sc5sX6g8Tvbmj4XUTbyrik0akgRy03yjXbQaBWWNWGE7SGtJk98m0N8nzegD/7SggrUlivxo5ax4KWQ== @@ -3256,47 +3248,39 @@ dependencies: highlight.js "^9.15.6" -"@testing-library/dom@^7.22.3", "@testing-library/dom@^7.28.1": - version "7.30.2" - resolved "https://registry.yarnpkg.com/@testing-library/dom/-/dom-7.30.2.tgz#a63ae7078235ec6248a8a522b04e696ab49896cc" - integrity sha512-NJzHILb5De0J0varzT0W00qDTLcbF86etfAyx5ty7iJhpR6eCs+JR99Ls7AMSUG2bWRYIG0u4KTPH6PMcZhlWQ== +"@testing-library/dom@^8.5.0": + version "8.12.0" + resolved "https://registry.yarnpkg.com/@testing-library/dom/-/dom-8.12.0.tgz#fef5e545533fb084175dda6509ee71d7d2f72e23" + integrity sha512-rBrJk5WjI02X1edtiUcZhgyhgBhiut96r5Jp8J5qktKdcvLcZpKDW8i2hkGMMItxrghjXuQ5AM6aE0imnFawaw== dependencies: "@babel/code-frame" "^7.10.4" "@babel/runtime" "^7.12.5" "@types/aria-query" "^4.2.0" - aria-query "^4.2.2" + aria-query "^5.0.0" chalk "^4.1.0" - dom-accessibility-api "^0.5.4" + dom-accessibility-api "^0.5.9" lz-string "^1.4.4" - pretty-format "^26.6.2" + pretty-format "^27.0.2" -"@testing-library/react-hooks@^5.1.1": - version "5.1.1" - resolved "https://registry.yarnpkg.com/@testing-library/react-hooks/-/react-hooks-5.1.1.tgz#1fbaae8a4e8a4a7f97b176c23e1e890c41bbbfa5" - integrity sha512-52D2XnpelFDefnWpy/V6z2qGNj8JLIvW5DjYtelMvFXdEyWiykSaI7IXHwFy4ICoqXJDmmwHAiFRiFboub/U5g== +"@testing-library/react-hooks@^7.0.2": + version "7.0.2" + resolved "https://registry.yarnpkg.com/@testing-library/react-hooks/-/react-hooks-7.0.2.tgz#3388d07f562d91e7f2431a4a21b5186062ecfee0" + integrity sha512-dYxpz8u9m4q1TuzfcUApqi8iFfR6R0FaMbr2hjZJy1uC8z+bO/K4v8Gs9eogGKYQop7QsrBTFkv/BCF7MzD2Cg== dependencies: "@babel/runtime" "^7.12.5" "@types/react" ">=16.9.0" "@types/react-dom" ">=16.9.0" "@types/react-test-renderer" ">=16.9.0" - filter-console "^0.1.1" react-error-boundary "^3.1.0" -"@testing-library/react@^10.4.9": - version "10.4.9" - resolved "https://registry.yarnpkg.com/@testing-library/react/-/react-10.4.9.tgz#9faa29c6a1a217bf8bbb96a28bd29d7a847ca150" - integrity sha512-pHZKkqUy0tmiD81afs8xfiuseXfU/N7rAX3iKjeZYje86t9VaB0LrxYVa+OOsvkrveX5jCK3IjajVn2MbePvqA== - dependencies: - "@babel/runtime" "^7.10.3" - "@testing-library/dom" "^7.22.3" - -"@testing-library/react@^11.2.6": - version "11.2.6" - resolved "https://registry.yarnpkg.com/@testing-library/react/-/react-11.2.6.tgz#586a23adc63615985d85be0c903f374dab19200b" - integrity sha512-TXMCg0jT8xmuU8BkKMtp8l7Z50Ykew5WNX8UoIKTaLFwKkP2+1YDhOLA2Ga3wY4x29jyntk7EWfum0kjlYiSjQ== +"@testing-library/react@^13.0.0": + version "13.0.0" + resolved "https://registry.yarnpkg.com/@testing-library/react/-/react-13.0.0.tgz#8cdaf4667c6c2b082eb0513731551e9db784e8bc" + integrity sha512-p0lYA1M7uoEmk2LnCbZLGmHJHyH59sAaZVXChTXlyhV/PRW9LoIh4mdf7tiXsO8BoNG+vN8UnFJff1hbZeXv+w== dependencies: "@babel/runtime" "^7.12.5" - "@testing-library/dom" "^7.28.1" + "@testing-library/dom" "^8.5.0" + "@types/react-dom" "*" "@tootallnate/once@1": version "1.1.2" @@ -3910,6 +3894,13 @@ resolved "https://registry.yarnpkg.com/@types/range-parser/-/range-parser-1.2.3.tgz#7ee330ba7caafb98090bece86a5ee44115904c2c" integrity sha512-ewFXqrQHlFsgc09MK5jP5iR7vumV/BYayNC6PgJO2LPe8vrnNFyjQjSppfEngITi0qvfKtzFvgKymGheFM9UOA== +"@types/react-dom@*": + version "17.0.14" + resolved "https://registry.yarnpkg.com/@types/react-dom/-/react-dom-17.0.14.tgz#c8f917156b652ddf807711f5becbd2ab018dea9f" + integrity sha512-H03xwEP1oXmSfl3iobtmQ/2dHF5aBHr8aUMwyGZya6OW45G+xtdzmq6HkncefiBt5JU8DVyaWl/nWZbjZCnzAQ== + dependencies: + "@types/react" "*" + "@types/react-dom@>=16.9.0": version "17.0.3" resolved "https://registry.yarnpkg.com/@types/react-dom/-/react-dom-17.0.3.tgz#7fdf37b8af9d6d40127137865bb3fff8871d7ee1" @@ -4822,13 +4813,10 @@ argv@0.0.2: resolved "https://registry.yarnpkg.com/argv/-/argv-0.0.2.tgz#ecbd16f8949b157183711b1bda334f37840185ab" integrity sha1-7L0W+JSbFXGDcRsb2jNPN4QBhas= -aria-query@^4.2.2: - version "4.2.2" - resolved "https://registry.yarnpkg.com/aria-query/-/aria-query-4.2.2.tgz#0d2ca6c9aceb56b8977e9fed6aed7e15bbd2f83b" - integrity sha512-o/HelwhuKpTj/frsOsbNLNgnNGVIFsVP/SW2BSF14gVl7kAfMOJ6/8wUAUvG1R1NHKrfG+2sHZTu0yauT1qBrA== - dependencies: - "@babel/runtime" "^7.10.2" - "@babel/runtime-corejs3" "^7.10.2" +aria-query@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/aria-query/-/aria-query-5.0.0.tgz#210c21aaf469613ee8c9a62c7f86525e058db52c" + integrity sha512-V+SM7AbUwJ+EBnB8+DXs0hPZHO0W6pqBcc0dW90OwtVG02PswOu/teuARoLQjdDOH+t9pJgGnW5/Qmouf3gPJg== arr-diff@^4.0.0: version "4.0.0" @@ -8022,11 +8010,6 @@ core-js-compat@^3.8.1, core-js-compat@^3.9.0: browserslist "^4.16.3" semver "7.0.0" -core-js-pure@^3.0.0: - version "3.9.1" - resolved "https://registry.yarnpkg.com/core-js-pure/-/core-js-pure-3.9.1.tgz#677b322267172bd490e4464696f790cbc355bec5" - integrity sha512-laz3Zx0avrw9a4QEIdmIblnVuJz8W51leY9iLThatCsFawWxC3sE4guASC78JbCin+DkwMpCdp1AVAuzL/GN7A== - core-js@^1.0.0: version "1.2.7" resolved "https://registry.yarnpkg.com/core-js/-/core-js-1.2.7.tgz#652294c14651db28fa93bd2d5ff2983a4f08c636" @@ -8922,10 +8905,10 @@ doctrine@^3.0.0: dependencies: esutils "^2.0.2" -dom-accessibility-api@^0.5.4: - version "0.5.4" - resolved "https://registry.yarnpkg.com/dom-accessibility-api/-/dom-accessibility-api-0.5.4.tgz#b06d059cdd4a4ad9a79275f9d414a5c126241166" - integrity sha512-TvrjBckDy2c6v6RLxPv5QXOnU+SmF9nBII5621Ve5fu6Z/BDrENurBEvlC1f44lKEUVqOpK4w9E5Idc5/EgkLQ== +dom-accessibility-api@^0.5.9: + version "0.5.13" + resolved "https://registry.yarnpkg.com/dom-accessibility-api/-/dom-accessibility-api-0.5.13.tgz#102ee5f25eacce09bdf1cfa5a298f86da473be4b" + integrity sha512-R305kwb5CcMDIpSHUnLyIAp7SrSPBx6F0VfQFB3M75xVMHhXJJIdePYgbPPh1o57vCHNu5QztokWUPsLjWzFqw== dom-converter@^0.2.0: version "0.2.0" @@ -10929,11 +10912,6 @@ fill-range@^7.0.1: dependencies: to-regex-range "^5.0.1" -filter-console@^0.1.1: - version "0.1.1" - resolved "https://registry.yarnpkg.com/filter-console/-/filter-console-0.1.1.tgz#6242be28982bba7415bcc6db74a79f4a294fa67c" - integrity sha512-zrXoV1Uaz52DqPs+qEwNJWJFAWZpYJ47UNmpN9q4j+/EYsz85uV0DC9k8tRND5kYmoVzL0W+Y75q4Rg8sRJCdg== - filter-obj@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/filter-obj/-/filter-obj-1.1.0.tgz#9b311112bc6c6127a16e016c6c5d7f19e0805c5b" @@ -17932,14 +17910,13 @@ pretty-format@^24.9.0: ansi-styles "^3.2.0" react-is "^16.8.4" -pretty-format@^26.6.2: - version "26.6.2" - resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-26.6.2.tgz#e35c2705f14cb7fe2fe94fa078345b444120fc93" - integrity sha512-7AeGuCYNGmycyQbCqd/3PWH4eOoX/OiCa0uphp57NVTeAGdJGaAliecxwBDHYQCIvrW7aDBZCYeNTP/WX69mkg== +pretty-format@^27.0.2: + version "27.5.1" + resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-27.5.1.tgz#2181879fdea51a7a5851fb39d920faa63f01d88e" + integrity sha512-Qb1gy5OrP5+zDf2Bvnzdl3jsTf1qXVMazbvCoKhtKqVs4/YK4ozX4gKQJJVyNe+cajNPn0KoC0MC3FUmaHWEmQ== dependencies: - "@jest/types" "^26.6.2" - ansi-regex "^5.0.0" - ansi-styles "^4.0.0" + ansi-regex "^5.0.1" + ansi-styles "^5.0.0" react-is "^17.0.1" pretty-format@^27.2.5, pretty-format@^27.4.2: @@ -18403,14 +18380,13 @@ rc@^1.0.1, rc@^1.1.6, rc@^1.2.7: minimist "^1.2.0" strip-json-comments "~2.0.1" -react-dom@^17.0.0: - version "17.0.2" - resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-17.0.2.tgz#ecffb6845e3ad8dbfcdc498f0d0a939736502c23" - integrity sha512-s4h96KtLDUQlsENhMn1ar8t2bEa+q/YAtj8pPPdIjPDGBDIVNsrD9aXNWqspUe6AzKCIG0C1HZZLqLV7qpOBGA== +react-dom@^18.0.0: + version "18.0.0" + resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-18.0.0.tgz#26b88534f8f1dbb80853e1eabe752f24100d8023" + integrity sha512-XqX7uzmFo0pUceWFCt7Gff6IyIMzFUn7QMZrbrQfGxtaxXZIcGQzoNpRLE3fQLnS4XzLLPMZX2T9TRcSrasicw== dependencies: loose-envify "^1.1.0" - object-assign "^4.1.1" - scheduler "^0.20.2" + scheduler "^0.21.0" react-error-boundary@^3.1.0: version "3.1.1" @@ -18419,7 +18395,7 @@ react-error-boundary@^3.1.0: dependencies: "@babel/runtime" "^7.12.5" -react-is@16.13.1, react-is@^16.6.0, react-is@^16.7.0, react-is@^16.8.1, react-is@^16.8.4, react-is@^16.8.6: +react-is@16.13.1, react-is@^16.6.0, react-is@^16.7.0, react-is@^16.8.1, react-is@^16.8.4: version "16.13.1" resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.13.1.tgz#789729a4dc36de2999dc156dd6c1d9c18cea56a4" integrity sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ== @@ -18476,23 +18452,12 @@ react-refresh@0.8.3: tiny-invariant "^1.0.2" tiny-warning "^1.0.0" -react-test-renderer@^16.13.1: - version "16.14.0" - resolved "https://registry.yarnpkg.com/react-test-renderer/-/react-test-renderer-16.14.0.tgz#e98360087348e260c56d4fe2315e970480c228ae" - integrity sha512-L8yPjqPE5CZO6rKsKXRO/rVPiaCOy0tQQJbC+UjPNlobl5mad59lvPjwFsQHTvL03caVDIVr9x9/OSgDe6I5Eg== - dependencies: - object-assign "^4.1.1" - prop-types "^15.6.2" - react-is "^16.8.6" - scheduler "^0.19.1" - -react@^17.0.0: - version "17.0.2" - resolved "https://registry.yarnpkg.com/react/-/react-17.0.2.tgz#d0b5cc516d29eb3eee383f75b62864cfb6800037" - integrity sha512-gnhPt75i/dq/z3/6q/0asP78D0u592D5L1pd7M8P+dck6Fu/jJeL6iVVK23fptSUZj8Vjf++7wXA8UNclGQcbA== +react@^18.0.0: + version "18.0.0" + resolved "https://registry.yarnpkg.com/react/-/react-18.0.0.tgz#b468736d1f4a5891f38585ba8e8fb29f91c3cb96" + integrity sha512-x+VL6wbT4JRVPm7EGxXhZ8w8LTROaxPXOqhlGyVSrv0sB1jkyFGgXxJ8LVoPRLvPR6/CIZGFmfzqUa2NYeMr2A== dependencies: loose-envify "^1.1.0" - object-assign "^4.1.1" read-cmd-shim@^1.0.1: version "1.0.5" @@ -19424,21 +19389,12 @@ saxes@^5.0.1: dependencies: xmlchars "^2.2.0" -scheduler@^0.19.1: - version "0.19.1" - resolved "https://registry.yarnpkg.com/scheduler/-/scheduler-0.19.1.tgz#4f3e2ed2c1a7d65681f4c854fa8c5a1ccb40f196" - integrity sha512-n/zwRWRYSUj0/3g/otKDRPMh6qv2SYMWNq85IEa8iZyAv8od9zDYpGSnpBEjNgcMNq6Scbu5KfIPxNF72R/2EA== - dependencies: - loose-envify "^1.1.0" - object-assign "^4.1.1" - -scheduler@^0.20.2: - version "0.20.2" - resolved "https://registry.yarnpkg.com/scheduler/-/scheduler-0.20.2.tgz#4baee39436e34aa93b4874bddcbf0fe8b8b50e91" - integrity sha512-2eWfGgAqqWFGqtdMmcL5zCMK1U8KlXv8SQFGglL3CEtd0aDVDWgeF/YoCmvln55m5zSk3J/20hTaSBeSObsQDQ== +scheduler@^0.21.0: + version "0.21.0" + resolved "https://registry.yarnpkg.com/scheduler/-/scheduler-0.21.0.tgz#6fd2532ff5a6d877b6edb12f00d8ab7e8f308820" + integrity sha512-1r87x5fz9MXqswA2ERLo0EbOAU74DpIUO090gIasYTqlVoJeMcl+Z1Rg7WHz+qtPujhS/hGIt9kxZOYBV3faRQ== dependencies: loose-envify "^1.1.0" - object-assign "^4.1.1" schema-utils@^1.0.0: version "1.0.0"