Add webix copy function

This commit is contained in:
Kevin Stubbings
2023-06-22 22:16:28 -07:00
parent 7e7e2aaac7
commit 3605269e13
4 changed files with 13 additions and 2 deletions

View File

@@ -97,7 +97,7 @@ private class ExtendCallDeep extends ExtendCall {
callee = LodashUnderscore::member("mergeWith") or
callee = LodashUnderscore::member("defaultsDeep") or
callee = AngularJS::angular().getAPropertyRead("merge") or
callee = DataFlow::moduleImport("webix").getAPropertyRead("extend")
callee = DataFlow::moduleImport("webix").getAPropertyRead(["extend", "copy"])
)
}

View File

@@ -173,7 +173,7 @@ module PrototypePollution {
id = "angular"
or
call.isDeep() and
call = DataFlow::moduleImport("webix").getAMemberCall("extend") and
call = DataFlow::moduleImport("webix").getAMemberCall(["extend", "copy"]) and
id = "webix"
}
}