Skip to content

Commit 23675de

Browse files
Laurent RENARDLaurent RENARD
authored andcommitted
bump dependencies
1 parent d90fa42 commit 23675de

File tree

8 files changed

+107
-85
lines changed

8 files changed

+107
-85
lines changed

dist/bundle/index.mjs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ const sortByProperty = (prop, comparator) => {
2424
return (a, b) => comparator(propGetter(a), propGetter(b));
2525
};
2626
const defaultSortFactory = (conf) => {
27-
const { pointer: pointer$$1, direction = "asc" /* ASC */, comparator = defaultComparator } = conf;
28-
if (!pointer$$1 || direction === "none" /* NONE */) {
27+
const { pointer, direction = "asc" /* ASC */, comparator = defaultComparator } = conf;
28+
if (!pointer || direction === "none" /* NONE */) {
2929
return (array) => [...array];
3030
}
31-
const orderFunc = sortByProperty(pointer$$1, comparator);
31+
const orderFunc = sortByProperty(pointer, comparator);
3232
const compareFunc = direction === "desc" /* DESC */ ? swap(orderFunc) : orderFunc;
3333
return (array) => [...array].sort(compareFunc);
3434
};

dist/bundle/smart-table-sort.es.js

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/bundle/smart-table-sort.es.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/bundle/smart-table-sort.js

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)