mirror of
https://github.com/github/codeql.git
synced 2026-03-25 09:01:47 +01:00
1.3 KiB
1.3 KiB
Improvements to JavaScript analysis
NOTES
Please describe your changes in terms that are suitable for customers to read. These notes will have only minor tidying up before they are published as part of the release notes.
This file is written for lgtm users and should contain only notes about changes that affect lgtm enterprise users. Add any other customer-facing changes to the
studio-java.mdfile.
General improvements
Changes to code extraction
- Extraction of JavaScript files (but not TypeScript files) on LGTM is now parallelized. By default, the extractor uses as many threads as there are processors, but this can be overridden by setting the
LGTM_INDEX_THREADSenvironment variable. In particular, settingLGTM_INDEX_THREADSto 1 disables parallel extraction. - The extractor now supports additional Flow syntax.
- The extractor now supports Nullish Coalescing expressions.
- The extractor now supports TypeScript 3.2.
- The TypeScript extractor now handles the control-flow of logical operators and destructuring assignments more accurately.