npm · npm:path-to-regexp
path-to-regexp 活跃
Express style path to RegExp utility
path-to-regexp 的最新稳定版本是 9.0.0,发布于 2026-10-22。Vigia 于 2026-11-12 核实。
| 最新稳定版本 | 9.0.0 |
|---|---|
| 发布时间 | 2026-10-22 18:22:16 UTC |
| 安装 | npm install path-to-regexp@latest |
| 运行要求(engines) | 未声明 |
| Peer 依赖 | — |
| Dist 标签 | old: 6.3.0 latest: 9.0.0 express: 0.1.13 |
| 许可证 | MIT |
| 最新版本的安全公告 | 暂无已知 |
| 最近核实 | 2026-11-12 13:43:00 UTC |
| 来源 | api.deps.dev, registry.npmjs.org, registry.npmjs.org |
维护情况
| 活跃度 | 放缓 |
|---|---|
| 最近的稳定版本 | 2026-04-01 21:17:05 UTC · 225 天前 |
| 过去 12 个月的稳定版本数 | 4 |
| 已发布版本数 | 73 |
仅根据发布时间估算,不反映对 issue 或安全问题的响应速度。
版本历史
| 版本 | 发布时间 |
|---|---|
8.4.2 | 2026-04-01 21:17:05 UTC |
8.4.1 | 2026-03-30 22:52:06 UTC |
8.4.0 | 2026-03-26 18:38:48 UTC |
0.1.13 | 2026-03-26 15:42:40 UTC |
8.3.0 | 2025-09-02 21:13:13 UTC |
0.1.12 | 2024-12-05 22:08:06 UTC |
8.2.0 | 2024-09-26 03:26:13 UTC |
0.1.11 | 2024-09-12 18:14:53 UTC |
6.3.0 | 2024-09-12 01:09:36 UTC |
3.3.0 | 2024-09-10 22:04:18 UTC |
1.9.0 | 2024-09-10 21:25:48 UTC |
7.2.0 | 2024-09-10 00:57:27 UTC |
8.1.0 | 2024-09-10 00:25:38 UTC |
8.0.0 | 2024-09-01 22:14:55 UTC |
0.1.10 | 2024-09-01 22:07:20 UTC |
0.1.9 | 2024-08-22 01:28:43 UTC |
7.1.0 | 2024-07-13 23:49:41 UTC |
7.0.0 | 2024-06-20 23:10:50 UTC |
6.2.2 | 2024-04-07 04:16:31 UTC |
0.1.8 | 2024-04-07 03:53:53 UTC |
显示 73 个版本中最新的 20 个。 JSON
版本兼容性
声明支持各运行时版本的最新稳定版本(依据每个版本发布的要求)。
| 运行时 | 最新兼容版本 |
|---|---|
node 16 | 8.4.2 |
node 18 | 8.4.2 |
node 20 | 8.4.2 |
node 22 | 8.4.2 |
node 24 | 8.4.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" } } }常见问题
path-to-regexp 的最新版本是什么?
path-to-regexp 的最新稳定版本是 9.0.0,发布于 2026-10-22。Vigia 于 2026-11-12 核实。
如何安装 path-to-regexp 的最新版本?
运行 npm install path-to-regexp@latest。最新稳定版本是 9.0.0(2026-11-12 核实)。
path-to-regexp 是否已弃用?
否。注册表中 path-to-regexp 未被标记为已弃用。
path-to-regexp 需要哪个版本的 Node.js?
path-to-regexp 9.0.0 未声明对 Node.js 版本的要求。
path-to-regexp 9.0.0 是否存在已知漏洞?
根据 Vigia 检查的数据,没有已知安全公告影响 path-to-regexp 9.0.0。
path-to-regexp 是否仍在维护?
path-to-regexp 在过去 12 个月内发布了 4 个稳定版本,最近一次在 225 天前。活跃度:放缓。
观察到的变更
- Fri Oct 23 2026 12:20:54 GM +0000 (Coordinated Universal Time) — released 9.0.0 → 9.0.0
- hu Oct 22 2026 18:32:45 GMT+0000 (Coordinated Universal Time) — released 8.4.2 → 9.0.0
相关软件包
- https-proxy-agent
- path-exists
- punycode
- json5
- pretty-format
- js-tokens
- shebang-command
- cliui
- shebang-regex
- resolve-from
- @babel/types
- yargs
用于 README 的徽章
展示此软件包的最新版本、维护状态以及是否已弃用。复制 Markdown:
[](https://vigia.coredls.cloud/npm/path-to-regexp) [](https://vigia.coredls.cloud/npm/path-to-regexp) [](https://vigia.coredls.cloud/npm/path-to-regexp)
供智能体使用
GET https://vigia.coredls.cloud/v1/packages/npm/path-to-regexp
GET https://vigia.coredls.cloud/v1/packages/npm/path-to-regexp/versions/{version}