Merge branch 'main' into explicit-this

This commit is contained in:
Erik Krogh Kristensen
2021-11-24 15:24:58 +01:00
455 changed files with 22630 additions and 4220 deletions

View File

@@ -837,7 +837,7 @@ class NgDataFlowNode extends TNode {
private predicate fileIsImplicitlyAngularJS(HTML::HtmlFile file) {
// The file contains ng-* attributes.
exists(HTML::Attribute attrib |
attrib.getName().regexpMatch("ng-.*") and
attrib.getName().matches("ng-%") and
attrib.getFile() = file
) and
// But does not contain the ng-app root element, implying that file is