mirror of
https://github.com/github/codeql.git
synced 2025-12-16 08:43:11 +01:00
1.1 KiB
1.1 KiB
Improvements to JavaScript analysis
General improvements
- On LGTM, files whose name ends in
.min.jsor-min.jsare no longer extracted by default. These files usually contain minified code and any alerts in these files would be hidden by default. If you still want to extract code from these files, you can add the following filters to yourlgtm.ymlfile (or add them to existing filters):
extraction:
javascript:
index:
filters:
- include: "**/*.min.js"
- include: "**/*-min.js"
- The TypeScript compiler is now included in the LGTM Enterprise and QL command-line tools installations, and you no longer need to install it manually.
If you need to override the compiler version, set the
SEMMLE_TYPESCRIPT_HOMEenvironment variable to point to an installation of thetypescriptNPM package.
Changes to code extraction
The extractor now supports:
- Optional Chaining expressions.
- Additional Flow syntax.