@fileverse-dev/formulajs 4.4.17-fix-sort-fn-2 → 4.4.17-fix-sort-fn-4
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/cjs/index.cjs
CHANGED
|
@@ -1335,7 +1335,11 @@ function SORT(array, sort_index = 1, sort_order = 1, by_col = false) {
|
|
|
1335
1335
|
});
|
|
1336
1336
|
|
|
1337
1337
|
const sorted = decorated.map((d) => d.row);
|
|
1338
|
-
|
|
1338
|
+
const xxxxxx = byCol ? transpose(sorted) : sorted;
|
|
1339
|
+
|
|
1340
|
+
console.log("SORT result:", xxxxxx);
|
|
1341
|
+
|
|
1342
|
+
return xxxxxx;
|
|
1339
1343
|
}
|
|
1340
1344
|
|
|
1341
1345
|
|
package/lib/esm/index.mjs
CHANGED
|
@@ -1333,7 +1333,11 @@ function SORT(array, sort_index = 1, sort_order = 1, by_col = false) {
|
|
|
1333
1333
|
});
|
|
1334
1334
|
|
|
1335
1335
|
const sorted = decorated.map((d) => d.row);
|
|
1336
|
-
|
|
1336
|
+
const xxxxxx = byCol ? transpose(sorted) : sorted;
|
|
1337
|
+
|
|
1338
|
+
console.log("SORT result:", xxxxxx);
|
|
1339
|
+
|
|
1340
|
+
return xxxxxx;
|
|
1337
1341
|
}
|
|
1338
1342
|
|
|
1339
1343
|
|
package/package.json
CHANGED