@testing-library/jest-dom 4.2.2
Custom jest matchers to test the state of the DOM
@testing-library/jest-dom@4.2.2 was published on 2019-10-31. Its manifest declares 9 runtime dependencies and 0 peer requirements. Bundled type declarations are not declared in the inspected metadata. The declared Node.js requirement is >=8.
All @testing-library/jest-dom versions · Permanent reference to 4.2.2 · View npm registry JSON · Latest release
Package specifications
| Version | 4.2.2 |
|---|---|
| License declaration | MIT |
| Published | 2019-10-31T14:37:14.785Z |
| Node.js requirement | >=8 |
| Type declarations | Not declared |
| Runtime dependency count | 9 |
| Peer requirement count | 0 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 85.37 KiB |
| Published file count | 26 |
| Package type | Not declared |
| ES module entry | Not declared |
| Default entry | dist/index.js |
| Side effects declaration | Not declared |
| Direct advisories | 0 |
| Resolved graph dependencies | 36 |
| Repository stars | 4603 |
| Repository forks | 425 |
Install @testing-library/jest-dom 4.2.2
npm install @testing-library/jest-dom@4.2.2 pnpm add @testing-library/jest-dom@4.2.2 yarn add @testing-library/jest-dom@4.2.2
Runtime dependencies
- css ^2.2.3
- chalk ^2.4.1
- lodash ^4.17.11
- redent ^3.0.0
- jest-diff ^24.0.0
- css.escape ^1.5.1
- pretty-format ^24.0.0
- @babel/runtime ^7.5.1
- jest-matcher-utils ^24.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
- @jest/types@24.9.0 — indirect
- @types/istanbul-lib-coverage@2.0.6 — indirect
- @types/istanbul-lib-report@3.0.3 — indirect
- @types/istanbul-reports@1.1.2 — indirect
- @types/yargs@13.0.12 — indirect
- @types/yargs-parser@21.0.3 — indirect
- ansi-regex@4.1.1 — indirect
- ansi-styles@3.2.1 — indirect
- atob@2.1.2 — indirect
- chalk@2.4.2 — direct
- color-convert@1.9.3 — indirect
- color-name@1.1.3 — indirect
- css@2.2.4 — direct
- css.escape@1.5.1 — direct
- decode-uri-component@0.2.2 — indirect
- diff-sequences@24.9.0 — indirect
- escape-string-regexp@1.0.5 — indirect
- has-flag@3.0.0 — indirect
- indent-string@4.0.0 — indirect
- inherits@2.0.4 — indirect
- jest-diff@24.9.0 — direct
- jest-get-type@24.9.0 — indirect
- jest-matcher-utils@24.9.0 — direct
- lodash@4.18.1 — direct
- min-indent@1.0.1 — indirect
- pretty-format@24.9.0 — direct
- react-is@16.13.1 — indirect
- redent@3.0.0 — direct
- resolve-url@0.2.1 — indirect
- source-map@0.6.1 — indirect
- source-map-resolve@0.5.3 — indirect
- source-map-url@0.4.1 — indirect
- strip-indent@3.0.0 — indirect
- supports-color@5.5.0 — indirect
- urix@0.1.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.
| Dangerous-Workflow | 10/10 — no dangerous workflow patterns detected |
|---|---|
| Maintained | 5/10 — 4 commit(s) and 2 issue activity found in the last 90 days -- score normalized to 5 |
| Code-Review | 9/10 — Found 18/20 approved changesets -- score normalized to 9 |
| Binary-Artifacts | 10/10 — no binaries found in the repo |
| Token-Permissions | 10/10 — GitHub workflow tokens follow principle of least privilege |
| Pinned-Dependencies | 0/10 — dependency not pinned by hash detected -- score normalized to 0 |
| CII-Best-Practices | 0/10 — no effort to earn an OpenSSF best practices badge detected |
| License | 10/10 — license file detected |
| Fuzzing | 0/10 — project is not fuzzed |
| 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
- Readable npm registry JSON — retrieved 2026-11-02T02:44:09.557Z
- https://api.deps.dev/v3/systems/npm/packages/%40testing-library%2Fjest-dom/versions/4.2.2 — retrieved 2026-11-02T02:44:10.034Z
- https://api.deps.dev/v3/projects/github.com%2Ftesting-library%2Fjest-dom — retrieved 2026-11-01T00:32:10.572Z (stale snapshot; refresh pending)
- https://api.deps.dev/v3/systems/npm/packages/%40testing-library%2Fjest-dom/versions/4.2.2:dependencies — retrieved 2026-11-02T02:44:10.059Z