npm · npm:@zag-js/switch
@zag-js/switch active
Core logic for the switch widget implemented as a state machine
The latest stable version of @zag-js/switch is 1.47.0, published on 2026-10-26. Verified by Vigia on 2026-11-11.
| Latest stable version | 1.47.0 |
|---|---|
| Published | 2026-10-26 21:54:30 UTC |
| Install | npm install @zag-js/switch@latest |
| Requires (engines) | none declared |
| Peer dependencies | — |
| Dist-tags | dev: 0.0.0-dev-20240723090825 next: 2.0.0-next.3 latest: 1.47.0 v1-beta: 0.0.0-v1-beta-20250222173217 |
| License | MIT |
| Advisories on latest version | none known |
| Last verified | 2026-11-11 22:42:12 UTC |
| Sources | api.deps.dev, registry.npmjs.org, registry.npmjs.org |
Maintenance
| Activity | active |
|---|---|
| Last stable release | 2026-10-26 21:54:30 UTC · 16 days ago |
| Stable releases in the last 12 months | 35 |
| Published versions | 841 |
Heuristic based only on release dates; it does not measure issue or security response times.
Version history
| Version | Published |
|---|---|
1.47.0 | 2026-10-26 21:54:30 UTC |
1.46.0 | 2026-10-11 18:42:30 UTC |
1.45.0 | 2026-10-05 15:15:59 UTC |
1.44.0 | 2026-09-13 19:20:36 UTC |
1.43.3 | 2026-08-20 20:56:10 UTC |
1.43.2 | 2026-08-20 19:37:51 UTC |
1.43.1 | 2026-08-16 20:15:27 UTC |
1.43.0 | 2026-07-29 15:13:12 UTC |
1.42.0 | 2026-06-29 15:19:47 UTC |
1.41.2 | 2026-06-05 13:29:21 UTC |
1.41.1 | 2026-05-26 20:46:08 UTC |
1.41.0 | 2026-05-21 23:45:25 UTC |
1.40.0 | 2026-04-11 18:00:42 UTC |
1.39.1 | 2026-04-05 18:55:29 UTC |
1.39.0 | 2026-04-02 16:19:02 UTC |
1.38.2 | 2026-03-26 09:10:59 UTC |
1.38.1 | 2026-03-25 19:02:22 UTC |
1.38.0 | 2026-03-24 21:10:31 UTC |
1.37.0 | 2026-03-16 21:01:36 UTC |
1.36.0 | 2026-03-12 07:52:22 UTC |
Showing the 20 most recent of 244 versions. JSON
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 @zag-js/switch?
The latest stable version of @zag-js/switch is 1.47.0, published on 2026-10-26. Verified by Vigia on 2026-11-11.
How do I install the latest version of @zag-js/switch?
Run npm install @zag-js/switch@latest. The latest stable version is 1.47.0 (verified 2026-11-11).
Is @zag-js/switch deprecated?
No. @zag-js/switch is not marked as deprecated in the registry.
Which Node.js version does @zag-js/switch require?
@zag-js/switch 1.47.0 does not declare a Node.js version requirement.
Does @zag-js/switch 1.47.0 have known vulnerabilities?
No known advisories affect @zag-js/switch 1.47.0 according to the data Vigia checks.
Is @zag-js/switch still maintained?
@zag-js/switch published 35 stable releases in the last 12 months; the most recent was 16 days ago. Activity: active.
Observed changes
- Mon Oct 26 2026 22:33:13 GM +0000 (Coordinated Universal Time) — released 1.46.0 → 1.47.0
- Sun Oct 11 2026 20:00:11 GM +0000 (Coordinated Universal Time) — released 1.45.0 → 1.46.0
Related packages
- @rushstack/package-deps-hash
- path-name
- @electron-forge/tracer
- @ai-sdk/mcp
- p-transform
- @wolfy1339/lru-cache
- comver-to-semver
- @orval/axios
- @ckeditor/ckeditor5-essentials
- bin-build
- @orval/query
- glsl-resolve
Badges for your README
Show the latest version, maintenance status and deprecation status of this package. Copy the Markdown:
[](https://vigia.coredls.cloud/npm/@zag-js/switch) [](https://vigia.coredls.cloud/npm/@zag-js/switch) [](https://vigia.coredls.cloud/npm/@zag-js/switch)
For agents
GET https://vigia.coredls.cloud/v1/packages/npm/@zag-js/switch
GET https://vigia.coredls.cloud/v1/packages/npm/@zag-js/switch/versions/{version}