mirror of
https://github.com/github/codeql.git
synced 2025-12-16 08:43:11 +01:00
991 B
991 B
Improvements to JavaScript analysis
Changes to code extraction
-
Asynchronous generator methods are now parsed correctly and no longer cause a spurious syntax error.
-
Files in
node_modulesandbower_componentsfolders are no longer extracted by default. If you still want to extract files from these folders, you can add the following filters to yourlgtm.ymlfile (or add them to existing filters):extraction: javascript: index: filters: - include: "**/node_modules" - include: "**/bower_components" -
Additional Flow syntax is now supported.
-
Recognition of CommonJS modules has improved. As a result, some files that were previously extracted as global scripts are now extracted as modules.
-
Top-level
awaitis now supported. -
Bugs were fixed in how the TypeScript extractor handles default-exported anonymous classes and computed-instance field names.