Skip to content

Inject custom probes in AstAnalyser class #221

@fraxken

Description

@fraxken

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions