NodeSecure / js-x-ray

JavaScript & Node.js open-source SAST scanner. A static analyser for detecting most common malicious patterns 🔬.
MIT License
229 stars 26 forks source link

[AstAnalyser API] Implement analyseFileSync #265

Closed fraxken closed 4 months ago

fraxken commented 5 months ago

The idea is to implement a synchronous version of analyseFile to simply scenarios where we don't need an Asynchronous I/O. Recent API updates would force to switch some sync API to async (requiring ESM and Top-level-await).

FredGuiou commented 5 months ago

I take it 🚀

FredGuiou commented 4 months ago

https://github.com/NodeSecure/js-x-ray/pull/275

@fraxken , @PierreDemailly 🚀