Vigia

npm · npm:react-switch

react-switch 活跃

Draggable toggle-switch component for react

react-switch 的最新稳定版本是 7.1.0,发布于 2024-12-14。Vigia 于 2026-11-12 核实。

最新稳定版本7.1.0
发布时间2024-12-14 17:23:28 UTC
安装npm install react-switch@latest
运行要求(engines)未声明
Peer 依赖react ^15.3.0 || ^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 react-dom ^15.3.0 || ^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0
Dist 标签beta: 7.0.0 alpha: 4.0.0-alpha.0 latest: 7.1.0 experimental: 7.0.0-experimental.0
许可证MIT
最新版本的安全公告暂无已知
最近核实2026-11-12 13:19:19 UTC
来源api.deps.dev, registry.npmjs.org, registry.npmjs.org

维护情况

活跃度停滞
最近的稳定版本2024-12-14 17:23:28 UTC · 698 天前
过去 12 个月的稳定版本数0
已发布版本数34

仅根据发布时间估算,不反映对 issue 或安全问题的响应速度。

版本历史

版本发布时间
7.1.02024-12-14 17:23:28 UTC
7.0.02022-06-09 09:30:25 UTC
6.1.02022-06-08 13:36:29 UTC
6.0.02021-01-07 18:48:37 UTC
5.0.12019-07-16 18:24:22 UTC
5.0.02019-04-22 16:23:08 UTC
4.1.02019-02-17 11:42:02 UTC
4.0.12019-01-30 22:46:18 UTC
4.0.02019-01-30 21:35:19 UTC
3.0.42018-06-15 22:28:01 UTC
3.0.32018-06-15 21:16:41 UTC
3.0.22018-06-07 21:35:02 UTC
3.0.12018-06-07 20:57:46 UTC
3.0.02018-06-07 13:02:32 UTC
2.3.22018-04-20 13:28:02 UTC
2.3.12018-04-08 11:09:06 UTC
2.3.02017-12-27 09:01:38 UTC
2.2.02017-12-19 14:02:32 UTC
2.1.02017-11-22 09:09:38 UTC
2.0.12017-11-03 07:38:38 UTC

显示 25 个版本中最新的 20 个。 JSON

把这些数据交给你的 AI 智能体

Vigia 是免费的 MCP 服务器:你的编程智能体在写代码之前就能检查版本、不兼容变更和安全漏洞。无需注册,无需 API 密钥。

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

添加到 Cursor添加到 VS Code★ 在 GitHub 上加星

任何其他 MCP 客户端
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }

智能体技能(SKILL.md):告诉智能体何时使用 Vigia · 用于拉取请求的 GitHub Action

常见问题

react-switch 的最新版本是什么?

react-switch 的最新稳定版本是 7.1.0,发布于 2024-12-14。Vigia 于 2026-11-12 核实。

如何安装 react-switch 的最新版本?

运行 npm install react-switch@latest。最新稳定版本是 7.1.0(2026-11-12 核实)。

react-switch 是否已弃用?

否。注册表中 react-switch 未被标记为已弃用。

react-switch 需要哪个版本的 Node.js?

react-switch 7.1.0 未声明对 Node.js 版本的要求。

react-switch 7.1.0 是否存在已知漏洞?

根据 Vigia 检查的数据,没有已知安全公告影响 react-switch 7.1.0。

react-switch 是否仍在维护?

react-switch 在过去 12 个月内发布了 0 个稳定版本,最近一次在 698 天前。活跃度:停滞。

观察到的变更

自 Vigia 开始跟踪此软件包以来,尚未观察到变更。

相关软件包

用于 README 的徽章

展示此软件包的最新版本、维护状态以及是否已弃用。复制 Markdown:

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

供智能体使用

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