Skip to content

Commit 23d77f3

Browse files
author
Max Schaefer
authored
Merge pull request #1130 from felicity-semmle/1.20/javascript-extractor
1.20: Update JavaScript extraction notes and supported versions
2 parents 29c4e27 + 06fcd8a commit 23d77f3

File tree

2 files changed

+7
-21
lines changed

2 files changed

+7
-21
lines changed

change-notes/1.20/extractor-javascript.md

Lines changed: 6 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -2,25 +2,11 @@
22

33
# Improvements to JavaScript analysis
44

5-
> NOTES
6-
>
7-
> Please describe your changes in terms that are suitable for
8-
> customers to read. These notes will have only minor tidying up
9-
> before they are published as part of the release notes.
10-
>
11-
> This file is written for lgtm users and should contain *only*
12-
> notes about changes that affect lgtm enterprise users. Add
13-
> any other customer-facing changes to the `studio-java.md`
14-
> file.
15-
>
16-
17-
## General improvements
18-
195
## Changes to code extraction
206

21-
* Parallel extraction of JavaScript files (but not TypeScript files) on LGTM is now supported. The `LGTM_THREADS` environment variable can be set to indicate how many files should be extracted in parallel. If this variable is not set, parallel extraction is disabled.
22-
* The extractor now offers experimental support for [E4X](https://developer.mozilla.org/en-US/docs/Archive/Web/E4X), a legacy language extension developed by Mozilla.
23-
* The extractor now supports additional [Flow](https://flow.org/) syntax.
24-
* The extractor now supports [Nullish Coalescing](https://github.com/tc39/proposal-nullish-coalescing) expressions.
25-
* The extractor now supports [TypeScript 3.2](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-2.html).
26-
* The TypeScript extractor now handles the control-flow of logical operators and destructuring assignments more accurately.
7+
* Parallel extraction of JavaScript files (but not TypeScript files) on LGTM is now supported. If LGTM is configured to evaluate queries using multiple threads, then JavaScript files are also extracted using multiple threads.
8+
* Experimental support for [E4X](https://developer.mozilla.org/en-US/docs/Archive/Web/E4X), a legacy language extension developed by Mozilla, is available.
9+
* Additional [Flow](https://flow.org/) syntax is now supported.
10+
* [Nullish Coalescing](https://github.com/tc39/proposal-nullish-coalescing) expressions are now supported.
11+
* [TypeScript 3.2](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-2.html) is now supported.
12+
* The TypeScript extractor now handles the control flow of logical operators and destructuring assignments more accurately.

change-notes/1.20/support/versions-compilers.csv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ Java,"Java 6 to 11 [2]_.","javac (OpenJDK and Oracle JDK)
1313
Eclipse compiler for Java (ECJ) batch compiler",``.java``
1414
JavaScript,ECMAScript 2018 or lower,Not applicable,"``.js``, ``.jsx``, ``.mjs``, ``.es``, ``.es6``, ``.htm``, ``.html``, ``.xhm``, ``.xhtml``, ``.vue``, ``.json`` [3]_."
1515
Python,"2.7, 3.5, 3.6, 3.7",Not applicable,``.py``
16-
TypeScript [4]_.,"2.6, 2.7, 2.8, 2.9, 3.0, 3.1",Standard TypeScript compiler,"``.ts``, ``.tsx``"
16+
TypeScript [4]_.,"2.6, 2.7, 2.8, 2.9, 3.0, 3.1, 3.2",Standard TypeScript compiler,"``.ts``, ``.tsx``"

0 commit comments

Comments
 (0)