js-x-ray icon indicating copy to clipboard operation
js-x-ray copied to clipboard

Inject custom probes in AstAnalyser class

Open fraxken opened this issue 5 months ago • 0 comments

The goal of the task is to allow to package users (developers) to inject a new custom probe using the AstAnalyser

const { AstAnalyser, JsSourceParser } = require("@nodesecure/js-x-ray");

new AstAnalyser({
  parser: new JsSourceParser(),
  probes: [
    // Any valid probe object here
  }
});

We probably need to instanciate the ProbeRunner class outside of SourceFile

fraxken avatar Jan 30 '24 18:01 fraxken