From fa4b9510270fbce8bd27eb7c2cca410ccf1ecd3a Mon Sep 17 00:00:00 2001 From: xiaoxian521 <1923740402@qq.com> Date: Mon, 8 May 2023 15:35:02 +0800 Subject: [PATCH] chore(deps): update `eslint` --- package.json | 4 +- pnpm-lock.yaml | 148 ++++++++++++++++++++++++++++--------------------- 2 files changed, 86 insertions(+), 66 deletions(-) diff --git a/package.json b/package.json index 9e11f3b8a..23bc72957 100644 --- a/package.json +++ b/package.json @@ -103,9 +103,9 @@ "autoprefixer": "^10.4.14", "cloc": "^2.11.0", "cssnano": "^6.0.1", - "eslint": "^8.39.0", + "eslint": "^8.40.0", "eslint-plugin-prettier": "^4.2.1", - "eslint-plugin-vue": "^9.11.0", + "eslint-plugin-vue": "^9.11.1", "husky": "^8.0.3", "lint-staged": "^13.2.2", "picocolors": "^1.0.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index c5d2a1103..205484be9 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -46,9 +46,9 @@ specifiers: el-table-infinite-scroll: ^3.0.1 element-plus: ^2.3.4 element-resize-detector: ^1.2.4 - eslint: ^8.39.0 + eslint: ^8.40.0 eslint-plugin-prettier: ^4.2.1 - eslint-plugin-vue: ^9.11.0 + eslint-plugin-vue: ^9.11.1 husky: ^8.0.3 intro.js: ^7.0.1 js-cookie: ^3.0.5 @@ -180,18 +180,18 @@ devDependencies: "@types/qrcode": 1.5.0 "@types/qs": 6.9.7 "@types/sortablejs": 1.15.1 - "@typescript-eslint/eslint-plugin": 5.59.2_n4wuahc72jbzapcoi6ni6mvcla - "@typescript-eslint/parser": 5.59.2_iacogk7kkaymxepzhgcbytyi7q + "@typescript-eslint/eslint-plugin": 5.59.2_xukgzdyhwbmahvl54wfj63w474 + "@typescript-eslint/parser": 5.59.2_3qfatcekpgbllh6uk5ivyhkbxq "@vitejs/plugin-vue": 4.2.1_vite@4.3.5+vue@3.2.47 "@vitejs/plugin-vue-jsx": 3.0.1_vite@4.3.5+vue@3.2.47 - "@vue/eslint-config-prettier": 7.1.0_ijodf5t7srrg7ozp63c3y3ifnq - "@vue/eslint-config-typescript": 11.0.3_7ntaozazn6u7xxl3xxcxahusia + "@vue/eslint-config-prettier": 7.1.0_cpow4lz2r544yrekpzuutjvo2i + "@vue/eslint-config-typescript": 11.0.3_bpsvh4wngwxirjqntlxkeawmpq autoprefixer: 10.4.14_postcss@8.4.23 cloc: 2.11.0 cssnano: 6.0.1_postcss@8.4.23 - eslint: 8.39.0 - eslint-plugin-prettier: 4.2.1_ijodf5t7srrg7ozp63c3y3ifnq - eslint-plugin-vue: 9.11.0_eslint@8.39.0 + eslint: 8.40.0 + eslint-plugin-prettier: 4.2.1_cpow4lz2r544yrekpzuutjvo2i + eslint-plugin-vue: 9.11.1_eslint@8.40.0 husky: 8.0.3 lint-staged: 13.2.2 picocolors: 1.0.0 @@ -227,7 +227,7 @@ devDependencies: vite-plugin-mock: 2.9.8_mockjs@1.1.0+vite@4.3.5 vite-plugin-remove-console: 2.1.1 vite-svg-loader: 4.0.0 - vue-eslint-parser: 9.2.1_eslint@8.39.0 + vue-eslint-parser: 9.2.1_eslint@8.40.0 vue-tsc: 1.2.0_typescript@5.0.4 packages: @@ -1680,7 +1680,7 @@ packages: dev: true optional: true - /@eslint-community/eslint-utils/4.4.0_eslint@8.39.0: + /@eslint-community/eslint-utils/4.4.0_eslint@8.40.0: resolution: { integrity: sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA== @@ -1689,8 +1689,8 @@ packages: peerDependencies: eslint: ^6.0.0 || ^7.0.0 || >=8.0.0 dependencies: - eslint: 8.39.0 - eslint-visitor-keys: 3.4.0 + eslint: 8.40.0 + eslint-visitor-keys: 3.4.1 dev: true /@eslint-community/regexpp/4.5.0: @@ -1701,16 +1701,16 @@ packages: engines: { node: ^12.0.0 || ^14.0.0 || >=16.0.0 } dev: true - /@eslint/eslintrc/2.0.2: + /@eslint/eslintrc/2.0.3: resolution: { - integrity: sha512-3W4f5tDUra+pA+FzgugqL2pRimUTDJWKr7BINqOpkZrC0uYI0NIc0/JFgBROCU07HR6GieA5m3/rsPIhDmCXTQ== + integrity: sha512-+5gy6OQfk+xx3q0d6jGZZC3f3KzAkXc/IanVxd1is/VIIziRqqt3ongQz0FiTUXqTk0c7aDB3OaFuKnuSoJicQ== } engines: { node: ^12.22.0 || ^14.17.0 || >=16.0.0 } dependencies: ajv: 6.12.6 debug: 4.3.4 - espree: 9.5.1 + espree: 9.5.2 globals: 13.20.0 ignore: 5.2.4 import-fresh: 3.3.0 @@ -1721,10 +1721,10 @@ packages: - supports-color dev: true - /@eslint/js/8.39.0: + /@eslint/js/8.40.0: resolution: { - integrity: sha512-kf9RB0Fg7NZfap83B3QOqOGg9QmD9yBudqQXzzOtn3i4y7ZUXe5ONeW34Gwi+TxhH4mvj72R1Zc300KUMa9Bng== + integrity: sha512-ElyB54bJIhXQYVKjDSvCkPO1iU1tSAeVQJbllWJq1XQSmmA4dgFk8CbiBGpiOPxleE48vDogxCtmMYku4HSVLA== } engines: { node: ^12.22.0 || ^14.17.0 || >=16.0.0 } dev: true @@ -2926,7 +2926,7 @@ packages: "@types/yargs-parser": 21.0.0 dev: false - /@typescript-eslint/eslint-plugin/5.59.2_n4wuahc72jbzapcoi6ni6mvcla: + /@typescript-eslint/eslint-plugin/5.59.2_xukgzdyhwbmahvl54wfj63w474: resolution: { integrity: sha512-yVrXupeHjRxLDcPKL10sGQ/QlVrA8J5IYOEWVqk0lJaSZP7X5DfnP7Ns3cc74/blmbipQ1htFNVGsHX6wsYm0A== @@ -2941,12 +2941,12 @@ packages: optional: true dependencies: "@eslint-community/regexpp": 4.5.0 - "@typescript-eslint/parser": 5.59.2_iacogk7kkaymxepzhgcbytyi7q + "@typescript-eslint/parser": 5.59.2_3qfatcekpgbllh6uk5ivyhkbxq "@typescript-eslint/scope-manager": 5.59.2 - "@typescript-eslint/type-utils": 5.59.2_iacogk7kkaymxepzhgcbytyi7q - "@typescript-eslint/utils": 5.59.2_iacogk7kkaymxepzhgcbytyi7q + "@typescript-eslint/type-utils": 5.59.2_3qfatcekpgbllh6uk5ivyhkbxq + "@typescript-eslint/utils": 5.59.2_3qfatcekpgbllh6uk5ivyhkbxq debug: 4.3.4 - eslint: 8.39.0 + eslint: 8.40.0 grapheme-splitter: 1.0.4 ignore: 5.2.4 natural-compare-lite: 1.4.0 @@ -2957,7 +2957,7 @@ packages: - supports-color dev: true - /@typescript-eslint/parser/5.59.2_iacogk7kkaymxepzhgcbytyi7q: + /@typescript-eslint/parser/5.59.2_3qfatcekpgbllh6uk5ivyhkbxq: resolution: { integrity: sha512-uq0sKyw6ao1iFOZZGk9F8Nro/8+gfB5ezl1cA06SrqbgJAt0SRoFhb9pXaHvkrxUpZaoLxt8KlovHNk8Gp6/HQ== @@ -2974,7 +2974,7 @@ packages: "@typescript-eslint/types": 5.59.2 "@typescript-eslint/typescript-estree": 5.59.2_typescript@5.0.4 debug: 4.3.4 - eslint: 8.39.0 + eslint: 8.40.0 typescript: 5.0.4 transitivePeerDependencies: - supports-color @@ -2991,7 +2991,7 @@ packages: "@typescript-eslint/visitor-keys": 5.59.2 dev: true - /@typescript-eslint/type-utils/5.59.2_iacogk7kkaymxepzhgcbytyi7q: + /@typescript-eslint/type-utils/5.59.2_3qfatcekpgbllh6uk5ivyhkbxq: resolution: { integrity: sha512-b1LS2phBOsEy/T381bxkkywfQXkV1dWda/z0PhnIy3bC5+rQWQDS7fk9CSpcXBccPY27Z6vBEuaPBCKCgYezyQ== @@ -3005,9 +3005,9 @@ packages: optional: true dependencies: "@typescript-eslint/typescript-estree": 5.59.2_typescript@5.0.4 - "@typescript-eslint/utils": 5.59.2_iacogk7kkaymxepzhgcbytyi7q + "@typescript-eslint/utils": 5.59.2_3qfatcekpgbllh6uk5ivyhkbxq debug: 4.3.4 - eslint: 8.39.0 + eslint: 8.40.0 tsutils: 3.21.0_typescript@5.0.4 typescript: 5.0.4 transitivePeerDependencies: @@ -3046,7 +3046,7 @@ packages: - supports-color dev: true - /@typescript-eslint/utils/5.59.2_iacogk7kkaymxepzhgcbytyi7q: + /@typescript-eslint/utils/5.59.2_3qfatcekpgbllh6uk5ivyhkbxq: resolution: { integrity: sha512-kSuF6/77TZzyGPhGO4uVp+f0SBoYxCDf+lW3GKhtKru/L8k/Hd7NFQxyWUeY7Z/KGB2C6Fe3yf2vVi4V9TsCSQ== @@ -3055,13 +3055,13 @@ packages: peerDependencies: eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 dependencies: - "@eslint-community/eslint-utils": 4.4.0_eslint@8.39.0 + "@eslint-community/eslint-utils": 4.4.0_eslint@8.40.0 "@types/json-schema": 7.0.11 "@types/semver": 7.3.13 "@typescript-eslint/scope-manager": 5.59.2 "@typescript-eslint/types": 5.59.2 "@typescript-eslint/typescript-estree": 5.59.2_typescript@5.0.4 - eslint: 8.39.0 + eslint: 8.40.0 eslint-scope: 5.1.1 semver: 7.5.0 transitivePeerDependencies: @@ -3077,7 +3077,7 @@ packages: engines: { node: ^12.22.0 || ^14.17.0 || >=16.0.0 } dependencies: "@typescript-eslint/types": 5.59.2 - eslint-visitor-keys: 3.4.0 + eslint-visitor-keys: 3.4.1 dev: true /@uppy/companion-client/2.2.2: @@ -3328,7 +3328,7 @@ packages: integrity: sha512-o9KfBeaBmCKl10usN4crU53fYtC1r7jJwdGKjPT24t348rHxgfpZ0xL3Xm/gLUYnc0oTp8LAmrxOeLyu6tbk2Q== } - /@vue/eslint-config-prettier/7.1.0_ijodf5t7srrg7ozp63c3y3ifnq: + /@vue/eslint-config-prettier/7.1.0_cpow4lz2r544yrekpzuutjvo2i: resolution: { integrity: sha512-Pv/lVr0bAzSIHLd9iz0KnvAr4GKyCEl+h52bc4e5yWuDVtLgFwycF7nrbWTAQAS+FU6q1geVd07lc6EWfJiWKQ== @@ -3337,13 +3337,13 @@ packages: eslint: ">= 7.28.0" prettier: ">= 2.0.0" dependencies: - eslint: 8.39.0 - eslint-config-prettier: 8.8.0_eslint@8.39.0 - eslint-plugin-prettier: 4.2.1_g7igkibsj6gtirvuugequ2zdti + eslint: 8.40.0 + eslint-config-prettier: 8.8.0_eslint@8.40.0 + eslint-plugin-prettier: 4.2.1_ms3ye3xgtb4msf6oc7bqdwv3gm prettier: 2.8.7 dev: true - /@vue/eslint-config-typescript/11.0.3_7ntaozazn6u7xxl3xxcxahusia: + /@vue/eslint-config-typescript/11.0.3_bpsvh4wngwxirjqntlxkeawmpq: resolution: { integrity: sha512-dkt6W0PX6H/4Xuxg/BlFj5xHvksjpSlVjtkQCpaYJBIEuKj2hOVU7r+TIe+ysCwRYFz/lGqvklntRkCAibsbPw== @@ -3357,12 +3357,12 @@ packages: typescript: optional: true dependencies: - "@typescript-eslint/eslint-plugin": 5.59.2_n4wuahc72jbzapcoi6ni6mvcla - "@typescript-eslint/parser": 5.59.2_iacogk7kkaymxepzhgcbytyi7q - eslint: 8.39.0 - eslint-plugin-vue: 9.11.0_eslint@8.39.0 + "@typescript-eslint/eslint-plugin": 5.59.2_xukgzdyhwbmahvl54wfj63w474 + "@typescript-eslint/parser": 5.59.2_3qfatcekpgbllh6uk5ivyhkbxq + eslint: 8.40.0 + eslint-plugin-vue: 9.11.1_eslint@8.40.0 typescript: 5.0.4 - vue-eslint-parser: 9.2.1_eslint@8.39.0 + vue-eslint-parser: 9.2.1_eslint@8.40.0 transitivePeerDependencies: - supports-color dev: true @@ -6064,7 +6064,7 @@ packages: optionalDependencies: source-map: 0.6.1 - /eslint-config-prettier/8.8.0_eslint@8.39.0: + /eslint-config-prettier/8.8.0_eslint@8.40.0: resolution: { integrity: sha512-wLbQiFre3tdGgpDv67NQKnJuTlcUVYHas3k+DZCc2U2BadthoEY4B7hLPvAxaqdyOGCzuLfii2fqGph10va7oA== @@ -6073,10 +6073,10 @@ packages: peerDependencies: eslint: ">=7.0.0" dependencies: - eslint: 8.39.0 + eslint: 8.40.0 dev: true - /eslint-plugin-prettier/4.2.1_g7igkibsj6gtirvuugequ2zdti: + /eslint-plugin-prettier/4.2.1_cpow4lz2r544yrekpzuutjvo2i: resolution: { integrity: sha512-f/0rXLXUt0oFYs8ra4w49wYZBG5GKZpAYsJSm6rnYL5uVDjd+zowwMwVZHnAjf4edNrKpCDYfXDgmRE/Ak7QyQ== @@ -6090,13 +6090,12 @@ packages: eslint-config-prettier: optional: true dependencies: - eslint: 8.39.0 - eslint-config-prettier: 8.8.0_eslint@8.39.0 + eslint: 8.40.0 prettier: 2.8.7 prettier-linter-helpers: 1.0.0 dev: true - /eslint-plugin-prettier/4.2.1_ijodf5t7srrg7ozp63c3y3ifnq: + /eslint-plugin-prettier/4.2.1_ms3ye3xgtb4msf6oc7bqdwv3gm: resolution: { integrity: sha512-f/0rXLXUt0oFYs8ra4w49wYZBG5GKZpAYsJSm6rnYL5uVDjd+zowwMwVZHnAjf4edNrKpCDYfXDgmRE/Ak7QyQ== @@ -6110,27 +6109,28 @@ packages: eslint-config-prettier: optional: true dependencies: - eslint: 8.39.0 + eslint: 8.40.0 + eslint-config-prettier: 8.8.0_eslint@8.40.0 prettier: 2.8.7 prettier-linter-helpers: 1.0.0 dev: true - /eslint-plugin-vue/9.11.0_eslint@8.39.0: + /eslint-plugin-vue/9.11.1_eslint@8.40.0: resolution: { - integrity: sha512-bBCJAZnkBV7ATH4Z1E7CvN3nmtS4H7QUU3UBxPdo8WohRU+yHjnQRALpTbxMVcz0e4Mx3IyxIdP5HYODMxK9cQ== + integrity: sha512-SNtBGDrRkPUFsREswPceqdvZ7YVdWY+iCYiDC+RoxwVieeQ7GJU1FLDlkcaYTOD2os/YuVgI1Fdu8YGM7fmoow== } engines: { node: ^14.17.0 || >=16.0.0 } peerDependencies: eslint: ^6.2.0 || ^7.0.0 || ^8.0.0 dependencies: - "@eslint-community/eslint-utils": 4.4.0_eslint@8.39.0 - eslint: 8.39.0 + "@eslint-community/eslint-utils": 4.4.0_eslint@8.40.0 + eslint: 8.40.0 natural-compare: 1.4.0 nth-check: 2.1.1 postcss-selector-parser: 6.0.12 semver: 7.5.0 - vue-eslint-parser: 9.2.1_eslint@8.39.0 + vue-eslint-parser: 9.2.1_eslint@8.40.0 xml-name-validator: 4.0.0 transitivePeerDependencies: - supports-color @@ -6184,18 +6184,26 @@ packages: engines: { node: ^12.22.0 || ^14.17.0 || >=16.0.0 } dev: true - /eslint/8.39.0: + /eslint-visitor-keys/3.4.1: resolution: { - integrity: sha512-mwiok6cy7KTW7rBpo05k6+p4YVZByLNjAZ/ACB9DRCu4YDRwjXI01tWHp6KAUWelsBetTxKK/2sHB0vdS8Z2Og== + integrity: sha512-pZnmmLwYzf+kWaM/Qgrvpen51upAktaaiI01nsJD/Yr3lMOdNtq0cxkrrg16w64VtisN6okbs7Q8AfGqj4c9fA== + } + engines: { node: ^12.22.0 || ^14.17.0 || >=16.0.0 } + dev: true + + /eslint/8.40.0: + resolution: + { + integrity: sha512-bvR+TsP9EHL3TqNtj9sCNJVAFK3fBN8Q7g5waghxyRsPLIMwL73XSKnZFK0hk/O2ANC+iAoq6PWMQ+IfBAJIiQ== } engines: { node: ^12.22.0 || ^14.17.0 || >=16.0.0 } hasBin: true dependencies: - "@eslint-community/eslint-utils": 4.4.0_eslint@8.39.0 + "@eslint-community/eslint-utils": 4.4.0_eslint@8.40.0 "@eslint-community/regexpp": 4.5.0 - "@eslint/eslintrc": 2.0.2 - "@eslint/js": 8.39.0 + "@eslint/eslintrc": 2.0.3 + "@eslint/js": 8.40.0 "@humanwhocodes/config-array": 0.11.8 "@humanwhocodes/module-importer": 1.0.1 "@nodelib/fs.walk": 1.2.8 @@ -6206,8 +6214,8 @@ packages: doctrine: 3.0.0 escape-string-regexp: 4.0.0 eslint-scope: 7.2.0 - eslint-visitor-keys: 3.4.0 - espree: 9.5.1 + eslint-visitor-keys: 3.4.1 + espree: 9.5.2 esquery: 1.5.0 esutils: 2.0.3 fast-deep-equal: 3.1.3 @@ -6257,7 +6265,19 @@ packages: dependencies: acorn: 8.8.2 acorn-jsx: 5.3.2_acorn@8.8.2 - eslint-visitor-keys: 3.4.0 + eslint-visitor-keys: 3.4.1 + dev: true + + /espree/9.5.2: + resolution: + { + integrity: sha512-7OASN1Wma5fum5SrNhFMAMJxOUAbhyfQ8dQ//PJaJbNw0URTPWqIghHWt1MmAANKhHZIYOHruW4Kw4ruUWOdGw== + } + engines: { node: ^12.22.0 || ^14.17.0 || >=16.0.0 } + dependencies: + acorn: 8.8.2 + acorn-jsx: 5.3.2_acorn@8.8.2 + eslint-visitor-keys: 3.4.1 dev: true /esprima/4.0.1: @@ -12452,7 +12472,7 @@ packages: vue: 3.2.47 dev: false - /vue-eslint-parser/9.2.1_eslint@8.39.0: + /vue-eslint-parser/9.2.1_eslint@8.40.0: resolution: { integrity: sha512-tPOex4n6jit4E7h68auOEbDMwE58XiP4dylfaVTCOVCouR45g+QFDBjgIdEU52EXJxKyjgh91dLfN2rxUcV0bQ== @@ -12462,7 +12482,7 @@ packages: eslint: ">=6.0.0" dependencies: debug: 4.3.4 - eslint: 8.39.0 + eslint: 8.40.0 eslint-scope: 7.2.0 eslint-visitor-keys: 3.4.0 espree: 9.5.1