【发布时间】:2019-12-25 01:49:44
【问题描述】:
我有一个模块,它导入了很多依赖项,然后又导入了很多依赖项等。
当我尝试在 Angular 中使用此模块时,它抱怨某些代码包含已弃用的 if 语句:
:Uncaught SyntaxError: Strict mode code may not include a with statement
有没有办法在 VSCode 中搜索所有节点模块,或者使用像 sed 或 find 这样的 linux 命令行实用程序,或者找到所有带有 with 语句的文件。语法如下:
with (object)
statement
【问题讨论】:
标签: node.js bash ubuntu sed visual-studio-code