@testing-library/dom 7.2.2
Simple and complete DOM testing utilities that encourage good testing practices.
@testing-library/dom@7.2.2 was published on 2020-04-24. Its manifest declares 5 runtime dependencies and 0 peer requirements. Bundled type declarations are not declared in the inspected metadata. The declared Node.js requirement is >=10.
All @testing-library/dom versions · Permanent reference to 7.2.2 · Latest release
Package specifications
| Version | 7.2.2 |
|---|---|
| License declaration | MIT |
| Published | 2020-04-24T21:35:14.496Z |
| Node.js requirement | >=10 |
| Type declarations | Not declared |
| Runtime dependency count | 5 |
| Peer requirement count | 0 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 2379.13 KiB |
| Published file count | 36 |
| Package type | Not declared |
| ES module entry | dist/@testing-library/dom.esm.js |
| Default entry | dist/index.js |
| Side effects declaration | Not declared |
| Direct advisories | 0 |
| Resolved graph dependencies | 35 |
| Repository stars | 3338 |
| Repository forks | 473 |
Install @testing-library/dom 7.2.2
npm install @testing-library/dom@7.2.2 pnpm add @testing-library/dom@7.2.2 yarn add @testing-library/dom@7.2.2
Runtime dependencies
- aria-query ^4.0.2
- pretty-format ^25.1.0
- @babel/runtime ^7.9.2
- dom-accessibility-api ^0.4.2
- @types/testing-library__dom ^7.0.0
Peer requirements
- None declared
Optional dependencies
- None declared
Resolved dependency graph
This deps.dev graph describes a generic 64-bit Linux environment, not your application lockfile.
- @babel/runtime@7.29.10 — direct
- @types/testing-library__dom@7.5.0 — direct
- aria-query@4.2.2 — direct
- dom-accessibility-api@0.4.7 — direct
- pretty-format@25.5.0 — direct
- @testing-library/dom@10.4.2 — indirect
- @babel/runtime-corejs3@7.29.10 — indirect
- @jest/types@25.5.0 — indirect
- ansi-regex@5.0.1 — indirect
- ansi-styles@4.3.0 — indirect
- react-is@16.13.1 — indirect
- @babel/code-frame@7.29.7 — indirect
- @types/aria-query@5.0.4 — indirect
- aria-query@5.3.0 — indirect
- dom-accessibility-api@0.5.16 — indirect
- lz-string@1.5.0 — indirect
- picocolors@1.1.1 — indirect
- pretty-format@27.5.1 — indirect
- core-js-pure@3.51.0 — indirect
- @types/istanbul-lib-coverage@2.0.6 — indirect
- @types/istanbul-reports@1.1.2 — indirect
- @types/yargs@15.0.20 — indirect
- chalk@3.0.0 — indirect
- color-convert@2.0.1 — indirect
- @babel/helper-validator-identifier@7.29.7 — indirect
- js-tokens@4.0.0 — indirect
- dequal@2.0.3 — indirect
- ansi-styles@5.2.0 — indirect
- react-is@17.0.2 — indirect
- @types/istanbul-lib-report@3.0.3 — indirect
- @types/yargs-parser@21.0.3 — indirect
- ansi-styles@4.3.0 — indirect
- supports-color@7.2.0 — indirect
- color-name@1.1.4 — indirect
- has-flag@4.0.0 — indirect
How to interpret the specifications
Bundlephobia measurements use its standard package build and may exclude peer dependencies. Unpacked npm distribution size includes shipped files and is a different measurement. Module declarations do not prove tree-shaking or runtime compatibility.
Advisories apply to this package version directly; transitive dependencies need separate inspection. Repository signals describe the whole repository and are current observations, including on historical-version pages.
OpenSSF repository checks
Provider assessment: 2026-08-24T00:00:00Z. These are repository checks, not a jsL maintenance score.
| Maintained | 0/10 — 0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0 |
|---|---|
| Code-Review | 6/10 — Found 16/23 approved changesets -- score normalized to 6 |
| Dangerous-Workflow | 10/10 — no dangerous workflow patterns detected |
| Pinned-Dependencies | 0/10 — dependency not pinned by hash detected -- score normalized to 0 |
| Binary-Artifacts | 10/10 — no binaries found in the repo |
| Token-Permissions | 10/10 — GitHub workflow tokens follow principle of least privilege |
| CII-Best-Practices | 0/10 — no effort to earn an OpenSSF best practices badge detected |
| Fuzzing | 0/10 — project is not fuzzed |
| License | 10/10 — license file detected |
| Security-Policy | 0/10 — security policy file not detected |
| SAST | 0/10 — SAST tool is not run on all commits -- score normalized to 0 |
Evidence and freshness
- https://registry.npmjs.org/%40testing-library%2Fdom/7.2.2 — retrieved 2026-10-29T12:17:32.298Z
- https://api.deps.dev/v3/projects/github.com%2Ftesting-library%2Fdom-testing-library — retrieved 2026-10-29T09:39:38.436Z
- https://api.deps.dev/v3/systems/npm/packages/%40testing-library%2Fdom/versions/7.2.2:dependencies — retrieved 2026-10-29T12:17:32.999Z
- https://api.deps.dev/v3/systems/npm/packages/%40testing-library%2Fdom/versions/7.2.2 — retrieved 2026-10-29T12:17:32.979Z