@rkmodules/rules 0.0.63 → 0.0.64
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +4 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +4 -1
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -560,7 +560,10 @@ var getValue = {
|
|
|
560
560
|
paths = toArray(inputs.path || {});
|
|
561
561
|
tree = mapTree(inputs.tree, function (value) {
|
|
562
562
|
// get the property from the object
|
|
563
|
-
|
|
563
|
+
var val = getValue$1(value, paths[0]);
|
|
564
|
+
if (val === undefined)
|
|
565
|
+
return DISCARD;
|
|
566
|
+
return val;
|
|
564
567
|
});
|
|
565
568
|
return [2 /*return*/, { tree: tree }];
|
|
566
569
|
});
|