Track DEP0190 warnings from http-client-python install and prepare scripts
维护者通常 1 天内回复
@msyyc 已经在做这个了。
开始于 2026年8月10日。
评估
这个 Issue 还没有评估数据。
描述
Description
Running npm install in packages/http-client-python emits Node.js DEP0190 deprecation warnings from the package install and prepare setup scripts.
Repro
cd C:\dev\typespec\packages\http-client-python
npm install
Observed output
> @typespec/[email protected] install
> node ./eng/scripts/setup/install-runner.js
(node:27040) [DEP0190] DeprecationWarning: Passing args to a child process with shell option true can lead to security vulnerabilities, as the arguments are not escaped, only concatenated.
(Use `node --trace-deprecation ...` to show where the warning was created)
Found Python on your local environment and created a venv with all requirements.
> @typespec/[email protected] prepare
> node ./eng/scripts/setup/prepare-runner.js
(node:46868) [DEP0190] DeprecationWarning: Passing args to a child process with shell option true can lead to security vulnerabilities, as the arguments are not escaped, only concatenated.
(Use `node --trace-deprecation ...` to show where the warning was created)
Expected behavior
npm install should complete without Node.js deprecation warnings.
Notes
The warning points to child process usage with shell: true where arguments are passed separately. The relevant setup scripts appear to be:
packages/http-client-python/eng/scripts/setup/install-runner.jspackages/http-client-python/eng/scripts/setup/prepare-runner.js
This should be investigated and updated to avoid the deprecated child process pattern.
- 主要语言
- Java
- 星标
- 5.9k
- 派生
- 421
- 平均合并
- 2 天 3 小时
- 30 天内合并 PR
- 176
环境准备
在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
microsoft/typespec 的其他 Issue
-
bug emitter:client:csharp
难度 2/5 1-3 小时 新手友好度 84/100
microsoft/typespec#12572 · 1 条评论 · 1 个 reaction ·
维护者通常 1 天内回复
-
Make website build cross-platform compatible可能已有人在做 @pcbeingused333 今天认领。 未关闭bug meta:website
难度 2/5 1-3 小时 新手友好度 68/100
microsoft/typespec#12550 · 1 条评论 · 1 个 reaction ·
维护者通常 1 天内回复
-
Emitter framework: make the language-specific Alloy peer dependencies optional可能已有人在做 @timotheeguerin 于 8 天前认领。 未关闭emitter-framework feature triaged:core
难度 1/5 1 小时以内 新手友好度 62/100
microsoft/typespec#12476 · 1 条评论 · 2 个 reaction · 已指派 2 人 ·
维护者通常 1 天内回复
-
Upgrade C# generator Roslyn to 5.9.0可能已有人在做 @ArthurMa1978 于 7 天前认领。 未关闭emitter:client:csharp feature
难度 2/5 1-3 小时 新手友好度 72/100
microsoft/typespec#12445 · 2 条评论 · 1 个 reaction · 已指派 1 人 ·
维护者通常 1 天内回复
-
bug emitter:client:python
难度 2/5 1-3 小时 新手友好度 75/100
microsoft/typespec#12360 · 1 条评论 · 1 个 reaction ·
维护者通常 1 天内回复
查看 microsoft/typespec 的全部 Issue
相似的 Issue
-
GCC 15.2: -Wcast-qual warning - cast discards const qualifier from pointer target type (H5trace.c)未关闭
难度 2/5 1-3 小时 新手友好度 73/100
维护者通常 1 天内回复
-
[Bug] RemotingHelper.connect swaps the socket send and receive buffer configuration可能已有人在做 @amalsaidov 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 1 天内回复
-
needs-area-label
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 2 天内回复
-
area/ai area/backend component/zeebe kind/task
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
spAnser/reacharound#38 ·