From 34c35ce4b05ad83ba3aec1f6487aad8cadde1538 Mon Sep 17 00:00:00 2001 From: bqy_fe <1743369777@qq.com> Date: Tue, 4 Jan 2022 11:37:29 +0800 Subject: [PATCH] fix: app search support i18 --- package.json | 5 +- .../search/components/SearchResult.vue | 4 +- src/layout/header/components/search/index.vue | 7 +- tsconfig.json | 2 + vue.config.js | 26 +-- yarn.lock | 160 ++++++++++-------- 6 files changed, 111 insertions(+), 93 deletions(-) diff --git a/package.json b/package.json index 8da116deb..3b7ab37ce 100644 --- a/package.json +++ b/package.json @@ -43,12 +43,11 @@ "devDependencies": { "@commitlint/cli": "^16.0.1", "@commitlint/config-conventional": "^16.0.0", - "@intlify/vue-i18n-loader": "^4.1.0", "@types/lodash": "^4.14.178", "@types/node": "^17.0.7", "@types/webpack-env": "^1.16.3", - "@typescript-eslint/eslint-plugin": "^5.8.1", - "@typescript-eslint/parser": "^5.8.1", + "@typescript-eslint/eslint-plugin": "^5.9.0", + "@typescript-eslint/parser": "^5.9.0", "@vue/cli-plugin-babel": "^5.0.0-rc.1", "@vue/cli-plugin-eslint": "^5.0.0-rc.1", "@vue/cli-plugin-router": "^5.0.0-rc.1", diff --git a/src/layout/header/components/search/components/SearchResult.vue b/src/layout/header/components/search/components/SearchResult.vue index 722a6d059..fc6beb93a 100644 --- a/src/layout/header/components/search/components/SearchResult.vue +++ b/src/layout/header/components/search/components/SearchResult.vue @@ -13,7 +13,7 @@ @mouseenter="handleMouse(item)" > - {{ item.meta?.title }} + @@ -25,6 +25,8 @@ import { computed } from 'vue'; import type { RouteRecordRaw } from 'vue-router'; import { EnterOutlined, BookOutlined } from '@ant-design/icons-vue'; + import { TitleI18n } from '@/components/basic/title-i18n'; + interface Props { value: string; options: RouteRecordRaw[]; diff --git a/src/layout/header/components/search/index.vue b/src/layout/header/components/search/index.vue index 3beb5dc20..ae829c5a3 100644 --- a/src/layout/header/components/search/index.vue +++ b/src/layout/header/components/search/index.vue @@ -45,6 +45,7 @@ import { SearchOutlined } from '@ant-design/icons-vue'; import SearchResult from './components/SearchResult.vue'; import SearchFooter from './components/SearchFooter.vue'; + import { transformI18n } from '@/hooks/useI18n'; const userStore = useUserStore(); const router = useRouter(); @@ -65,14 +66,10 @@ } }); - const getTitle = (title) => { - return typeof title === 'string' ? title : title?.['zh_CN']; - }; - /** 查询 */ function search() { resultOptions.value = menusList.value.filter((menu) => { - const title = getTitle(menu.meta?.title); + const title = transformI18n(menu.meta?.title); return ( keyword.value && title?.toLocaleLowerCase().includes(keyword.value.toLocaleLowerCase().trim()) diff --git a/tsconfig.json b/tsconfig.json index d14240c8b..0fac8b56c 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -50,5 +50,7 @@ "node_modules", "dist", "**/*.js", + "**/*.md", + "src/**/*.md", ] } diff --git a/vue.config.js b/vue.config.js index a887f52f1..89680d610 100644 --- a/vue.config.js +++ b/vue.config.js @@ -70,18 +70,24 @@ module.exports = defineConfig({ return args; }); + // 忽略解析markdown文件 + config.module.noParse(/\.md$/); + if (IS_PROD) { + config.module + .rule('md') + .test(/\.md$/) + .type('javascript/auto') + .use('asset') + .loader('asset') + .options({ + limit: 100, + esModule: false, + generator: () => '', + }); + } + // svg rule loader config.module.rule('svg').exclude.add(resolve('src/assets/icons')).end(); - // 忽略解析markdown文件 - config.module - .rule('md') - .test(/\.md$/) - .use('url-loader') - .loader('url-loader') - .options({ - limit: 10, - generator: () => '', - }); config.module .rule('icons') .test(/\.svg$/) diff --git a/yarn.lock b/yarn.lock index 20e6ac8b8..898224e9a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1172,17 +1172,6 @@ resolved "https://registry.npm.taobao.org/@hutson/parse-repository-url/download/@hutson/parse-repository-url-3.0.2.tgz#98c23c950a3d9b6c8f0daed06da6c3af06981340" integrity sha1-mMI8lQo9m2yPDa7QbabDrwaYE0A= -"@intlify/bundle-utils@next": - version "2.2.0" - resolved "https://registry.npmmirror.com/@intlify/bundle-utils/download/@intlify/bundle-utils-2.2.0.tgz#0d0a53b1227c41f225ec6bb69b15644f88d5d18d" - integrity sha512-qVuN7+c84UB6rlLHSued2J9R86LG1rHg6ZibCghGMyPXnW0nOuIfkUFf1F7tXIqfMXjIPeJzlbpmzjWTI2z9Kw== - dependencies: - "@intlify/message-compiler" beta - "@intlify/shared" beta - jsonc-eslint-parser "^1.0.1" - source-map "^0.6.1" - yaml-eslint-parser "^0.3.2" - "@intlify/core-base@9.2.0-beta.26": version "9.2.0-beta.26" resolved "https://registry.npmmirror.com/@intlify/core-base/download/@intlify/core-base-9.2.0-beta.26.tgz#0092cfce681a47db1a502583e0108d61cd7b7327" @@ -1200,7 +1189,7 @@ dependencies: "@intlify/shared" "9.2.0-beta.26" -"@intlify/message-compiler@9.2.0-beta.26", "@intlify/message-compiler@beta": +"@intlify/message-compiler@9.2.0-beta.26": version "9.2.0-beta.26" resolved "https://registry.npmmirror.com/@intlify/message-compiler/download/@intlify/message-compiler-9.2.0-beta.26.tgz#9cc5f9f112030483c4a35eaef105ba68cc888fa0" integrity sha512-qtDgHCMqrXNTekKXGzm0Dm6r3+/X7/jFXP+E07hx+PJbPMv7DzK1iU8h5LlAMQ1/jr2UIRBgXvR5wh35OKoGrA== @@ -1208,7 +1197,7 @@ "@intlify/shared" "9.2.0-beta.26" source-map "0.6.1" -"@intlify/shared@9.2.0-beta.26", "@intlify/shared@beta": +"@intlify/shared@9.2.0-beta.26": version "9.2.0-beta.26" resolved "https://registry.npmmirror.com/@intlify/shared/download/@intlify/shared-9.2.0-beta.26.tgz#430f69235c12f002a93796cc74eb28546bed6be4" integrity sha512-MjUlkjNThqkqy8yXUcFKBiW/hIfqAn5cP3Vd0b4wdOHS8rPCEbvSbAnF08uiZDkVv8gTcsLyymX21GaU6oYyyQ== @@ -1221,17 +1210,6 @@ "@intlify/core-base" "9.2.0-beta.26" "@intlify/shared" "9.2.0-beta.26" -"@intlify/vue-i18n-loader@^4.1.0": - version "4.1.0" - resolved "https://registry.npmmirror.com/@intlify/vue-i18n-loader/download/@intlify/vue-i18n-loader-4.1.0.tgz#dc3717640c1dc560b3d8997b3f6746e9ef84ee52" - integrity sha512-Khf0CXi2rVjL4dWNk5WemoRSs20t7C7R+WhDrcpIIhAxJ2VQ7bjW4mLEmvvC7dc4uFyXI4q+WYaoFTVFzo90aA== - dependencies: - "@intlify/bundle-utils" next - "@intlify/shared" beta - js-yaml "^4.1.0" - json5 "^2.2.0" - loader-utils "^2.0.0" - "@nodelib/fs.scandir@2.1.5": version "2.1.5" resolved "https://registry.nlark.com/@nodelib/fs.scandir/download/@nodelib/fs.scandir-2.1.5.tgz#7619c2eb21b25483f6d167548b4cfd5a7488c3d5" @@ -1536,7 +1514,7 @@ dependencies: "@types/node" "*" -"@typescript-eslint/eslint-plugin@^5.0.0", "@typescript-eslint/eslint-plugin@^5.8.1": +"@typescript-eslint/eslint-plugin@^5.0.0": version "5.8.1" resolved "https://registry.npmmirror.com/@typescript-eslint/eslint-plugin/download/@typescript-eslint/eslint-plugin-5.8.1.tgz#97dfaa39f38e99f86801fdf34f9f1bed66704258" integrity sha512-wTZ5oEKrKj/8/366qTM366zqhIKAp6NCMweoRONtfuC07OAU9nVI2GZZdqQ1qD30WAAtcPdkH+npDwtRFdp4Rw== @@ -1550,6 +1528,21 @@ semver "^7.3.5" tsutils "^3.21.0" +"@typescript-eslint/eslint-plugin@^5.9.0": + version "5.9.0" + resolved "https://registry.npmmirror.com/@typescript-eslint/eslint-plugin/download/@typescript-eslint/eslint-plugin-5.9.0.tgz#382182d5cb062f52aac54434cfc47c28898c8006" + integrity sha512-qT4lr2jysDQBQOPsCCvpPUZHjbABoTJW8V9ZzIYKHMfppJtpdtzszDYsldwhFxlhvrp7aCHeXD1Lb9M1zhwWwQ== + dependencies: + "@typescript-eslint/experimental-utils" "5.9.0" + "@typescript-eslint/scope-manager" "5.9.0" + "@typescript-eslint/type-utils" "5.9.0" + debug "^4.3.2" + functional-red-black-tree "^1.0.1" + ignore "^5.1.8" + regexpp "^3.2.0" + semver "^7.3.5" + tsutils "^3.21.0" + "@typescript-eslint/experimental-utils@5.8.1": version "5.8.1" resolved "https://registry.npmmirror.com/@typescript-eslint/experimental-utils/download/@typescript-eslint/experimental-utils-5.8.1.tgz#01861eb2f0749f07d02db342b794145a66ed346f" @@ -1562,7 +1555,19 @@ eslint-scope "^5.1.1" eslint-utils "^3.0.0" -"@typescript-eslint/parser@^5.0.0", "@typescript-eslint/parser@^5.8.1": +"@typescript-eslint/experimental-utils@5.9.0": + version "5.9.0" + resolved "https://registry.npmmirror.com/@typescript-eslint/experimental-utils/download/@typescript-eslint/experimental-utils-5.9.0.tgz#652762d37d6565ef07af285021b8347b6c79a827" + integrity sha512-ZnLVjBrf26dn7ElyaSKa6uDhqwvAi4jBBmHK1VxuFGPRAxhdi18ubQYSGA7SRiFiES3q9JiBOBHEBStOFkwD2g== + dependencies: + "@types/json-schema" "^7.0.9" + "@typescript-eslint/scope-manager" "5.9.0" + "@typescript-eslint/types" "5.9.0" + "@typescript-eslint/typescript-estree" "5.9.0" + eslint-scope "^5.1.1" + eslint-utils "^3.0.0" + +"@typescript-eslint/parser@^5.0.0": version "5.8.1" resolved "https://registry.npmmirror.com/@typescript-eslint/parser/download/@typescript-eslint/parser-5.8.1.tgz#380f5f1e596b540059998aa3fc80d78f0f9b0d0a" integrity sha512-K1giKHAjHuyB421SoXMXFHHVI4NdNY603uKw92++D3qyxSeYvC10CBJ/GE5Thpo4WTUvu1mmJI2/FFkz38F2Gw== @@ -1572,6 +1577,16 @@ "@typescript-eslint/typescript-estree" "5.8.1" debug "^4.3.2" +"@typescript-eslint/parser@^5.9.0": + version "5.9.0" + resolved "https://registry.npmmirror.com/@typescript-eslint/parser/download/@typescript-eslint/parser-5.9.0.tgz#fdbb08767a4caa6ca6ccfed5f9ffe9387f0c7d97" + integrity sha512-/6pOPz8yAxEt4PLzgbFRDpZmHnXCeZgPDrh/1DaVKOjvn/UPMlWhbx/gA96xRi2JxY1kBl2AmwVbyROUqys5xQ== + dependencies: + "@typescript-eslint/scope-manager" "5.9.0" + "@typescript-eslint/types" "5.9.0" + "@typescript-eslint/typescript-estree" "5.9.0" + debug "^4.3.2" + "@typescript-eslint/scope-manager@5.8.1": version "5.8.1" resolved "https://registry.npmmirror.com/@typescript-eslint/scope-manager/download/@typescript-eslint/scope-manager-5.8.1.tgz#7fc0604f7ade8833e4d42cebaa1e2debf8b932e4" @@ -1580,11 +1595,33 @@ "@typescript-eslint/types" "5.8.1" "@typescript-eslint/visitor-keys" "5.8.1" +"@typescript-eslint/scope-manager@5.9.0": + version "5.9.0" + resolved "https://registry.npmmirror.com/@typescript-eslint/scope-manager/download/@typescript-eslint/scope-manager-5.9.0.tgz#02dfef920290c1dcd7b1999455a3eaae7a1a3117" + integrity sha512-DKtdIL49Qxk2a8icF6whRk7uThuVz4A6TCXfjdJSwOsf+9ree7vgQWcx0KOyCdk0i9ETX666p4aMhrRhxhUkyg== + dependencies: + "@typescript-eslint/types" "5.9.0" + "@typescript-eslint/visitor-keys" "5.9.0" + +"@typescript-eslint/type-utils@5.9.0": + version "5.9.0" + resolved "https://registry.npmmirror.com/@typescript-eslint/type-utils/download/@typescript-eslint/type-utils-5.9.0.tgz#fd5963ead04bc9b7af9c3a8e534d8d39f1ce5f93" + integrity sha512-uVCb9dJXpBrK1071ri5aEW7ZHdDHAiqEjYznF3HSSvAJXyrkxGOw2Ejibz/q6BXdT8lea8CMI0CzKNFTNI6TEQ== + dependencies: + "@typescript-eslint/experimental-utils" "5.9.0" + debug "^4.3.2" + tsutils "^3.21.0" + "@typescript-eslint/types@5.8.1": version "5.8.1" resolved "https://registry.npmmirror.com/@typescript-eslint/types/download/@typescript-eslint/types-5.8.1.tgz#04c6b49ebc8c99238238a6b8b43f2fc613983b5a" integrity sha512-L/FlWCCgnjKOLefdok90/pqInkomLnAcF9UAzNr+DSqMC3IffzumHTQTrINXhP1gVp9zlHiYYjvozVZDPleLcA== +"@typescript-eslint/types@5.9.0": + version "5.9.0" + resolved "https://registry.npmmirror.com/@typescript-eslint/types/download/@typescript-eslint/types-5.9.0.tgz#e5619803e39d24a03b3369506df196355736e1a3" + integrity sha512-mWp6/b56Umo1rwyGCk8fPIzb9Migo8YOniBGPAQDNC6C52SeyNGN4gsVwQTAR+RS2L5xyajON4hOLwAGwPtUwg== + "@typescript-eslint/typescript-estree@5.8.1": version "5.8.1" resolved "https://registry.npmmirror.com/@typescript-eslint/typescript-estree/download/@typescript-eslint/typescript-estree-5.8.1.tgz#a592855be688e7b729a1e9411d7d74ec992ed6ef" @@ -1598,6 +1635,19 @@ semver "^7.3.5" tsutils "^3.21.0" +"@typescript-eslint/typescript-estree@5.9.0": + version "5.9.0" + resolved "https://registry.npmmirror.com/@typescript-eslint/typescript-estree/download/@typescript-eslint/typescript-estree-5.9.0.tgz#0e5c6f03f982931abbfbc3c1b9df5fbf92a3490f" + integrity sha512-kxo3xL2mB7XmiVZcECbaDwYCt3qFXz99tBSuVJR4L/sR7CJ+UNAPrYILILktGj1ppfZ/jNt/cWYbziJUlHl1Pw== + dependencies: + "@typescript-eslint/types" "5.9.0" + "@typescript-eslint/visitor-keys" "5.9.0" + debug "^4.3.2" + globby "^11.0.4" + is-glob "^4.0.3" + semver "^7.3.5" + tsutils "^3.21.0" + "@typescript-eslint/visitor-keys@5.8.1": version "5.8.1" resolved "https://registry.npmmirror.com/@typescript-eslint/visitor-keys/download/@typescript-eslint/visitor-keys-5.8.1.tgz#58a2c566265d5511224bc316149890451c1bbab0" @@ -1606,6 +1656,14 @@ "@typescript-eslint/types" "5.8.1" eslint-visitor-keys "^3.0.0" +"@typescript-eslint/visitor-keys@5.9.0": + version "5.9.0" + resolved "https://registry.npmmirror.com/@typescript-eslint/visitor-keys/download/@typescript-eslint/visitor-keys-5.9.0.tgz#7585677732365e9d27f1878150fab3922784a1a6" + integrity sha512-6zq0mb7LV0ThExKlecvpfepiB+XEtFv/bzx7/jKSgyXTFD7qjmSu1FoiS0x3OZaiS+UIXpH2vd9O89f02RCtgw== + dependencies: + "@typescript-eslint/types" "5.9.0" + eslint-visitor-keys "^3.0.0" + "@vue/babel-helper-vue-jsx-merge-props@^1.2.1": version "1.2.1" resolved "https://registry.npm.taobao.org/@vue/babel-helper-vue-jsx-merge-props/download/@vue/babel-helper-vue-jsx-merge-props-1.2.1.tgz?cache=0&sync_timestamp=1602851122331&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40vue%2Fbabel-helper-vue-jsx-merge-props%2Fdownload%2F%40vue%2Fbabel-helper-vue-jsx-merge-props-1.2.1.tgz#31624a7a505fb14da1d58023725a4c5f270e6a81" @@ -2191,7 +2249,7 @@ acorn-import-assertions@^1.7.6: resolved "https://registry.npmmirror.com/acorn-import-assertions/download/acorn-import-assertions-1.8.0.tgz?cache=0&sync_timestamp=1633349660084&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2Facorn-import-assertions%2Fdownload%2Facorn-import-assertions-1.8.0.tgz#ba2b5939ce62c238db6d93d81c9b111b29b855e9" integrity sha1-uitZOc5iwjjbbZPYHJsRGym4Vek= -acorn-jsx@^5.2.0, acorn-jsx@^5.3.1: +acorn-jsx@^5.3.1: version "5.3.2" resolved "https://registry.nlark.com/acorn-jsx/download/acorn-jsx-5.3.2.tgz#7ed5bb55908b3b2f1bc55c6af1653bada7f07937" integrity sha1-ftW7VZCLOy8bxVxq8WU7rafweTc= @@ -2201,11 +2259,6 @@ acorn-walk@^8.0.0, acorn-walk@^8.0.2, acorn-walk@^8.1.1: resolved "https://registry.nlark.com/acorn-walk/download/acorn-walk-8.2.0.tgz?cache=0&sync_timestamp=1630916608758&other_urls=https%3A%2F%2Fregistry.nlark.com%2Facorn-walk%2Fdownload%2Facorn-walk-8.2.0.tgz#741210f2e2426454508853a2f44d0ab83b7f69c1" integrity sha1-dBIQ8uJCZFRQiFOi9E0KuDt/acE= -acorn@^7.1.1, acorn@^7.4.1: - version "7.4.1" - resolved "https://registry.npmmirror.com/acorn/download/acorn-7.4.1.tgz#feaed255973d2e77555b83dbc08851a6c63520fa" - integrity sha1-/q7SVZc9LndVW4PbwIhRpsY1IPo= - acorn@^8.0.4, acorn@^8.0.5, acorn@^8.4.1, acorn@^8.6.0, acorn@^8.7.0: version "8.7.0" resolved "https://registry.npmmirror.com/acorn/download/acorn-8.7.0.tgz#90951fde0f8f09df93549481e5fc141445b791cf" @@ -4164,13 +4217,6 @@ eslint-scope@^7.1.0: esrecurse "^4.3.0" estraverse "^5.2.0" -eslint-utils@^2.1.0: - version "2.1.0" - resolved "https://registry.nlark.com/eslint-utils/download/eslint-utils-2.1.0.tgz#d2de5e03424e707dc10c74068ddedae708741b27" - integrity sha1-0t5eA0JOcH3BDHQGjd7a5wh0Gyc= - dependencies: - eslint-visitor-keys "^1.1.0" - eslint-utils@^3.0.0: version "3.0.0" resolved "https://registry.nlark.com/eslint-utils/download/eslint-utils-3.0.0.tgz#8aebaface7345bb33559db0a1f13a1d2d48c3672" @@ -4178,11 +4224,6 @@ eslint-utils@^3.0.0: dependencies: eslint-visitor-keys "^2.0.0" -eslint-visitor-keys@^1.1.0, eslint-visitor-keys@^1.3.0: - version "1.3.0" - resolved "https://registry.npmmirror.com/eslint-visitor-keys/download/eslint-visitor-keys-1.3.0.tgz?cache=0&sync_timestamp=1636378420914&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2Feslint-visitor-keys%2Fdownload%2Feslint-visitor-keys-1.3.0.tgz#30ebd1ef7c2fdff01c3a4f151044af25fab0523e" - integrity sha1-MOvR73wv3/AcOk8VEESvJfqwUj4= - eslint-visitor-keys@^2.0.0: version "2.1.0" resolved "https://registry.npmmirror.com/eslint-visitor-keys/download/eslint-visitor-keys-2.1.0.tgz?cache=0&sync_timestamp=1636378395014&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2Feslint-visitor-keys%2Fdownload%2Feslint-visitor-keys-2.1.0.tgz#f65328259305927392c938ed44eb0a5c9b2bd303" @@ -4248,15 +4289,6 @@ eslint@^8.6.0: text-table "^0.2.0" v8-compile-cache "^2.0.3" -espree@^6.0.0: - version "6.2.1" - resolved "https://registry.npmmirror.com/espree/download/espree-6.2.1.tgz#77fc72e1fd744a2052c20f38a5b575832e82734a" - integrity sha1-d/xy4f10SiBSwg84pbV1gy6Cc0o= - dependencies: - acorn "^7.1.1" - acorn-jsx "^5.2.0" - eslint-visitor-keys "^1.1.0" - espree@^9.0.0, espree@^9.2.0: version "9.2.0" resolved "https://registry.npmmirror.com/espree/download/espree-9.2.0.tgz#c50814e01611c2d0f8bd4daa83c369eabba80dbc" @@ -5759,24 +5791,13 @@ json5@^1.0.1: dependencies: minimist "^1.2.0" -json5@^2.1.2, json5@^2.2.0: +json5@^2.1.2: version "2.2.0" resolved "https://registry.npm.taobao.org/json5/download/json5-2.2.0.tgz?cache=0&sync_timestamp=1612146215945&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fjson5%2Fdownload%2Fjson5-2.2.0.tgz#2dfefe720c6ba525d9ebd909950f0515316c89a3" integrity sha1-Lf7+cgxrpSXZ69kJlQ8FFTFsiaM= dependencies: minimist "^1.2.5" -jsonc-eslint-parser@^1.0.1: - version "1.4.1" - resolved "https://registry.npmmirror.com/jsonc-eslint-parser/download/jsonc-eslint-parser-1.4.1.tgz#8cbe99f6f5199acbc5a823c4c0b6135411027fa6" - integrity sha1-jL6Z9vUZmsvFqCPEwLYTVBECf6Y= - dependencies: - acorn "^7.4.1" - eslint-utils "^2.1.0" - eslint-visitor-keys "^1.3.0" - espree "^6.0.0" - semver "^6.3.0" - jsonfile@^4.0.0: version "4.0.0" resolved "https://registry.nlark.com/jsonfile/download/jsonfile-4.0.0.tgz#8771aae0799b64076b76640fca058f9c10e33ecb" @@ -9457,15 +9478,6 @@ yallist@^4.0.0: resolved "https://registry.npm.taobao.org/yallist/download/yallist-4.0.0.tgz#9bb92790d9c0effec63be73519e11a35019a3a72" integrity sha1-m7knkNnA7/7GO+c1GeEaNQGaOnI= -yaml-eslint-parser@^0.3.2: - version "0.3.2" - resolved "https://registry.npmmirror.com/yaml-eslint-parser/download/yaml-eslint-parser-0.3.2.tgz#c7f5f3904f1c06ad55dc7131a731b018426b4898" - integrity sha1-x/XzkE8cBq1V3HExpzGwGEJrSJg= - dependencies: - eslint-visitor-keys "^1.3.0" - lodash "^4.17.20" - yaml "^1.10.0" - yaml@^1.10.0, yaml@^1.10.2, yaml@^1.7.2: version "1.10.2" resolved "https://registry.npmmirror.com/yaml/download/yaml-1.10.2.tgz?cache=0&sync_timestamp=1636797257089&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2Fyaml%2Fdownload%2Fyaml-1.10.2.tgz#2301c5ffbf12b467de8da2333a459e29e7920e4b"