-
Automatic classification of generated and minified files has been improved, in particular files generated by Doxygen are now recognized.
-
Support for
globalThishas been added. -
Support for the following frameworks and libraries has been improved:
-
The call graph has been improved to resolve method calls in more cases. This may produce more security alerts.
-
TypeScript 3.6 and 3.7 features are now supported.
Expr.getDocumentation()now handles chain assignments.- String literals are now parsed as regular expressions.
Consequently, a
RegExpTermmay occur as part of a string literal or as a regular expression literal. Queries that search for regular expressions may need to useRegExpTerm.isPartOfRegExpLiteralorRegExpTerm.isUsedAsRegExpto restrict the search. A regular expression AST can be obtained from a string literal usingStringLiteral.asRegExp.
The following queries (deprecated since 1.17) are no longer available in the distribution:
- Bad parity check (js/incomplete-parity-check)
- Builtin redefined (js/builtin-redefinition)
- Call to parseInt without radix (js/parseint-without-radix)
- Inefficient method definition (js/method-definition-in-constructor)
- Invalid JSLint directive (js/jslint/invalid-directive)
- Malformed JSLint directive (js/jslint/malformed-directive)
- Multi-line string literal (js/multi-line-string)
- Octal literal (js/octal-literal)
- Potentially misspelled property or variable name (js/wrong-capitalization)
- Reserved word used as variable name (js/use-of-reserved-word)
- Trailing comma in array or object expressions (js/trailing-comma-in-array-or-object)
- Unknown JSDoc tag (js/jsdoc/unknown-tag-type)
- Use of HTML comments (js/html-comment)
