From b3fd3219d7e96a3435bda6bc460399e5a3bf8a17 Mon Sep 17 00:00:00 2001 From: austnv Date: Sun, 14 Jun 2026 19:57:46 +0300 Subject: [PATCH] add flag support --- package-lock.json | 19 +++++++- package.json | 1 + src/components/IpSecurity.vue | 81 +++++++++++++++++++++++++++++++---- 3 files changed, 90 insertions(+), 11 deletions(-) diff --git a/package-lock.json b/package-lock.json index 5e341d4..cd17904 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,17 +1,18 @@ { "name": "uvpn.shop", - "version": "0.5.3", + "version": "0.5.4", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "uvpn.shop", - "version": "0.5.3", + "version": "0.5.4", "dependencies": { "@lucide/vue": "^1.16.0", "@tailwindcss/vite": "^4.3.0", "@tresjs/cientos": "^5.7.1", "@tresjs/core": "^5.8.1", + "@tw-labs/countries": "^0.0.2", "@vueuse/head": "^0.9.8", "marked": "^18.0.5", "swiper": "^12.1.4", @@ -1202,6 +1203,20 @@ "vue": ">=3.4" } }, + "node_modules/@tw-labs/countries": { + "version": "0.0.2", + "resolved": "https://registry.npmjs.org/@tw-labs/countries/-/countries-0.0.2.tgz", + "integrity": "sha512-mnCpRLhpMPTCMTnV18nKjLrdZ+4bUZSxdOgFWqdsZSM62RwPk1ddQCTN2XtRAR2zcLzlX91iTg2kSJ006qmXlA==", + "license": "MIT", + "peerDependencies": { + "react": ">=17" + }, + "peerDependenciesMeta": { + "react": { + "optional": true + } + } + }, "node_modules/@tweenjs/tween.js": { "version": "23.1.3", "resolved": "https://registry.npmjs.org/@tweenjs/tween.js/-/tween.js-23.1.3.tgz", diff --git a/package.json b/package.json index 1df2e44..523d862 100644 --- a/package.json +++ b/package.json @@ -14,6 +14,7 @@ "@tailwindcss/vite": "^4.3.0", "@tresjs/cientos": "^5.7.1", "@tresjs/core": "^5.8.1", + "@tw-labs/countries": "^0.0.2", "@vueuse/head": "^0.9.8", "marked": "^18.0.5", "swiper": "^12.1.4", diff --git a/src/components/IpSecurity.vue b/src/components/IpSecurity.vue index 64da93e..394d157 100644 --- a/src/components/IpSecurity.vue +++ b/src/components/IpSecurity.vue @@ -33,15 +33,16 @@ - - + {{ countryEmoji }} + + {{ ipData.location.country }} -