From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server-vie001.gnuweeb.org X-Spam-Level: X-Spam-Status: No, score=-1.2 required=5.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,URIBL_ZEN_BLOCKED_OPENDNS autolearn=ham autolearn_force=no version=3.4.6 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gnuweeb.org; s=default; t=1737247197; bh=cWQvP8t0INbHuocF9GFbfFpFI3f84w12JZPYKEbYD5U=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Transfer-Encoding:Message-ID:Date:From: Reply-To:Subject:To:Cc:In-Reply-To:References:Resent-Date: Resent-From:Resent-To:Resent-Cc:User-Agent:Content-Type: Content-Transfer-Encoding; b=ktEvNG8CqOyO6DkEBBWP/bncKShGQxLdHdPf01dYOhVtDJbmeci7k7hdvLmIAMq6F eYWBPLWQ2Q0rNNvINF4BMlKwl102KVg2+lscwo7lDe+dpc6lVL41yxhCg2R2L+Ikq0 WWyd9En32tp/0w55lhP8XHXYiiZID3HpC81o26/UttuWHJ6f5fSm0R9z3s0gSiTFrd r25TYQKMamTcuPivtGiJmTj6HBMe8j5WgonNCmrpmrCUPMlTkOeidgvgqSHs3iBtLS R69e7MSugT+cnwZM3iA9aixSiE0aQrLPzvLkSjfSCqZ04t/SqlUxvSAHM+ocHLliBq n7dW2SFNuIIyA== Received: from localhost.localdomain (unknown [101.128.125.239]) by server-vie001.gnuweeb.org (Postfix) with ESMTPSA id 81B8B2061C33; Sun, 19 Jan 2025 00:39:55 +0000 (UTC) From: Muhammad Rizki To: Ammar Faizi Cc: Kiizuha Kanazawa , Alviro Iskandar Setiawan , Dwiky Rizky Ananditya , GNU/Weeb Mailing List Subject: [PATCH v1 05/16] feat(deps): add `svelte-copy` dependency Date: Sun, 19 Jan 2025 07:38:58 +0700 Message-ID: <20250119003911.1183-6-kiizuha@gnuweeb.org> X-Mailer: git-send-email 2.45.2.windows.1 In-Reply-To: <20250119003911.1183-1-kiizuha@gnuweeb.org> References: <20250119003911.1183-1-kiizuha@gnuweeb.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: From: Kiizuha Kanazawa Added `svelte-copy` to enable text copying functionality. This dependency leverages the `navigator.clipboard` API with a fallback to legacy methods for broader compatibility. Signed-off-by: Kiizuha Kanazawa --- package-lock.json | 31 +++++++++++-------------------- package.json | 5 +++-- 2 files changed, 14 insertions(+), 22 deletions(-) diff --git a/package-lock.json b/package-lock.json index 43e54c2..313f13f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -34,6 +34,7 @@ "prettier-plugin-tailwindcss": "^0.6.5", "svelte": "^5.0.0", "svelte-check": "^4.0.0", + "svelte-copy": "^2.0.0", "svelte-sonner": "^0.3.28", "sveltekit-superforms": "^2.22.1", "tailwind-merge": "^2.6.0", @@ -2858,26 +2859,6 @@ "node": "^18 || >=20" } }, - "node_modules/formsnap/node_modules/svelte-toolbelt": { - "version": "0.4.6", - "resolved": "https://registry.npmjs.org/svelte-toolbelt/-/svelte-toolbelt-0.4.6.tgz", - "integrity": "sha512-k8OUvXBUifHZcAlWeY/HLg/4J0v5m2iOfOhn8fDmjt4AP8ZluaDh9eBFus9lFiLX6O5l6vKqI1dKL5wy7090NQ==", - "dev": true, - "funding": [ - "https://github.com/sponsors/huntabyte" - ], - "dependencies": { - "clsx": "^2.1.1", - "style-to-object": "^1.0.8" - }, - "engines": { - "node": ">=18", - "pnpm": ">=8.7.0" - }, - "peerDependencies": { - "svelte": "^5.0.0-next.126" - } - }, "node_modules/fraction.js": { "version": "4.3.7", "resolved": "https://registry.npmjs.org/fraction.js/-/fraction.js-4.3.7.tgz", @@ -4619,6 +4600,16 @@ "typescript": ">=5.0.0" } }, + "node_modules/svelte-copy": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/svelte-copy/-/svelte-copy-2.0.0.tgz", + "integrity": "sha512-wJ784qrc9CF7EtrlT2kwJfHnqae/pp4fkgzYeUxex4iFBm6HosT2904t5cZZ1GAZzg/z9V+lCZVP5rpiYsN6Tw==", + "dev": true, + "license": "MIT", + "peerDependencies": { + "svelte": "^5.0.0" + } + }, "node_modules/svelte-eslint-parser": { "version": "0.43.0", "resolved": "https://registry.npmjs.org/svelte-eslint-parser/-/svelte-eslint-parser-0.43.0.tgz", diff --git a/package.json b/package.json index 6d9a3f3..16073a5 100644 --- a/package.json +++ b/package.json @@ -32,6 +32,7 @@ "prettier-plugin-tailwindcss": "^0.6.5", "svelte": "^5.0.0", "svelte-check": "^4.0.0", + "svelte-copy": "^2.0.0", "svelte-sonner": "^0.3.28", "sveltekit-superforms": "^2.22.1", "tailwind-merge": "^2.6.0", @@ -46,7 +47,7 @@ "@tailwindcss/container-queries": "^0.1.1", "@tailwindcss/forms": "^0.5.9", "@tailwindcss/typography": "^0.5.15", - "tailwindcss-animate": "^1.0.7", - "axios": "^1.7.9" + "axios": "^1.7.9", + "tailwindcss-animate": "^1.0.7" } } -- Muhammad Rizki