@tanstack/svelte-table 8.5.18 → 8.5.20

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.
@@ -21,10 +21,6 @@ import { readable, get, writable, derived } from 'svelte/store';
21
21
  *
22
22
  * @license MIT
23
23
  */
24
- // Is this type a tuple?
25
-
26
- // If this type is a tuple, what indices are allowed?
27
-
28
24
  ///
29
25
 
30
26
  function functionalUpdate(updater, input) {
@@ -3107,7 +3103,7 @@ function getSortedRowModel() {
3107
3103
  const sortData = rows => {
3108
3104
  // This will also perform a stable sorting using the row index
3109
3105
  // if needed.
3110
- const sortedData = rows.slice();
3106
+ const sortedData = [...rows];
3111
3107
  sortedData.sort((rowA, rowB) => {
3112
3108
  for (let i = 0; i < availableSorting.length; i += 1) {
3113
3109
  const sortEntry = availableSorting[i];