@ixfx/process 0.56.4 → 0.56.6
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/basic.js +1 -2
- package/dist/index.js +1 -7
- package/package.json +1 -1
package/dist/basic.js
CHANGED
package/dist/index.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { average, max, min, rank, sum, tally } from "./basic.js";
|
|
2
|
-
|
|
3
2
|
//#region src/cancel-error.ts
|
|
4
3
|
var CancelError = class extends Error {
|
|
5
4
|
constructor(message) {
|
|
@@ -7,7 +6,6 @@ var CancelError = class extends Error {
|
|
|
7
6
|
this.name = `CancelError`;
|
|
8
7
|
}
|
|
9
8
|
};
|
|
10
|
-
|
|
11
9
|
//#endregion
|
|
12
10
|
//#region src/flow.ts
|
|
13
11
|
/**
|
|
@@ -38,7 +36,6 @@ function flow(...processors) {
|
|
|
38
36
|
return v;
|
|
39
37
|
};
|
|
40
38
|
}
|
|
41
|
-
|
|
42
39
|
//#endregion
|
|
43
40
|
//#region src/if-undefined.ts
|
|
44
41
|
/**
|
|
@@ -103,7 +100,6 @@ function ifUndefined(fn) {
|
|
|
103
100
|
else return value;
|
|
104
101
|
};
|
|
105
102
|
}
|
|
106
|
-
|
|
107
103
|
//#endregion
|
|
108
104
|
//#region src/util.ts
|
|
109
105
|
/**
|
|
@@ -115,7 +111,6 @@ const isEqualDefault = (a, b) => a === b;
|
|
|
115
111
|
* A default converter to string that uses JSON.stringify if its an object, or the thing itself if it's a string
|
|
116
112
|
*/
|
|
117
113
|
const toStringDefault = (itemToMakeStringFor) => typeof itemToMakeStringFor === `string` ? itemToMakeStringFor : JSON.stringify(itemToMakeStringFor);
|
|
118
|
-
|
|
119
114
|
//#endregion
|
|
120
115
|
//#region src/seen.ts
|
|
121
116
|
/**
|
|
@@ -177,6 +172,5 @@ function seenToUndefinedByKey(toString) {
|
|
|
177
172
|
return value;
|
|
178
173
|
};
|
|
179
174
|
}
|
|
180
|
-
|
|
181
175
|
//#endregion
|
|
182
|
-
export { CancelError, average, cancelIfUndefined, flow, ifNotUndefined, ifUndefined, max, min, rank, seenLastToUndefined, seenToUndefined, seenToUndefinedByKey, sum, tally };
|
|
176
|
+
export { CancelError, average, cancelIfUndefined, flow, ifNotUndefined, ifUndefined, max, min, rank, seenLastToUndefined, seenToUndefined, seenToUndefinedByKey, sum, tally };
|