From 8d242bc946d4a4746ff9609174c8e6071f263026 Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Sun, 29 Dec 2024 23:24:02 +0000
Subject: [PATCH 1/2] ui: bump prettier from 3.3.2 to 3.4.2

Bumps [prettier](https://github.com/prettier/prettier) from 3.3.2 to 3.4.2.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/3.3.2...3.4.2)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
---
 package-lock.json | 8 ++++----
 package.json      | 2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/package-lock.json b/package-lock.json
index f6a5568c..c9104a25 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -22,7 +22,7 @@
         "eslint": "^8.57.0",
         "eslint-config-prettier": "^9.1.0",
         "eslint-plugin-svelte": "^2.43.0",
-        "prettier": "^3.3.2",
+        "prettier": "^3.4.2",
         "prettier-plugin-svelte": "^3.2.6",
         "svelte": "^4.2.19",
         "svelte-check": "^4.0.2",
@@ -6142,9 +6142,9 @@
       }
     },
     "node_modules/prettier": {
-      "version": "3.3.2",
-      "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.3.2.tgz",
-      "integrity": "sha512-rAVeHYMcv8ATV5d508CFdn+8/pHPpXeIid1DdrPwXnaAdH7cqjVbpJaT5eq4yRAFU/lsbwYwSF/n5iNrdJHPQA==",
+      "version": "3.4.2",
+      "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.4.2.tgz",
+      "integrity": "sha512-e9MewbtFo+Fevyuxn/4rrcDAaq0IYxPGLvObpQjiZBMAzB9IGmzlnG9RZy3FFas+eBMu2vA0CszMeduow5dIuQ==",
       "dev": true,
       "bin": {
         "prettier": "bin/prettier.cjs"
diff --git a/package.json b/package.json
index dd411e54..c0f8e1a9 100644
--- a/package.json
+++ b/package.json
@@ -22,7 +22,7 @@
     "eslint": "^8.57.0",
     "eslint-config-prettier": "^9.1.0",
     "eslint-plugin-svelte": "^2.43.0",
-    "prettier": "^3.3.2",
+    "prettier": "^3.4.2",
     "prettier-plugin-svelte": "^3.2.6",
     "svelte": "^4.2.19",
     "svelte-check": "^4.0.2",

From e360189d42714332a891887a2710c3041f7efa3a Mon Sep 17 00:00:00 2001
From: IRHM <37304121+IRHM@users.noreply.github.com>
Date: Sun, 29 Dec 2024 23:30:28 +0000
Subject: [PATCH 2/2] search: fix linting issue

---
 src/routes/(app)/search/+page.svelte | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/routes/(app)/search/+page.svelte b/src/routes/(app)/search/+page.svelte
index 4eb8f621..e11d932c 100644
--- a/src/routes/(app)/search/+page.svelte
+++ b/src/routes/(app)/search/+page.svelte
@@ -278,7 +278,7 @@
         } else {
           console.error("Active search filter is invalid:", activeSearchFilter);
         }
-        maxContentPage = cdata ? cdata.total_pages ?? 1 : 1;
+        maxContentPage = cdata ? (cdata.total_pages ?? 1) : 1;
         searchResults = allSearchResults;
         curPage++;
       } else {