@baleada/logic 0.20.30 → 0.20.31
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/lib/index.cjs +1 -1
- package/lib/index.js +1 -1
- package/package.json +1 -1
package/lib/index.cjs
CHANGED
|
@@ -2926,7 +2926,7 @@ class Pickable {
|
|
|
2926
2926
|
if (replace === "all") {
|
|
2927
2927
|
return toUnique(possiblePicks);
|
|
2928
2928
|
}
|
|
2929
|
-
const possibleWithoutDuplicates = createFilter((possiblePick) =>
|
|
2929
|
+
const possibleWithoutDuplicates = createFilter((possiblePick) => typeof lazyCollections.find((pick) => pick === possiblePick)(this.picks || []) !== "number")(possiblePicks);
|
|
2930
2930
|
switch (replace) {
|
|
2931
2931
|
case "none":
|
|
2932
2932
|
return createConcat(this.picks || [], possibleWithoutDuplicates)([]);
|
package/lib/index.js
CHANGED
|
@@ -2915,7 +2915,7 @@ class Pickable {
|
|
|
2915
2915
|
if (replace === "all") {
|
|
2916
2916
|
return toUnique(possiblePicks);
|
|
2917
2917
|
}
|
|
2918
|
-
const possibleWithoutDuplicates = createFilter((possiblePick) =>
|
|
2918
|
+
const possibleWithoutDuplicates = createFilter((possiblePick) => typeof find((pick) => pick === possiblePick)(this.picks || []) !== "number")(possiblePicks);
|
|
2919
2919
|
switch (replace) {
|
|
2920
2920
|
case "none":
|
|
2921
2921
|
return createConcat(this.picks || [], possibleWithoutDuplicates)([]);
|