Vigia

npm · npm:@testing-library/react-hooks

@testing-library/react-hooks active

Simple and complete React hooks testing utilities that encourage good testing practices.

The latest stable version of @testing-library/react-hooks is 8.0.1, published on 2022-06-18. Verified by Vigia on 2026-11-12.

Latest stable version8.0.1
Published2022-06-18 13:20:19 UTC
Installnpm install @testing-library/react-hooks@latest
Requires (engines){"node":">=12"}
Peer dependenciesreact ^16.9.0 || ^17.0.0 react-dom ^16.9.0 || ^17.0.0 @types/react ^16.9.0 || ^17.0.0 react-test-renderer ^16.9.0 || ^17.0.0
Dist-tagsbeta: 5.0.0-beta.12 alpha: 8.0.0-alpha.1 latest: 8.0.1
LicenseMIT
Advisories on latest versionnone known
Last verified2026-11-12 12:15:00 UTC
Sourcesapi.deps.dev, registry.npmjs.org, registry.npmjs.org

Is your project affected?

Check my whole package.jsonGet notified of new versions (Atom)Facts for my AGENTS.md

Free, no signup. Paste your manifest and see what is outdated, deprecated or vulnerable.

Maintenance

Activitydormant
Last stable release2022-06-18 13:20:19 UTC · 1608 days ago
Stable releases in the last 12 months0
Published versions53

Heuristic based only on release dates; it does not measure issue or security response times.

Version history

VersionPublished
8.0.12022-06-18 13:20:19 UTC
8.0.02022-04-10 12:24:50 UTC
7.0.22021-08-31 11:30:38 UTC
7.0.12021-06-30 21:12:11 UTC
7.0.02021-05-24 22:55:02 UTC
6.0.02021-05-18 13:14:26 UTC
5.1.32021-05-18 12:08:48 UTC
5.1.22021-04-22 09:18:47 UTC
5.1.12021-03-29 17:47:28 UTC
5.1.02021-03-01 15:37:02 UTC
5.0.32021-01-24 08:51:55 UTC
5.0.22021-01-22 10:13:35 UTC
5.0.02021-01-13 21:58:55 UTC
4.0.12021-01-12 11:48:53 UTC
4.0.02021-01-07 03:54:03 UTC
3.7.02020-12-08 09:26:58 UTC
3.6.02020-12-07 10:13:27 UTC
3.5.02020-12-06 11:47:33 UTC
3.4.22020-09-28 11:24:16 UTC
3.4.12020-07-23 09:54:51 UTC

Showing the 20 most recent of 37 versions. JSON

Version compatibility

Newest stable version that declares support for each runtime version (from the requirements published with each version).

RuntimeNewest compatible version
node 168.0.1
node 188.0.1
node 208.0.1
node 228.0.1
node 248.0.1

Give your AI agent these facts

Vigia is a free MCP server: your coding agent checks versions, breaking changes and vulnerabilities before it writes code. No signup, no API key.

claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp

Add to CursorAdd to VS Code★ Star on GitHub

Any other MCP client
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }

Agent skill (SKILL.md): tells the agent when to use Vigia · GitHub Action for pull requests

Frequently asked questions

What is the latest version of @testing-library/react-hooks?

The latest stable version of @testing-library/react-hooks is 8.0.1, published on 2022-06-18. Verified by Vigia on 2026-11-12.

How do I install the latest version of @testing-library/react-hooks?

Run npm install @testing-library/react-hooks@latest. The latest stable version is 8.0.1 (verified 2026-11-12).

Is @testing-library/react-hooks deprecated?

No. @testing-library/react-hooks is not marked as deprecated in the registry.

Which Node.js version does @testing-library/react-hooks require?

@testing-library/react-hooks 8.0.1 declares this requirement: {"node":">=12"}.

Does @testing-library/react-hooks 8.0.1 have known vulnerabilities?

No known advisories affect @testing-library/react-hooks 8.0.1 according to the data Vigia checks.

Is @testing-library/react-hooks still maintained?

@testing-library/react-hooks published 0 stable releases in the last 12 months; the most recent was 1608 days ago. Activity: dormant.

Observed changes

No changes observed yet since Vigia started tracking this package.

Related packages

Badges for your README

Show the latest version, maintenance status and deprecation status of this package. Copy the Markdown:

[![version](https://vigia.coredls.cloud/badge/npm/@testing-library/react-hooks/version.svg)](https://vigia.coredls.cloud/npm/@testing-library/react-hooks)
[![maintained](https://vigia.coredls.cloud/badge/npm/@testing-library/react-hooks/maintained.svg)](https://vigia.coredls.cloud/npm/@testing-library/react-hooks)
[![status](https://vigia.coredls.cloud/badge/npm/@testing-library/react-hooks/status.svg)](https://vigia.coredls.cloud/npm/@testing-library/react-hooks)

For agents

GET https://vigia.coredls.cloud/v1/packages/npm/@testing-library/react-hooks
GET https://vigia.coredls.cloud/v1/packages/npm/@testing-library/react-hooks/versions/{version}