Skip to content

Commit dcff98f

Browse files
committed
Fix issue where nanRank did not correctly default to '1'
1 parent 4b73715 commit dcff98f

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

dist/index.cjs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ function sortArray (arr, options = {}) {
3131
computed: {},
3232
customOrders: {},
3333
nullRank: 1,
34-
undefinedRank: 1
34+
undefinedRank: 1,
35+
nanRank: 1
3536
},
3637
options
3738
);

dist/index.mjs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,8 @@ function sortArray (arr, options = {}) {
382382
computed: {},
383383
customOrders: {},
384384
nullRank: 1,
385-
undefinedRank: 1
385+
undefinedRank: 1,
386+
nanRank: 1
386387
},
387388
options
388389
);

index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ function sortArray (arr, options = {}) {
2929
computed: {},
3030
customOrders: {},
3131
nullRank: 1,
32-
undefinedRank: 1
32+
undefinedRank: 1,
33+
nanRank: 1
3334
},
3435
options
3536
)

0 commit comments

Comments
 (0)