This commit is contained in:
Asger F 2019-01-08 12:30:07 +00:00
Родитель 6816f33a3d
Коммит 45a5d0ee3a
1 изменённых файлов: 8 добавлений и 4 удалений

Просмотреть файл

@ -21,10 +21,14 @@ module LodashUnderscore {
string name;
DefaultMember() {
this = DataFlow::moduleMember("underscore", name) or
this = DataFlow::moduleMember("lodash", name) or
this = DataFlow::moduleImport("lodash/" + name) or
this = DataFlow::moduleImport("lodash." + name.toLowerCase()) and isLodashMember(name) or
this = DataFlow::moduleMember("underscore", name)
or
this = DataFlow::moduleMember("lodash", name)
or
this = DataFlow::moduleImport("lodash/" + name)
or
this = DataFlow::moduleImport("lodash." + name.toLowerCase()) and isLodashMember(name)
or
this = DataFlow::globalVarRef("_").getAPropertyRead(name)
}