mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
1.6 KiB
1.6 KiB
0.8.1
Minor Analysis Improvements
- The contents of
.jspfiles are now extracted, and any<script>tags inside these files will be parsed as JavaScript. - Import attributes are now supported in JavaScript code.
Note that import attributes are an evolution of an earlier proposal called "import assertions", which were implemented in TypeScript 4.5.
The QL library includes new predicates named
getImportAttributes()that should be used in favor of the now deprecatedgetImportAssertion(); in addition, thegetImportAttributes()method of theDynamicImportExprhas been renamed togetImportOptions(). - Deleted the deprecated
getAnImmediateUse,getAUse,getARhs, andgetAValueReachingRhspredicates from theAPI::Nodeclass. - Deleted the deprecated
mayReferToParameterpredicate fromDataFlow::Node. - Deleted the deprecated
getStaticMethodandgetAStaticMethodpredicates fromDataFlow::ClassNode. - Deleted the deprecated
isLibaryFilepredicate fromClassifyFiles.qll, useisLibraryFileinstead. - Deleted many library models that were build on the AST. Use the new models that are build on the dataflow library instead.
- Deleted the deprecated
semmle.javascript.security.performancefolder, usesemmle.javascript.security.regexpinstead. - Tagged template literals have been added to
DataFlow::CallNode. This allows the analysis to find flow into functions called with a tagged template literal, and the arguments to a tagged template literal are part of the API-graph inApiGraphs.qll.