npm · npm:p-cancelable
p-cancelable 活跃
Create a promise that can be canceled
p-cancelable 的最新稳定版本是 5.0.0,发布于 2026-11-02。Vigia 于 2026-11-12 核实。
| 最新稳定版本 | 5.0.0 |
|---|---|
| 发布时间 | 2026-11-02 20:03:44 UTC |
| 安装 | npm install p-cancelable@latest |
| 运行要求(engines) | {"node":">=22"} |
| Peer 依赖 | — |
| Dist 标签 | latest: 5.0.0 |
| 许可证 | MIT |
| 最新版本的安全公告 | 暂无已知 |
| 最近核实 | 2026-11-12 20:29:17 UTC |
| 来源 | api.deps.dev, registry.npmjs.org, registry.npmjs.org |
维护情况
| 活跃度 | 活跃 |
|---|---|
| 最近的稳定版本 | 2026-11-02 20:03:44 UTC · 10 天前 |
| 过去 12 个月的稳定版本数 | 1 |
| 已发布版本数 | 16 |
仅根据发布时间估算,不反映对 issue 或安全问题的响应速度。
版本历史
| 版本 | 发布时间 |
|---|---|
5.0.0 | 2026-11-02 20:03:44 UTC |
4.0.1 | 2022-07-19 14:03:33 UTC |
4.0.0 | 2022-04-24 15:04:24 UTC |
3.0.0 | 2021-05-31 13:28:23 UTC |
2.1.1 | 2021-05-02 10:21:12 UTC |
2.1.0 | 2021-03-10 06:57:15 UTC |
2.0.0 | 2019-03-31 20:02:00 UTC |
1.1.0 | 2019-03-08 08:43:07 UTC |
1.0.0 | 2018-10-22 07:29:51 UTC |
0.5.1 | 2018-09-10 16:32:13 UTC |
0.5.0 | 2018-07-04 06:21:35 UTC |
0.4.1 | 2018-04-01 11:22:59 UTC |
0.4.0 | 2018-03-06 15:01:51 UTC |
0.3.0 | 2017-06-30 15:48:55 UTC |
0.2.0 | 2017-05-05 05:39:17 UTC |
0.1.0 | 2016-11-28 10:56:08 UTC |
显示 16 个版本中最新的 16 个。 JSON
版本兼容性
声明支持各运行时版本的最新稳定版本(依据每个版本发布的要求)。
| 运行时 | 最新兼容版本 |
|---|---|
node 16 | 4.0.1 |
node 18 | 4.0.1 |
node 20 | 4.0.1 |
node 22 | 5.0.0 |
node 24 | 5.0.0 |
此软件包的升级指南
把这些数据交给你的 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" } } }常见问题
p-cancelable 的最新版本是什么?
p-cancelable 的最新稳定版本是 5.0.0,发布于 2026-11-02。Vigia 于 2026-11-12 核实。
如何安装 p-cancelable 的最新版本?
运行 npm install p-cancelable@latest。最新稳定版本是 5.0.0(2026-11-12 核实)。
p-cancelable 是否已弃用?
否。注册表中 p-cancelable 未被标记为已弃用。
p-cancelable 需要哪个版本的 Node.js?
p-cancelable 5.0.0 声明的要求为:{"node":">=22"}。
p-cancelable 5.0.0 是否存在已知漏洞?
根据 Vigia 检查的数据,没有已知安全公告影响 p-cancelable 5.0.0。
p-cancelable 是否仍在维护?
p-cancelable 在过去 12 个月内发布了 1 个稳定版本,最近一次在 10 天前。活跃度:活跃。
观察到的变更
- Mon Nov 02 2026 20:14:05 GM +0000 (Coordinated Universal Time) — runtime_requirement_changed
- Mon Nov 02 2026 20:14:05 GM +0000 (Coordinated Universal Time) — released 4.0.1 → 5.0.0
相关软件包
- ast-types-flow
- ejs
- @testing-library/user-event
- @types/retry
- micromark-util-combine-extensions
- react-resizable-panels
- micromark-util-encode
- mrmime
- trough
- astral-regex
- micromark-util-html-tag-name
- language-tags
用于 README 的徽章
展示此软件包的最新版本、维护状态以及是否已弃用。复制 Markdown:
[](https://vigia.coredls.cloud/npm/p-cancelable) [](https://vigia.coredls.cloud/npm/p-cancelable) [](https://vigia.coredls.cloud/npm/p-cancelable)
供智能体使用
GET https://vigia.coredls.cloud/v1/packages/npm/p-cancelable
GET https://vigia.coredls.cloud/v1/packages/npm/p-cancelable/versions/{version}