Merge pull request #13456 from asgerf/js/vuex-perf

JS: Restrict length of state path in vuex model
This commit is contained in:
Asger F
2023-06-14 19:50:06 +02:00
committed by GitHub

View File

@@ -289,7 +289,8 @@ module Vuex {
or
exists(string base, string prop |
result = stateRefByAccessPath(base).getMember(prop) and
path = appendToNamespace(base, prop)
path = appendToNamespace(base, prop) and
path.length() < 100
)
}