Skip to content

Modern Docker Management, Designed for Everyone

chore(deps): bump runed to 0.37.0 (#1091)

Kyle Mendelldf8b63196a95
diff --git a/frontend/package.json b/frontend/package.json
index 65fe77f76..3986f4bc8 100644
--- a/frontend/package.json
+++ b/frontend/package.json
@@ -1,82 +1,82 @@
{
- "name": "arcane-frontend",
- "private": true,
- "version": "1.10.1",
- "type": "module",
- "packageManager": "[email protected]",
- "engines": {
- "node": ">=25"
- },
- "scripts": {
- "dev": "vite dev --port 3000 --host",
- "build": "vite build",
- "preview": "vite preview --port 3000",
- "prepare": "svelte-kit sync || echo ''",
- "check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
- "format": "prettier --write ./src",
- "check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
- "knip": "knip",
- "i18n:unused": "i18n-unused display-unused",
- "i18n:remove": "i18n-unused remove-unused",
- "i18n:mark": "i18n-unused mark-unused"
- },
- "dependencies": {
- "@codemirror/lang-yaml": "^6.1.2",
- "@codemirror/language": "^6.11.3",
- "@codemirror/legacy-modes": "^6.5.2",
- "@codemirror/lint": "^6.9.1",
- "@codemirror/state": "^6.5.2",
- "@codemirror/view": "^6.38.8",
- "@lezer/highlight": "^1.2.3",
- "@sveltejs/adapter-static": "^3.0.10",
- "@tanstack/table-core": "^8.21.3",
- "@uiw/codemirror-themes": "^4.25.2",
- "@xterm/addon-fit": "^0.10.0",
- "@xterm/xterm": "^5.5.0",
- "ansi-to-html": "^0.7.2",
- "axios": "^1.13.1",
- "codemirror": "^6.0.2",
- "date-fns": "^4.1.0",
- "js-yaml": "^4.1.1",
- "prettier": "^3.7.4",
- "prettier-plugin-svelte": "^3.4.0",
- "prettier-plugin-tailwindcss": "^0.7.2",
- "svelte-codemirror-editor": "^2.1.0"
- },
- "devDependencies": {
- "@inlang/paraglide-js": "2.6.0",
- "@internationalized/date": "^3.10.0",
- "@lucide/svelte": "^0.556.0",
- "@sveltejs/kit": "^2.49.1",
- "@sveltejs/vite-plugin-svelte": "^6.2.1",
- "@tailwindcss/vite": "^4.1.16",
- "@types/bytes": "^3.1.5",
- "@types/js-yaml": "^4.0.9",
- "@types/node": "^24.10.1",
- "bits-ui": "^2.14.4",
- "bytes": "^3.1.2",
- "clsx": "^2.1.1",
- "formsnap": "^2.0.1",
- "i18n-unused": "^0.19.0",
- "isomorphic-dompurify": "^2.33.0",
- "knip": "^5.71.0",
- "mode-watcher": "^1.1.0",
- "paneforge": "^1.0.2",
- "runed": "0.34.0",
- "svelte": "^5.45.6",
- "svelte-check": "^4.3.4",
- "svelte-sonner": "^1.0.7",
- "svelte-toolbelt": "^0.10.6",
- "sveltekit-superforms": "^2.28.0",
- "tailwind-merge": "^3.4.0",
- "tailwind-variants": "^3.2.2",
- "tailwindcss": "^4.1.16",
- "tsx": "^4.21.0",
- "tw-animate-css": "^1.4.0",
- "typescript": "^5.9.3",
- "vaul-svelte": "1.0.0-next.7",
- "vite": "^7.2.6",
- "vite-plugin-devtools-json": "^1.0.0",
- "zod": "^4.1.13"
- }
+ "name": "arcane-frontend",
+ "private": true,
+ "version": "1.10.1",
+ "type": "module",
+ "packageManager": "[email protected]",
+ "engines": {
+ "node": ">=25"
+ },
+ "scripts": {
+ "dev": "vite dev --port 3000 --host",
+ "build": "vite build",
+ "preview": "vite preview --port 3000",
+ "prepare": "svelte-kit sync || echo ''",
+ "check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
+ "format": "prettier --write ./src",
+ "check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
+ "knip": "knip",
+ "i18n:unused": "i18n-unused display-unused",
+ "i18n:remove": "i18n-unused remove-unused",
+ "i18n:mark": "i18n-unused mark-unused"
+ },
+ "dependencies": {
+ "@codemirror/lang-yaml": "^6.1.2",
+ "@codemirror/language": "^6.11.3",
+ "@codemirror/legacy-modes": "^6.5.2",
+ "@codemirror/lint": "^6.9.1",
+ "@codemirror/state": "^6.5.2",
+ "@codemirror/view": "^6.38.8",
+ "@lezer/highlight": "^1.2.3",
+ "@sveltejs/adapter-static": "^3.0.10",
+ "@tanstack/table-core": "^8.21.3",
+ "@uiw/codemirror-themes": "^4.25.2",
+ "@xterm/addon-fit": "^0.10.0",
+ "@xterm/xterm": "^5.5.0",
+ "ansi-to-html": "^0.7.2",
+ "axios": "^1.13.1",
+ "codemirror": "^6.0.2",
+ "date-fns": "^4.1.0",
+ "js-yaml": "^4.1.1",
+ "prettier": "^3.7.4",
+ "prettier-plugin-svelte": "^3.4.0",
+ "prettier-plugin-tailwindcss": "^0.7.2",
+ "svelte-codemirror-editor": "^2.1.0"
+ },
+ "devDependencies": {
+ "@inlang/paraglide-js": "2.6.0",
+ "@internationalized/date": "^3.10.0",
+ "@lucide/svelte": "^0.556.0",
+ "@sveltejs/kit": "^2.49.1",
+ "@sveltejs/vite-plugin-svelte": "^6.2.1",
+ "@tailwindcss/vite": "^4.1.16",
+ "@types/bytes": "^3.1.5",
+ "@types/js-yaml": "^4.0.9",
+ "@types/node": "^24.10.1",
+ "bits-ui": "^2.14.4",
+ "bytes": "^3.1.2",
+ "clsx": "^2.1.1",
+ "formsnap": "^2.0.1",
+ "i18n-unused": "^0.19.0",
+ "isomorphic-dompurify": "^2.33.0",
+ "knip": "^5.71.0",
+ "mode-watcher": "^1.1.0",
+ "paneforge": "^1.0.2",
+ "runed": "^0.37.0",
+ "svelte": "^5.45.6",
+ "svelte-check": "^4.3.4",
+ "svelte-sonner": "^1.0.7",
+ "svelte-toolbelt": "^0.10.6",
+ "sveltekit-superforms": "^2.28.0",
+ "tailwind-merge": "^3.4.0",
+ "tailwind-variants": "^3.2.2",
+ "tailwindcss": "^4.1.16",
+ "tsx": "^4.21.0",
+ "tw-animate-css": "^1.4.0",
+ "typescript": "^5.9.3",
+ "vaul-svelte": "1.0.0-next.7",
+ "vite": "^7.2.6",
+ "vite-plugin-devtools-json": "^1.0.0",
+ "zod": "^4.1.13"
+ }
}
diff --git a/frontend/src/lib/components/arcane-table/arcane-table.svelte b/frontend/src/lib/components/arcane-table/arcane-table.svelte
index aff187b17..357f3f1a3 100644
--- a/frontend/src/lib/components/arcane-table/arcane-table.svelte
+++ b/frontend/src/lib/components/arcane-table/arcane-table.svelte
@@ -29,6 +29,7 @@
import * as Select from '$lib/components/ui/select/index.js';
import type { SvelteHTMLElements } from 'svelte/elements';
import { cn } from '$lib/utils.js';
+ import { untrack } from 'svelte';
type DivAttributes = SvelteHTMLElements['div'];
type PlainHeaderProps = { title: string } & DivAttributes;
@@ -103,18 +104,6 @@
const getDefaultLimit = () => requestOptions?.pagination?.limit ?? items?.pagination?.itemsPerPage ?? 20;
let prefs = $state<PersistedState<CompactTablePrefs> | null>(null);
- $effect(() => {
- if (persistKey) {
- prefs = new PersistedState<CompactTablePrefs>(
- persistKey,
- { v: [], f: [], g: '', l: getDefaultLimit() },
- { syncTabs: false }
- );
- } else {
- prefs = null;
- }
- });
-
const passAllGlobal: (row: unknown, columnId: string, filterValue: unknown) => boolean = () => true;
const currentPage = $derived(items.pagination.currentPage ?? requestOptions?.pagination?.page ?? 1);
@@ -126,6 +115,16 @@
import { onMount } from 'svelte';
onMount(() => {
+ // Initialize prefs first
+ if (persistKey && !prefs) {
+ prefs = new PersistedState<CompactTablePrefs>(
+ persistKey,
+ { v: [], f: [], g: '', l: getDefaultLimit() },
+ { syncTabs: false }
+ );
+ }
+
+ // Then restore preferences
if (!enablePersist) return;
const snapshot = extractPersistedPreferences(prefs?.current, getDefaultLimit());
@@ -450,19 +449,54 @@
$effect(() => {
const s = requestOptions?.sort;
+ const currentSort = untrack(() => sorting[0]);
+
if (!s) {
- if (sorting.length) sorting = [];
+ if (currentSort) {
+ untrack(() => {
+ sorting = [];
+ });
+ }
return;
}
+
const desc = s.direction === 'desc';
- if (!sorting[0] || sorting[0].id !== s.column || sorting[0].desc !== desc) {
- sorting = [{ id: s.column, desc }];
+ if (!currentSort || currentSort.id !== s.column || currentSort.desc !== desc) {
+ untrack(() => {
+ sorting = [{ id: s.column, desc }];
+ });
}
});
+ // Track last persisted settings to prevent infinite loops
+ let lastPersistedSettings: string | null = null;
+ let persistTimeout: ReturnType<typeof setTimeout> | null = null;
+
$effect(() => {
if (!enablePersist || !prefs) return;
- prefs.current = { ...prefs.current, c: customSettings };
+
+ // Read current settings without creating dependency on the stringified value
+ const currentSettings = customSettings;
+ const settingsJson = JSON.stringify(currentSettings);
+
+ // Skip if unchanged
+ if (settingsJson === lastPersistedSettings) return;
+
+ // Debounce persistence to prevent rapid updates
+ if (persistTimeout) clearTimeout(persistTimeout);
+
+ persistTimeout = setTimeout(() => {
+ untrack(() => {
+ if (prefs && settingsJson !== lastPersistedSettings) {
+ lastPersistedSettings = settingsJson;
+ prefs.current = { ...prefs.current, c: currentSettings };
+ }
+ });
+ }, 100);
+
+ return () => {
+ if (persistTimeout) clearTimeout(persistTimeout);
+ };
});
</script>
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 08d93bfe8..0898cb200 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -170,8 +170,8 @@ importers:
specifier: ^1.0.2
version: 1.0.2([email protected])
runed:
- specifier: 0.34.0
+ specifier: ^0.37.0
svelte:
specifier: ^5.45.6
version: 5.45.6
@@ -673,7 +673,6 @@ packages:
resolution: {integrity: sha512-mf8CyoW+dFvsvROvHIXznrYWdmlxvBJGIeQpGJaD9iBn23kSSPiC7H0YIqgziMZJDFIzL4VEFCwpcUSHmoeNVw==}
- deprecated: 'Use https://www.npmjs.com/package/zod-v3-to-json-schema instead. See issue comment for details: https://github.com/StefanTerdell/zod-to-json-schema/issues/178#issuecomment-3533122539'
peerDependencies:
zod: ^3.25 || ^4.0.14
@@ -2441,7 +2440,6 @@ packages:
resolution: {integrity: sha512-e9RLSssZwd35p7/vOa+hoDFggUZIUbZhIUSLZuETCwrCVvxOs87NamoUzT+vbcNAL8Ld9GobBnWOA6SbV/arOw==}
engines: {node: '>=20.9.0'}
- deprecated: This version has a security vulnerability. Please upgrade to a patched version. See https://nextjs.org/blog/CVE-2025-66478 for more details.
hasBin: true
peerDependencies:
'@opentelemetry/api': ^1.1.0
@@ -2702,8 +2700,8 @@ packages:
peerDependencies:
svelte: ^5.7.0
- resolution: {integrity: sha512-hdDCoxWCuOCa7HnuU2ihu2tXuAOacNXtvTDDZ02km+rguHZBtglzAoo3dVYtssZjFsooY9xawvYX9HmDJqaPTA==}
+ resolution: {integrity: sha512-2F4Q/FZzbeJTFdIS/PuOoPRSm92sA2LhzTnv6FXhCoENb3huf5+fDuNOg1LNvGOouy3u/225qxmuJvcV3IZK5Q==}
peerDependencies:
'@sveltejs/kit': ^2.21.0
svelte: ^5.7.0
@@ -2711,14 +2709,17 @@ packages:
'@sveltejs/kit':
optional: true
- resolution: {integrity: sha512-2F4Q/FZzbeJTFdIS/PuOoPRSm92sA2LhzTnv6FXhCoENb3huf5+fDuNOg1LNvGOouy3u/225qxmuJvcV3IZK5Q==}
+ resolution: {integrity: sha512-zphHjvLZEpcJiV3jezT96SnNwePaUIEd1HEMuPGZ6DwOMao9S2ZAUCYJPKquRM5J22AwAOpGj0KmxOkQdkBfwQ==}
peerDependencies:
'@sveltejs/kit': ^2.21.0
svelte: ^5.7.0
+ zod: ^4.1.0
peerDependenciesMeta:
'@sveltejs/kit':
optional: true
+ zod:
+ optional: true
resolution: {integrity: sha512-xal3CZX1Xlo/k4ApwCFrHVACi9fBqJ7V+mwhBsuf/1IOKbBy098Fex+Wa/5QMubw09pSZ/u8EY8PWgevJsXp1A==}
@@ -5458,7 +5459,7 @@ snapshots:
esm-env: 1.2.2
svelte: 5.45.6
dependencies:
dequal: 2.0.3
esm-env: 1.2.2
@@ -5467,7 +5468,7 @@ snapshots:
optionalDependencies:
dependencies:
dequal: 2.0.3
esm-env: 1.2.2
@@ -5475,6 +5476,7 @@ snapshots:
svelte: 5.45.6
optionalDependencies:
+ zod: 4.1.13
dependencies: