创建VS Code扩展时遭遇Buffer()弃用警告问题求助
VS Code扩展创建时的Buffer弃用警告问题
我正在尝试创建一个新的VS Code扩展,按照官方指南执行了以下命令完成初始化:
npm install --global yo generator-code yo code
未对扩展做任何修改就运行时,出现了以下警告信息:
Checking whether to register object drop extension Registering object drop provider Registered object drop provider (node:40106) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead. (Use `Code Helper (Plugin) --trace-deprecation ...` to show where the warning was created)
我的环境信息:
- 操作系统:Mac
- Node.js版本:v20.3.0
内容的提问来源于stack exchange,提问作者gkpln3
相关产品推荐
相关产品推荐

