From 5e59463776340129cd776a535ab499c81541f9f2 Mon Sep 17 00:00:00 2001
From: admin-token-bot <36773031+admin-token-bot@users.noreply.github.com>
Date: Wed, 15 Mar 2023 18:39:16 +0000
Subject: [PATCH] [Snyk] Upgrade @testing-library/react from 12.1.3 to 12.1.5
(#2651)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Snyk has created this PR to upgrade @testing-library/react from
12.1.3 to 12.1.5.
:information_source: Keep your dependencies up-to-date. This makes it
easier to fix existing vulnerabilities and to more quickly identify and
fix newly disclosed vulnerabilities when they affect your project.
- The recommended version is **2 versions** ahead of your current
version.
- The recommended version was released **a year ago**, on 2022-04-11.
Release notes
Package name: @testing-library/react
from @testing-library/react
GitHub release notes
Commit messages
Package name: @testing-library/react
- 646129b
chore: Run release from 12.x branch (#1044)
- 9e2b5db
fix: Only supports React < 18 (#1041)
- 0c4aabe
chore: Fix failing codesandbox/ci (#1026)
- 96ed8da
fix: Match runtime type of baseElement in TypeScript types (#1023)
Compare
**Note:** *You are seeing this because you or someone else with access
to this repository has authorized Snyk to open upgrade PRs.*
For more information:
🧐 [View latest project
report](https://app.snyk.io/org/sandbox-2ba/project/9043c51f-3f0d-45c6-8455-b658274f2872?utm_source=github&utm_medium=referral&page=upgrade-pr)
🛠 [Adjust upgrade PR
settings](https://app.snyk.io/org/sandbox-2ba/project/9043c51f-3f0d-45c6-8455-b658274f2872/settings/integration?utm_source=github&utm_medium=referral&page=upgrade-pr)
🔕 [Ignore this dependency or unsubscribe from future upgrade
PRs](https://app.snyk.io/org/sandbox-2ba/project/9043c51f-3f0d-45c6-8455-b658274f2872/settings/integration?pkg=@testing-library/react&utm_source=github&utm_medium=referral&page=upgrade-pr#auto-dep-upgrades)
---------
Co-authored-by: snyk-bot
---
examples/web/package-lock.json | 19 +++++++++++--------
examples/web/package.json | 2 +-
2 files changed, 12 insertions(+), 9 deletions(-)
diff --git a/examples/web/package-lock.json b/examples/web/package-lock.json
index 6fa530dccf..f6f794e508 100644
--- a/examples/web/package-lock.json
+++ b/examples/web/package-lock.json
@@ -10,7 +10,7 @@
"dependencies": {
"@apollo/client": "^3.7.3",
"@testing-library/jest-dom": "^5.16.2",
- "@testing-library/react": "^12.1.2",
+ "@testing-library/react": "^12.1.5",
"@testing-library/user-event": "^13.5.0",
"@types/jest": "^27.4.0",
"@types/node": "^16.18.12",
@@ -3599,19 +3599,20 @@
}
},
"node_modules/@testing-library/react": {
- "version": "12.1.3",
- "license": "MIT",
+ "version": "12.1.5",
+ "resolved": "https://registry.npmjs.org/@testing-library/react/-/react-12.1.5.tgz",
+ "integrity": "sha512-OfTXCJUFgjd/digLUuPxa0+/3ZxsQmE7ub9kcbW/wi96Bh3o/p5vrETcBGfP17NWPGqeYYl5LTRpwyGoMC4ysg==",
"dependencies": {
"@babel/runtime": "^7.12.5",
"@testing-library/dom": "^8.0.0",
- "@types/react-dom": "*"
+ "@types/react-dom": "<18.0.0"
},
"engines": {
"node": ">=12"
},
"peerDependencies": {
- "react": "*",
- "react-dom": "*"
+ "react": "<18.0.0",
+ "react-dom": "<18.0.0"
}
},
"node_modules/@testing-library/user-event": {
@@ -18722,11 +18723,13 @@
}
},
"@testing-library/react": {
- "version": "12.1.3",
+ "version": "12.1.5",
+ "resolved": "https://registry.npmjs.org/@testing-library/react/-/react-12.1.5.tgz",
+ "integrity": "sha512-OfTXCJUFgjd/digLUuPxa0+/3ZxsQmE7ub9kcbW/wi96Bh3o/p5vrETcBGfP17NWPGqeYYl5LTRpwyGoMC4ysg==",
"requires": {
"@babel/runtime": "^7.12.5",
"@testing-library/dom": "^8.0.0",
- "@types/react-dom": "*"
+ "@types/react-dom": "<18.0.0"
}
},
"@testing-library/user-event": {
diff --git a/examples/web/package.json b/examples/web/package.json
index 39eb6d4dfa..0da7bc5887 100644
--- a/examples/web/package.json
+++ b/examples/web/package.json
@@ -5,7 +5,7 @@
"dependencies": {
"@apollo/client": "^3.7.3",
"@testing-library/jest-dom": "^5.16.2",
- "@testing-library/react": "^12.1.2",
+ "@testing-library/react": "^12.1.5",
"@testing-library/user-event": "^13.5.0",
"@types/jest": "^27.4.0",
"@types/node": "^16.18.12",