mirror of
https://github.com/github/codeql.git
synced 2026-04-29 18:55:14 +02:00
JS: Add support for react-hot-loader
This commit is contained in:
@@ -742,6 +742,8 @@ private DataFlow::SourceNode higherOrderComponentBuilder() {
|
||||
or
|
||||
result = DataFlow::moduleMember("react-redux", "connect").getACall()
|
||||
or
|
||||
result = DataFlow::moduleMember(["react-hot-loader", "react-hot-loader/root"], "hot").getACall()
|
||||
or
|
||||
result = reactRouterDom().getAPropertyRead("withRouter")
|
||||
or
|
||||
exists(FunctionCompositionCall compose |
|
||||
|
||||
Reference in New Issue
Block a user