We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 682807c commit 57a5407Copy full SHA for 57a5407
1 file changed
src/compiler/jsexecute.js
@@ -614,6 +614,7 @@ runtimeFunctions.parseJSONSafe = `const parseJSONSafe = json => {
614
}`;
615
616
runtimeFunctions._resolveKeyPath = `const _resolveKeyPath = (obj, keyPath) => {
617
+ if (!keyPath) return [obj, keyPath];
618
const path = keyPath.matchAll(/(\\.|^)(?<key>[^.[]+)|\\[(?<litkey>(\\\\\\]|\\\\|[^]])+)\\]/g);
619
let top = obj;
620
let pre;
0 commit comments