@fileverse-dev/fortune-react 1.0.2-mod-88-patch-1 → 1.0.2-mod-88-patch-2

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.umd.js CHANGED
@@ -27077,8 +27077,8 @@
27077
27077
  return sum
27078
27078
  };
27079
27079
 
27080
- const x1 = SUM$1(array1) / array1.length;
27081
- const x2 = SUM$1(array2) / array2.length;
27080
+ const x1 = SUM(array1) / array1.length;
27081
+ const x2 = SUM(array2) / array2.length;
27082
27082
  const sum1 = sumOfSquares(array1, x1) / (array1.length - 1);
27083
27083
  const sum2 = sumOfSquares(array2, x2) / (array2.length - 1);
27084
27084
 
@@ -29410,7 +29410,7 @@
29410
29410
  case 8:
29411
29411
  return STDEV.P(ref1)
29412
29412
  case 9:
29413
- return SUM$1(ref1)
29413
+ return SUM(ref1)
29414
29414
  case 10:
29415
29415
  return VAR.S(ref1)
29416
29416
  case 11:
@@ -30913,7 +30913,7 @@
30913
30913
  case 8:
30914
30914
  return STDEV.P(ref1)
30915
30915
  case 9:
30916
- return SUM$1(ref1)
30916
+ return SUM(ref1)
30917
30917
  case 10:
30918
30918
  return VAR.S(ref1)
30919
30919
  case 11:
@@ -30936,7 +30936,7 @@
30936
30936
  case 108:
30937
30937
  return STDEV.P(ref1)
30938
30938
  case 109:
30939
- return SUM$1(ref1)
30939
+ return SUM(ref1)
30940
30940
  case 110:
30941
30941
  return VAR.S(ref1)
30942
30942
  case 111:
@@ -30951,7 +30951,7 @@
30951
30951
  *
30952
30952
  * @returns
30953
30953
  */
30954
- function SUM$1() {
30954
+ function SUM() {
30955
30955
  let result = 0;
30956
30956
 
30957
30957
  arrayEach(argsToArray(arguments), (value) => {
@@ -30966,7 +30966,7 @@
30966
30966
 
30967
30967
  !isNaN(parsed) && (result += parsed);
30968
30968
  } else if (Array.isArray(value)) {
30969
- const inner_result = SUM$1.apply(null, value);
30969
+ const inner_result = SUM.apply(null, value);
30970
30970
 
30971
30971
  if (inner_result instanceof Error) {
30972
30972
  result = inner_result;
@@ -31031,7 +31031,7 @@
31031
31031
  */
31032
31032
  function SUMIFS() {
31033
31033
  const values = applyCriteria(...arguments);
31034
- return SUM$1(values)
31034
+ return SUM(values)
31035
31035
  }
31036
31036
 
31037
31037
  /**
@@ -35079,7 +35079,7 @@
35079
35079
  targetValues.push(targetFields[value]);
35080
35080
  });
35081
35081
 
35082
- return SUM$1(targetValues)
35082
+ return SUM(targetValues)
35083
35083
  }
35084
35084
 
35085
35085
  /**
@@ -37208,10 +37208,11 @@
37208
37208
  }
37209
37209
  }
37210
37210
 
37211
- function SUMTEST() {
37211
+ async function SUMTEST() {
37212
37212
  let result = 0;
37213
37213
 
37214
37214
  arrayEach(argsToArray(arguments), (value) => {
37215
+ console.log("callllllling teeeessssst");
37215
37216
  if (result instanceof Error) {
37216
37217
  return false
37217
37218
  } else if (value instanceof Error) {
@@ -37223,7 +37224,7 @@
37223
37224
 
37224
37225
  !isNaN(parsed) && (result += parsed);
37225
37226
  } else if (Array.isArray(value)) {
37226
- const inner_result = SUM.apply(null, value);
37227
+ const inner_result = SUMTEST.apply(null, value);
37227
37228
 
37228
37229
  if (inner_result instanceof Error) {
37229
37230
  result = inner_result;
@@ -37233,7 +37234,11 @@
37233
37234
  }
37234
37235
  });
37235
37236
 
37236
- return result
37237
+ return new Promise((resolve) => {
37238
+ setTimeout(() => {
37239
+ resolve(result);
37240
+ }, 3000);
37241
+ })
37237
37242
  }
37238
37243
 
37239
37244
  async function FIREFLY() {
@@ -37658,6 +37663,7 @@
37658
37663
 
37659
37664
 
37660
37665
  async function EOA() {
37666
+ console.log("callllllling EOOOOOOOAAAAAAA");
37661
37667
 
37662
37668
 
37663
37669
 
@@ -38203,7 +38209,7 @@
38203
38209
  STEYX: STEYX,
38204
38210
  SUBSTITUTE: SUBSTITUTE,
38205
38211
  SUBTOTAL: SUBTOTAL,
38206
- SUM: SUM$1,
38212
+ SUM: SUM,
38207
38213
  SUMIF: SUMIF,
38208
38214
  SUMIFS: SUMIFS,
38209
38215
  SUMPRODUCT: SUMPRODUCT,