Vigia

npm · npm:focus-trap

focus-trap active

Trap focus within a DOM node.

The latest stable version of focus-trap is 8.2.4, published on 2026-10-26. Verified by Vigia on 2026-11-12.

Latest stable version8.2.4
Published2026-10-26 23:25:38 UTC
Installnpm install focus-trap@latest
Requires (engines)none declared
Peer dependencies—
Dist-tagsbeta: 6.8.0-beta.2 latest: 8.2.4 tabbable-i905: 7.2.1-tabbable-i905.2
LicenseMIT
Advisories on latest versionnone known
Last verified2026-11-12 23:53:02 UTC
Sourcesapi.deps.dev, registry.npmjs.org, registry.npmjs.org

Maintenance

Activityactive
Last stable release2026-10-26 23:25:38 UTC · 17 days ago
Stable releases in the last 12 months11
Published versions98

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

Version history

VersionPublished
8.2.42026-10-26 23:25:38 UTC
8.2.32026-10-04 22:26:18 UTC
8.2.22026-06-22 00:15:10 UTC
8.2.12026-05-16 18:24:23 UTC
8.2.02026-05-04 00:25:17 UTC
8.1.02026-04-24 14:34:37 UTC
8.0.12026-03-21 19:10:57 UTC
8.0.02026-01-28 17:24:50 UTC
7.8.02026-01-10 22:24:14 UTC
7.7.12025-12-31 17:54:48 UTC
7.7.02025-12-20 20:17:21 UTC
7.6.62025-10-26 23:51:08 UTC
7.6.52025-05-27 20:55:22 UTC
7.6.42025-01-10 20:00:24 UTC
7.6.32025-01-10 18:32:23 UTC
7.6.22024-11-16 18:50:33 UTC
7.6.12024-11-10 16:46:39 UTC
7.6.02024-09-11 22:52:40 UTC
7.5.42023-10-12 16:26:50 UTC
7.5.32023-09-25 14:37:42 UTC

Showing the 20 most recent of 92 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.2.4
node 188.2.4
node 208.2.4
node 228.2.4
node 248.2.4

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 focus-trap?

The latest stable version of focus-trap is 8.2.4, published on 2026-10-26. Verified by Vigia on 2026-11-12.

How do I install the latest version of focus-trap?

Run npm install focus-trap@latest. The latest stable version is 8.2.4 (verified 2026-11-12).

Is focus-trap deprecated?

No. focus-trap is not marked as deprecated in the registry.

Which Node.js version does focus-trap require?

focus-trap 8.2.4 does not declare a Node.js version requirement.

Does focus-trap 8.2.4 have known vulnerabilities?

No known advisories affect focus-trap 8.2.4 according to the data Vigia checks.

Is focus-trap still maintained?

focus-trap published 11 stable releases in the last 12 months; the most recent was 17 days ago. Activity: active.

Observed changes

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/focus-trap/version.svg)](https://vigia.coredls.cloud/npm/focus-trap)
[![maintained](https://vigia.coredls.cloud/badge/npm/focus-trap/maintained.svg)](https://vigia.coredls.cloud/npm/focus-trap)
[![status](https://vigia.coredls.cloud/badge/npm/focus-trap/status.svg)](https://vigia.coredls.cloud/npm/focus-trap)

For agents

GET https://vigia.coredls.cloud/v1/packages/npm/focus-trap
GET https://vigia.coredls.cloud/v1/packages/npm/focus-trap/versions/{version}