@fileverse-dev/formulajs 4.4.20-mod-5 → 4.4.20-mod-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/lib/cjs/index.cjs
CHANGED
|
@@ -1507,7 +1507,7 @@ result_array.map((row) => {
|
|
|
1507
1507
|
console.log('Normalized arrays:', { lookup_array, result_array });
|
|
1508
1508
|
|
|
1509
1509
|
let res = performLookup(search_key, lookup_array, result_array, missing_value, match_mode, search_mode, isCol);
|
|
1510
|
-
res = isCol ? Array.isArray(res)?res.map((item) => [item.toString()]):res : res;
|
|
1510
|
+
res = isCol ? Array.isArray(res)?res.map((item) => [item.toString()]):res : [res];
|
|
1511
1511
|
return res
|
|
1512
1512
|
}
|
|
1513
1513
|
|
package/lib/esm/index.mjs
CHANGED
|
@@ -1505,7 +1505,7 @@ result_array.map((row) => {
|
|
|
1505
1505
|
console.log('Normalized arrays:', { lookup_array, result_array });
|
|
1506
1506
|
|
|
1507
1507
|
let res = performLookup(search_key, lookup_array, result_array, missing_value, match_mode, search_mode, isCol);
|
|
1508
|
-
res = isCol ? Array.isArray(res)?res.map((item) => [item.toString()]):res : res;
|
|
1508
|
+
res = isCol ? Array.isArray(res)?res.map((item) => [item.toString()]):res : [res];
|
|
1509
1509
|
return res
|
|
1510
1510
|
}
|
|
1511
1511
|
|