javascript - Vscode 扩展:来自未知来源的 DeprecationWarning
问题描述
在我的 vscode 扩展(https://github.com/razetime/bqn-vscode)上,我收到一个错误,这并不完全源于我的代码:
(node:7292) [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 --trace-deprecation ...` to show where the warning was created)
文件的路径是C:\Users\<username>\AppData\Local\Programs\Microsoft VS Code\resources\app\out\bootstrap-fork.js
,我不明白为什么会导致这个问题。
结果,扩展程序没有运行,它的主要要求 - 反斜杠符号完成不起作用。它的工作原理是输入反冲,然后输入不同的键来获得所需的符号。我想知道如何解决这个问题,这样我才能让它正常工作。截至目前,它与command 'language-bqn.backslash' not found
解决方案
推荐阅读
- node.js - 错误无法从节点 js 服务器获取数据以响应服务器
- postgresql - 如何获取 unique_constraint 违规的列名?
- python - When would you use `flatten()` instead of`reshape(-1)`?
- vue.js - 使用 Vue,如何在元素被删除后从屏幕中删除它们?
- python - 如何用用户输入的值填充空列表?
- java - 以编程方式从 Grid 进程生成第二个 Selenium Grid 节点作为另一个进程时的 ParameterException
- sql - 使用外键从另一个表中查询表列
- python - 如何在不更改数字类型的情况下从 excel 创建列表/数组?
- composer-php - Composer 不允许使用逻辑 OR 运算符(|| 双管道)进行多个版本约束
- vue.js - Vue el-form 动态验证