-
Notifications
You must be signed in to change notification settings - Fork 34
Closed
Description
The idea is to implement a new way of collecting some of the data that JS-X-Ray is extracting and analysing along the way such as (mostly string located in the literal probe):
- URL
- Ips
- Hostname
Note
We could extend that list in future PRs (no need to integrate 10 of thems in the initial draft).
The API itself could look like:
const domainSet = new CollectableSet("url");
const scanner = new AstAnalyser({
collectables: [domainSet]
});
console.log(Array.from(domainSet));Note
Naming is not definitive and open to discussion
This datastructure would provide the following features:
- File and AST location (one entry can have multiple)
- Metadata
Also doing it this way make things easier when dealing with the EntryFileAnalyser API.
Metadata
Metadata
Assignees
Labels
No labels