#module-resolution

[ follow ]
fromMathspp
2 weeks ago

TIL 143 - Resolve a lazy import manually

Using lazy import, one can inspect the attributes and methods of a lazy import by calling dir on the globals dictionary. This reveals a list of dunder methods and the resolve method.
Python
Node JS
fromZero Day Initiative
1 month ago

Zero Day Initiative - Node.js Trust Falls: Dangerous Module Resolution on Windows

Node.js module resolution can lead to security vulnerabilities if malicious packages are placed in the root node_modules directory.
[ Load more ]