svelte-common 6.10.14 → 6.10.15

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "svelte-common",
3
- "version": "6.10.14",
3
+ "version": "6.10.15",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "provenance": true
@@ -55,6 +55,7 @@
55
55
  "devDependencies": {
56
56
  "@semantic-release/commit-analyzer": "^12.0.0",
57
57
  "@semantic-release/exec": "^6.0.3",
58
+ "@semantic-release/github": "^10.0.4",
58
59
  "@semantic-release/release-notes-generator": "^13.0.0",
59
60
  "@sveltejs/vite-plugin-svelte": "^3.1.0",
60
61
  "ava": "^6.1.3",
@@ -65,7 +66,7 @@
65
66
  "semantic-release": "^23.1.1",
66
67
  "stylelint": "^16.5.0",
67
68
  "stylelint-config-standard": "^36.0.0",
68
- "svelte": "^5.0.0-next.134",
69
+ "svelte": "^5.0.0-next.136",
69
70
  "testcafe": "^3.6.0",
70
71
  "typescript": "^5.4.5",
71
72
  "vite": "^5.2.11",
package/src/sorting.mjs CHANGED
@@ -17,7 +17,7 @@ const ARIA_SORT = "aria-sort";
17
17
  /**
18
18
  * Deliver next value in the order by cycle.
19
19
  * SORT_NONE -> SORT_ASCENDING -> SORT_DESCENDING -> SORT_NONE ...
20
- * @param {string} orderBy
20
+ * @param {string|null} [orderBy]
21
21
  * @returns {string} new order either SORT_NONE, SORT_ASCENDING or SORT_DESCENDING
22
22
  */
23
23
  export function toggleOrderBy(orderBy) {
@@ -2,10 +2,10 @@
2
2
  /**
3
3
  * Deliver next value in the order by cycle.
4
4
  * SORT_NONE -> SORT_ASCENDING -> SORT_DESCENDING -> SORT_NONE ...
5
- * @param {string} orderBy
5
+ * @param {string|null} [orderBy]
6
6
  * @returns {string} new order either SORT_NONE, SORT_ASCENDING or SORT_DESCENDING
7
7
  */
8
- export function toggleOrderBy(orderBy: string): string;
8
+ export function toggleOrderBy(orderBy?: string | null): string;
9
9
  /**
10
10
  * Add sortable toggle button to a th node.
11
11
  * Synchronizes store value with the nodes "aria-sort" attribute.