Files
codeql/change-notes/1.19/extractor-javascript.md
2018-11-23 16:36:31 +00:00

1.4 KiB

condition: enterprise-only

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.md file.

General improvements

  • On LGTM, files whose name ends in .min.js or -min.js are no longer extracted by default, since they most likely contain minified code and results in these files would be hidden by default anyway. To extract such files anyway, you can add the following filters to your lgtm.yml file (or add them to existing filters):
extraction:
  javascript:
    index:
      filters:
        - include: "**/*.min.js"
        - include: "**/*-min.js"

Changes to code extraction

  • The TypeScript compiler is now bundled with the distribution, and no longer needs to be installed manually. Should the compiler version need to be overridden, set the SEMMLE_TYPESCRIPT_HOME environment variable to point to an installation of the typescript NPM package.

  • The extractor now supports Optional Chaining expressions.

  • The extractor now supports additional Flow syntax.