Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JavaScript 模块名覆盖声明时存在隐患 #29

Closed
SuperMonster003 opened this issue Oct 11, 2022 · 2 comments
Closed

JavaScript 模块名覆盖声明时存在隐患 #29

SuperMonster003 opened this issue Oct 11, 2022 · 2 comments
Labels
Bug 🐞 故障 Confirmed bugs or reports that are very likely to be bugs Settled 🌴 完成 Happy ending for both human beings and issues themselves

Comments

@SuperMonster003
Copy link
Owner

JavaScript 模块名被覆盖声明时,
将导致存在依赖关系的内部模块无法正常使用.

例如 console 模块依赖了 util 模块,
util 覆盖声明时将导致 console 无法使用:

console.log("hello"); // 正常
let util = null;
console.log("hello"); // 报错
@SuperMonster003 SuperMonster003 added Accepted 🌱 受理 Maintainer may be busy resolving or fixing the labeled issues Bug 🐞 故障 Confirmed bugs or reports that are very likely to be bugs labels Oct 11, 2022
@a4youma
Copy link

a4youma commented Oct 14, 2022

快半年没升级了,非常期待能尽快升级到6.2.1版

@SuperMonster003
Copy link
Owner Author

@a4youma
目前下一版本还在内测中, 如有兴趣可加入体验.
hTtpW3j

@SuperMonster003 SuperMonster003 added Settled 🌴 完成 Happy ending for both human beings and issues themselves and removed Accepted 🌱 受理 Maintainer may be busy resolving or fixing the labeled issues labels Apr 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug 🐞 故障 Confirmed bugs or reports that are very likely to be bugs Settled 🌴 完成 Happy ending for both human beings and issues themselves
Projects
None yet
Development

No branches or pull requests

2 participants