v7.1.0
What's Changed
- chore(deps): bump the github-actions group with 2 updates by @dependabot in #255
- chore(deps-dev): bump eslint from 8.57.0 to 9.0.0 in the development-dependencies group by @dependabot in #257
- Create EntryFilesAnalyzer class to analyze a set of entry files by @jean-michelet in #258
- Handle
ImportExpression
nodes by @jean-michelet in #261 - chore(deps): bump the github-actions group with 5 updates by @dependabot in #262
- add shady link regex for check url with ips by @sairuss7 in #260
- docs: add sairuss7 as a contributor for code by @allcontributors in #263
EntryFilesAnalyzer
import { EntryFilesAnalyser } from "@nodesecure/js-x-ray";
const efa = new EntryFilesAnalyser();
const entryFiles = ["./path/to/file"];
for await (const fileResult of efa.analyse(entryFiles)) {
console.log(entryFiles);
}
New Contributors
Full Changelog: v7.0.0...v7.1.0