@domql/state
Advanced tools
Comparing version 2.3.151 to 2.3.152
@@ -50,2 +50,4 @@ "use strict"; | ||
const grandChildKey = arr[i + 1]; | ||
if (childKey === "__proto__" || grandChildKey === "__proto__") | ||
return; | ||
let childInParent = parentState[childKey]; | ||
@@ -52,0 +54,0 @@ if (!childInParent) |
@@ -24,2 +24,4 @@ 'use strict' | ||
if (childKey === '__proto__' || grandChildKey === '__proto__') return | ||
let childInParent = parentState[childKey] | ||
@@ -26,0 +28,0 @@ if (!childInParent) childInParent = parentState[childKey] = {} // check for array |
{ | ||
"name": "@domql/state", | ||
"version": "2.3.151", | ||
"version": "2.3.152", | ||
"license": "MIT", | ||
@@ -34,3 +34,3 @@ "type": "module", | ||
}, | ||
"gitHead": "2b240bcbceb25fc4ffda75c25232c66a8e183614" | ||
"gitHead": "9424c9efe8b2b9e4b39bf7dfac3caf1f964ddb9a" | ||
} |
35173
927