From cfd699285fd884c0fdf877dd4f336618d839b62a Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Mon, 22 Jun 2020 20:34:58 +0100 Subject: [PATCH] fix: use new `vue-use-web` api --- package.json | 22 ++-- src/components/GithubRepos.vue | 5 +- src/utils/github.ts | 8 +- src/utils/local-storage.ts | 3 +- src/utils/theme.ts | 2 +- yarn.lock | 184 +++++++++++++++++---------------- 6 files changed, 116 insertions(+), 108 deletions(-) diff --git a/package.json b/package.json index 62893403..13857cfd 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "dependencies": { "@vapper/core": "1.11.2", "@vapper/plugin-prerender": "1.0.1", - "@vue/composition-api": "0.5.0", + "@vue/composition-api": "0.6.6", "core-js": "3.6.5", "shiki": "0.1.7", "vue": "2.6.11", @@ -25,22 +25,22 @@ }, "devDependencies": { "@types/jest": "26.0.0", - "@typescript-eslint/eslint-plugin": "3.2.0", - "@typescript-eslint/parser": "3.2.0", - "@vue/cli-plugin-babel": "4.4.4", - "@vue/cli-plugin-eslint": "4.4.4", - "@vue/cli-plugin-router": "4.4.4", - "@vue/cli-plugin-typescript": "4.4.4", - "@vue/cli-plugin-unit-jest": "4.4.4", - "@vue/cli-service": "4.4.4", + "@typescript-eslint/eslint-plugin": "3.4.0", + "@typescript-eslint/parser": "3.4.0", + "@vue/cli-plugin-babel": "4.4.5", + "@vue/cli-plugin-eslint": "4.4.5", + "@vue/cli-plugin-router": "4.4.5", + "@vue/cli-plugin-typescript": "4.4.5", + "@vue/cli-plugin-unit-jest": "4.4.5", + "@vue/cli-service": "4.4.5", "@vue/eslint-config-prettier": "6.0.0", "@vue/eslint-config-typescript": "5.0.2", "@vue/test-utils": "1.0.3", "axios": "0.19.2", - "eslint": "7.2.0", + "eslint": "7.3.0", "eslint-plugin-prettier": "3.1.4", "eslint-plugin-vue": "6.2.2", - "frontmatter-markdown-loader": "3.5.0", + "frontmatter-markdown-loader": "3.6.0", "lint-staged": "10.2.11", "postcss-preset-env": "6.7.0", "prettier": "2.0.5", diff --git a/src/components/GithubRepos.vue b/src/components/GithubRepos.vue index b7b870ed..5e99f1c1 100644 --- a/src/components/GithubRepos.vue +++ b/src/components/GithubRepos.vue @@ -39,9 +39,10 @@ import ItemList from '@/components/ItemList.vue' import { useGithub } from '@/utils/github' const repos = [ - 'danielroe/nuxt-typed-vuex', 'nuxt/now-builder', - 'danielroe/vue-sanity', + 'nuxt-community/composition-api', + 'danielroe/nuxt-typed-vuex', + 'danielroe/sanity-typed-queries', ] export default defineComponent({ diff --git a/src/utils/github.ts b/src/utils/github.ts index f1ab3a54..e4953128 100644 --- a/src/utils/github.ts +++ b/src/utils/github.ts @@ -2,10 +2,12 @@ import { computed } from '@vue/composition-api' import { useFetch } from 'vue-use-web' export function useGithub(repo: string) { - const { json } = useFetch(`https://api.github.com/repos/${repo}`, {}) + const { response } = useFetch(`https://api.github.com/repos/${repo}`, {}) - const stars = computed(() => json.value && json.value.stargazers_count) - const language = computed(() => json.value && json.value.language) + const stars = computed( + () => response.value && response.value.stargazers_count, + ) + const language = computed(() => response.value && response.value.language) return { stars, language } } diff --git a/src/utils/local-storage.ts b/src/utils/local-storage.ts index 000a2071..69b649f2 100644 --- a/src/utils/local-storage.ts +++ b/src/utils/local-storage.ts @@ -42,6 +42,7 @@ function useLocalStorage( } watch( + refVal, () => { try { localStorage.setItem(key, serializedValue(refVal.value)) @@ -50,7 +51,7 @@ function useLocalStorage( console.warn(e) } }, - { flush: 'sync' }, + { flush: 'sync', immediate: true }, ) }) diff --git a/src/utils/theme.ts b/src/utils/theme.ts index 34ef2c01..3bd482c7 100644 --- a/src/utils/theme.ts +++ b/src/utils/theme.ts @@ -9,7 +9,7 @@ export function useTheme() { if (!theme) theme = useLocalStorage('theme', 'dark', true) onMounted(() => { - watch(() => localStorage.setItem('theme', theme.value || 'dark')) + watch(theme, () => localStorage.setItem('theme', theme.value || 'dark')) }) function toggleTheme() { diff --git a/yarn.lock b/yarn.lock index a252bb93..6369b593 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1224,41 +1224,42 @@ dependencies: "@types/yargs-parser" "*" -"@typescript-eslint/eslint-plugin@3.2.0": - version "3.2.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-3.2.0.tgz#7fb997f391af32ae6ca1dbe56bcefe4dd30bda14" - integrity sha512-t9RTk/GyYilIXt6BmZurhBzuMT9kLKw3fQoJtK9ayv0tXTlznXEAnx07sCLXdkN3/tZDep1s1CEV95CWuARYWA== +"@typescript-eslint/eslint-plugin@3.4.0": + version "3.4.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-3.4.0.tgz#8378062e6be8a1d049259bdbcf27ce5dfbeee62b" + integrity sha512-wfkpiqaEVhZIuQRmudDszc01jC/YR7gMSxa6ulhggAe/Hs0KVIuo9wzvFiDbG3JD5pRFQoqnf4m7REDsUvBnMQ== dependencies: - "@typescript-eslint/experimental-utils" "3.2.0" + "@typescript-eslint/experimental-utils" "3.4.0" + debug "^4.1.1" functional-red-black-tree "^1.0.1" regexpp "^3.0.0" semver "^7.3.2" tsutils "^3.17.1" -"@typescript-eslint/experimental-utils@3.2.0": - version "3.2.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/experimental-utils/-/experimental-utils-3.2.0.tgz#4dab8fc9f44f059ec073470a81bb4d7d7d51e6c5" - integrity sha512-UbJBsk+xO9dIFKtj16+m42EvUvsjZbbgQ2O5xSTSfVT1Z3yGkL90DVu0Hd3029FZ5/uBgl+F3Vo8FAcEcqc6aQ== +"@typescript-eslint/experimental-utils@3.4.0": + version "3.4.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/experimental-utils/-/experimental-utils-3.4.0.tgz#8a44dfc6fb7f1d071937b390fe27608ebda122b8" + integrity sha512-rHPOjL43lOH1Opte4+dhC0a/+ks+8gOBwxXnyrZ/K4OTAChpSjP76fbI8Cglj7V5GouwVAGaK+xVwzqTyE/TPw== dependencies: "@types/json-schema" "^7.0.3" - "@typescript-eslint/typescript-estree" "3.2.0" + "@typescript-eslint/typescript-estree" "3.4.0" eslint-scope "^5.0.0" eslint-utils "^2.0.0" -"@typescript-eslint/parser@3.2.0": - version "3.2.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-3.2.0.tgz#d9d7867456b1b8ecae9e724269b0bc932f06cbca" - integrity sha512-Vhu+wwdevDLVDjK1lIcoD6ZbuOa93fzqszkaO3iCnmrScmKwyW/AGkzc2UvfE5TCoCXqq7Jyt6SOXjsIlpqF4A== +"@typescript-eslint/parser@3.4.0": + version "3.4.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-3.4.0.tgz#fe52b68c5cb3bba3f5d875bd17adb70420d49d8d" + integrity sha512-ZUGI/de44L5x87uX5zM14UYcbn79HSXUR+kzcqU42gH0AgpdB/TjuJy3m4ezI7Q/jk3wTQd755mxSDLhQP79KA== dependencies: "@types/eslint-visitor-keys" "^1.0.0" - "@typescript-eslint/experimental-utils" "3.2.0" - "@typescript-eslint/typescript-estree" "3.2.0" + "@typescript-eslint/experimental-utils" "3.4.0" + "@typescript-eslint/typescript-estree" "3.4.0" eslint-visitor-keys "^1.1.0" -"@typescript-eslint/typescript-estree@3.2.0": - version "3.2.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-3.2.0.tgz#c735f1ca6b4d3cd671f30de8c9bde30843e7ead8" - integrity sha512-uh+Y2QO7dxNrdLw7mVnjUqkwO/InxEqwN0wF+Za6eo3coxls9aH9kQ/5rSvW2GcNanebRTmsT5w1/92lAOb1bA== +"@typescript-eslint/typescript-estree@3.4.0": + version "3.4.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-3.4.0.tgz#6a787eb70b48969e4cd1ea67b057083f96dfee29" + integrity sha512-zKwLiybtt4uJb4mkG5q2t6+W7BuYx2IISiDNV+IY68VfoGwErDx/RfVI7SWL4gnZ2t1A1ytQQwZ+YOJbHHJ2rw== dependencies: debug "^4.1.1" eslint-visitor-keys "^1.1.0" @@ -1347,10 +1348,10 @@ lodash.kebabcase "^4.1.1" svg-tags "^1.0.0" -"@vue/babel-preset-app@^4.4.4": - version "4.4.4" - resolved "https://registry.yarnpkg.com/@vue/babel-preset-app/-/babel-preset-app-4.4.4.tgz#e40929ca89ea3d547ea20cf0a15c222c9ad1ba38" - integrity sha512-9b74d/lz4GEc9zkF3C+vjgEXYqu9ITq1DimUT+IVRJDvhgnV+a3C+pQY4Kl4PZSOyqkTHM7jE6eG2K5DUwKpWg== +"@vue/babel-preset-app@^4.4.5": + version "4.4.5" + resolved "https://registry.yarnpkg.com/@vue/babel-preset-app/-/babel-preset-app-4.4.5.tgz#f769fe270702bfaf39020592d1d7ed18eaa6e2d1" + integrity sha512-od8qd5TXR4lJtvxfhXlI4+sOLA3sNRXU8qMhPviGBi8sprppJoa5Lm4iomdX4B+C086b9WX4HuLFC1J/k7sVmw== dependencies: "@babel/core" "^7.9.6" "@babel/helper-compilation-targets" "^7.9.6" @@ -1415,50 +1416,50 @@ "@vue/babel-plugin-transform-vue-jsx" "^1.1.2" camelcase "^5.0.0" -"@vue/cli-overlay@^4.4.4": - version "4.4.4" - resolved "https://registry.yarnpkg.com/@vue/cli-overlay/-/cli-overlay-4.4.4.tgz#43268a8cdcd3ad741dfa51006b576064fbbe6e8e" - integrity sha512-cTvtifIpsSVF2dPF+ibUoAq+hMkEbg4EYTsf6dUuUrBKi1G2tyZ3Pnx54U2NpqXjJMykqMGX+i+BxpIG5tJCGw== +"@vue/cli-overlay@^4.4.5": + version "4.4.5" + resolved "https://registry.yarnpkg.com/@vue/cli-overlay/-/cli-overlay-4.4.5.tgz#feb7be0caac080927f1941612c0a8e41996190af" + integrity sha512-4RtoBpmnAODzHpUsuAAoZ5u4YEkcQHvdRXiC4yXEmk7Kfc8WXUC+n9UsIiXKhSTA7NUnQyWTL7nXaR9gQhn3Kg== -"@vue/cli-plugin-babel@4.4.4": - version "4.4.4" - resolved "https://registry.yarnpkg.com/@vue/cli-plugin-babel/-/cli-plugin-babel-4.4.4.tgz#18904b5e38173291b37054c2f0393fb8c748f37b" - integrity sha512-VctlKy5oEYhI+AiPpzlorjDmuhbpoRQcKXpBdf2bXvq0+uuTQg7UXmPX0RKJejnFTKSJZvuPTihgfCWiyh9C3Q== +"@vue/cli-plugin-babel@4.4.5": + version "4.4.5" + resolved "https://registry.yarnpkg.com/@vue/cli-plugin-babel/-/cli-plugin-babel-4.4.5.tgz#ebdd8f982c26b57642a122f574113d254aedfa2d" + integrity sha512-iw1blSJToR8pPONY6PU0yCYhJAOF1AD5pinO357QF8WiCzn2RMQ2l234brs/iU+3yjtPFVKXWrQ+OJDttkpjqQ== dependencies: "@babel/core" "^7.9.6" - "@vue/babel-preset-app" "^4.4.4" - "@vue/cli-shared-utils" "^4.4.4" + "@vue/babel-preset-app" "^4.4.5" + "@vue/cli-shared-utils" "^4.4.5" babel-loader "^8.1.0" cache-loader "^4.1.0" thread-loader "^2.1.3" webpack "^4.0.0" -"@vue/cli-plugin-eslint@4.4.4": - version "4.4.4" - resolved "https://registry.yarnpkg.com/@vue/cli-plugin-eslint/-/cli-plugin-eslint-4.4.4.tgz#19fd1da1863a90584b78939cce1ce94c49ed4388" - integrity sha512-B+l3smq3Lyob9qiuywC/IymCCyV2Gm/l1ZtxRzQI98RDTKei1PrRriIi3Hrg/AkK59HirwR7P7wiNhF2Pqg3VA== +"@vue/cli-plugin-eslint@4.4.5": + version "4.4.5" + resolved "https://registry.yarnpkg.com/@vue/cli-plugin-eslint/-/cli-plugin-eslint-4.4.5.tgz#11eb77da1dba8f78302edb939d4a875fc7dded26" + integrity sha512-2igWVdzU367F/EZNNeTkEsd7F+jxVj3lq184Sip89yZHZsULk5BnCEsTJPBNAPfSRky3LF2Pj85t58erGdrHvw== dependencies: - "@vue/cli-shared-utils" "^4.4.4" + "@vue/cli-shared-utils" "^4.4.5" eslint-loader "^2.2.1" globby "^9.2.0" inquirer "^7.1.0" webpack "^4.0.0" yorkie "^2.0.0" -"@vue/cli-plugin-router@4.4.4", "@vue/cli-plugin-router@^4.4.4": - version "4.4.4" - resolved "https://registry.yarnpkg.com/@vue/cli-plugin-router/-/cli-plugin-router-4.4.4.tgz#59e11dd55df854618616ad4f013b20c52e4a3a68" - integrity sha512-jZTupo+zFz1YHH3Q4WC5nJW5wlNEDqX//m+atwUISPahVEG6/EV8HwJnQDT7EQ9re4v78xI27eOtyNw+qSyiSA== +"@vue/cli-plugin-router@4.4.5", "@vue/cli-plugin-router@^4.4.5": + version "4.4.5" + resolved "https://registry.yarnpkg.com/@vue/cli-plugin-router/-/cli-plugin-router-4.4.5.tgz#9c987161ee3986744ce6bab7a3a09b5ec86c2759" + integrity sha512-vVTCQy4nYEDA8yqeJg8ohobDtAKCyuhkYDEzY0V9yoNzgSpRCgJtM0FDozPmaQpBHoeud17h2bf6hy6SuXUs3Q== dependencies: - "@vue/cli-shared-utils" "^4.4.4" + "@vue/cli-shared-utils" "^4.4.5" -"@vue/cli-plugin-typescript@4.4.4": - version "4.4.4" - resolved "https://registry.yarnpkg.com/@vue/cli-plugin-typescript/-/cli-plugin-typescript-4.4.4.tgz#bac7a4d33bc40df48ef1e49310183de029976e64" - integrity sha512-7ds7JwrA10YnMAdIYE4PnFltiZzjMclaTl5J6Ibwh0tGwRqAIX+AJ3euX7KqYi2hcPGwFZPx8zhSQhrxtkdrZA== +"@vue/cli-plugin-typescript@4.4.5": + version "4.4.5" + resolved "https://registry.yarnpkg.com/@vue/cli-plugin-typescript/-/cli-plugin-typescript-4.4.5.tgz#0db0c9abf5a74d9e7312231e5ee71eec829a7cdd" + integrity sha512-erQU38JW2oeSRP6MqFjNpeH85yBuNiHUb698zi89VPyphKdFtvuhDpx95hXmVF9UfbsCwe7vWX9Q9zJbxQLCAQ== dependencies: "@types/webpack-env" "^1.15.2" - "@vue/cli-shared-utils" "^4.4.4" + "@vue/cli-shared-utils" "^4.4.5" cache-loader "^4.1.0" fork-ts-checker-webpack-plugin "^3.1.1" globby "^9.2.0" @@ -1468,15 +1469,15 @@ webpack "^4.0.0" yorkie "^2.0.0" -"@vue/cli-plugin-unit-jest@4.4.4": - version "4.4.4" - resolved "https://registry.yarnpkg.com/@vue/cli-plugin-unit-jest/-/cli-plugin-unit-jest-4.4.4.tgz#a22e29ec5aee34f23e44d2c0f3e7d7a3bd8c19cc" - integrity sha512-k549nUwraDFdB86Vbvyvfb/lKab3bl7yHNOMqYqK3Vcq1LBHxzlFvlFBS+1lj5EQl8+VgTRLFHDknRP0QZuhbg== +"@vue/cli-plugin-unit-jest@4.4.5": + version "4.4.5" + resolved "https://registry.yarnpkg.com/@vue/cli-plugin-unit-jest/-/cli-plugin-unit-jest-4.4.5.tgz#9545778ebd083d055a98152471df78f2122f67b3" + integrity sha512-qNOjIVhGAXI8c4vs2MVZoCymfD6cA5RDO12Oh8vS1Ka6OIPzrLy6PHLadsahUe2Svp9nJTgEKDmn/hFyW1qdyg== dependencies: "@babel/core" "^7.9.6" "@babel/plugin-transform-modules-commonjs" "^7.9.6" "@types/jest" "^24.0.19" - "@vue/cli-shared-utils" "^4.4.4" + "@vue/cli-shared-utils" "^4.4.5" babel-core "^7.0.0-bridge.0" babel-jest "^24.9.0" babel-plugin-transform-es2015-modules-commonjs "^6.26.2" @@ -1489,23 +1490,23 @@ ts-jest "^24.2.0" vue-jest "^3.0.5" -"@vue/cli-plugin-vuex@^4.4.4": - version "4.4.4" - resolved "https://registry.yarnpkg.com/@vue/cli-plugin-vuex/-/cli-plugin-vuex-4.4.4.tgz#42328c161978823a1eac97a07832a7aa225cbb9b" - integrity sha512-A2SZD0B5yPz60W7go2ZYTIHooQse7bhhNUlinGQrdYeQCuURKUqqUbl/zF8u/8Qqo6nZ4F469fHNH6XWRN9Nnw== +"@vue/cli-plugin-vuex@^4.4.5": + version "4.4.5" + resolved "https://registry.yarnpkg.com/@vue/cli-plugin-vuex/-/cli-plugin-vuex-4.4.5.tgz#4c4cf7f2f2361fb82ca8cc2062521d6c9741b849" + integrity sha512-CyWWv41cgVE7vcq/NcuH6Ee0zqFJFvIqkWVf3as6S5wRdeF5VHuhBh+5/A0zPyZOL6FVs32khYqvez+x6tVdfg== -"@vue/cli-service@4.4.4": - version "4.4.4" - resolved "https://registry.yarnpkg.com/@vue/cli-service/-/cli-service-4.4.4.tgz#256c990e49a2ff8dc533b773c504a65435c75c4c" - integrity sha512-AKWpBpBAB+LHJ8JpArM2BJ0I2REy9lG7xIkJn9k3Vw9gadejx+y74P0bJh/J8hY65kDTFltO1BW1Kv3URw/ifQ== +"@vue/cli-service@4.4.5": + version "4.4.5" + resolved "https://registry.yarnpkg.com/@vue/cli-service/-/cli-service-4.4.5.tgz#4e2c9d30bef47356f24834d0239301b68d414062" + integrity sha512-6EiH2Cr3GAjLFU2pmxEwU5uDqFG1kpT47UWRZD7CssZFfEVIkfo1bQdHapy/hS7p1u216bckzkRhNvdOUPvXkA== dependencies: "@intervolga/optimize-cssnano-plugin" "^1.0.5" "@soda/friendly-errors-webpack-plugin" "^1.7.1" "@soda/get-current-script" "^1.0.0" - "@vue/cli-overlay" "^4.4.4" - "@vue/cli-plugin-router" "^4.4.4" - "@vue/cli-plugin-vuex" "^4.4.4" - "@vue/cli-shared-utils" "^4.4.4" + "@vue/cli-overlay" "^4.4.5" + "@vue/cli-plugin-router" "^4.4.5" + "@vue/cli-plugin-vuex" "^4.4.5" + "@vue/cli-shared-utils" "^4.4.5" "@vue/component-compiler-utils" "^3.1.2" "@vue/preload-webpack-plugin" "^1.1.0" "@vue/web-component-wrapper" "^1.2.0" @@ -1552,10 +1553,10 @@ webpack-dev-server "^3.11.0" webpack-merge "^4.2.2" -"@vue/cli-shared-utils@^4.4.4": - version "4.4.4" - resolved "https://registry.yarnpkg.com/@vue/cli-shared-utils/-/cli-shared-utils-4.4.4.tgz#b9685b73a604c8a7ee82d6fc3319fe7bb2cdb274" - integrity sha512-ccMZtTMSutR35V5nrU/eyj+zRMomTRGBTLwJPmaJ2sRiW/93MTggQGXDWC8JRAA8yiU1N8xza8mjBxS0O2wIAA== +"@vue/cli-shared-utils@^4.4.5": + version "4.4.5" + resolved "https://registry.yarnpkg.com/@vue/cli-shared-utils/-/cli-shared-utils-4.4.5.tgz#fe5025a28043fec9d6a301107325433a63eafccc" + integrity sha512-DChYSjidHZmHtxROIp1WHlvhp06AkUzNBdkw0+uJ6FWHSQmkeRpsCU9XYTdsyRbatHzO0wnJ6GO+20yl3ZzLPw== dependencies: "@hapi/joi" "^15.0.1" chalk "^2.4.2" @@ -1567,7 +1568,6 @@ ora "^3.4.0" read-pkg "^5.1.1" request "^2.88.2" - request-promise-native "^1.0.8" semver "^6.1.0" strip-ansi "^6.0.0" @@ -1587,12 +1587,12 @@ optionalDependencies: prettier "^1.18.2" -"@vue/composition-api@0.5.0": - version "0.5.0" - resolved "https://registry.yarnpkg.com/@vue/composition-api/-/composition-api-0.5.0.tgz#2dbaa02a5d1f5d0d407d53d5529fe444aa8362f3" - integrity sha512-9QDFWq7q839G1CTTaxeruPOTrrVOPSaVipJ2TxxK9QAruePNTHOGbOOFRpc8WLl4YPsu1/c29yBhMVmrXz8BZw== +"@vue/composition-api@0.6.6": + version "0.6.6" + resolved "https://registry.yarnpkg.com/@vue/composition-api/-/composition-api-0.6.6.tgz#1859e2773ef76a0b2abef65ace460062b454d6b1" + integrity sha512-jSoq/fWBjWfI9yr9aT7N9OA+1F1o1mwl8LHrZj7bndHW1tdnaVud7GyYfLX9XS2XQMntD+UqPmC0dC4b5d3lDA== dependencies: - tslib "^1.9.3" + tslib "^2.0.0" "@vue/eslint-config-prettier@6.0.0": version "6.0.0" @@ -4162,10 +4162,10 @@ eslint-visitor-keys@^1.1.0, eslint-visitor-keys@^1.2.0: resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-1.2.0.tgz#74415ac884874495f78ec2a97349525344c981fa" integrity sha512-WFb4ihckKil6hu3Dp798xdzSfddwKKU3+nGniKF6HfeW6OLd2OUDEPP7TcHtB5+QXOKg2s6B2DaMPE1Nn/kxKQ== -eslint@7.2.0: - version "7.2.0" - resolved "https://registry.yarnpkg.com/eslint/-/eslint-7.2.0.tgz#d41b2e47804b30dbabb093a967fb283d560082e6" - integrity sha512-B3BtEyaDKC5MlfDa2Ha8/D6DsS4fju95zs0hjS3HdGazw+LNayai38A25qMppK37wWGWNYSPOR6oYzlz5MHsRQ== +eslint@7.3.0: + version "7.3.0" + resolved "https://registry.yarnpkg.com/eslint/-/eslint-7.3.0.tgz#f9f1fc3dc1227985d0db88769f2bbac7b4b875d7" + integrity sha512-dJMVXwfU5PT1cj2Nv2VPPrKahKTGdX+5Dh0Q3YuKt+Y2UhdL2YbzsVaBMyG9HC0tBismlv/r1+eZqs6SMIV38Q== dependencies: "@babel/code-frame" "^7.0.0" ajv "^6.10.0" @@ -4173,6 +4173,7 @@ eslint@7.2.0: cross-spawn "^7.0.2" debug "^4.0.1" doctrine "^3.0.0" + enquirer "^2.3.5" eslint-scope "^5.1.0" eslint-utils "^2.0.0" eslint-visitor-keys "^1.2.0" @@ -4186,7 +4187,6 @@ eslint@7.2.0: ignore "^4.0.6" import-fresh "^3.0.0" imurmurhash "^0.1.4" - inquirer "^7.0.0" is-glob "^4.0.0" js-yaml "^3.13.1" json-stable-stringify-without-jsonify "^1.0.1" @@ -4770,10 +4770,10 @@ front-matter@^4.0.0: dependencies: js-yaml "^3.13.1" -frontmatter-markdown-loader@3.5.0: - version "3.5.0" - resolved "https://registry.yarnpkg.com/frontmatter-markdown-loader/-/frontmatter-markdown-loader-3.5.0.tgz#8b0f9fc72e8f25c49f42a2b39266bba2159e285a" - integrity sha512-Eu5ZdzAO66kGmL8BkXUDNgiZJyHPjShjQOdqhRwJfD6KNBjOyDa+uGyCaYOGlsOIQ/wQtAVxYfVjnuGIdlpHdw== +frontmatter-markdown-loader@3.6.0: + version "3.6.0" + resolved "https://registry.yarnpkg.com/frontmatter-markdown-loader/-/frontmatter-markdown-loader-3.6.0.tgz#6474d27aa6aedbc1e6c440f24a75eb4e63e01cce" + integrity sha512-0bHOo9NDGnw7jVQ40B+11wilP+v7GV5vnvzMBT08tH/MK/6TIhjYwTAgoPjrauhGOy8ZbjK48IQYJdm4PIMDkA== dependencies: front-matter "^4.0.0" loader-utils "^2.0.0" @@ -5434,7 +5434,7 @@ ini@^1.3.4: resolved "https://registry.yarnpkg.com/ini/-/ini-1.3.5.tgz#eee25f56db1c9ec6085e0c22778083f596abf927" integrity sha512-RZY5huIKCMRWDUqZlEi72f/lmXKMvuszcMBduliQ3nnWbx9X/ZBQO7DijMEYS9EhHBb2qacRUMtC7svLwe0lcw== -inquirer@^7.0.0, inquirer@^7.1.0: +inquirer@^7.1.0: version "7.1.0" resolved "https://registry.yarnpkg.com/inquirer/-/inquirer-7.1.0.tgz#1298a01859883e17c7264b82870ae1034f92dd29" integrity sha512-5fJMWEmikSYu0nv/flMc475MhGbB7TSPd/2IpFV4I4rMklboCH2rQjYY5kKiYGHqUF9gvaambupcJFFG9dvReg== @@ -9098,7 +9098,7 @@ request-promise-core@1.1.3: dependencies: lodash "^4.17.15" -request-promise-native@^1.0.5, request-promise-native@^1.0.7, request-promise-native@^1.0.8: +request-promise-native@^1.0.5, request-promise-native@^1.0.7: version "1.0.8" resolved "https://registry.yarnpkg.com/request-promise-native/-/request-promise-native-1.0.8.tgz#a455b960b826e44e2bf8999af64dff2bfe58cb36" integrity sha512-dapwLGqkHtwL5AEbfenuzjTYg35Jd6KPytsC2/TLkVMz8rm+tNt72MGUWT1RP/aYawMpN6HqbNGBQaRcBtjQMQ== @@ -9499,7 +9499,7 @@ shiki-languages@^0.1.6: resolved "https://registry.yarnpkg.com/shiki-languages/-/shiki-languages-0.1.6.tgz#4a71eba9d345de4780fc46994e4d073356573e3e" integrity sha512-rMu+z97UCPKMtPBkzLBItReawXnlOgXZmELFwI/s3ATxd9VzJgSQTtQW/hmW5EYCrzF2kAUjoOnn+50/MPWjgQ== dependencies: - vscode-textmate "git+https://github.com/octref/vscode-textmate.git" + vscode-textmate "https://github.com/octref/vscode-textmate" shiki-themes@^0.1.7: version "0.1.7" @@ -10376,11 +10376,16 @@ tsconfig@^7.0.0: strip-bom "^3.0.0" strip-json-comments "^2.0.0" -tslib@^1.8.0, tslib@^1.8.1, tslib@^1.9.0, tslib@^1.9.3: +tslib@^1.8.0, tslib@^1.8.1, tslib@^1.9.0: version "1.13.0" resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.13.0.tgz#c881e13cc7015894ed914862d276436fa9a47043" integrity sha512-i/6DQjL8Xf3be4K/E6Wgpekn5Qasl1usyw++dAA35Ue5orEn65VIxOA+YvNNl9HV3qv70T7CNwjODHZrLwvd1Q== +tslib@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.0.0.tgz#18d13fc2dce04051e20f074cc8387fd8089ce4f3" + integrity sha512-lTqkx847PI7xEDYJntxZH89L2/aXInsyF2luSafe/+0fHOMjlBNXdH6th7f70qxLDhul7KZK0zC8V5ZIyHl0/g== + tslint@^5.20.1: version "5.20.1" resolved "https://registry.yarnpkg.com/tslint/-/tslint-5.20.1.tgz#e401e8aeda0152bc44dd07e614034f3f80c67b7d" @@ -10726,7 +10731,6 @@ vm-browserify@^1.0.1: "vscode-textmate@https://github.com/octref/vscode-textmate": version "4.0.1" - uid e65aabe2227febda7beaad31dd0fca1228c5ddf3 resolved "https://github.com/octref/vscode-textmate#e65aabe2227febda7beaad31dd0fca1228c5ddf3" vue-eslint-parser@^7.0.0: -- knotmirror 0.0.1