Vigia

npm · npm:@ast-grep/cli

@ast-grep/cli 活跃

Search and Rewrite code at large scale using precise AST pattern

@ast-grep/cli 的最新稳定版本是 0.51.2,发布于 2026-11-11。Vigia 于 2026-11-12 核实。

最新稳定版本0.51.2
发布时间2026-11-11 05:23:22 UTC
安装npm install @ast-grep/cli@latest
运行要求(engines){"node":">= 12.0.0"}
Peer 依赖—
Dist 标签latest: 0.51.2
许可证MIT
最新版本的安全公告暂无已知
最近核实2026-11-12 06:50:15 UTC
来源api.deps.dev, registry.npmjs.org, registry.npmjs.org

维护情况

活跃度活跃
最近的稳定版本2026-11-11 05:23:22 UTC · 1 天前
过去 12 个月的稳定版本数23
已发布版本数179

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

版本历史

版本发布时间
0.51.22026-11-11 05:23:22 UTC
0.51.12026-11-02 13:33:38 UTC
0.51.02026-10-15 15:18:04 UTC
0.50.02026-10-09 14:29:31 UTC
0.45.32026-08-31 02:32:31 UTC
0.45.22026-08-23 19:57:11 UTC
0.45.12026-08-07 15:23:42 UTC
0.45.02026-07-23 16:14:12 UTC
0.44.12026-07-04 14:15:33 UTC
0.44.02026-06-22 01:57:20 UTC
0.43.02026-05-25 20:19:54 UTC
0.42.32026-05-19 15:27:14 UTC
0.42.22026-05-10 22:04:31 UTC
0.42.12026-04-04 16:10:24 UTC
0.42.02026-03-16 03:34:47 UTC
0.41.12026-03-10 14:12:18 UTC
0.41.02026-02-22 19:05:03 UTC
0.40.52026-01-10 18:07:26 UTC
0.40.42026-01-05 01:28:36 UTC
0.40.32025-12-15 15:45:46 UTC

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

版本兼容性

声明支持各运行时版本的最新稳定版本(依据每个版本发布的要求)。

运行时最新兼容版本
node 160.51.2
node 180.51.2
node 200.51.2
node 220.51.2
node 240.51.2

把这些数据交给你的 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

常见问题

@ast-grep/cli 的最新版本是什么?

@ast-grep/cli 的最新稳定版本是 0.51.2,发布于 2026-11-11。Vigia 于 2026-11-12 核实。

如何安装 @ast-grep/cli 的最新版本?

运行 npm install @ast-grep/cli@latest。最新稳定版本是 0.51.2(2026-11-12 核实)。

@ast-grep/cli 是否已弃用?

否。注册表中 @ast-grep/cli 未被标记为已弃用。

@ast-grep/cli 需要哪个版本的 Node.js?

@ast-grep/cli 0.51.2 声明的要求为:{"node":">= 12.0.0"}。

@ast-grep/cli 0.51.2 是否存在已知漏洞?

根据 Vigia 检查的数据,没有已知安全公告影响 @ast-grep/cli 0.51.2。

@ast-grep/cli 是否仍在维护?

@ast-grep/cli 在过去 12 个月内发布了 23 个稳定版本,最近一次在 1 天前。活跃度:活跃。

观察到的变更

相关软件包

用于 README 的徽章

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

[![version](https://vigia.coredls.cloud/badge/npm/@ast-grep/cli/version.svg)](https://vigia.coredls.cloud/npm/@ast-grep/cli)
[![maintained](https://vigia.coredls.cloud/badge/npm/@ast-grep/cli/maintained.svg)](https://vigia.coredls.cloud/npm/@ast-grep/cli)
[![status](https://vigia.coredls.cloud/badge/npm/@ast-grep/cli/status.svg)](https://vigia.coredls.cloud/npm/@ast-grep/cli)

供智能体使用

GET https://vigia.coredls.cloud/v1/packages/npm/@ast-grep/cli
GET https://vigia.coredls.cloud/v1/packages/npm/@ast-grep/cli/versions/{version}