-
Notifications
You must be signed in to change notification settings - Fork 0
[Snyk] Upgrade @testing-library/user-event from 13.5.0 to 14.6.1 #11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Snyk has created this PR to upgrade @testing-library/user-event from 13.5.0 to 14.6.1. See this package in npm: @testing-library/user-event See this project in Snyk: https://app.snyk.io/org/lcsogthb/project/c2b95214-2aa7-47c9-b51d-ab7a1c993cf2?utm_source=github&utm_medium=referral&page=upgrade-pr
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
📝 WalkthroughSummary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings. WalkthroughUpdated Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Suggested labels
Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Here's the code health analysis summary for commits Analysis Summary
|
|
@coderabbitai review |
✅ Actions performedReview triggered.
|
|
@coderabbitai review |
✅ Actions performedReview triggered.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
🤖 Fix all issues with AI agents
In `@aq-dashboard/package.json`:
- Line 10: The package "@testing-library/user-event" (and any other
"@testing-library/*" entries) is incorrectly listed in dependencies; move these
testing libraries into devDependencies in package.json so they are not installed
in production. Edit package.json to remove "@testing-library/user-event" from
the "dependencies" object and add it (and any other `@testing-library` packages)
to "devDependencies" with the same version string; ensure package-lock/yarn.lock
is updated by reinstalling or running the lockfile update after the change. Also
keep in mind when tests are added that userEvent v14 requires calling
userEvent.setup() before interactions.
🧹 Nitpick comments (1)
aq-dashboard/package.json (1)
7-10: Consider moving testing libraries todevDependencies.The
@testing-library/*packages (lines 7–10) are test utilities and should typically reside indevDependenciesrather thandependencies, as they are not required at runtime in production builds.Suggested change
Move these entries from
dependenciestodevDependencies:"dependencies": { - "@testing-library/dom": "^10.4.0", - "@testing-library/jest-dom": "^6.6.3", - "@testing-library/react": "^16.3.0", - "@testing-library/user-event": "^14.6.1", "@types/jest": "^27.5.2", ... }, "devDependencies": { + "@testing-library/dom": "^10.4.0", + "@testing-library/jest-dom": "^6.6.3", + "@testing-library/react": "^16.3.0", + "@testing-library/user-event": "^14.6.1", "@types/leaflet": "^1.9.20", ... }
Snyk has created this PR to upgrade @testing-library/user-event from 13.5.0 to 14.6.1.
ℹ️ 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 56 versions ahead of your current version.
The recommended version was released a year ago.
Release notes
Package name: @testing-library/user-event
-
14.6.1 - 2025-01-21
- correct description for
- keyboard: add
- keyboard: add brackets to
- keyboard: walk through radio group per arrow keys (#1049) (bf8111c)
- pointer: dispatch mouse events if
- pointer: set
- pointer: use
- prevent
- prevent
- upload: apply
-
14.6.0 - 2025-01-15
- dispatch
- clipboard: await
- event: assign pointer coords to MouseEvent (#1039) (8528972)
- pointer: check
- pointer: check all fields of
-
14.5.2 - 2023-12-29
- remove interop and deep DTL imports (6a3c896)
-
14.5.1 - 2023-09-15
- incorrect default import from @ testing-library/dom (#1162) (d7483f0)
-
14.5.0 - 2023-09-14
- exports: add a named export for userEvent (4019cee), closes #1146
- types: Add additional type exports for UserEvent & Options (#1112) (da00e8d)
-
14.4.3 - 2022-08-09
- build: add
- remove circular dependencies (#1027) (1aa2027)
-
14.4.2 - 2022-08-04
-
14.4.1 - 2022-08-02
-
14.4.0 - 2022-08-02
-
14.3.0 - 2022-07-19
-
14.2.6 - 2022-07-18
-
14.2.5 - 2022-07-15
-
14.2.4 - 2022-07-15
-
14.2.3 - 2022-07-14
-
14.2.2 - 2022-07-14
-
14.2.1 - 2022-06-17
-
14.2.0 - 2022-05-12
-
14.1.1 - 2022-04-17
-
14.1.0 - 2022-04-11
-
14.0.4 - 2022-04-01
-
14.0.3 - 2022-03-31
-
14.0.2 - 2022-03-31
-
14.0.1 - 2022-03-31
-
14.0.0 - 2022-03-29
-
14.0.0-beta.14 - 2022-03-24
-
14.0.0-beta.13 - 2022-03-04
-
14.0.0-beta.12 - 2022-03-01
-
14.0.0-beta.11 - 2022-02-10
-
14.0.0-beta.10 - 2022-02-08
-
14.0.0-beta.9 - 2022-02-07
-
14.0.0-beta.8 - 2022-01-16
-
14.0.0-beta.7 - 2022-01-05
-
14.0.0-beta.6 - 2022-01-01
-
14.0.0-beta.5 - 2021-12-31
-
14.0.0-beta.4 - 2021-12-30
-
14.0.0-beta.3 - 2021-12-13
-
14.0.0-beta.2 - 2021-12-07
-
14.0.0-beta.1 - 2021-11-28
-
14.0.0-alpha.18 - 2021-11-28
-
14.0.0-alpha.17 - 2021-11-25
-
14.0.0-alpha.16 - 2021-11-25
-
14.0.0-alpha.15 - 2021-11-25
-
14.0.0-alpha.14 - 2021-11-17
-
14.0.0-alpha.13 - 2021-11-17
-
14.0.0-alpha.12 - 2021-11-16
-
14.0.0-alpha.11 - 2021-11-15
-
14.0.0-alpha.10 - 2021-11-15
-
14.0.0-alpha.9 - 2021-11-15
-
14.0.0-alpha.8 - 2021-11-11
-
14.0.0-alpha.7 - 2021-11-09
-
14.0.0-alpha.6 - 2021-11-03
-
14.0.0-alpha.5 - 2021-10-30
-
14.0.0-alpha.4 - 2021-10-29
-
14.0.0-alpha.3 - 2021-10-25
-
14.0.0-alpha.2 - 2021-10-22
-
14.0.0-alpha.1 - 2021-10-21
-
13.5.0 - 2021-10-18
from @testing-library/user-event GitHub release notes14.6.1 (2025-01-21)
Bug Fixes
delayoption (#1175) (2edf14d)ContextMenutodefaultKeyMap(#1079) (3e471d1)defaultKeyMap(#1226) (543ecb0)pointerdownisdefaultPrevented(#1121) (f681f7b)buttonandbuttonsproperties onPointerEvent(#1219) (6614f72)1as default value forPointerEvent.widthandPointerEvent.height(#1224) (f0468d0)clickevent loop on form-associated custom element (#1238) (465fc7e)clickevent on non-focusable control (#1130) (e429094)acceptfilter more leniently (#1064) (a344ad4)14.6.0 (2025-01-15)
Features
FocusEventin hidden documents (#1252) (1ed8b15)Bug Fixes
DataTransferItem.getAsString()callback (#1251) (7b11b0e)PointerCoords.xinisDifferentPointerPosition(#1216) (75edef5)PointerCoordsinisDifferentPointerPosition()(#1229) (5f3d28f)14.5.2 (2023-12-29)
Bug Fixes
14.5.1 (2023-09-15)
Bug Fixes
14.5.0 (2023-09-14)
Bug Fixes
Features
14.4.3 (2022-08-09)
Bug Fixes
typesfield inexports(#1029) (5bed8c6)Important
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: