@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.esm.js
CHANGED
|
@@ -558,7 +558,10 @@ var getValue = {
|
|
|
558
558
|
paths = toArray(inputs.path || {});
|
|
559
559
|
tree = mapTree(inputs.tree, function (value) {
|
|
560
560
|
// get the property from the object
|
|
561
|
-
|
|
561
|
+
var val = getValue$1(value, paths[0]);
|
|
562
|
+
if (val === undefined)
|
|
563
|
+
return DISCARD;
|
|
564
|
+
return val;
|
|
562
565
|
});
|
|
563
566
|
return [2 /*return*/, { tree: tree }];
|
|
564
567
|
});
|