fix: update @appwrite.io/console dependency version and optimize bigint.svelte component

This commit is contained in:
ArnabChatterjee20k
2026-05-07 12:33:24 +05:30
parent f2e92d1504
commit 46858fbff3
3 changed files with 8 additions and 4 deletions
+2 -2
View File
@@ -6,7 +6,7 @@
"name": "@appwrite/console",
"dependencies": {
"@ai-sdk/svelte": "^1.1.24",
"@appwrite.io/console": "https://pkg.vc/-/@appwrite/@appwrite.io/console@93d2dfa",
"@appwrite.io/console": "https://pkg.vc/-/@appwrite/@appwrite.io/console@9a791f9",
"@appwrite.io/pink-icons": "0.25.0",
"@appwrite.io/pink-icons-svelte": "https://pkg.vc/-/@appwrite/@appwrite.io/pink-icons-svelte@bfe7ce3",
"@appwrite.io/pink-legacy": "^1.0.3",
@@ -124,7 +124,7 @@
"@analytics/type-utils": ["@analytics/type-utils@0.6.4", "", {}, "sha512-Ou1gQxFakOWLcPnbFVsrPb8g1wLLUZYYJXDPjHkG07+5mustGs5yqACx42UAu4A6NszNN6Z5gGxhyH45zPWRxw=="],
"@appwrite.io/console": ["@appwrite.io/console@https://pkg.vc/-/@appwrite/@appwrite.io/console@93d2dfa", { "dependencies": { "json-bigint": "1.0.0" } }],
"@appwrite.io/console": ["@appwrite.io/console@https://pkg.vc/-/@appwrite/@appwrite.io/console@9a791f9", { "dependencies": { "json-bigint": "1.0.0" } }, "sha512-evTjco/Ks7m435WOluqH81DeHp8dmqvXdSRAA3fsOUrIGJxMnCk8RLoFfX9oToxtbJbtGMrfxZyhOOMz3mvd/Q=="],
"@appwrite.io/pink-icons": ["@appwrite.io/pink-icons@0.25.0", "", {}, "sha512-0O3i2oEuh5mWvjO80i+X6rbzrWLJ1m5wmv2/M3a1p2PyBJsFxN8xQMTEmTn3Wl/D26SsM7SpzbdW6gmfgoVU9Q=="],
+1 -1
View File
@@ -20,7 +20,7 @@
},
"dependencies": {
"@ai-sdk/svelte": "^1.1.24",
"@appwrite.io/console": "https://pkg.vc/-/@appwrite/@appwrite.io/console@93d2dfa",
"@appwrite.io/console": "https://pkg.vc/-/@appwrite/@appwrite.io/console@9a791f9",
"@appwrite.io/pink-icons": "0.25.0",
"@appwrite.io/pink-icons-svelte": "https://pkg.vc/-/@appwrite/@appwrite.io/pink-icons-svelte@bfe7ce3",
"@appwrite.io/pink-legacy": "^1.0.3",
@@ -47,6 +47,7 @@
</script>
<script lang="ts">
import { untrack } from 'svelte';
import { Layout } from '@appwrite.io/pink-svelte';
import { InputNumber } from '$lib/elements/forms';
import { createConservative } from '$lib/helpers/stores';
@@ -93,8 +94,11 @@
listen(data);
});
// untrack: handleDefaultState reads and writes data.default, which would make
// this effect depend on the state it writes and trigger an infinite update loop.
$effect(() => {
handleDefaultState($required || $array);
const hideDefault = $required || $array;
untrack(() => handleDefaultState(hideDefault));
});
</script>