mirror of
https://github.com/github/codeql.git
synced 2026-04-25 16:55:19 +02:00
Merge pull request #21349 from asgerf/mobx-wrapper
Support React components wrapped by 'mobx-react'
This commit is contained in:
@@ -832,6 +832,8 @@ private DataFlow::SourceNode higherOrderComponentBuilder() {
|
||||
or
|
||||
result = DataFlow::moduleMember("recompose", _).getACall()
|
||||
or
|
||||
result = DataFlow::moduleMember(["mobx-react", "mobx-react-lite"], "observer")
|
||||
or
|
||||
result = reactRouterDom().getAPropertyRead("withRouter")
|
||||
or
|
||||
exists(FunctionCompositionCall compose |
|
||||
|
||||
Reference in New Issue
Block a user