mirror of
https://github.com/mmjee/Piped-Material.git
synced 2024-12-06 19:26:36 +01:00
Optimizations
This commit is contained in:
+1
-1
@@ -13,6 +13,7 @@
|
||||
"axios": "^0.23.0",
|
||||
"core-js": "^3.16.1",
|
||||
"dompurify": "^2.3.1",
|
||||
"i18n-iso-countries": "^6.8.0",
|
||||
"javascript-time-ago": "^2.3.8",
|
||||
"lodash-es": "^4.17.21",
|
||||
"marked": "^3.0.0",
|
||||
@@ -29,7 +30,6 @@
|
||||
"vue-router": "^3.5.2",
|
||||
"vuetify": "^2.5.8",
|
||||
"vuex": "^3.6.2",
|
||||
"world-countries": "^4.0.0",
|
||||
"xml-js": "^1.6.11"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
+1
-2
@@ -3,7 +3,6 @@ import VueRouter from 'vue-router'
|
||||
import VueMeta from 'vue-meta'
|
||||
|
||||
import FeedPage from '@/routes/FeedPage'
|
||||
import Preferences from '@/routes/Preferences'
|
||||
|
||||
Vue.use(VueMeta)
|
||||
Vue.use(VueRouter)
|
||||
@@ -27,7 +26,7 @@ const routes = [
|
||||
{
|
||||
path: '/preferences',
|
||||
name: 'Preferences',
|
||||
component: Preferences
|
||||
component: () => import('@/routes/Preferences')
|
||||
},
|
||||
{
|
||||
path: '/subscriptions',
|
||||
|
||||
@@ -29,7 +29,9 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import WorldCountries from 'world-countries'
|
||||
import Countries from 'i18n-iso-countries'
|
||||
import EnglishNames from 'i18n-iso-countries/langs/en.json'
|
||||
Countries.registerLocale(EnglishNames)
|
||||
|
||||
export default {
|
||||
data () {
|
||||
@@ -88,9 +90,9 @@ export default {
|
||||
type: 'select',
|
||||
label: 'Country',
|
||||
default: 'US',
|
||||
options: WorldCountries.map(co => ({
|
||||
text: co.name.common,
|
||||
value: co.cca2
|
||||
options: Object.entries(Countries.getNames('en', { select: 'official' })).map(([code, name]) => ({
|
||||
text: name,
|
||||
value: code
|
||||
}))
|
||||
}
|
||||
],
|
||||
|
||||
@@ -3412,6 +3412,11 @@ detect-node@^2.0.4:
|
||||
resolved "https://registry.yarnpkg.com/detect-node/-/detect-node-2.1.0.tgz#c9c70775a49c3d03bc2c06d9a73be550f978f8b1"
|
||||
integrity sha512-T0NIuQpnTvFDATNuHN5roPwSBG83rFsuO+MXXH9/3N1eFbn4wcPjttvjMLEPWJ0RGUYgQE7cGgS3tNxbqCGM7g==
|
||||
|
||||
diacritics@1.3.0:
|
||||
version "1.3.0"
|
||||
resolved "https://registry.yarnpkg.com/diacritics/-/diacritics-1.3.0.tgz#3efa87323ebb863e6696cebb0082d48ff3d6f7a1"
|
||||
integrity sha1-PvqHMj67hj5mls67AILUj/PW96E=
|
||||
|
||||
diffie-hellman@^5.0.0:
|
||||
version "5.0.3"
|
||||
resolved "https://registry.yarnpkg.com/diffie-hellman/-/diffie-hellman-5.0.3.tgz#40e8ee98f55a2149607146921c63e1ae5f3d2875"
|
||||
@@ -4986,6 +4991,13 @@ human-signals@^2.1.0:
|
||||
resolved "https://registry.yarnpkg.com/human-signals/-/human-signals-2.1.0.tgz#dc91fcba42e4d06e4abaed33b3e7a3c02f514ea0"
|
||||
integrity sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==
|
||||
|
||||
i18n-iso-countries@^6.8.0:
|
||||
version "6.8.0"
|
||||
resolved "https://registry.yarnpkg.com/i18n-iso-countries/-/i18n-iso-countries-6.8.0.tgz#eebbc75594c6832aff86176c1bb38daa133d6dfd"
|
||||
integrity sha512-jJs/+CA6+VUICFxqGcB0vFMERGfhfvyNk+8Vb9EagSZkl7kSpm/kT0VyhvzM/zixDWEV/+oN9L7v/GT9BwzoGg==
|
||||
dependencies:
|
||||
diacritics "1.3.0"
|
||||
|
||||
iconv-lite@0.4.24, iconv-lite@^0.4.24:
|
||||
version "0.4.24"
|
||||
resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.24.tgz#2022b4b25fbddc21d2f524974a474aafe733908b"
|
||||
@@ -9715,11 +9727,6 @@ worker-farm@^1.7.0:
|
||||
dependencies:
|
||||
errno "~0.1.7"
|
||||
|
||||
world-countries@^4.0.0:
|
||||
version "4.0.0"
|
||||
resolved "https://registry.yarnpkg.com/world-countries/-/world-countries-4.0.0.tgz#a14757e2240d8c16249e3c6e6cdcd61d119a042d"
|
||||
integrity sha512-LsFFYmggquj0U+i7VUaJOZYz5F4QNu+oceGw8odnyVHMT2LxYSdVncqdouOEnq1esr7yCakp9+3BZTztuSw1Pg==
|
||||
|
||||
wrap-ansi@^5.1.0:
|
||||
version "5.1.0"
|
||||
resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-5.1.0.tgz#1fd1f67235d5b6d0fee781056001bfb694c03b09"
|
||||
|
||||
Reference in New Issue
Block a user