返回 Bug 清单
BUG-0150project-09低需关注npm-deprecation

pnpm url.parse() 弃用警告

发现:2026-09-30验证:2026-10-27置信度:85%

症状

([cursor_202606072236.md:765](file://d:/chemindra/cursor_202606072236.md#L765)): ``` (node:31812) [DEP0169] DeprecationWarning: `url.parse()` behavior is not standardized and prone to errors that have security implications. Use the WHATWG URL API instead. ```

根因

pnpm 或其依赖包(pnpm 内部使用的 npmmirror/阿里云镜像)在 Node.js 22+ 中使用了已弃用的 `url.parse()` API。该警告来自 pnpm 的下载/安装流程,不影响运行结果但污染控制台输出。

错误签名

(node:31812) [DEP0169] DeprecationWarning: `url.parse()` behavior is not standardized and prone to errors that have security implications. Use the WHATWG URL API instead.

技术信息

来源项目

project-09

涉及文件

不涉及源码, pnpm 下游依赖

标签

npm-deprecation, project-09