Skip to content
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

chore(deps): update testing-library monorepo (major) #56

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

svc-secops
Copy link
Contributor

@svc-secops svc-secops commented Apr 18, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@testing-library/jest-dom ^4.2.4 -> ^6.0.0 age adoption passing confidence
@testing-library/react ^9.3.2 -> ^16.0.0 age adoption passing confidence
@testing-library/user-event ^7.1.2 -> ^14.0.0 age adoption passing confidence

Release Notes

testing-library/jest-dom (@​testing-library/jest-dom)

v6.4.6

Compare Source

Bug Fixes

v6.4.5

Compare Source

Bug Fixes

v6.4.4

Compare Source

Bug Fixes

v6.4.3

Compare Source

Bug Fixes
  • Updates role support for aria-required attribute in toBeRequired (#​590) (20aca33)

v6.4.2

Compare Source

Bug Fixes
  • Remove errant export of GetByRoleMatcher, fixing type checking in some TS configurations (#​575) (a93c0c4)

v6.4.1

Compare Source

Bug Fixes
  • Export type TestingLibraryMatchers from "./matchers" (#​576) (dd1c4dd)

v6.4.0

Compare Source

Features

v6.3.0

Compare Source

Features

v6.2.1

Compare Source

Bug Fixes
  • Standalone types for "./matchers" export and add Bun support (#​566) (5675b86)

v6.2.0

Compare Source

Features
  • toHaveAccessibleDescription supports aria-description (#​565) (1fb156c)

v6.1.6

Compare Source

Bug Fixes

v6.1.5

Compare Source

Bug Fixes

v6.1.4

Compare Source

Bug Fixes
  • upgrade @adobe/css-tools to 4.3.1 to address vulnerability (#​532) (44f1eab)

v6.1.3

Compare Source

Bug Fixes

v6.1.2

Compare Source

Bug Fixes

v6.1.1

Compare Source

Bug Fixes

v6.1.0

Compare Source

Features

v6.0.1

Compare Source

Bug Fixes
  • matchers type is making the global expect unsafe (#​513) (bdb34f1)

v6.0.0

Compare Source

Features
BREAKING CHANGES
  • Removes the extend-expect script. Users should use
    the default import path or one of the new test platform-specific
    paths to automatically extend the appropriate "expect" instance.

extend-expect was not documented in the Readme, so this change should
have minimal impact.

Users can now use the following import paths to automatically extend
"expect" for their chosen test platform:

For example:

import '@​testing-library/jest-dom/jest-globals'

Importing from one of the above paths will augment the appropriate
matcher interface for the given test platform, assuming the import
is done in a .ts file that is included in the user's tsconfig.json.

It's also (still) possible to import the matchers directly without
side effects:

import * as matchers from '@​testing-library/jest-dom/matchers'

  • Update kcd-scripts
  • Drop node < 14

v5.17.0

Compare Source

Features
  • New toHaveAccessibleErrorMessage better implementing the spec, deprecate toHaveErrorMessage (#​503) (d717c66)

v5.16.5

Compare Source

Bug Fixes

v5.16.4

Compare Source

Bug Fixes
  • Support unenclosed inner text for details elements in to be visible (#​396) (af18453)

v5.16.3

Compare Source

Bug Fixes

v5.16.2

Compare Source

Bug Fixes

v5.16.1

Compare Source

Bug Fixes

v5.16.0

Compare Source

Features

v5.15.1

Compare Source

Bug Fixes

v5.15.0

Compare Source

Features

v5.14.1

Compare Source

Bug Fixes

v5.14.0

Compare Source

Features
  • toHaveAccessibleName and toHaveAccessibleDescription (#​377) (87ffd2a)

v5.13.0

Compare Source

Features

v5.12.0

Compare Source

Features

v5.11.10

Compare Source

Bug Fixes

v5.11.9

Compare Source

Bug Fixes

v5.11.8

Compare Source

Bug Fixes

v5.11.7

Compare Source

Bug Fixes

v5.11.6

Compare Source

Bug Fixes
  • Improved error messaging for toHaveFocus assertion (#​304) (c79faa2)

v5.11.5

Compare Source

Bug Fixes

v5.11.4

Compare Source

Bug Fixes
  • do not explicitly depend on jest assertion utils (#​250) (2da8c71)

v5.11.3

Compare Source

Bug Fixes
  • Changed toHaveStyle to use getPropertyValue instead of accessing the property directly (#​285) (92176e1)

v5.11.2

Compare Source

Bug Fixes
  • Suggest using toBeEmptyDOMElement instead of toBeEmpty (#​284) (2cd17d3)

v5.11.1

Compare Source

Bug Fixes

v5.11.0

Compare Source

Features
  • extend toBeChecked to support any role that's compatible (#​267) (c135d0b)

v5.10.1

Compare Source

Bug Fixes
  • element not allowed to be disabled being returned as disabled (#​261) (5e39222)

v5.10.0

Compare Source

Features
  • [toBeValid/toBeInvalid] Check aria-invalid on any element (#​259) (14d1630)

v5.9.0

Compare Source

Features

v5.8.0

Compare Source

Features

v5.7.0

Compare Source

Features

v5.6.0

Compare Source

Features

v5.5.0

Compare Source

Features

v5.4.0

Compare Source

Features

v5.3.0

Compare Source

Features

v5.2.0

Compare Source

Features
  • toHaveValue: Enhanced error message with type information… (#​219) (eb51c17)

v5.1.1

Compare Source

Bug Fixes

v5.1.0

Compare Source

Features

v5.0.2

Compare Source

Bug Fixes

v5.0.1

Compare Source

Bug Fixes

v5.0.0

Compare Source

BREAKING CHANGES
  • moving typings to @​types/testing-library__jest-dom
  • This version does not includes types. The next patch release v5.0.1 will. If you need the type definitions please do not update to v.5.0.0.
testing-library/react-testing-library (@​testing-library/react)

v16.0.0

Compare Source

Features
  • Move @testing-library/dom and @types/react-dom to peer dependencies (#​1305) (a4744fa)
BREAKING CHANGES
  • @testing-library/dom was moved to a peer dependency and needs to be explicitly installed. This reduces the chance of having conflicting versions of @testing-library/dom installed that frequently caused bugs when used with @testing-library/user-event. We will also be able to allow new versions of @testing-library/dom being used without a SemVer major release of @testing-library/react by just widening the peer dependency.
    @types/react-dom needs to be installed if you're typechecking files using @testing-library/react.

v15.0.7

Compare Source

Bug Fixes
  • Ensure act is not any when React.act is not declared (#​1323) (c1f2957)

v15.0.6

Compare Source

Bug Fixes

v15.0.5

Compare Source

Bug Fixes

v15.0.4

Compare Source

Bug Fixes

v15.0.3

Compare Source

Bug Fixes
  • Don't raise TypeScript errors when hydating document (#​1304) (067d0c6)

v15.0.2

Compare Source

Bug Fixes

v15.0.1

Compare Source

Bug Fixes

v15.0.0

Compare Source

Release
BREAKING CHANGES
  • Minimum supported Node.js version is 18.0
  • New version of @testing-library/dom changes various roles. Check out the changed tests in testing-library/dom-testing-library@2c57055 to get an overview about what changed.

v14.3.1

Compare Source

Bug Fixes

v14.3.0

Compare Source

Features

v14.2.2

Compare Source

Bug Fixes

v14.2.1

Compare Source

Bug Fixes
  • Update types to support all possible react component return values (#​1272) (55e79c2)

v14.2.0

Compare Source

Features
  • add reactStrictMode option to enable strict mode render (#​1241) (0880eba)

v14.1.2

Compare Source

Bug Fixes

v14.1.1

Compare Source

Bug Fixes

v14.1.0

Compare Source

Features

v14.0.0

Compare Source

Bug Fixes
Features
BREAKING CHANGES

v13.4.0

Compare Source

Features
  • renderHook: allow passing of all render options to renderHook (#​1118) (27a9584)

v13.3.0

Compare Source

Features

v13.2.0

Compare Source

Features

v13.1.1

Compare Source

Bug Fixes

v13.1.0

Compare Source

Features

v13.0.1

Compare Source

Bug Fixes

v13.0.0

Compare Source

Features
BREAKING CHANGES

v12.1.5

Compare Source

Bug Fixes

v12.1.4

Compare Source

Bug Fixes
  • Match runtime type of baseElement in TypeScript types (#​1023) (96ed8da)

v12.1.3

Compare Source

Bug Fixes

v12.1.2

Compare Source

Bug Fixes
  • render: Don't reject wrapper types based on statics (#​973) (7f53b56)

v12.1.1

Compare Source

Bug Fixes

v12.1.0

Compare Source

Features

v12.0.0

Compare Source

Bug Fixes
Features
BREAKING CHANGES
  • Bump @testing-library/dom to 8.0.0. Please check out the @testing-library/dom@8.0.0 release page for a detailed list of breaking changes.
  • node 10 is no longer supported. It reached its end-of-life on 30.04.2021.

v11.2.7

Compare Source

Bug Fixes

v11.2.6

Compare Source

Bug Fixes
  • types: exclude tsconfig from types folder in publish flow (#​893) (58150b9)

v11.2.5

Compare Source

Bug Fixes

v11.2.4

Compare Source

Bug Fixes
  • render: Default to HTMLElement in returned container (#​868) (81c2de9)

v11.2.3

Compare Source

Bug Fixes

v11.2.2

Compare Source

Bug Fixes

v11.2.1

Compare Source

Bug Fixes
  • types: Allow all HTML and SVG elements in render. (#​833) (1dc33b2)

v11.2.0

Compare Source

Features

v11.1.2

Compare Source

Bug Fixes

v11.1.1

Compare Source

Bug Fixes

v11.1.0

Compare Source

Features

v11.0.4

Compare Source

Bug Fixes
  • Trigger ongot-/onlostpointercapture when calling got-/lostpointercapture (#​786) (c546a6f)

v11.0.3

Compare Source

Bug Fixes
  • Trigger onPointerEnter/Leave when calling pointerEnter/Leave (#​784) (c7b5622)

v11.0.2

Compare Source

Bug Fixes

v11.0.1

Compare Source

Bug Fixes

v11.0.0

Compare Source

Features
  • use act to flush instead of custom implementation (#​768) (693228c)
BREAKING CHANGES
  • cleanup is now synchronous and wraps the unmounting process in act.

v10.4.9

Compare Source

Bug Fixes

v10.4.8

Compare Source

Bug Fixes
  • fireEvent: Make sure react dispatches focus/blur events (#​758) (9aac157)

v10.4.7

Compare Source

Bug Fixes
  • unmount: Flush useEffect cleanup functions syncronously (#​746) (b82773c)

v10.4.6

Compare Source

Bug Fixes
  • cleanup: remove scheduler code from flush-microtasks (#​744) (240900c)

v10.4.5

Compare Source

Bug Fixes

v10.4.4

Compare Source

Bug Fixes

[v10.4.3](https://togithub.com/testi


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - "after 8am and before 4pm on tuesday" in timezone Etc/UTC.

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


This PR has been generated by Renovate Bot.

@svc-secops svc-secops requested a review from a team as a code owner April 18, 2024 13:54
@svc-secops svc-secops added the dependencies Pull requests that update a dependency file label Apr 18, 2024
@svc-secops
Copy link
Contributor Author

⚠ Artifact update problem

Renovate failed to update artifacts related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: final/client/package-lock.json
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR! 
npm ERR! While resolving: @testing-library/jest-dom@6.4.2
npm ERR! Found: jest@27.5.1
npm ERR! node_modules/jest
npm ERR!   dev jest@"^27.5.1" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peerOptional jest@">= 28" from @testing-library/jest-dom@6.4.2
npm ERR! node_modules/@testing-library/jest-dom
npm ERR!   dev @testing-library/jest-dom@"^6.0.0" from the root project
npm ERR! 
npm ERR! Conflicting peer dependency: jest@29.7.0
npm ERR! node_modules/jest
npm ERR!   peerOptional jest@">= 28" from @testing-library/jest-dom@6.4.2
npm ERR!   node_modules/@testing-library/jest-dom
npm ERR!     dev @testing-library/jest-dom@"^6.0.0" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR! 
npm ERR! 
npm ERR! For a full report see:
npm ERR! /tmp/renovate/cache/others/npm/_logs/2024-04-18T13_54_15_432Z-eresolve-report.txt

npm ERR! A complete log of this run can be found in: /tmp/renovate/cache/others/npm/_logs/2024-04-18T13_54_15_432Z-debug-0.log

File name: client/package-lock.json
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR! 
npm ERR! While resolving: @testing-library/jest-dom@6.4.2
npm ERR! Found: jest@27.5.1
npm ERR! node_modules/jest
npm ERR!   dev jest@"^27.5.1" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peerOptional jest@">= 28" from @testing-library/jest-dom@6.4.2
npm ERR! node_modules/@testing-library/jest-dom
npm ERR!   dev @testing-library/jest-dom@"^6.0.0" from the root project
npm ERR! 
npm ERR! Conflicting peer dependency: jest@29.7.0
npm ERR! node_modules/jest
npm ERR!   peerOptional jest@">= 28" from @testing-library/jest-dom@6.4.2
npm ERR!   node_modules/@testing-library/jest-dom
npm ERR!     dev @testing-library/jest-dom@"^6.0.0" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR! 
npm ERR! 
npm ERR! For a full report see:
npm ERR! /tmp/renovate/cache/others/npm/_logs/2024-04-18T13_54_21_833Z-eresolve-report.txt

npm ERR! A complete log of this run can be found in: /tmp/renovate/cache/others/npm/_logs/2024-04-18T13_54_21_833Z-debug-0.log

@svc-secops svc-secops force-pushed the renovate/major-testing-library-monorepo branch from 3453ae5 to e5d5bce Compare June 8, 2024 13:25
@svc-secops
Copy link
Contributor Author

⚠️ Artifact update problem

Renovate failed to update artifacts related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: final/client/package-lock.json
npm error code ERESOLVE
npm error ERESOLVE could not resolve
npm error
npm error While resolving: @testing-library/jest-dom@6.4.5
npm error Found: jest@27.5.1
npm error node_modules/jest
npm error   dev jest@"^27.5.1" from the root project
npm error
npm error Could not resolve dependency:
npm error peerOptional jest@">= 28" from @testing-library/jest-dom@6.4.5
npm error node_modules/@testing-library/jest-dom
npm error   dev @testing-library/jest-dom@"^6.0.0" from the root project
npm error
npm error Conflicting peer dependency: jest@29.7.0
npm error node_modules/jest
npm error   peerOptional jest@">= 28" from @testing-library/jest-dom@6.4.5
npm error   node_modules/@testing-library/jest-dom
npm error     dev @testing-library/jest-dom@"^6.0.0" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error /tmp/renovate/cache/others/npm/_logs/2024-06-08T13_25_10_466Z-eresolve-report.txt
npm error A complete log of this run can be found in: /tmp/renovate/cache/others/npm/_logs/2024-06-08T13_25_10_466Z-debug-0.log

File name: client/package-lock.json
npm error code ERESOLVE
npm error ERESOLVE could not resolve
npm error
npm error While resolving: @testing-library/jest-dom@6.4.5
npm error Found: jest@27.5.1
npm error node_modules/jest
npm error   dev jest@"^27.5.1" from the root project
npm error
npm error Could not resolve dependency:
npm error peerOptional jest@">= 28" from @testing-library/jest-dom@6.4.5
npm error node_modules/@testing-library/jest-dom
npm error   dev @testing-library/jest-dom@"^6.0.0" from the root project
npm error
npm error Conflicting peer dependency: jest@29.7.0
npm error node_modules/jest
npm error   peerOptional jest@">= 28" from @testing-library/jest-dom@6.4.5
npm error   node_modules/@testing-library/jest-dom
npm error     dev @testing-library/jest-dom@"^6.0.0" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error /tmp/renovate/cache/others/npm/_logs/2024-06-08T13_25_15_471Z-eresolve-report.txt
npm error A complete log of this run can be found in: /tmp/renovate/cache/others/npm/_logs/2024-06-08T13_25_15_471Z-debug-0.log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
1 participant