Skip to content

Commit

Permalink
chore: update svelte
Browse files Browse the repository at this point in the history
  • Loading branch information
sverben committed May 3, 2024
1 parent 449e777 commit ce2401a
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 17 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"@types/wicg-file-system-access": "^2023.10.5",
"prettier": "^3.2.5",
"prettier-plugin-svelte": "^3.2.3",
"svelte": "^5.0.0-next.115",
"svelte": "5.0.0-next.121",
"svelte-check": "^3.6.7",
"tslib": "^2.6.2",
"typescript": "^5.2.2",
Expand Down
2 changes: 0 additions & 2 deletions src/lib/components/ui/ContextMenu.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
getContext,
onDestroy,
onMount,
tick,
type Bindable,
type Snippet,
} from "svelte";
import { computePosition, type Placement } from "@floating-ui/dom";
Expand Down
5 changes: 2 additions & 3 deletions src/lib/components/ui/Select.svelte
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
<script lang="ts">
import { computePosition } from "@floating-ui/dom";
import { faCaretDown } from "@fortawesome/free-solid-svg-icons";
import { tick, type Bindable } from "svelte";
import { tick } from "svelte";
import Fa from "svelte-fa";
import { number } from "svelte-i18n";
interface Props {
options: [string, any][];
value: Bindable<any>;
value: any;
}
let { options, value = $bindable() }: Props = $props();
Expand Down
4 changes: 2 additions & 2 deletions src/lib/components/ui/TextInput.svelte
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<script lang="ts">
import { onMount, type Bindable } from "svelte";
import { onMount } from "svelte";
interface Props {
placeholder?: string;
value: Bindable<string>;
value: string;
mode: "primary" | "secondary";
rounded: boolean;
focus?: boolean;
Expand Down
18 changes: 9 additions & 9 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1373,10 +1373,10 @@ esniff@^2.0.1:
event-emitter "^0.3.5"
type "^2.7.2"

esrap@^1.2.1:
version "1.2.1"
resolved "https://registry.npmjs.org/esrap/-/esrap-1.2.1.tgz"
integrity sha512-dhkcOLfN/aDdMFI1iwPEcy/XqAZzGNfgfEJjZozy2tia6u0dQoZyXzkRshHTckuNsM+c0CYQndY+uRFe3N+AIQ==
esrap@^1.2.2:
version "1.2.2"
resolved "https://registry.yarnpkg.com/esrap/-/esrap-1.2.2.tgz#b9e3afee3f12238563a763b7fa86220de2c53203"
integrity sha512-F2pSJklxx1BlQIQgooczXCPHmcWpn6EsP5oo73LQfonG9fIlIENQ8vMmfGXeojP9MrkzUNAfyU5vdFlR9shHAw==
dependencies:
"@jridgewell/sourcemap-codec" "^1.4.15"
"@types/estree" "^1.0.1"
Expand Down Expand Up @@ -2231,10 +2231,10 @@ svelte-preprocess@^5.1.3:
sorcery "^0.11.0"
strip-indent "^3.0.0"

svelte@^5.0.0-next.115:
version "5.0.0-next.115"
resolved "https://registry.npmjs.org/svelte/-/svelte-5.0.0-next.115.tgz"
integrity sha512-FP79ZBvX7LTPrvEyYxaPBvPfnC76KCTWOC89qjIHt+Y+a/OuSSrRCWKiqvNP3SIRRKFpLqcXxkukyX1nAEMDtA==
[email protected].121:
version "5.0.0-next.121"
resolved "https://registry.yarnpkg.com/svelte/-/svelte-5.0.0-next.121.tgz#e0dc70de1fc05ca05e964cdc41d4e3a6d092b938"
integrity sha512-dWxr42t8wv6iUmgKrYDG9RwQd2lf3vF2+ACYT7ziDnLeYItPM4sABmM8ptMaYL8czwtqpNzfCsxQR7ShN5PS9A==
dependencies:
"@ampproject/remapping" "^2.2.1"
"@jridgewell/sourcemap-codec" "^1.4.15"
Expand All @@ -2244,7 +2244,7 @@ svelte@^5.0.0-next.115:
aria-query "^5.3.0"
axobject-query "^4.0.0"
esm-env "^1.0.0"
esrap "^1.2.1"
esrap "^1.2.2"
is-reference "^3.0.2"
locate-character "^3.0.0"
magic-string "^0.30.5"
Expand Down

0 comments on commit ce2401a

Please sign in to comment.