svelte-common 6.10.19 → 6.10.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "svelte-common",
3
- "version": "6.10.19",
3
+ "version": "6.10.20",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "provenance": true
@@ -59,17 +59,17 @@
59
59
  "@semantic-release/release-notes-generator": "^14.0.0",
60
60
  "@sveltejs/vite-plugin-svelte": "^3.1.1",
61
61
  "ava": "^6.1.3",
62
- "c8": "^9.1.0",
62
+ "c8": "^10.1.2",
63
63
  "documentation": "^14.0.3",
64
64
  "mf-styling": "^3.1.6",
65
65
  "npm-pkgbuild": "^15.3.21",
66
66
  "semantic-release": "^24.0.0",
67
67
  "stylelint": "^16.6.1",
68
68
  "stylelint-config-standard": "^36.0.0",
69
- "svelte": "^5.0.0-next.151",
70
- "testcafe": "^3.6.0",
71
- "typescript": "^5.4.5",
72
- "vite": "^5.2.12",
69
+ "svelte": "^5.0.0-next.160",
70
+ "testcafe": "^3.6.1",
71
+ "typescript": "^5.5.2",
72
+ "vite": "^5.3.1",
73
73
  "vite-plugin-compression2": "^1.1.1"
74
74
  },
75
75
  "peerDependencies": {
package/src/filter.mjs CHANGED
@@ -35,6 +35,9 @@ function allOp(value, against, op) {
35
35
  if (value instanceof Map) {
36
36
  return collectionOp(value.keys(), against, op);
37
37
  }
38
+ if (value instanceof RegExp) {
39
+ return value.test(against);
40
+ }
38
41
  if (value[Symbol.iterator]) {
39
42
  return collectionOp(value, against, op);
40
43
  }
@@ -1,4 +1,3 @@
1
- /// <reference types="svelte" />
2
1
  /**
3
2
  * Deliver next value in the order by cycle.
4
3
  * SORT_NONE -> SORT_ASCENDING -> SORT_DESCENDING -> SORT_NONE ...
package/types/util.d.mts CHANGED
@@ -1,4 +1,3 @@
1
- /// <reference types="svelte" />
2
1
  export function formatBytes(bytes: any, decimals?: number): string;
3
2
  export function formatDurationISO(seconds: any): string;
4
3
  export function formatDuration(seconds: any): string;