Minor dependency updates (#128)

This commit is contained in:
arkon 2020-03-15 15:24:22 -04:00 committed by GitHub
parent e41b6d0bb8
commit d7ce43fc85
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 58 additions and 37 deletions

44
package-lock.json generated
View File

@ -2808,9 +2808,9 @@
} }
}, },
"@mdi/font": { "@mdi/font": {
"version": "4.9.95", "version": "5.0.45",
"resolved": "https://registry.npmjs.org/@mdi/font/-/font-4.9.95.tgz", "resolved": "https://registry.npmjs.org/@mdi/font/-/font-5.0.45.tgz",
"integrity": "sha512-m2sbAs+SMwRnWpkMriBxEulwuhmqRyh6X+hdOZlqSxYZUM2C2TaDnQ4gcilzdoAgru2XYnWViZ/xPuSDGgRXVw==" "integrity": "sha512-3sOO/UMyQqrmizW5zjvhKJP4FZFO7LblRw4G0alDxK1ekUwNxNXI7hYv8ACAv8H44riBuqlVJ7u39XDqv/Xwuw=="
}, },
"@mrmlnc/readdir-enhanced": { "@mrmlnc/readdir-enhanced": {
"version": "2.2.1", "version": "2.2.1",
@ -3491,9 +3491,9 @@
} }
}, },
"acorn": { "acorn": {
"version": "6.4.0", "version": "6.4.1",
"resolved": "https://registry.npmjs.org/acorn/-/acorn-6.4.0.tgz", "resolved": "https://registry.npmjs.org/acorn/-/acorn-6.4.1.tgz",
"integrity": "sha512-gac8OEcQ2Li1dxIEWGZzsp2BitJxwkwcOm0zHAJLcPJaVvm58FRnk6RkuLRpU1EujipU2ZFODv2P9DLMfnV8mw==", "integrity": "sha512-ZVA9k326Nwrj3Cj9jlh3wGFutC2ZornPNARZwsNYqQYgN0EsV2d53w5RN/co65Ohn4sUAUtb1rSUAOD6XN9idA==",
"dev": true "dev": true
}, },
"acorn-jsx": { "acorn-jsx": {
@ -6402,25 +6402,25 @@
} }
}, },
"eslint-config-airbnb": { "eslint-config-airbnb": {
"version": "18.0.1", "version": "18.1.0",
"resolved": "https://registry.npmjs.org/eslint-config-airbnb/-/eslint-config-airbnb-18.0.1.tgz", "resolved": "https://registry.npmjs.org/eslint-config-airbnb/-/eslint-config-airbnb-18.1.0.tgz",
"integrity": "sha512-hLb/ccvW4grVhvd6CT83bECacc+s4Z3/AEyWQdIT2KeTsG9dR7nx1gs7Iw4tDmGKozCNHFn4yZmRm3Tgy+XxyQ==", "integrity": "sha512-kZFuQC/MPnH7KJp6v95xsLBf63G/w7YqdPfQ0MUanxQ7zcKUNG8j+sSY860g3NwCBOa62apw16J6pRN+AOgXzw==",
"dev": true, "dev": true,
"requires": { "requires": {
"eslint-config-airbnb-base": "^14.0.0", "eslint-config-airbnb-base": "^14.1.0",
"object.assign": "^4.1.0", "object.assign": "^4.1.0",
"object.entries": "^1.1.0" "object.entries": "^1.1.1"
} }
}, },
"eslint-config-airbnb-base": { "eslint-config-airbnb-base": {
"version": "14.0.0", "version": "14.1.0",
"resolved": "https://registry.npmjs.org/eslint-config-airbnb-base/-/eslint-config-airbnb-base-14.0.0.tgz", "resolved": "https://registry.npmjs.org/eslint-config-airbnb-base/-/eslint-config-airbnb-base-14.1.0.tgz",
"integrity": "sha512-2IDHobw97upExLmsebhtfoD3NAKhV4H0CJWP3Uprd/uk+cHuWYOczPVxQ8PxLFUAw7o3Th1RAU8u1DoUpr+cMA==", "integrity": "sha512-+XCcfGyCnbzOnktDVhwsCAx+9DmrzEmuwxyHUJpw+kqBVT744OUBrB09khgFKlK1lshVww6qXGsYPZpavoNjJw==",
"dev": true, "dev": true,
"requires": { "requires": {
"confusing-browser-globals": "^1.0.7", "confusing-browser-globals": "^1.0.9",
"object.assign": "^4.1.0", "object.assign": "^4.1.0",
"object.entries": "^1.1.0" "object.entries": "^1.1.1"
} }
}, },
"eslint-config-prettier": { "eslint-config-prettier": {
@ -6727,9 +6727,9 @@
}, },
"dependencies": { "dependencies": {
"acorn": { "acorn": {
"version": "7.1.0", "version": "7.1.1",
"resolved": "https://registry.npmjs.org/acorn/-/acorn-7.1.0.tgz", "resolved": "https://registry.npmjs.org/acorn/-/acorn-7.1.1.tgz",
"integrity": "sha512-kL5CuoXA/dgxlBbVrflsflzQ3PAas7RYZB52NOm/6839iVYJgKMJ3cQJD+t2i5+qFa8h3MDpEOJiS64E8JLnSQ==", "integrity": "sha512-add7dgA5ppRPxCFJoAGfMDi7PIBXq1RtGo7BhbLaxwrXPOmw8gq48Y9ozT01hUKy9byMjlR20EJhu5zlkErEkg==",
"dev": true "dev": true
} }
} }
@ -9154,9 +9154,9 @@
"dev": true "dev": true
}, },
"iso-639-1": { "iso-639-1": {
"version": "2.1.0", "version": "2.1.1",
"resolved": "https://registry.npmjs.org/iso-639-1/-/iso-639-1-2.1.0.tgz", "resolved": "https://registry.npmjs.org/iso-639-1/-/iso-639-1-2.1.1.tgz",
"integrity": "sha512-8CTinLimb9ncAJ11wpCETWZ51qsQ3LS4vMHF2wxRRtR3+b7bvIxUlXOGYIdq0413+baWnbyG5dBluVcezOG/LQ==" "integrity": "sha512-JRHJrXzf+4tNrLb25Xthb+ocvv2w6Xn+9g13rd7jaaQIk41r1WGmprPPf2pqZQ4bYmx8SZfKCHTuTSledKuaSQ=="
}, },
"isobject": { "isobject": {
"version": "3.0.1", "version": "3.0.1",

View File

@ -15,7 +15,7 @@
"@vuepress/plugin-back-to-top": "^1.3.1", "@vuepress/plugin-back-to-top": "^1.3.1",
"@vuepress/plugin-google-analytics": "^1.3.1", "@vuepress/plugin-google-analytics": "^1.3.1",
"eslint": "^6.8.0", "eslint": "^6.8.0",
"eslint-config-airbnb": "^18.0.1", "eslint-config-airbnb": "^18.1.0",
"eslint-config-prettier": "^6.10.0", "eslint-config-prettier": "^6.10.0",
"eslint-config-vuepress": "^2.1.0", "eslint-config-vuepress": "^2.1.0",
"eslint-plugin-prettier": "^3.1.2", "eslint-plugin-prettier": "^3.1.2",
@ -28,9 +28,9 @@
"vuepress-plugin-container": "^2.1.2" "vuepress-plugin-container": "^2.1.2"
}, },
"dependencies": { "dependencies": {
"@mdi/font": "^4.9.95", "@mdi/font": "^5.0.45",
"axios": "^0.19.2", "axios": "^0.19.2",
"iso-639-1": "^2.1.0", "iso-639-1": "^2.1.1",
"lodash.groupby": "^4.6.0", "lodash.groupby": "^4.6.0",
"lodash.sortby": "^4.7.0", "lodash.sortby": "^4.7.0",
"material-design-icons": "^3.0.1", "material-design-icons": "^3.0.1",

View File

@ -53,8 +53,16 @@ export default {
popup: "animated zoomOut faster" popup: "animated zoomOut faster"
} }
}); });
window.location.assign(this.$data.browserDownloadUrl || RELEASE_URL); window.location.assign(
window.ga("send", "event", "Button", "Click", "Stable download - Getting Started"); this.$data.browserDownloadUrl || RELEASE_URL
);
window.ga(
"send",
"event",
"Button",
"Click",
"Stable download - Getting Started"
);
}, },
downloadDev() { downloadDev() {
this.$swal({ this.$swal({
@ -77,7 +85,13 @@ export default {
} }
}); });
window.location.assign("https://tachiyomi.kanade.eu/latest"); 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"
);
} }
} }
}; };

View File

@ -13,13 +13,6 @@
import axios from "axios"; import axios from "axios";
export default { export default {
data() {
return {
tagName: "",
browserDownloadUrl: ""
};
},
props: { props: {
forkName: { forkName: {
type: String, type: String,
@ -42,6 +35,12 @@ export default {
required: true required: true
} }
}, },
data() {
return {
tagName: "",
browserDownloadUrl: ""
};
},
async mounted() { async mounted() {
const { data } = await axios.get(this.$props.downloadLink); const { data } = await axios.get(this.$props.downloadLink);
@ -73,8 +72,16 @@ export default {
popup: "animated zoomOut faster" popup: "animated zoomOut faster"
} }
}); });
window.location.assign(this.$data.browserDownloadUrl || this.$props.downloadLink); window.location.assign(
window.ga("send", "event", "Button", "Click", this.$props.forkName + " download - Forks"); this.$data.browserDownloadUrl || this.$props.downloadLink
);
window.ga(
"send",
"event",
"Button",
"Click",
this.$props.forkName + " download - Forks"
);
} }
} }
}; };