npm · npm:prettier
prettier 活跃
Prettier is an opinionated code formatter
prettier 的最新稳定版本是 3.10.1,发布于 2026-11-12。Vigia 于 2026-11-12 核实。
| 最新稳定版本 | 3.10.1 |
|---|---|
| 发布时间 | 2026-11-12 07:06:22 UTC |
| 安装 | npm install prettier@latest |
| 运行要求(engines) | {"node":">=14"} |
| Peer 依赖 | — |
| Dist 标签 | next: 4.0.0-alpha.13 latest: 3.10.1 |
| 许可证 | MIT |
| 最新版本的安全公告 | 暂无已知 |
| 最近核实 | 2026-11-12 07:20:12 UTC |
| 来源 | api.deps.dev, registry.npmjs.org, registry.npmjs.org |
维护情况
| 活跃度 | 活跃 |
|---|---|
| 最近的稳定版本 | 2026-11-12 07:06:22 UTC · 0 天前 |
| 过去 12 个月的稳定版本数 | 24 |
| 已发布版本数 | 201 |
仅根据发布时间估算,不反映对 issue 或安全问题的响应速度。
版本历史
| 版本 | 发布时间 |
|---|---|
3.10.1 | 2026-11-12 07:06:22 UTC |
3.10.0 | 2026-11-11 12:30:48 UTC |
3.9.10 | 2026-10-10 08:35:28 UTC |
3.9.9 | 2026-09-23 06:31:34 UTC |
3.9.8 | 2026-09-17 21:41:05 UTC |
3.9.7 | 2026-09-16 08:23:07 UTC |
3.9.6 | 2026-07-21 05:51:53 UTC |
3.9.5 | 2026-07-09 16:17:00 UTC |
3.9.4 | 2026-06-30 01:11:17 UTC |
3.9.3 | 2026-06-29 11:36:49 UTC |
3.9.2 | 2026-06-29 11:27:58 UTC |
3.9.1 | 2026-06-27 23:04:57 UTC |
3.9.0 | 2026-06-27 10:26:05 UTC |
3.8.5 | 2026-06-26 12:58:13 UTC |
3.8.4 | 2026-06-09 11:30:06 UTC |
3.8.3 | 2026-04-15 00:55:25 UTC |
3.8.2 | 2026-04-10 02:30:00 UTC |
3.8.1 | 2026-01-21 17:45:07 UTC |
3.8.0 | 2026-01-14 23:56:17 UTC |
3.7.4 | 2025-12-03 04:35:23 UTC |
显示 171 个版本中最新的 20 个。 JSON
版本兼容性
声明支持各运行时版本的最新稳定版本(依据每个版本发布的要求)。
| 运行时 | 最新兼容版本 |
|---|---|
node 16 | 3.10.1 |
node 18 | 3.10.1 |
node 20 | 3.10.1 |
node 22 | 3.10.1 |
node 24 | 3.10.1 |
此软件包的升级指南
把这些数据交给你的 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" } } }常见问题
prettier 的最新版本是什么?
prettier 的最新稳定版本是 3.10.1,发布于 2026-11-12。Vigia 于 2026-11-12 核实。
如何安装 prettier 的最新版本?
运行 npm install prettier@latest。最新稳定版本是 3.10.1(2026-11-12 核实)。
prettier 是否已弃用?
否。注册表中 prettier 未被标记为已弃用。
prettier 需要哪个版本的 Node.js?
prettier 3.10.1 声明的要求为:{"node":">=14"}。
prettier 3.10.1 是否存在已知漏洞?
根据 Vigia 检查的数据,没有已知安全公告影响 prettier 3.10.1。
prettier 是否仍在维护?
prettier 在过去 12 个月内发布了 24 个稳定版本,最近一次在 0 天前。活跃度:活跃。
观察到的变更
- hu Nov 12 2026 07:20:12 GMT+0000 (Coordinated Universal Time) — released 3.10.0 → 3.10.1
- Wed Nov 11 2026 12:33:12 GM +0000 (Coordinated Universal Time) — released 3.9.10 → 3.10.0
- Sat Oct 10 2026 08:50:24 GM +0000 (Coordinated Universal Time) — released 3.9.9 → 3.9.10
相关软件包
- @eslint/eslintrc
- open
- json-stable-stringify-without-jsonify
- is-arrayish
- @jridgewell/sourcemap-codec
- lodash.merge
- gensync
- cosmiconfig
- once
- word-wrap
- express
- encodeurl
用于 README 的徽章
展示此软件包的最新版本、维护状态以及是否已弃用。复制 Markdown:
[](https://vigia.coredls.cloud/npm/prettier) [](https://vigia.coredls.cloud/npm/prettier) [](https://vigia.coredls.cloud/npm/prettier)
供智能体使用
GET https://vigia.coredls.cloud/v1/packages/npm/prettier
GET https://vigia.coredls.cloud/v1/packages/npm/prettier/versions/{version}