Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 545451e commit ff1d0ccCopy full SHA for ff1d0cc
1 file changed
javascript/ql/src/semmle/javascript/frameworks/Angular2.qll
@@ -120,7 +120,7 @@ module Angular2 {
120
121
/** Gets a reference to a `DomSanitizer` object. */
122
DataFlow::SourceNode domSanitizer() {
123
- result.hasUnderlyingType("@angular/platform-browser", "DomSanitizer")
+ result.hasUnderlyingType(["@angular/platform-browser", "@angular/core"], "DomSanitizer")
124
}
125
126
/** A value that is about to be promoted to a trusted HTML or CSS value. */
0 commit comments