Skip to content

Commit 2f54c7a

Browse files
authored
update deps and fix warnings (#29)
Updates a bunch of packages including Svelte 5, and other major versions. Fixes some warnings. - Closes #28
1 parent 7a14996 commit 2f54c7a

11 files changed

+683
-798
lines changed

package-lock.json

Lines changed: 644 additions & 761 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 23 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -15,31 +15,33 @@
1515
"test:unit": "vitest"
1616
},
1717
"devDependencies": {
18-
"@playwright/test": "^1.47.0",
19-
"@sveltejs/adapter-static": "^3.0.4",
20-
"@sveltejs/kit": "^2.5.26",
21-
"@sveltejs/vite-plugin-svelte": "^3.1.2",
18+
"@playwright/test": "^1.48.2",
19+
"@sveltejs/adapter-static": "^3.0.1",
20+
"@sveltejs/kit": "^2.7.3",
21+
"@sveltejs/vite-plugin-svelte": "^4.0.0",
2222
"@types/eslint": "9.6.1",
23-
"@types/node": "^22.5.4",
24-
"@typescript-eslint/eslint-plugin": "^8.5.0",
25-
"@typescript-eslint/parser": "^8.5.0",
23+
"@types/node": "^22.8.1",
24+
"@typescript-eslint/eslint-plugin": "^8.11.0",
25+
"@typescript-eslint/parser": "^8.11.0",
2626
"autoprefixer": "^10.4.20",
27-
"eslint": "^9.10.0",
27+
"eslint": "^9.13.0",
2828
"eslint-config-prettier": "^9.1.0",
29-
"eslint-plugin-svelte": "^2.43.0",
30-
"jsdom": "^25.0.0",
31-
"postcss": "^8.4.45",
29+
"eslint-plugin-svelte": "^2.46.0",
30+
"jsdom": "^25.0.1",
31+
"npm-check-updates": "^17.1.6",
32+
"postcss": "^8.4.47",
3233
"prettier": "^3.3.3",
33-
"prettier-plugin-svelte": "^3.2.6",
34-
"prettier-plugin-tailwindcss": "^0.6.6",
35-
"svelte": "^4.2.19",
36-
"svelte-check": "^4.0.1",
37-
"tailwindcss": "^3.4.10",
38-
"tslib": "^2.7.0",
39-
"typescript": "^5.6.2",
40-
"typescript-eslint": "^8.5.0",
41-
"vite": "^5.4.3",
42-
"vitest": "^2.0.5"
34+
"prettier-plugin-svelte": "^3.2.7",
35+
"prettier-plugin-tailwindcss": "^0.6.8",
36+
"sv": "^0.5.9",
37+
"svelte": "^5.1.3",
38+
"svelte-check": "^4.0.5",
39+
"tailwindcss": "^3.4.14",
40+
"tslib": "^2.8.0",
41+
"typescript": "^5.6.3",
42+
"typescript-eslint": "^8.11.0",
43+
"vite": "^5.4.10",
44+
"vitest": "2.1.3"
4345
},
4446
"type": "module"
4547
}

src/components/Footer.svelte

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
<script type="ts">
1+
<script lang="ts">
22
import { base } from '$app/paths';
33
</script>
44

55
<footer class="freq-container flex h-[50px] items-center justify-end gap-3 text-xs font-semibold">
66
<div>© {new Date().getFullYear()} Frequency Network Foundation</div>
7-
<span class="h-4 w-[2px] bg-black" />
7+
<span class="h-4 w-[2px] bg-black"></span>
88
<a href="{base}/privacy">Privacy Policy</a>
9-
<span class="h-4 w-[2px] bg-black" />
9+
<span class="h-4 w-[2px] bg-black"></span>
1010
<div class="whitespace-nowrap">All Rights Reserved</div>
1111
</footer>

src/components/Header/Header.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
id="header"
2828
class={`freq-container z-50 flex max-w-page items-center justify-between sm:pt-[10px] lg:pt-[30px] ${isNavOpen ? 'fixed' : ''}`}
2929
>
30-
<a href="/">
30+
<a href="/" aria-label="Home">
3131
<svg
3232
class="mr-3 sm:w-[180px] md:w-[180px] lg:w-[210px]"
3333
width="216"

src/components/Header/HeaderNavMobile.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@
2121
<div class="absolute bottom-0 right-0 h-[200px] w-full overflow-hidden">
2222
<div
2323
class="absolute -bottom-1 z-[-1] h-[200px] w-full overflow-hidden bg-[url('/src/lib/assets/mobileNav.svg')] bg-right-bottom bg-no-repeat"
24-
/>
24+
></div>
2525
</div>
2626
</div>
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
<!-- Mobile -->
22
<div
33
class={`absolute bottom-0 w-full bg-[url(/src/lib/assets/section1waves.svg)] bg-no-repeat sm:right-[10%] sm:h-[180px] sm:bg-right-bottom md:h-[200px] lg:hidden vertical-lg:relative vertical-lg:block`}
4-
/>
4+
></div>
55

66
<!-- Desktop -->
77
<div
88
class="relative z-10 h-full w-full bg-[url(/src/lib/assets/section1waves-top.svg)] bg-left-bottom bg-no-repeat sm:hidden lg:block vertical-lg:hidden"
9-
/>
9+
></div>
1010
<div
1111
class="relative z-0 -mt-[9px] h-[260px] w-full bg-[url(/src/lib/assets/section1waves-bottom.svg)] bg-left-top bg-no-repeat sm:hidden lg:block vertical-lg:hidden"
12-
/>
12+
></div>
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
<!-- Desktop -->
22
<div
33
class="relative z-10 h-full w-full bg-[url(/src/lib/assets/section2waves-top.svg)] bg-left-bottom bg-no-repeat sm:hidden lg:block"
4-
/>
4+
></div>
55
<div
66
class="relative z-0 -mt-[4px] h-[80px] w-full bg-[url(/src/lib/assets/section2waves-bottom.svg)] bg-left-top bg-no-repeat sm:hidden lg:block"
7-
/>
7+
></div>
88

99
<!-- Mobile -->
1010
<div
1111
class="h-full w-full bg-[url(/src/lib/assets/section2mobile-top.svg)] bg-left-bottom bg-no-repeat sm:w-[170%] sm:max-w-[900px] md:w-[110%] md:max-w-full lg:hidden"
12-
/>
12+
></div>
1313
<div
1414
class="h-full w-full bg-[url(/src/lib/assets/section2mobile-bottom.svg)] bg-left-top bg-no-repeat sm:w-[170%] sm:max-w-[900px] md:w-[110%] md:max-w-full lg:hidden"
15-
/>
15+
></div>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
<div
22
class={`absolute left-0 h-full bg-left-bottom bg-no-repeat sm:-bottom-16 sm:max-h-[200px] sm:w-[200%] sm:bg-[url(/src/lib/assets/section3mobile.svg)] md:max-h-full md:w-full lg:bottom-0 lg:max-w-full lg:bg-[url(/src/lib/assets/section3waves.svg)]`}
3-
/>
3+
></div>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
<div
22
class={`md:max-h-auto absolute h-full bg-[url(/src/lib/assets/section4waves.svg)] bg-bottom sm:-bottom-[6px] sm:right-[10%] sm:max-h-[100px] sm:w-[800px] sm:bg-no-repeat md:right-[50%] lg:bottom-0 lg:left-auto lg:right-0 lg:max-h-[150px] lg:w-full lg:bg-repeat-x`}
3-
/>
3+
></div>

src/components/Sections/Section5.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<!-- Image -->
1515
<div class="absolute bottom-0 left-0 flex h-full w-full overflow-hidden sm:hidden lg:block vertical-lg:hidden">
1616
<Section5Wave />
17-
<span class="absolute bottom-0 right-0 w-full border-b-4 border-darkIndigo" />
17+
<span class="absolute bottom-0 right-0 w-full border-b-4 border-darkIndigo"></span>
1818
</div>
1919

2020
<!-- Content -->

src/routes/privacy/+page.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<script type="ts">
1+
<script lang="ts">
22
import { base } from '$app/paths';
33
</script>
44

0 commit comments

Comments
 (0)