From c202252f3b0f22c1672ef5ec1b4d66b10019f486 Mon Sep 17 00:00:00 2001 From: Arthur Danjou Date: Tue, 27 Apr 2021 21:47:26 +0200 Subject: [PATCH] Import Sentry --- package.json | 1 + settings/Modules.ts | 11 +- settings/RuntimeConfig.ts | 3 +- src/components/AboutHome.vue | 8 +- src/components/ContactForm.vue | 3 +- src/components/ExperiencesAbout.vue | 5 +- src/components/FormationsAbout.vue | 5 +- src/components/PostsHome.vue | 5 +- src/components/ProjectsHome.vue | 5 +- src/components/SkillsAbout.vue | 8 +- src/pages/blog/_slug.vue | 11 +- src/pages/blog/index.vue | 5 +- src/pages/contact.vue | 9 +- src/pages/projects.vue | 8 +- tsconfig.json | 5 +- yarn.lock | 273 +++++++++++++++++++++++++++- 16 files changed, 334 insertions(+), 31 deletions(-) diff --git a/package.json b/package.json index 73cb127..1889c18 100644 --- a/package.json +++ b/package.json @@ -15,6 +15,7 @@ "@nuxtjs/dotenv": "^1.4.1", "@nuxtjs/redirect-module": "^0.3.1", "@nuxtjs/robots": "^2.5.0", + "@nuxtjs/sentry": "^5.0.3", "@nuxtjs/sitemap": "^2.4.0", "@nuxtjs/universal-storage": "^0.5.9", "core-js": "^3.10.2", diff --git a/settings/Modules.ts b/settings/Modules.ts index 7dbe9ec..820fe46 100644 --- a/settings/Modules.ts +++ b/settings/Modules.ts @@ -83,6 +83,13 @@ const env = { path: process.cwd() } +const sentry = { + dsn: process.env.SENTRY_DSN, + config: { + + } +} + export default [ ['@nuxtjs/axios', axios], ['nuxt-i18n', i18n], @@ -91,6 +98,6 @@ export default [ ['@nuxtjs/robots', robots], ['@nuxtjs/sitemap', sitemap], ['@nuxtjs/redirect-module', redirect], - ['@nuxtjs/dotenv', env] - + ['@nuxtjs/dotenv', env], + ['@nuxtjs/sentry', sentry] ] as NuxtOptionsModule[] diff --git a/settings/RuntimeConfig.ts b/settings/RuntimeConfig.ts index d90d37e..e1e8db5 100644 --- a/settings/RuntimeConfig.ts +++ b/settings/RuntimeConfig.ts @@ -3,7 +3,8 @@ const publicRuntimeConfig = { } const privateRuntimeConfig = { - API_TOKEN: process.env.API_TOKEN + API_TOKEN: process.env.API_TOKEN, + SENTRY_DSN: process.env.SENTRY_DSN } export default { publicRuntimeConfig, privateRuntimeConfig} diff --git a/src/components/AboutHome.vue b/src/components/AboutHome.vue index 2bab4bf..493fce6 100644 --- a/src/components/AboutHome.vue +++ b/src/components/AboutHome.vue @@ -26,9 +26,13 @@ import {InfoData} from "../../@types/types"; export default defineComponent({ name: "AboutPreview", setup() { - const {$content} = useContext() + const {$content, $sentry} = useContext() const info = useAsync(() => { - return $content('infos').fetch() + return $content('infos') + .fetch() + .catch((error) => { + $sentry.captureEvent(error) + }) }) return { diff --git a/src/components/ContactForm.vue b/src/components/ContactForm.vue index 13075e8..092e901 100644 --- a/src/components/ContactForm.vue +++ b/src/components/ContactForm.vue @@ -76,7 +76,7 @@ export default defineComponent({ const error = ref(false) const success = ref(false) - const {$axios} = useContext() + const {$axios, $sentry} = useContext() const form = ref
({} as Form) const handleForm = async () => { const {data} = await $axios.post('form', @@ -97,6 +97,7 @@ export default defineComponent({ form.value = {} as Form }, 5000) } else { + $sentry.captureEvent(data) error.value = true setTimeout(() => { error.value = false diff --git a/src/components/ExperiencesAbout.vue b/src/components/ExperiencesAbout.vue index 1ef295e..c203f26 100644 --- a/src/components/ExperiencesAbout.vue +++ b/src/components/ExperiencesAbout.vue @@ -24,12 +24,15 @@ import {Experience} from "../../@types/types"; export default defineComponent({ name: "ExperiencesAbout", setup() { - const {$content} = useContext() + const {$content, $sentry} = useContext() const experiences = useAsync(() => { return $content('experiences') .sortBy('end_date', 'desc') .fetch() + .catch((error) => { + $sentry.captureEvent(error) + }) }) return { diff --git a/src/components/FormationsAbout.vue b/src/components/FormationsAbout.vue index f7a688f..07f42e7 100644 --- a/src/components/FormationsAbout.vue +++ b/src/components/FormationsAbout.vue @@ -24,12 +24,15 @@ import {Formation} from "../../@types/types"; export default defineComponent({ name: "FormationsHome", setup() { - const {$content} = useContext() + const {$content, $sentry} = useContext() const formations = useAsync(() => { return $content('formations') .sortBy('end_date', 'desc') .fetch() + .catch((error) => { + $sentry.captureEvent(error) + }) }) return { diff --git a/src/components/PostsHome.vue b/src/components/PostsHome.vue index 7307f3c..2c1f9e1 100644 --- a/src/components/PostsHome.vue +++ b/src/components/PostsHome.vue @@ -36,13 +36,16 @@ import {Post} from "../../@types/types"; export default defineComponent({ name: "PostsHome", setup() { - const { $content, i18n } = useContext() + const { $content, i18n, $sentry } = useContext() const posts = useAsync(() => { return $content(`articles/${i18n.locale}`) .sortBy('date', 'asc') .limit(3) .fetch() + .catch((error) => { + $sentry.captureEvent(error) + }) }, 'posts') return { diff --git a/src/components/ProjectsHome.vue b/src/components/ProjectsHome.vue index 954768b..2de42d1 100644 --- a/src/components/ProjectsHome.vue +++ b/src/components/ProjectsHome.vue @@ -34,12 +34,15 @@ import {Project} from "../../@types/types"; export default defineComponent({ name: "ProjectsHome", setup() { - const { $content } = useContext() + const { $content, $sentry } = useContext() const projects = useAsync(() => { return $content(`projects`) .limit(3) .fetch() + .catch((error) => { + $sentry.captureEvent(error) + }) }, 'projects') return { diff --git a/src/components/SkillsAbout.vue b/src/components/SkillsAbout.vue index 9d5406b..8b27992 100644 --- a/src/components/SkillsAbout.vue +++ b/src/components/SkillsAbout.vue @@ -25,10 +25,14 @@ import {Skill} from "../../@types/types"; export default defineComponent({ name: "SkillsAbout", setup() { - const {$content} = useContext() + const {$content, $sentry} = useContext() const skills = useAsync(() => { - return $content('skills').fetch() + return $content('skills') + .fetch() + .catch((error) => { + $sentry.captureEvent(error) + }) }) return { diff --git a/src/pages/blog/_slug.vue b/src/pages/blog/_slug.vue index 5cba4d8..aed8ed1 100644 --- a/src/pages/blog/_slug.vue +++ b/src/pages/blog/_slug.vue @@ -119,7 +119,7 @@ export default defineComponent({ name: "blog", head: {}, setup() { - const {$content, i18n, $axios, app, $storage} = useContext() + const {$content, i18n, $axios, app, $storage, $sentry} = useContext() const route = useRoute() const { title } = useMeta() const slug = computed(() => route.value.params.slug) @@ -127,8 +127,9 @@ export default defineComponent({ const post = useStatic((slug) => { return $content(`articles/${i18n.locale}`, slug) .fetch() - .catch(() => { + .catch((error) => { app.error({statusCode: 404, message: "Post not found"}); + $sentry.captureEvent(error) }) as Promise }, slug, 'post') @@ -146,6 +147,8 @@ export default defineComponent({ } }).then((response) => { likes.value = response.data + }).catch((error) => { + $sentry.captureEvent(error) }) }) @@ -160,6 +163,8 @@ export default defineComponent({ liked.value = false likes.value = data.post.likes $storage.removeCookie(`${slug.value}`) + } else { + $sentry.captureEvent(data) } } else { const {data} = await $axios.post(`/posts/${post.value?.slug}/like`, {}, { @@ -173,6 +178,8 @@ export default defineComponent({ $storage.setCookie(`${slug.value}`, true, { maxAge: 60 * 60 * 5 }) + } else { + $sentry.captureEvent(data) } } } diff --git a/src/pages/blog/index.vue b/src/pages/blog/index.vue index 4aa376a..fed49e1 100644 --- a/src/pages/blog/index.vue +++ b/src/pages/blog/index.vue @@ -41,13 +41,16 @@ export default defineComponent({ } }, setup() { - const { $content, i18n } = useContext() + const { $content, i18n, $sentry } = useContext() const posts = useAsync(() => { return $content(`articles/${i18n.locale}`) .sortBy('date', 'asc') .limit(10) .fetch() + .catch((error) => { + $sentry.captureEvent(error) + }) }) return { diff --git a/src/pages/contact.vue b/src/pages/contact.vue index b5501c0..585e63b 100644 --- a/src/pages/contact.vue +++ b/src/pages/contact.vue @@ -37,9 +37,14 @@ export default { title: 'Contact - Arthur Danjou' }, setup() { - const {$content} = useContext() + const {$content, $sentry} = useContext() const info = useAsync(() => { - return $content('infos').fetch() as Promise + return ($content('infos') + .fetch() + .catch((error) => { + $sentry.captureEvent(error) + }) + )as Promise }) const hiring_color = info && info.value?.hiring.color diff --git a/src/pages/projects.vue b/src/pages/projects.vue index 033b6ab..62dbeba 100644 --- a/src/pages/projects.vue +++ b/src/pages/projects.vue @@ -31,10 +31,14 @@ export default { title: `Projects - Arthur Danjou` }, setup() { - const { $content, i18n } = useContext() + const { $content, i18n, $sentry } = useContext() const projects = useAsync(() => { - return $content('projects').fetch() + return $content('projects') + .fetch() + .catch((error) => { + $sentry.captureEvent(error) + }) }) useMeta( { diff --git a/tsconfig.json b/tsconfig.json index eb4791c..e6d0285 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -16,10 +16,11 @@ "@/*": ["./src/*"] }, "types": [ + "@types/node", + "@nuxt/content", "@nuxt/types", "@nuxtjs/axios", - "@nuxt/content", - "@types/node", + "@nuxtjs/sentry", "nuxt-i18n" ] }, diff --git a/yarn.lock b/yarn.lock index 3089049..054cf95 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1348,7 +1348,7 @@ defu "^3.2.2" lodash.template "^4.5.0" -"@nuxtjs/composition-api@^0.22.4": +"@nuxtjs/composition-api@0.22.4": version "0.22.4" resolved "https://registry.yarnpkg.com/@nuxtjs/composition-api/-/composition-api-0.22.4.tgz#e53db8a992aa79100baa292429c51ea6c58e749a" integrity sha512-JJwcyhVMCxjClogQjteFJ5hN+FeR0oLkzaBATpikV34woZ9/gzUuIxPzvOzq2hmjYty5qNGqZM+B3668R8Jwvw== @@ -1385,6 +1385,18 @@ resolved "https://registry.yarnpkg.com/@nuxtjs/robots/-/robots-2.5.0.tgz#a42b25e3bc58181cb2a8fbd30d6b0fee6c36bc60" integrity sha512-z1F3HXb05NiZga8Cuq6k5bbowfJOScPtbSOakip0nege+1aI9pGoajzap8eR5s1qwLXAk9Ts+NcgetoUn5lwrQ== +"@nuxtjs/sentry@^5.0.3": + version "5.0.3" + resolved "https://registry.yarnpkg.com/@nuxtjs/sentry/-/sentry-5.0.3.tgz#18ffe093bfb280ed6dd83d6c2b57672499de003d" + integrity sha512-p9EpEzTKyGPHxM3QFQuw8TELhDrFzq2cN8ZASbigRczHL515vOPVBEwAQ33FiRXn6hw/dHmEWHGlZTEH1Vk5BQ== + dependencies: + "@sentry/browser" "^6.2.2" + "@sentry/integrations" "^6.2.2" + "@sentry/node" "^6.2.2" + "@sentry/webpack-plugin" "^1.14.2" + consola "^2.15.3" + lodash.merge "^4.6.2" + "@nuxtjs/sitemap@^2.4.0": version "2.4.0" resolved "https://registry.yarnpkg.com/@nuxtjs/sitemap/-/sitemap-2.4.0.tgz#6a9fa1c35e161f87375d59949d973568cec40614" @@ -1425,6 +1437,113 @@ resolved "https://registry.yarnpkg.com/@polka/url/-/url-1.0.0-next.12.tgz#431ec342a7195622f86688bbda82e3166ce8cb28" integrity sha512-6RglhutqrGFMO1MNUXp95RBuYIuc8wTnMAV5MUhLmjTOy78ncwOw7RgeQ/HeymkKXRhZd0s2DNrM1rL7unk3MQ== +"@sentry/browser@^6.2.2": + version "6.3.1" + resolved "https://registry.yarnpkg.com/@sentry/browser/-/browser-6.3.1.tgz#6142dd4c72308f4e1a12e585e3300fd54ca058cd" + integrity sha512-Ri4tYsyuJIeLQnvQUqbpGzailUYpbjFSYM0+yEM63gPsjiXdg+W8yKHluA6cs6FLWVN3oWfwHW7Kd61echlGuw== + dependencies: + "@sentry/core" "6.3.1" + "@sentry/types" "6.3.1" + "@sentry/utils" "6.3.1" + tslib "^1.9.3" + +"@sentry/cli@^1.64.1": + version "1.64.1" + resolved "https://registry.yarnpkg.com/@sentry/cli/-/cli-1.64.1.tgz#632565d8f8b40ada51333ae38b7001ef35457a0b" + integrity sha512-G+TzOSG+58fG3f5uYvPXweK65f1sP/8MWSEuRmJE4P0JJTTXQI6WErvrqrhfR5F7UVvGzltEbpc8rvO7N3+88A== + dependencies: + https-proxy-agent "^5.0.0" + mkdirp "^0.5.5" + node-fetch "^2.6.0" + npmlog "^4.1.2" + progress "^2.0.3" + proxy-from-env "^1.1.0" + +"@sentry/core@6.3.1": + version "6.3.1" + resolved "https://registry.yarnpkg.com/@sentry/core/-/core-6.3.1.tgz#5e32ca919c9be30fec0bb3125a556bc711584bdf" + integrity sha512-aVuvVbaehGeN86jZlLDGGkhEtprdOtB6lvYLfGy40Dj1Tkh2mGWE550QsRXAXAqYvQzIYwQR23r6m3o8FujgVg== + dependencies: + "@sentry/hub" "6.3.1" + "@sentry/minimal" "6.3.1" + "@sentry/types" "6.3.1" + "@sentry/utils" "6.3.1" + tslib "^1.9.3" + +"@sentry/hub@6.3.1": + version "6.3.1" + resolved "https://registry.yarnpkg.com/@sentry/hub/-/hub-6.3.1.tgz#dda07888a82d1c48bbefa00205bfa9d035691f07" + integrity sha512-2er+OeVlsdVZkhl9kXQAANwgjwoCdM1etK2iFuhzX8xkMaJlAuZLyQInv2U1BbXBlIfWjvzRM8B95hCWvVrR3Q== + dependencies: + "@sentry/types" "6.3.1" + "@sentry/utils" "6.3.1" + tslib "^1.9.3" + +"@sentry/integrations@^6.2.2": + version "6.3.1" + resolved "https://registry.yarnpkg.com/@sentry/integrations/-/integrations-6.3.1.tgz#8bd4c05a83c5fe8ece6cb59a6e31e1e632a14af8" + integrity sha512-fB0+CmU2L2VJ8WyI33t060lxpBNAoh092jzMGEnnfPKTVMxnscjFrISzrWXQZs/OoR6q8Yo/+pZAT5gWA0dDOQ== + dependencies: + "@sentry/types" "6.3.1" + "@sentry/utils" "6.3.1" + localforage "^1.8.1" + tslib "^1.9.3" + +"@sentry/minimal@6.3.1": + version "6.3.1" + resolved "https://registry.yarnpkg.com/@sentry/minimal/-/minimal-6.3.1.tgz#38f71c77e8820555effb6e868336d4f5672018cd" + integrity sha512-0eN9S7HvXsCQEjX/qXHTMgvSb3mwrnZEWS9Qz/Bz5ig9pEGXKgJ1om5NTTHVHhXqd3wFCjdvIo6slufLHoCtSw== + dependencies: + "@sentry/hub" "6.3.1" + "@sentry/types" "6.3.1" + tslib "^1.9.3" + +"@sentry/node@^6.2.2": + version "6.3.1" + resolved "https://registry.yarnpkg.com/@sentry/node/-/node-6.3.1.tgz#0f81a0e352fa5b3e36bcc53adb6e26cd214c637d" + integrity sha512-D0r603fdNwUPkwvy0IcQaUSTafl+7lrOytiO5dfdLdlkhtTcwivwENc/n8ER8GOC2zpIvYOEIJvzP4PGL85khw== + dependencies: + "@sentry/core" "6.3.1" + "@sentry/hub" "6.3.1" + "@sentry/tracing" "6.3.1" + "@sentry/types" "6.3.1" + "@sentry/utils" "6.3.1" + cookie "^0.4.1" + https-proxy-agent "^5.0.0" + lru_map "^0.3.3" + tslib "^1.9.3" + +"@sentry/tracing@6.3.1": + version "6.3.1" + resolved "https://registry.yarnpkg.com/@sentry/tracing/-/tracing-6.3.1.tgz#3b96aabf4d9cebadfec070c006db79801a68ee24" + integrity sha512-qveDmoWsXy9qLEblZJwJ1OU/zZRlEd/q7Jhd0Hnwlob8Ci96huABEbYyGdJs18BKVHEFU3gSdVfvrikUE/W17g== + dependencies: + "@sentry/hub" "6.3.1" + "@sentry/minimal" "6.3.1" + "@sentry/types" "6.3.1" + "@sentry/utils" "6.3.1" + tslib "^1.9.3" + +"@sentry/types@6.3.1": + version "6.3.1" + resolved "https://registry.yarnpkg.com/@sentry/types/-/types-6.3.1.tgz#af3b54728b29f633f38fbe51b8c10e3834fbc158" + integrity sha512-BEBn8JX1yaooCAuonbaMci9z0RjwwMbQ3Eny/eyDdd+rjXprZCZaStZnCvSThbNBqAJ8YaUqY2YBMnEwJxarAw== + +"@sentry/utils@6.3.1": + version "6.3.1" + resolved "https://registry.yarnpkg.com/@sentry/utils/-/utils-6.3.1.tgz#6d8e691139b5b49d8c655ad1dcaf2cb3ff0d0b03" + integrity sha512-cdtl/QWC9FtinAuW3w8QfvSfh/Q9ui5vwvjzVHiS1ga/U38edi2XX+cttY39ZYwz0SQG99cE10GOIhd1p7/mAA== + dependencies: + "@sentry/types" "6.3.1" + tslib "^1.9.3" + +"@sentry/webpack-plugin@^1.14.2": + version "1.15.1" + resolved "https://registry.yarnpkg.com/@sentry/webpack-plugin/-/webpack-plugin-1.15.1.tgz#deb014fce8c1b51811100f25ec9050dd03addd9b" + integrity sha512-/Z06MJDXyWcN2+CbeDTMDwVzySjgZWQajOke773TvpkgqdtkeT1eYBsA+pfsje+ZE1prEgrZdlH/L9HdM1odnQ== + dependencies: + "@sentry/cli" "^1.64.1" + "@types/anymatch@*": version "1.3.1" resolved "https://registry.yarnpkg.com/@types/anymatch/-/anymatch-1.3.1.tgz#336badc1beecb9dacc38bea2cf32adf627a8421a" @@ -2053,6 +2172,13 @@ acorn@^8.0.4: resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.1.1.tgz#fb0026885b9ac9f48bac1e185e4af472971149ff" integrity sha512-xYiIVjNuqtKXMxlRMDc6mZUhXehod4a3gbZ1qRlM7icK4EbxUFNLhWoPblCvFtB2Y9CIqHP3CF/rdxLItaQv8g== +agent-base@6: + version "6.0.2" + resolved "https://registry.yarnpkg.com/agent-base/-/agent-base-6.0.2.tgz#49fff58577cfee3f37176feab4c22e00f86d7f77" + integrity sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ== + dependencies: + debug "4" + aggregate-error@^3.0.0: version "3.1.0" resolved "https://registry.yarnpkg.com/aggregate-error/-/aggregate-error-3.1.0.tgz#92670ff50f5359bdb7a3e0d40d0ec30c5737687a" @@ -2165,11 +2291,19 @@ anymatch@~3.1.1: normalize-path "^3.0.0" picomatch "^2.0.4" -aproba@^1.1.1: +aproba@^1.0.3, aproba@^1.1.1: version "1.2.0" resolved "https://registry.yarnpkg.com/aproba/-/aproba-1.2.0.tgz#6802e6264efd18c790a1b0d517f0f2627bf2c94a" integrity sha512-Y9J6ZjXtoYh8RnXVCMOU/ttDmk1aBjunq9vO0ta5x85WDQiQfUF9sIPBITdbiiIVcBo03Hi3jMxigBtsddlXRw== +are-we-there-yet@~1.1.2: + version "1.1.5" + resolved "https://registry.yarnpkg.com/are-we-there-yet/-/are-we-there-yet-1.1.5.tgz#4b35c2944f062a8bfcda66410760350fe9ddfc21" + integrity sha512-5hYdAkZlcG8tOLujVDTgCT+uPX0VnpAH28gWsLfzpXYm7wP6mp5Q/gYyR7YQ0cKVJcXJnl3j2kpBan13PtQf6w== + dependencies: + delegates "^1.0.0" + readable-stream "^2.0.6" + arg@^4.1.1: version "4.1.3" resolved "https://registry.yarnpkg.com/arg/-/arg-4.1.3.tgz#269fc7ad5b8e42cb63c896d5666017261c144089" @@ -2920,6 +3054,11 @@ coa@^2.0.2: chalk "^2.4.1" q "^1.1.2" +code-point-at@^1.0.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/code-point-at/-/code-point-at-1.1.0.tgz#0d070b4d043a5bea33a2f1a40e2edb3d9a4ccf77" + integrity sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c= + collection-visit@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/collection-visit/-/collection-visit-1.0.0.tgz#4bc0373c164bc3291b4d368c829cf1a80a59dca0" @@ -3058,6 +3197,11 @@ console-browserify@^1.1.0: resolved "https://registry.yarnpkg.com/console-browserify/-/console-browserify-1.2.0.tgz#67063cef57ceb6cf4993a2ab3a55840ae8c49336" integrity sha512-ZMkYO/LkF17QvCPqM0gxw8yUzigAOZOSWSHg91FH6orS7vcEj5dVZTidN2fQ14yBSdg97RqhSNwLUXInd52OTA== +console-control-strings@^1.0.0, console-control-strings@~1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/console-control-strings/-/console-control-strings-1.1.0.tgz#3d7cf4464db6446ea644bf4b39507f9851008e8e" + integrity sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4= + consolidate@^0.15.1: version "0.15.1" resolved "https://registry.yarnpkg.com/consolidate/-/consolidate-0.15.1.tgz#21ab043235c71a07d45d9aad98593b0dba56bab7" @@ -3452,7 +3596,7 @@ debug@2.6.9, debug@^2.2.0, debug@^2.3.3: dependencies: ms "2.0.0" -debug@^4.0.0, debug@^4.1.0, debug@^4.1.1, debug@^4.3.1: +debug@4, debug@^4.0.0, debug@^4.1.0, debug@^4.1.1, debug@^4.3.1: version "4.3.1" resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.1.tgz#f0d229c505e0c6d8c49ac553d1b13dc183f6b2ee" integrity sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ== @@ -3520,6 +3664,11 @@ delegate@^3.1.2: resolved "https://registry.yarnpkg.com/delegate/-/delegate-3.2.0.tgz#b66b71c3158522e8ab5744f720d8ca0c2af59166" integrity sha512-IofjkYBZaZivn0V8nnsMJGBr4jVLxHDheKSW88PyxS5QC4Vo9ZbZVvhzlSxY87fVq3STR6r+4cGepyHkcWOQSw== +delegates@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/delegates/-/delegates-1.0.0.tgz#84c6e159b81904fdca59a0ef44cd870d31250f9a" + integrity sha1-hMbhWbgZBP3KWaDvRM2HDTElD5o= + depd@~1.1.2: version "1.1.2" resolved "https://registry.yarnpkg.com/depd/-/depd-1.1.2.tgz#9bcd52e14c097763e749b274c4346ed2e560b5a9" @@ -4248,6 +4397,20 @@ function-bind@^1.1.1: resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d" integrity sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A== +gauge@~2.7.3: + version "2.7.4" + resolved "https://registry.yarnpkg.com/gauge/-/gauge-2.7.4.tgz#2c03405c7538c39d7eb37b317022e325fb018bf7" + integrity sha1-LANAXHU4w51+s3sxcCLjJfsBi/c= + dependencies: + aproba "^1.0.3" + console-control-strings "^1.0.0" + has-unicode "^2.0.0" + object-assign "^4.1.0" + signal-exit "^3.0.0" + string-width "^1.0.1" + strip-ansi "^3.0.1" + wide-align "^1.1.0" + gensync@^1.0.0-beta.2: version "1.0.0-beta.2" resolved "https://registry.yarnpkg.com/gensync/-/gensync-1.0.0-beta.2.tgz#32a6ee76c3d7f52d46b2b1ae5d93fea8580a25e0" @@ -4430,6 +4593,11 @@ has-symbols@^1.0.1, has-symbols@^1.0.2: resolved "https://registry.yarnpkg.com/has-symbols/-/has-symbols-1.0.2.tgz#165d3070c00309752a1236a479331e3ac56f1423" integrity sha512-chXa79rL/UC2KlX17jo3vRGz0azaWEx5tGqZg5pO3NUyEJVB17dMruQlzCCOfUvElghKcm5194+BCRvi2Rv/Gw== +has-unicode@^2.0.0: + version "2.0.1" + resolved "https://registry.yarnpkg.com/has-unicode/-/has-unicode-2.0.1.tgz#e0e6fe6a28cf51138855e086d1691e771de2a8b9" + integrity sha1-4Ob+aijPUROIVeCG0Wkedx3iqLk= + has-value@^0.3.1: version "0.3.1" resolved "https://registry.yarnpkg.com/has-value/-/has-value-0.3.1.tgz#7b1f58bada62ca827ec0a2078025654845995e1f" @@ -4728,6 +4896,14 @@ https-browserify@^1.0.0: resolved "https://registry.yarnpkg.com/https-browserify/-/https-browserify-1.0.0.tgz#ec06c10e0a34c0f2faf199f7fd7fc78fffd03c73" integrity sha1-7AbBDgo0wPL68Zn3/X/Hj//QPHM= +https-proxy-agent@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/https-proxy-agent/-/https-proxy-agent-5.0.0.tgz#e2a90542abb68a762e0a0850f6c9edadfd8506b2" + integrity sha512-EkYm5BcKUGiduxzSt3Eppko+PiNWNEpa4ySk9vTC6wDsQJW9rHSa+UhGNJoRYp7bz6Ht1eaRIa6QaJqO5rCFbA== + dependencies: + agent-base "6" + debug "4" + human-signals@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/human-signals/-/human-signals-2.1.0.tgz#dc91fcba42e4d06e4abaed33b3e7a3c02f514ea0" @@ -4762,6 +4938,11 @@ ignore@^5.1.4, ignore@^5.1.8: resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.1.8.tgz#f150a8b50a34289b33e22f5889abd4d8016f0e57" integrity sha512-BMpfD7PpiETpBl/A6S498BaIJ6Y/ABT93ETbby2fP00v4EbvPBXWEoaR1UBPKs3iR53pJY7EtZk5KACI57i1Uw== +immediate@~3.0.5: + version "3.0.6" + resolved "https://registry.yarnpkg.com/immediate/-/immediate-3.0.6.tgz#9db1dbd0faf8de6fbe0f5dd5e56bb606280de69b" + integrity sha1-nbHb0Pr43m++D13V5Wu2BigN5ps= + import-cwd@^2.0.0: version "2.1.0" resolved "https://registry.yarnpkg.com/import-cwd/-/import-cwd-2.1.0.tgz#aa6cf36e722761285cb371ec6519f53e2435b0a9" @@ -5050,6 +5231,13 @@ is-extglob@^2.1.0, is-extglob@^2.1.1: resolved "https://registry.yarnpkg.com/is-extglob/-/is-extglob-2.1.1.tgz#a88c02535791f02ed37c76a1b9ea9773c833f8c2" integrity sha1-qIwCU1eR8C7TfHahueqXc8gz+MI= +is-fullwidth-code-point@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz#ef9e31386f031a7f0d643af82fde50c457ef00cb" + integrity sha1-754xOG8DGn8NZDr4L95QxFfvAMs= + dependencies: + number-is-nan "^1.0.0" + is-fullwidth-code-point@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz#a3b30a5c4f199183167aaab93beefae3ddfb654f" @@ -5358,6 +5546,13 @@ launch-editor@^2.2.1: chalk "^2.3.0" shell-quote "^1.6.1" +lie@3.1.1: + version "3.1.1" + resolved "https://registry.yarnpkg.com/lie/-/lie-3.1.1.tgz#9a436b2cc7746ca59de7a41fa469b3efb76bd87e" + integrity sha1-mkNrLMd0bKWd56QfpGmz77dr2H4= + dependencies: + immediate "~3.0.5" + lines-and-columns@^1.1.6: version "1.1.6" resolved "https://registry.yarnpkg.com/lines-and-columns/-/lines-and-columns-1.1.6.tgz#1c00c743b433cd0a4e80758f7b64a57440d9ff00" @@ -5391,6 +5586,13 @@ loader-utils@^2.0.0: emojis-list "^3.0.0" json5 "^2.1.2" +localforage@^1.8.1: + version "1.9.0" + resolved "https://registry.yarnpkg.com/localforage/-/localforage-1.9.0.tgz#f3e4d32a8300b362b4634cc4e066d9d00d2f09d1" + integrity sha512-rR1oyNrKulpe+VM9cYmcFn6tsHuokyVHFaCM3+osEmxaHTbEk8oQu6eGDfS6DQLWi/N67XRmB8ECG37OES368g== + dependencies: + lie "3.1.1" + locate-path@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-3.0.0.tgz#dbec3b3ab759758071b58fe59fc41871af21400e" @@ -5500,6 +5702,11 @@ lru-cache@^6.0.0: dependencies: yallist "^4.0.0" +lru_map@^0.3.3: + version "0.3.3" + resolved "https://registry.yarnpkg.com/lru_map/-/lru_map-0.3.3.tgz#b5c8351b9464cbd750335a79650a0ec0e56118dd" + integrity sha1-tcg1G5Rky9dQM1p5ZQoOwOVhGN0= + magic-string@^0.25.7: version "0.25.7" resolved "https://registry.yarnpkg.com/magic-string/-/magic-string-0.25.7.tgz#3f497d6fd34c669c6798dcb821f2ef31f5445051" @@ -5961,7 +6168,7 @@ mixin-deep@^1.2.0: for-in "^1.0.2" is-extendable "^1.0.1" -mkdirp@^0.5.0, mkdirp@^0.5.1, mkdirp@^0.5.3, mkdirp@~0.5.1: +mkdirp@^0.5.0, mkdirp@^0.5.1, mkdirp@^0.5.3, mkdirp@^0.5.5, mkdirp@~0.5.1: version "0.5.5" resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.5.tgz#d91cefd62d1436ca0f41620e251288d420099def" integrity sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ== @@ -6071,7 +6278,7 @@ no-case@^3.0.4: lower-case "^2.0.2" tslib "^2.0.3" -node-fetch@^2.6.1: +node-fetch@^2.6.0, node-fetch@^2.6.1: version "2.6.1" resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.1.tgz#045bd323631f76ed2e2b55573394416b639a0052" integrity sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw== @@ -6190,6 +6397,16 @@ npm-run-path@^4.0.1: dependencies: path-key "^3.0.0" +npmlog@^4.1.2: + version "4.1.2" + resolved "https://registry.yarnpkg.com/npmlog/-/npmlog-4.1.2.tgz#08a7f2a8bf734604779a9efa4ad5cc717abb954b" + integrity sha512-2uUqazuKlTaSI/dC8AzicUck7+IrEaOnN/e0jd3Xtt1KcGpwx30v50mL7oPyr/h9bL3E4aZccVwpwP+5W9Vjkg== + dependencies: + are-we-there-yet "~1.1.2" + console-control-strings "~1.1.0" + gauge "~2.7.3" + set-blocking "~2.0.0" + nth-check@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/nth-check/-/nth-check-1.0.2.tgz#b2bd295c37e3dd58a3bf0700376663ba4d9cf05c" @@ -6209,6 +6426,11 @@ num2fraction@^1.2.2: resolved "https://registry.yarnpkg.com/num2fraction/-/num2fraction-1.2.2.tgz#6f682b6a027a4e9ddfa4564cd2589d1d4e669ede" integrity sha1-b2gragJ6Tp3fpFZM0lidHU5mnt4= +number-is-nan@^1.0.0: + version "1.0.1" + resolved "https://registry.yarnpkg.com/number-is-nan/-/number-is-nan-1.0.1.tgz#097b602b53422a522c1afb8790318336941a011d" + integrity sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0= + nuxt-i18n@^6.25.0: version "6.25.0" resolved "https://registry.yarnpkg.com/nuxt-i18n/-/nuxt-i18n-6.25.0.tgz#d5b2c0be368012bd7d691283a38fec38030aa89b" @@ -7390,6 +7612,11 @@ process@^0.11.10: resolved "https://registry.yarnpkg.com/process/-/process-0.11.10.tgz#7332300e840161bda3e69a1d1d91a7d4bc16f182" integrity sha1-czIwDoQBYb2j5podHZGn1LwW8YI= +progress@^2.0.3: + version "2.0.3" + resolved "https://registry.yarnpkg.com/progress/-/progress-2.0.3.tgz#7e8cf8d8f5b8f239c1bc68beb4eb78567d572ef8" + integrity sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA== + promise-inflight@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/promise-inflight/-/promise-inflight-1.0.1.tgz#98472870bf228132fcbdd868129bad12c3c029e3" @@ -7424,6 +7651,11 @@ proxy-addr@^2.0.4: forwarded "~0.1.2" ipaddr.js "1.9.1" +proxy-from-env@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/proxy-from-env/-/proxy-from-env-1.1.0.tgz#e102f16ca355424865755d2c9e8ea4f24d58c3e2" + integrity sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg== + prr@~1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/prr/-/prr-1.0.1.tgz#d3fc114ba06995a45ec6893f484ceb1d78f5f476" @@ -7572,7 +7804,7 @@ read-cache@^1.0.0: dependencies: pify "^2.3.0" -"readable-stream@1 || 2", readable-stream@^2.0.0, readable-stream@^2.0.1, readable-stream@^2.0.2, readable-stream@^2.1.5, readable-stream@^2.2.2, readable-stream@^2.3.3, readable-stream@^2.3.6, readable-stream@~2.3.6: +"readable-stream@1 || 2", readable-stream@^2.0.0, readable-stream@^2.0.1, readable-stream@^2.0.2, readable-stream@^2.0.6, readable-stream@^2.1.5, readable-stream@^2.2.2, readable-stream@^2.3.3, readable-stream@^2.3.6, readable-stream@~2.3.6: version "2.3.7" resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.3.7.tgz#1eca1cf711aef814c04f62252a36a62f6cb23b57" integrity sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw== @@ -8091,6 +8323,11 @@ server-destroy@^1.0.1: resolved "https://registry.yarnpkg.com/server-destroy/-/server-destroy-1.0.1.tgz#f13bf928e42b9c3e79383e61cc3998b5d14e6cdd" integrity sha1-8Tv5KOQrnD55OD5hzDmYtdFObN0= +set-blocking@~2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/set-blocking/-/set-blocking-2.0.0.tgz#045f9782d011ae9a6803ddd382b24392b3d890f7" + integrity sha1-BF+XgtARrppoA93TgrJDkrPYkPc= + set-value@^2.0.0, set-value@^2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/set-value/-/set-value-2.0.1.tgz#a18d40530e6f07de4228c7defe4227af8cad005b" @@ -8145,7 +8382,7 @@ side-channel@^1.0.4: get-intrinsic "^1.0.2" object-inspect "^1.9.0" -signal-exit@^3.0.2, signal-exit@^3.0.3: +signal-exit@^3.0.0, signal-exit@^3.0.2, signal-exit@^3.0.3: version "3.0.3" resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.3.tgz#a1410c2edd8f077b08b4e253c8eacfcaf057461c" integrity sha512-VUJ49FC8U1OxwZLxIbTTrDvLnf/6TDgxZcK8wxR8zs13xpx7xbG60ndBlhNrFi2EMuFRoeDoJO7wthSLq42EjA== @@ -8401,7 +8638,16 @@ strict-uri-encode@^2.0.0: resolved "https://registry.yarnpkg.com/strict-uri-encode/-/strict-uri-encode-2.0.0.tgz#b9c7330c7042862f6b142dc274bbcc5866ce3546" integrity sha1-ucczDHBChi9rFC3CdLvMWGbONUY= -string-width@^2.0.0: +string-width@^1.0.1: + version "1.0.2" + resolved "https://registry.yarnpkg.com/string-width/-/string-width-1.0.2.tgz#118bdf5b8cdc51a2a7e70d211e07e2b0b9b107d3" + integrity sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M= + dependencies: + code-point-at "^1.0.0" + is-fullwidth-code-point "^1.0.0" + strip-ansi "^3.0.0" + +"string-width@^1.0.2 || 2", string-width@^2.0.0: version "2.1.1" resolved "https://registry.yarnpkg.com/string-width/-/string-width-2.1.1.tgz#ab93f27a8dc13d28cac815c462143a6d9012ae9e" integrity sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw== @@ -8457,7 +8703,7 @@ string_decoder@~1.1.1: dependencies: safe-buffer "~5.1.0" -strip-ansi@^3.0.0: +strip-ansi@^3.0.0, strip-ansi@^3.0.1: version "3.0.1" resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-3.0.1.tgz#6a385fb8853d952d5ff05d0e8aaf94278dc63dcf" integrity sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8= @@ -8804,7 +9050,7 @@ ts-pnp@^1.1.6: resolved "https://registry.yarnpkg.com/ts-pnp/-/ts-pnp-1.2.0.tgz#a500ad084b0798f1c3071af391e65912c86bca92" integrity sha512-csd+vJOb/gkzvcCHgTGSChYpy5f1/XKNsmvBGO4JXS+z1v2HobugDz4s1IeFXM3wZB44uczs+eazB5Q/ccdhQw== -tslib@^1.9.0: +tslib@^1.9.0, tslib@^1.9.3: version "1.14.1" resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.14.1.tgz#cf2d38bdc34a134bcaf1091c41f6619e2f672d00" integrity sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg== @@ -9415,6 +9661,13 @@ which@^2.0.1: dependencies: isexe "^2.0.0" +wide-align@^1.1.0: + version "1.1.3" + resolved "https://registry.yarnpkg.com/wide-align/-/wide-align-1.1.3.tgz#ae074e6bdc0c14a431e804e624549c633b000457" + integrity sha512-QGkOQc8XL6Bt5PwnsExKBPuMKBxnGxWWW3fU55Xt4feHozMUhdUMaBCk290qpm/wG5u/RSKzwdAC4i51YigihA== + dependencies: + string-width "^1.0.2 || 2" + widest-line@^3.1.0: version "3.1.0" resolved "https://registry.yarnpkg.com/widest-line/-/widest-line-3.1.0.tgz#8292333bbf66cb45ff0de1603b136b7ae1496eca"