Skip to content

Commit bd9c6a5

Browse files
dependabot[bot]chargomeandreiborza
authored
chore(deps-dev): bump @testing-library/react from 13.0.0 to 15.0.5 (#19194)
Bumps [@testing-library/react](https://github.com/testing-library/react-testing-library) from 13.0.0 to 15.0.5. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/testing-library/react-testing-library/releases"><code>@​testing-library/react</code>'s releases</a>.</em></p> <blockquote> <h2>v15.0.5</h2> <h2><a href="https://github.com/testing-library/react-testing-library/compare/v15.0.4...v15.0.5">15.0.5</a> (2024-04-26)</h2> <h3>Bug Fixes</h3> <ul> <li>Stop restricting <code>container</code> option based on <code>hydrate</code> (<a href="https://redirect.github.com/testing-library/react-testing-library/issues/1313">#1313</a>) (<a href="https://github.com/testing-library/react-testing-library/commit/d143f46b39cbc750630a5cf2863182b4036d35ac">d143f46</a>)</li> </ul> <h2>v15.0.4</h2> <h2><a href="https://github.com/testing-library/react-testing-library/compare/v15.0.3...v15.0.4">15.0.4</a> (2024-04-23)</h2> <h3>Bug Fixes</h3> <ul> <li>Ensure <code>renderHook</code> options extend options for <code>render</code> (<a href="https://redirect.github.com/testing-library/react-testing-library/issues/1308">#1308</a>) (<a href="https://github.com/testing-library/react-testing-library/commit/48282c2f35fb7338834b40983c12b889af35f5d1">48282c2</a>)</li> </ul> <h2>v15.0.3</h2> <h2><a href="https://github.com/testing-library/react-testing-library/compare/v15.0.2...v15.0.3">15.0.3</a> (2024-04-23)</h2> <h3>Bug Fixes</h3> <ul> <li>Don't raise TypeScript errors when hydating <code>document</code> (<a href="https://redirect.github.com/testing-library/react-testing-library/issues/1304">#1304</a>) (<a href="https://github.com/testing-library/react-testing-library/commit/067d0c6d2e87092f6ecaa8c9fcf505e4576055cf">067d0c6</a>)</li> </ul> <h2>v15.0.2</h2> <h2><a href="https://github.com/testing-library/react-testing-library/compare/v15.0.1...v15.0.2">15.0.2</a> (2024-04-13)</h2> <h3>Bug Fixes</h3> <ul> <li>Improve <code>legacyRoot</code> error message (<a href="https://redirect.github.com/testing-library/react-testing-library/issues/1301">#1301</a>) (<a href="https://github.com/testing-library/react-testing-library/commit/c63b873072d62c858959c2a19e68f8e2cc0b11be">c63b873</a>)</li> </ul> <h2>v15.0.1</h2> <h2><a href="https://github.com/testing-library/react-testing-library/compare/v15.0.0...v15.0.1">15.0.1</a> (2024-04-11)</h2> <h3>Bug Fixes</h3> <ul> <li>Stop using nullish coalescing (<a href="https://redirect.github.com/testing-library/react-testing-library/issues/1299">#1299</a>) (<a href="https://github.com/testing-library/react-testing-library/commit/1645d21950ab8e3c6740b7e51b8a179a4c975c24">1645d21</a>)</li> </ul> <h2>v15.0.0</h2> <h1><a href="https://github.com/testing-library/react-testing-library/compare/v14.3.0...v15.0.0">15.0.0</a> (2024-04-10)</h1> <h3>Release</h3> <ul> <li>15.0.0 (<a href="https://redirect.github.com/testing-library/react-testing-library/issues/1295">#1295</a>) (<a href="https://github.com/testing-library/react-testing-library/commit/787cb85f8baa3d2e2a9916b7dad12c0a76d787a4">787cb85</a>)</li> </ul> <h3>BREAKING CHANGES</h3> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/testing-library/react-testing-library/commit/f6a1677501b53471f6a989078726aeb0dea114be"><code>f6a1677</code></a> chore: Adjust tests to workaround 18.3.0 bug (<a href="https://redirect.github.com/testing-library/react-testing-library/issues/1315">#1315</a>)</li> <li><a href="https://github.com/testing-library/react-testing-library/commit/d143f46b39cbc750630a5cf2863182b4036d35ac"><code>d143f46</code></a> fix: Stop restricting <code>container</code> option based on <code>hydrate</code> (<a href="https://redirect.github.com/testing-library/react-testing-library/issues/1313">#1313</a>)</li> <li><a href="https://github.com/testing-library/react-testing-library/commit/48282c2f35fb7338834b40983c12b889af35f5d1"><code>48282c2</code></a> fix: Ensure <code>renderHook</code> options extend options for <code>render</code> (<a href="https://redirect.github.com/testing-library/react-testing-library/issues/1308">#1308</a>)</li> <li><a href="https://github.com/testing-library/react-testing-library/commit/067d0c6d2e87092f6ecaa8c9fcf505e4576055cf"><code>067d0c6</code></a> fix: Don't raise TypeScript errors when hydating <code>document</code> (<a href="https://redirect.github.com/testing-library/react-testing-library/issues/1304">#1304</a>)</li> <li><a href="https://github.com/testing-library/react-testing-library/commit/c63b873072d62c858959c2a19e68f8e2cc0b11be"><code>c63b873</code></a> fix: Improve <code>legacyRoot</code> error message (<a href="https://redirect.github.com/testing-library/react-testing-library/issues/1301">#1301</a>)</li> <li><a href="https://github.com/testing-library/react-testing-library/commit/1645d21950ab8e3c6740b7e51b8a179a4c975c24"><code>1645d21</code></a> fix: Stop using nullish coalescing (<a href="https://redirect.github.com/testing-library/react-testing-library/issues/1299">#1299</a>)</li> <li><a href="https://github.com/testing-library/react-testing-library/commit/787cb85f8baa3d2e2a9916b7dad12c0a76d787a4"><code>787cb85</code></a> Release: 15.0.0 (<a href="https://redirect.github.com/testing-library/react-testing-library/issues/1295">#1295</a>)</li> <li><a href="https://github.com/testing-library/react-testing-library/commit/9c4a46d5b9923c21c936d206614a8febcc939fc2"><code>9c4a46d</code></a> feat: Add support for React 19 Canary (<a href="https://redirect.github.com/testing-library/react-testing-library/issues/1294">#1294</a>)</li> <li><a href="https://github.com/testing-library/react-testing-library/commit/4e10ba3a788f6f66287dab5bb4a09f658664ec50"><code>4e10ba3</code></a> chore: change canary version to specific prefix (<a href="https://redirect.github.com/testing-library/react-testing-library/issues/1290">#1290</a>)</li> <li><a href="https://github.com/testing-library/react-testing-library/commit/cf045b4743afeb651b14bd7bb0d04b955768c010"><code>cf045b4</code></a> chore: Update Codecov configuration to latest (<a href="https://redirect.github.com/testing-library/react-testing-library/issues/1289">#1289</a>)</li> <li>Additional commits viewable in <a href="https://github.com/testing-library/react-testing-library/compare/v13.0.0...v15.0.5">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@testing-library/react&package-manager=npm_and_yarn&previous-version=13.0.0&new-version=15.0.5)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Charly Gomez <charly.gomez@sentry.io> Co-authored-by: Andrei <168741329+andreiborza@users.noreply.github.com> Co-authored-by: Andrei Borza <andrei.borza@sentry.io>
1 parent 4d4a02f commit bd9c6a5

7 files changed

Lines changed: 43 additions & 27 deletions

File tree

packages/gatsby/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
"react": "16.x || 17.x || 18.x"
5555
},
5656
"devDependencies": {
57-
"@testing-library/react": "^13.0.0",
57+
"@testing-library/react": "^15.0.5",
5858
"react": "^18.3.1",
5959
"react-dom": "^18.3.1",
6060
"webpack": "^5.0.0"

packages/react/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"react": "^16.14.0 || 17.x || 18.x || 19.x"
4747
},
4848
"devDependencies": {
49-
"@testing-library/react": "^13.0.0",
49+
"@testing-library/react": "^15.0.5",
5050
"@testing-library/react-hooks": "^7.0.2",
5151
"@types/history-4": "npm:@types/history@4.7.8",
5252
"@types/history-5": "npm:@types/history@4.7.8",

packages/react/test/reactrouter-cross-usage.test.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,9 @@ import {
99
SEMANTIC_ATTRIBUTE_SENTRY_SOURCE,
1010
setCurrentClient,
1111
} from '@sentry/core';
12-
import { act, render, waitFor } from '@testing-library/react';
12+
import { render, waitFor } from '@testing-library/react';
1313
import * as React from 'react';
14+
import { act } from 'react';
1415
import {
1516
createMemoryRouter,
1617
createRoutesFromChildren,

packages/react/test/reactrouterv3.test.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,9 @@ import {
1010
SEMANTIC_ATTRIBUTE_SENTRY_SOURCE,
1111
setCurrentClient,
1212
} from '@sentry/core';
13-
import { act, render } from '@testing-library/react';
13+
import { render } from '@testing-library/react';
1414
import * as React from 'react';
15+
import { act } from 'react';
1516
import { createMemoryHistory, createRoutes, IndexRoute, match, Route, Router } from 'react-router-3';
1617
import { beforeEach, describe, expect, it, vi } from 'vitest';
1718
import { reactRouterV3BrowserTracingIntegration } from '../src/reactrouterv3';

packages/react/test/reactrouterv4.test.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,10 @@ import {
99
SEMANTIC_ATTRIBUTE_SENTRY_SOURCE,
1010
setCurrentClient,
1111
} from '@sentry/core';
12-
import { act, render } from '@testing-library/react';
12+
import { render } from '@testing-library/react';
1313
import { createMemoryHistory } from 'history-4';
1414
import * as React from 'react';
15+
import { act } from 'react';
1516
import { matchPath, Route, Router, Switch } from 'react-router-4';
1617
import { beforeEach, describe, expect, it, vi } from 'vitest';
1718
import { BrowserClient, reactRouterV4BrowserTracingIntegration, withSentryRouting } from '../src';

packages/react/test/reactrouterv5.test.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,10 @@ import {
99
SEMANTIC_ATTRIBUTE_SENTRY_SOURCE,
1010
setCurrentClient,
1111
} from '@sentry/core';
12-
import { act, render } from '@testing-library/react';
12+
import { render } from '@testing-library/react';
1313
import { createMemoryHistory } from 'history-4';
1414
import * as React from 'react';
15+
import { act } from 'react';
1516
import { matchPath, Route, Router, Switch } from 'react-router-5';
1617
import { beforeEach, describe, expect, it, vi } from 'vitest';
1718
import { BrowserClient, reactRouterV5BrowserTracingIntegration, withSentryRouting } from '../src';

yarn.lock

Lines changed: 33 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -9301,6 +9301,20 @@
93019301
"@tanstack/store" "0.8.0"
93029302
vue-demi "^0.14.10"
93039303

9304+
"@testing-library/dom@^10.0.0":
9305+
version "10.4.1"
9306+
resolved "https://registry.yarnpkg.com/@testing-library/dom/-/dom-10.4.1.tgz#d444f8a889e9a46e9a3b4f3b88e0fcb3efb6cf95"
9307+
integrity sha512-o4PXJQidqJl82ckFaXUeoAW+XysPLauYI43Abki5hABd853iMhitooc6znOnczgbTYmEP6U6/y1ZyKAIsvMKGg==
9308+
dependencies:
9309+
"@babel/code-frame" "^7.10.4"
9310+
"@babel/runtime" "^7.12.5"
9311+
"@types/aria-query" "^5.0.1"
9312+
aria-query "5.3.0"
9313+
dom-accessibility-api "^0.5.9"
9314+
lz-string "^1.5.0"
9315+
picocolors "1.1.1"
9316+
pretty-format "^27.0.2"
9317+
93049318
"@testing-library/dom@^7.21.4":
93059319
version "7.31.2"
93069320
resolved "https://registry.yarnpkg.com/@testing-library/dom/-/dom-7.31.2.tgz#df361db38f5212b88555068ab8119f5d841a8c4a"
@@ -9315,7 +9329,7 @@
93159329
lz-string "^1.4.4"
93169330
pretty-format "^26.6.2"
93179331

9318-
"@testing-library/dom@^8.1.0", "@testing-library/dom@^8.5.0":
9332+
"@testing-library/dom@^8.1.0":
93199333
version "8.17.1"
93209334
resolved "https://registry.yarnpkg.com/@testing-library/dom/-/dom-8.17.1.tgz#2d7af4ff6dad8d837630fecd08835aee08320ad7"
93219335
integrity sha512-KnH2MnJUzmFNPW6RIKfd+zf2Wue8mEKX0M3cpX6aKl5ZXrJM1/c/Pc8c2xDNYQCnJO48Sm5ITbMXgqTr3h4jxQ==
@@ -9367,14 +9381,14 @@
93679381
"@types/react-test-renderer" ">=16.9.0"
93689382
react-error-boundary "^3.1.0"
93699383

9370-
"@testing-library/react@^13.0.0":
9371-
version "13.0.0"
9372-
resolved "https://registry.yarnpkg.com/@testing-library/react/-/react-13.0.0.tgz#8cdaf4667c6c2b082eb0513731551e9db784e8bc"
9373-
integrity sha512-p0lYA1M7uoEmk2LnCbZLGmHJHyH59sAaZVXChTXlyhV/PRW9LoIh4mdf7tiXsO8BoNG+vN8UnFJff1hbZeXv+w==
9384+
"@testing-library/react@^15.0.5":
9385+
version "15.0.5"
9386+
resolved "https://registry.yarnpkg.com/@testing-library/react/-/react-15.0.5.tgz#71bcc875e1142c3924cac7bdd7dc9a6db0bb1d42"
9387+
integrity sha512-ttodVWYA2i2w4hRa6krKrmS1vKxAEkwDz34y+CwbcrbZUxFzUYN3a5xZyFKo+K6LBseCRCUkwcjATpaNn/UsIA==
93749388
dependencies:
93759389
"@babel/runtime" "^7.12.5"
9376-
"@testing-library/dom" "^8.5.0"
9377-
"@types/react-dom" "*"
9390+
"@testing-library/dom" "^10.0.0"
9391+
"@types/react-dom" "^18.0.0"
93789392

93799393
"@testing-library/svelte@^3.2.1":
93809394
version "3.2.1"
@@ -10162,12 +10176,10 @@
1016210176
resolved "https://registry.yarnpkg.com/@types/range-parser/-/range-parser-1.2.3.tgz#7ee330ba7caafb98090bece86a5ee44115904c2c"
1016310177
integrity sha512-ewFXqrQHlFsgc09MK5jP5iR7vumV/BYayNC6PgJO2LPe8vrnNFyjQjSppfEngITi0qvfKtzFvgKymGheFM9UOA==
1016410178

10165-
"@types/react-dom@*", "@types/react-dom@>=16.9.0":
10166-
version "17.0.14"
10167-
resolved "https://registry.yarnpkg.com/@types/react-dom/-/react-dom-17.0.14.tgz#c8f917156b652ddf807711f5becbd2ab018dea9f"
10168-
integrity sha512-H03xwEP1oXmSfl3iobtmQ/2dHF5aBHr8aUMwyGZya6OW45G+xtdzmq6HkncefiBt5JU8DVyaWl/nWZbjZCnzAQ==
10169-
dependencies:
10170-
"@types/react" "*"
10179+
"@types/react-dom@>=16.9.0", "@types/react-dom@^18.0.0":
10180+
version "18.3.7"
10181+
resolved "https://registry.yarnpkg.com/@types/react-dom/-/react-dom-18.3.7.tgz#b89ddf2cd83b4feafcc4e2ea41afdfb95a0d194f"
10182+
integrity sha512-MEe3UeoENYVFXzoXEWsvcpg6ZvlrFNlOQ7EOsvhI3CfAXwzPfO8Qwuxd40nepsYKqyyVQnTdEfv68q91yLcKrQ==
1017110183

1017210184
"@types/react-router-4@npm:@types/react-router@4.0.25":
1017310185
version "4.0.25"
@@ -11725,6 +11737,13 @@ aria-query@5.1.3:
1172511737
dependencies:
1172611738
deep-equal "^2.0.5"
1172711739

11740+
aria-query@5.3.0, aria-query@^5.0.0, aria-query@^5.0.2, aria-query@^5.3.0:
11741+
version "5.3.0"
11742+
resolved "https://registry.yarnpkg.com/aria-query/-/aria-query-5.3.0.tgz#650c569e41ad90b51b3d7df5e5eed1c7549c103e"
11743+
integrity sha512-b0P0sZPKtyu8HkeRAfCq0IfURZK+SuwMjY1UXGBU27wpAiTwQAIlq56IbIO+ytk/JjS1fMR14ee5WBBfKi5J6A==
11744+
dependencies:
11745+
dequal "^2.0.3"
11746+
1172811747
aria-query@^4.2.2:
1172911748
version "4.2.2"
1173011749
resolved "https://registry.yarnpkg.com/aria-query/-/aria-query-4.2.2.tgz#0d2ca6c9aceb56b8977e9fed6aed7e15bbd2f83b"
@@ -11733,13 +11752,6 @@ aria-query@^4.2.2:
1173311752
"@babel/runtime" "^7.10.2"
1173411753
"@babel/runtime-corejs3" "^7.10.2"
1173511754

11736-
aria-query@^5.0.0, aria-query@^5.0.2, aria-query@^5.3.0:
11737-
version "5.3.0"
11738-
resolved "https://registry.yarnpkg.com/aria-query/-/aria-query-5.3.0.tgz#650c569e41ad90b51b3d7df5e5eed1c7549c103e"
11739-
integrity sha512-b0P0sZPKtyu8HkeRAfCq0IfURZK+SuwMjY1UXGBU27wpAiTwQAIlq56IbIO+ytk/JjS1fMR14ee5WBBfKi5J6A==
11740-
dependencies:
11741-
dequal "^2.0.3"
11742-
1174311755
arr-diff@^4.0.0:
1174411756
version "4.0.0"
1174511757
resolved "https://registry.yarnpkg.com/arr-diff/-/arr-diff-4.0.0.tgz#d6461074febfec71e7e15235761a329a5dc7c520"
@@ -24700,7 +24712,7 @@ pgpass@1.0.5:
2470024712
dependencies:
2470124713
split2 "^4.1.0"
2470224714

24703-
picocolors@^1.0.0, picocolors@^1.1.0, picocolors@^1.1.1:
24715+
picocolors@1.1.1, picocolors@^1.0.0, picocolors@^1.1.0, picocolors@^1.1.1:
2470424716
version "1.1.1"
2470524717
resolved "https://registry.yarnpkg.com/picocolors/-/picocolors-1.1.1.tgz#3d321af3eab939b083c8f929a1d12cda81c26b6b"
2470624718
integrity sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==

0 commit comments

Comments
 (0)