From 1aa76396eaf23ee8f3544b6275cf73d6d129d595 Mon Sep 17 00:00:00 2001 From: Mohamed Bassem Date: Sat, 21 Dec 2024 14:20:49 +0000 Subject: deps: Upgrade prettier to 3.4.2 --- apps/mobile/package.json | 2 +- apps/web/lib/exportBookmarks.ts | 2 +- apps/web/package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'apps') diff --git a/apps/mobile/package.json b/apps/mobile/package.json index e4d69d9f..5d4b6089 100644 --- a/apps/mobile/package.json +++ b/apps/mobile/package.json @@ -65,7 +65,7 @@ "ajv": "latest", "eslint": "^8.57.0", "eslint-config-universe": "^12.0.0", - "prettier": "^3.2.5", + "prettier": "^3.4.2", "tailwindcss": "^3.4.1", "typescript": "^5.3.3" }, diff --git a/apps/web/lib/exportBookmarks.ts b/apps/web/lib/exportBookmarks.ts index dd1913fb..f651b897 100644 --- a/apps/web/lib/exportBookmarks.ts +++ b/apps/web/lib/exportBookmarks.ts @@ -51,7 +51,7 @@ export function toExportFormat( title: bookmark.title ?? (bookmark.content.type === BookmarkTypes.LINK - ? bookmark.content.title ?? null + ? (bookmark.content.title ?? null) : null), tags: bookmark.tags.map((t) => t.name), content, diff --git a/apps/web/package.json b/apps/web/package.json index 7edae7a8..336fb725 100644 --- a/apps/web/package.json +++ b/apps/web/package.json @@ -66,7 +66,7 @@ "next-i18next": "^15.3.1", "next-pwa": "^5.6.0", "next-themes": "^0.3.0", - "prettier": "^3.2.5", + "prettier": "^3.4.2", "react": "^18.3.1", "react-dom": "^18.3.1", "react-draggable": "^4.4.6", -- cgit v1.2.3-70-g09d2