@rkmodules/rules 0.0.58 → 0.0.59
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 +7 -0
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +7 -0
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -928,6 +928,7 @@ var filterList = {
|
|
|
928
928
|
},
|
|
929
929
|
outputs: {
|
|
930
930
|
list: "any",
|
|
931
|
+
others: "any",
|
|
931
932
|
},
|
|
932
933
|
impl: function (inputs) { return __awaiter(void 0, void 0, void 0, function () {
|
|
933
934
|
return __generator(this, function (_a) {
|
|
@@ -938,6 +939,12 @@ var filterList = {
|
|
|
938
939
|
true);
|
|
939
940
|
});
|
|
940
941
|
}),
|
|
942
|
+
others: binaryOnTreeBranch(inputs.list || {}, inputs.keep || {}, function (branchA, branchB) {
|
|
943
|
+
return branchA.filter(function (item, index) {
|
|
944
|
+
return (branchB[Math.min(index, branchB.length - 1)] ===
|
|
945
|
+
false);
|
|
946
|
+
});
|
|
947
|
+
}),
|
|
941
948
|
}];
|
|
942
949
|
});
|
|
943
950
|
}); },
|