npm · npm:strip-json-comments
strip-json-comments 活跃
Strip comments from JSON. Lets you use comments in your JSON files!
strip-json-comments 的最新稳定版本是 5.0.3,发布于 2025-08-08。Vigia 于 2026-11-12 核实。
| 最新稳定版本 | 5.0.3 |
|---|---|
| 发布时间 | 2025-08-08 14:14:05 UTC |
| 安装 | npm install strip-json-comments@latest |
| 运行要求(engines) | {"node":">=14.16"} |
| Peer 依赖 | — |
| Dist 标签 | latest: 5.0.3 |
| 许可证 | MIT |
| 最新版本的安全公告 | 暂无已知 |
| 最近核实 | 2026-11-12 13:45:36 UTC |
| 来源 | api.deps.dev, registry.npmjs.org, registry.npmjs.org |
维护情况
| 活跃度 | 放缓 |
|---|---|
| 最近的稳定版本 | 2025-08-08 14:14:05 UTC · 461 天前 |
| 过去 12 个月的稳定版本数 | 0 |
| 已发布版本数 | 20 |
仅根据发布时间估算,不反映对 issue 或安全问题的响应速度。
版本历史
| 版本 | 发布时间 |
|---|---|
5.0.3 | 2025-08-08 14:14:05 UTC |
5.0.2 | 2025-05-16 20:47:21 UTC |
5.0.1 | 2023-07-04 11:22:44 UTC |
5.0.0 | 2022-07-22 09:48:13 UTC |
4.0.0 | 2021-08-19 18:10:16 UTC |
3.1.1 | 2020-07-12 14:44:56 UTC |
3.1.0 | 2020-04-06 07:58:47 UTC |
3.0.1 | 2019-04-30 17:11:19 UTC |
3.0.0 | 2019-04-30 12:23:05 UTC |
2.0.1 | 2016-02-09 08:30:06 UTC |
2.0.0 | 2015-11-18 14:23:05 UTC |
1.0.4 | 2015-08-02 00:37:05 UTC |
1.0.3 | 2015-08-01 01:15:27 UTC |
1.0.2 | 2014-10-16 13:25:20 UTC |
1.0.1 | 2014-07-26 00:34:50 UTC |
1.0.0 | 2014-07-26 00:26:03 UTC |
0.1.3 | 2014-05-28 10:38:42 UTC |
0.1.2 | 2014-04-29 19:52:43 UTC |
0.1.1 | 2013-11-17 15:22:21 UTC |
0.1.0 | 2013-11-17 15:19:07 UTC |
显示 20 个版本中最新的 20 个。 JSON
版本兼容性
声明支持各运行时版本的最新稳定版本(依据每个版本发布的要求)。
| 运行时 | 最新兼容版本 |
|---|---|
node 16 | 5.0.3 |
node 18 | 5.0.3 |
node 20 | 5.0.3 |
node 22 | 5.0.3 |
node 24 | 5.0.3 |
此软件包的升级指南
把这些数据交给你的 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" } } }常见问题
strip-json-comments 的最新版本是什么?
strip-json-comments 的最新稳定版本是 5.0.3,发布于 2025-08-08。Vigia 于 2026-11-12 核实。
如何安装 strip-json-comments 的最新版本?
运行 npm install strip-json-comments@latest。最新稳定版本是 5.0.3(2026-11-12 核实)。
strip-json-comments 是否已弃用?
否。注册表中 strip-json-comments 未被标记为已弃用。
strip-json-comments 需要哪个版本的 Node.js?
strip-json-comments 5.0.3 声明的要求为:{"node":">=14.16"}。
strip-json-comments 5.0.3 是否存在已知漏洞?
根据 Vigia 检查的数据,没有已知安全公告影响 strip-json-comments 5.0.3。
strip-json-comments 是否仍在维护?
strip-json-comments 在过去 12 个月内发布了 0 个稳定版本,最近一次在 461 天前。活跃度:放缓。
观察到的变更
自 Vigia 开始跟踪此软件包以来,尚未观察到变更。
相关软件包
- chokidar
- inherits
- webidl-conversions
- @babel/types
- get-stream
- shebang-regex
- cliui
- eslint-scope
- cookie
- js-tokens
- @babel/parser
- punycode
用于 README 的徽章
展示此软件包的最新版本、维护状态以及是否已弃用。复制 Markdown:
[](https://vigia.coredls.cloud/npm/strip-json-comments) [](https://vigia.coredls.cloud/npm/strip-json-comments) [](https://vigia.coredls.cloud/npm/strip-json-comments)
供智能体使用
GET https://vigia.coredls.cloud/v1/packages/npm/strip-json-comments
GET https://vigia.coredls.cloud/v1/packages/npm/strip-json-comments/versions/{version}