Packages

@testing-library/dom

10.4.2 · 13 Sep 2026MIT125.9M / weekRepositoryHomepagenpmAtom feed

Your version

9.0.0

major16 Feb 2023Where it was published

9.3.4 is the newest release of 9.x.

In short

2 breaking1 removed1 fixed

  • Breaking

    ByRole: Only allow string as a role. Drop support for exact, trim, collapseWhitespace, and normalizer options.

  • Breaking

    Minimum supported Node.js version is now 14.x

  • Removed

    Drop support for Node.js 12.x

Release note

Bug Fixes

  • ByRole: Constrain API

Features

  • Removed

    Drop support for Node.js 12.x

Breaking changes

  • Breaking

    ByRole: Only allow string as a role.
    Drop support for exact, trim, collapseWhitespace, and normalizer options.

  • Breaking

    Minimum supported Node.js version is now 14.x

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.