diff --git a/package-lock.json b/package-lock.json index f8988073..61857841 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2808,9 +2808,9 @@ } }, "@mdi/font": { - "version": "4.9.95", - "resolved": "https://registry.npmjs.org/@mdi/font/-/font-4.9.95.tgz", - "integrity": "sha512-m2sbAs+SMwRnWpkMriBxEulwuhmqRyh6X+hdOZlqSxYZUM2C2TaDnQ4gcilzdoAgru2XYnWViZ/xPuSDGgRXVw==" + "version": "5.0.45", + "resolved": "https://registry.npmjs.org/@mdi/font/-/font-5.0.45.tgz", + "integrity": "sha512-3sOO/UMyQqrmizW5zjvhKJP4FZFO7LblRw4G0alDxK1ekUwNxNXI7hYv8ACAv8H44riBuqlVJ7u39XDqv/Xwuw==" }, "@mrmlnc/readdir-enhanced": { "version": "2.2.1", @@ -3491,9 +3491,9 @@ } }, "acorn": { - "version": "6.4.0", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-6.4.0.tgz", - "integrity": "sha512-gac8OEcQ2Li1dxIEWGZzsp2BitJxwkwcOm0zHAJLcPJaVvm58FRnk6RkuLRpU1EujipU2ZFODv2P9DLMfnV8mw==", + "version": "6.4.1", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-6.4.1.tgz", + "integrity": "sha512-ZVA9k326Nwrj3Cj9jlh3wGFutC2ZornPNARZwsNYqQYgN0EsV2d53w5RN/co65Ohn4sUAUtb1rSUAOD6XN9idA==", "dev": true }, "acorn-jsx": { @@ -6402,25 +6402,25 @@ } }, "eslint-config-airbnb": { - "version": "18.0.1", - "resolved": "https://registry.npmjs.org/eslint-config-airbnb/-/eslint-config-airbnb-18.0.1.tgz", - "integrity": "sha512-hLb/ccvW4grVhvd6CT83bECacc+s4Z3/AEyWQdIT2KeTsG9dR7nx1gs7Iw4tDmGKozCNHFn4yZmRm3Tgy+XxyQ==", + "version": "18.1.0", + "resolved": "https://registry.npmjs.org/eslint-config-airbnb/-/eslint-config-airbnb-18.1.0.tgz", + "integrity": "sha512-kZFuQC/MPnH7KJp6v95xsLBf63G/w7YqdPfQ0MUanxQ7zcKUNG8j+sSY860g3NwCBOa62apw16J6pRN+AOgXzw==", "dev": true, "requires": { - "eslint-config-airbnb-base": "^14.0.0", + "eslint-config-airbnb-base": "^14.1.0", "object.assign": "^4.1.0", - "object.entries": "^1.1.0" + "object.entries": "^1.1.1" } }, "eslint-config-airbnb-base": { - "version": "14.0.0", - "resolved": "https://registry.npmjs.org/eslint-config-airbnb-base/-/eslint-config-airbnb-base-14.0.0.tgz", - "integrity": "sha512-2IDHobw97upExLmsebhtfoD3NAKhV4H0CJWP3Uprd/uk+cHuWYOczPVxQ8PxLFUAw7o3Th1RAU8u1DoUpr+cMA==", + "version": "14.1.0", + "resolved": "https://registry.npmjs.org/eslint-config-airbnb-base/-/eslint-config-airbnb-base-14.1.0.tgz", + "integrity": "sha512-+XCcfGyCnbzOnktDVhwsCAx+9DmrzEmuwxyHUJpw+kqBVT744OUBrB09khgFKlK1lshVww6qXGsYPZpavoNjJw==", "dev": true, "requires": { - "confusing-browser-globals": "^1.0.7", + "confusing-browser-globals": "^1.0.9", "object.assign": "^4.1.0", - "object.entries": "^1.1.0" + "object.entries": "^1.1.1" } }, "eslint-config-prettier": { @@ -6727,9 +6727,9 @@ }, "dependencies": { "acorn": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-7.1.0.tgz", - "integrity": "sha512-kL5CuoXA/dgxlBbVrflsflzQ3PAas7RYZB52NOm/6839iVYJgKMJ3cQJD+t2i5+qFa8h3MDpEOJiS64E8JLnSQ==", + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-7.1.1.tgz", + "integrity": "sha512-add7dgA5ppRPxCFJoAGfMDi7PIBXq1RtGo7BhbLaxwrXPOmw8gq48Y9ozT01hUKy9byMjlR20EJhu5zlkErEkg==", "dev": true } } @@ -9154,9 +9154,9 @@ "dev": true }, "iso-639-1": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/iso-639-1/-/iso-639-1-2.1.0.tgz", - "integrity": "sha512-8CTinLimb9ncAJ11wpCETWZ51qsQ3LS4vMHF2wxRRtR3+b7bvIxUlXOGYIdq0413+baWnbyG5dBluVcezOG/LQ==" + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/iso-639-1/-/iso-639-1-2.1.1.tgz", + "integrity": "sha512-JRHJrXzf+4tNrLb25Xthb+ocvv2w6Xn+9g13rd7jaaQIk41r1WGmprPPf2pqZQ4bYmx8SZfKCHTuTSledKuaSQ==" }, "isobject": { "version": "3.0.1", diff --git a/package.json b/package.json index 25f86368..1ab7e940 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ "@vuepress/plugin-back-to-top": "^1.3.1", "@vuepress/plugin-google-analytics": "^1.3.1", "eslint": "^6.8.0", - "eslint-config-airbnb": "^18.0.1", + "eslint-config-airbnb": "^18.1.0", "eslint-config-prettier": "^6.10.0", "eslint-config-vuepress": "^2.1.0", "eslint-plugin-prettier": "^3.1.2", @@ -28,9 +28,9 @@ "vuepress-plugin-container": "^2.1.2" }, "dependencies": { - "@mdi/font": "^4.9.95", + "@mdi/font": "^5.0.45", "axios": "^0.19.2", - "iso-639-1": "^2.1.0", + "iso-639-1": "^2.1.1", "lodash.groupby": "^4.6.0", "lodash.sortby": "^4.7.0", "material-design-icons": "^3.0.1", diff --git a/src/.vuepress/components/DownloadButtons.vue b/src/.vuepress/components/DownloadButtons.vue index 5f290c7e..76c088f4 100644 --- a/src/.vuepress/components/DownloadButtons.vue +++ b/src/.vuepress/components/DownloadButtons.vue @@ -53,8 +53,16 @@ export default { popup: "animated zoomOut faster" } }); - window.location.assign(this.$data.browserDownloadUrl || RELEASE_URL); - window.ga("send", "event", "Button", "Click", "Stable download - Getting Started"); + window.location.assign( + this.$data.browserDownloadUrl || RELEASE_URL + ); + window.ga( + "send", + "event", + "Button", + "Click", + "Stable download - Getting Started" + ); }, downloadDev() { this.$swal({ @@ -77,7 +85,13 @@ export default { } }); window.location.assign("https://tachiyomi.kanade.eu/latest"); - window.ga("send", "event", "Button", "Click", "Dev download - Getting Started"); + window.ga( + "send", + "event", + "Button", + "Click", + "Dev download - Getting Started" + ); } } }; diff --git a/src/.vuepress/components/ForkButtons.vue b/src/.vuepress/components/ForkButtons.vue index d2304247..6f613396 100644 --- a/src/.vuepress/components/ForkButtons.vue +++ b/src/.vuepress/components/ForkButtons.vue @@ -13,13 +13,6 @@ import axios from "axios"; export default { - data() { - return { - tagName: "", - browserDownloadUrl: "" - }; - }, - props: { forkName: { type: String, @@ -42,6 +35,12 @@ export default { required: true } }, + data() { + return { + tagName: "", + browserDownloadUrl: "" + }; + }, async mounted() { const { data } = await axios.get(this.$props.downloadLink); @@ -73,8 +72,16 @@ export default { popup: "animated zoomOut faster" } }); - window.location.assign(this.$data.browserDownloadUrl || this.$props.downloadLink); - window.ga("send", "event", "Button", "Click", this.$props.forkName + " download - Forks"); + window.location.assign( + this.$data.browserDownloadUrl || this.$props.downloadLink + ); + window.ga( + "send", + "event", + "Button", + "Click", + this.$props.forkName + " download - Forks" + ); } } };