diff --git a/javascript/extractor/src/com/semmle/js/extractor/HTMLExtractor.java b/javascript/extractor/src/com/semmle/js/extractor/HTMLExtractor.java index bcc0e4b6af63..9e66e3232eb4 100644 --- a/javascript/extractor/src/com/semmle/js/extractor/HTMLExtractor.java +++ b/javascript/extractor/src/com/semmle/js/extractor/HTMLExtractor.java @@ -186,7 +186,7 @@ private boolean isAngularTemplateAttributeName(String name) { /** Attribute names that look valid in HTML or in one of the template languages we support, like Vue and Angular. */ private static final Pattern VALID_ATTRIBUTE_NAME = - Pattern.compile("[*:@]?\\[?\\(?[\\w:_\\-.]+\\]?\\)?"); + Pattern.compile("[*:@]?\\[?\\(?[\\w:_\\-.]+\\)?\\]?"); /** List of HTML attributes whose value is interpreted as JavaScript. */ private static final Pattern JS_ATTRIBUTE = diff --git a/javascript/extractor/src/com/semmle/js/extractor/Main.java b/javascript/extractor/src/com/semmle/js/extractor/Main.java index 4b2575b47f31..b455a2c9e099 100644 --- a/javascript/extractor/src/com/semmle/js/extractor/Main.java +++ b/javascript/extractor/src/com/semmle/js/extractor/Main.java @@ -41,7 +41,7 @@ public class Main { * A version identifier that should be updated every time the extractor changes in such a way that * it may produce different tuples for the same file under the same {@link ExtractorConfig}. */ - public static final String EXTRACTOR_VERSION = "2024-10-29"; + public static final String EXTRACTOR_VERSION = "2025-01-09"; public static final Pattern NEWLINE = Pattern.compile("\n"); diff --git a/javascript/ql/lib/semmle/javascript/DOM.qll b/javascript/ql/lib/semmle/javascript/DOM.qll index 3dbe734b0fb2..6c6d70fede87 100644 --- a/javascript/ql/lib/semmle/javascript/DOM.qll +++ b/javascript/ql/lib/semmle/javascript/DOM.qll @@ -388,23 +388,33 @@ module DOM { } } - /** - * Gets a reference to a DOM event. - */ - private DataFlow::SourceNode domEventSource() { - // e.g.