From 23cf3bf8a2cfe9166bfddfb5e4477de725d058c2 Mon Sep 17 00:00:00 2001 From: Anthony Fu Date: Thu, 21 Sep 2023 21:19:00 +0800 Subject: [PATCH] chore: update deps --- fixtures/vitesse/package.json | 10 +- package.json | 2 +- packages/eslint-config-basic/index.js | 2 +- packages/eslint-config-basic/package.json | 4 +- packages/eslint-config-basic/standard.js | 2 +- packages/eslint-config-ts/package.json | 2 +- packages/eslint-plugin-antfu/package.json | 2 +- pnpm-lock.yaml | 148 +++++----------------- 8 files changed, 45 insertions(+), 127 deletions(-) diff --git a/fixtures/vitesse/package.json b/fixtures/vitesse/package.json index d67c54f5bb..493086be85 100644 --- a/fixtures/vitesse/package.json +++ b/fixtures/vitesse/package.json @@ -15,7 +15,7 @@ "up": "taze major -I" }, "dependencies": { - "@unocss/reset": "^0.55.7", + "@unocss/reset": "^0.56.0", "@vueuse/core": "^10.4.1", "@vueuse/head": "^2.0.0", "nprogress": "^0.2.0", @@ -26,7 +26,7 @@ "vue-router": "^4.2.4" }, "devDependencies": { - "@antfu/eslint-config": "^0.42.1", + "@antfu/eslint-config": "^0.43.0", "@iconify-json/carbon": "^1.1.21", "@intlify/vite-plugin-vue-i18n": "^7.0.0", "@types/markdown-it-link-attributes": "^3.0.1", @@ -45,7 +45,7 @@ "shiki": "^0.14.4", "taze": "^0.11.2", "typescript": "^5.2.2", - "unocss": "^0.55.7", + "unocss": "^0.56.0", "unplugin-auto-import": "^0.16.6", "unplugin-vue-components": "^0.25.2", "vite": "^4.4.9", @@ -54,9 +54,9 @@ "vite-plugin-pwa": "^0.16.5", "vite-plugin-vue-layouts": "^0.8.0", "vite-plugin-vue-markdown": "^0.23.8", - "vite-ssg": "^0.23.2", + "vite-ssg": "^0.23.3", "vite-ssg-sitemap": "^0.5.1", "vitest": "^0.34.4", - "vue-tsc": "^1.8.11" + "vue-tsc": "^1.8.13" } } diff --git a/package.json b/package.json index 0324e9c153..c35309cf8e 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ }, "devDependencies": { "@antfu/eslint-config": "workspace:*", - "@stylistic/eslint-plugin-migrate": "^0.0.3", + "@stylistic/eslint-plugin-migrate": "^0.0.4", "bumpp": "^9.2.0", "eslint": "^8.49.0", "eslint-plugin-antfu": "link:./packages/eslint-plugin-antfu", diff --git a/packages/eslint-config-basic/index.js b/packages/eslint-config-basic/index.js index 9b3b8c7404..85d3e983c4 100644 --- a/packages/eslint-config-basic/index.js +++ b/packages/eslint-config-basic/index.js @@ -219,7 +219,7 @@ module.exports = { '@typescript-eslint/no-require-imports': 'off', '@typescript-eslint/comma-dangle': 'off', - + 'unused-imports/no-unused-imports': 'off', 'unused-imports/no-unused-vars': 'off', diff --git a/packages/eslint-config-basic/package.json b/packages/eslint-config-basic/package.json index 7e48c0d7f0..4a6301f902 100644 --- a/packages/eslint-config-basic/package.json +++ b/packages/eslint-config-basic/package.json @@ -19,12 +19,12 @@ "eslint": ">=7.4.0" }, "dependencies": { - "@stylistic/eslint-plugin-js": "0.0.3", + "@stylistic/eslint-plugin-js": "0.0.4", "eslint-plugin-antfu": "workspace:*", "eslint-plugin-eslint-comments": "^3.2.0", "eslint-plugin-html": "^7.1.0", "eslint-plugin-import": "npm:eslint-plugin-i@2.28.1", - "eslint-plugin-jsdoc": "^46.8.1", + "eslint-plugin-jsdoc": "^46.8.2", "eslint-plugin-jsonc": "^2.9.0", "eslint-plugin-markdown": "^3.0.1", "eslint-plugin-n": "^16.1.0", diff --git a/packages/eslint-config-basic/standard.js b/packages/eslint-config-basic/standard.js index a6babf5548..f4a9031d00 100644 --- a/packages/eslint-config-basic/standard.js +++ b/packages/eslint-config-basic/standard.js @@ -171,7 +171,7 @@ module.exports = { 'valid-typeof': ['error', { requireStringLiterals: true }], 'wrap-iife': ['error', 'any', { functionPrototypeMethods: true }], 'yoda': ['error', 'never'], - + // Stylistic '@stylistic/js/no-tabs': 'error', '@stylistic/js/array-bracket-spacing': ['error', 'never'], diff --git a/packages/eslint-config-ts/package.json b/packages/eslint-config-ts/package.json index a2bf4a70b1..91a427007d 100644 --- a/packages/eslint-config-ts/package.json +++ b/packages/eslint-config-ts/package.json @@ -18,7 +18,7 @@ }, "dependencies": { "@antfu/eslint-config-basic": "workspace:*", - "@stylistic/eslint-plugin-ts": "0.0.3", + "@stylistic/eslint-plugin-ts": "0.0.4", "@typescript-eslint/eslint-plugin": "^6.7.2", "@typescript-eslint/parser": "^6.7.2", "eslint-plugin-jest": "^27.4.0" diff --git a/packages/eslint-plugin-antfu/package.json b/packages/eslint-plugin-antfu/package.json index 9c33f5b3c4..fbb1d023e9 100644 --- a/packages/eslint-plugin-antfu/package.json +++ b/packages/eslint-plugin-antfu/package.json @@ -18,7 +18,7 @@ "@typescript-eslint/utils": "^6.7.2" }, "devDependencies": { - "@types/node": "^20.6.2", + "@types/node": "^20.6.3", "@typescript-eslint/rule-tester": "^6.7.2", "unbuild": "^2.0.0", "vitest": "^0.34.4" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 72e26f02a2..9d5df97d53 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -12,8 +12,8 @@ importers: specifier: workspace:* version: link:packages/eslint-config '@stylistic/eslint-plugin-migrate': - specifier: ^0.0.3 - version: 0.0.3(eslint@8.49.0)(typescript@5.2.2) + specifier: ^0.0.4 + version: 0.0.4(eslint@8.49.0)(typescript@5.2.2) bumpp: specifier: ^9.2.0 version: 9.2.0 @@ -82,8 +82,8 @@ importers: packages/eslint-config-basic: dependencies: '@stylistic/eslint-plugin-js': - specifier: 0.0.3 - version: 0.0.3 + specifier: 0.0.4 + version: 0.0.4 eslint-plugin-antfu: specifier: workspace:* version: link:../eslint-plugin-antfu @@ -97,8 +97,8 @@ importers: specifier: npm:eslint-plugin-i@2.28.1 version: /eslint-plugin-i@2.28.1(@typescript-eslint/parser@6.7.2)(eslint@8.49.0) eslint-plugin-jsdoc: - specifier: ^46.8.1 - version: 46.8.1(eslint@8.49.0) + specifier: ^46.8.2 + version: 46.8.2(eslint@8.49.0) eslint-plugin-jsonc: specifier: ^2.9.0 version: 2.9.0(eslint@8.49.0) @@ -162,8 +162,8 @@ importers: specifier: workspace:* version: link:../eslint-config-basic '@stylistic/eslint-plugin-ts': - specifier: 0.0.3 - version: 0.0.3(eslint@8.49.0)(typescript@5.0.2) + specifier: 0.0.4 + version: 0.0.4(eslint@8.49.0)(typescript@5.0.2) '@typescript-eslint/eslint-plugin': specifier: ^6.7.2 version: 6.7.2(@typescript-eslint/parser@6.7.2)(eslint@8.49.0)(typescript@5.0.2) @@ -207,8 +207,8 @@ importers: version: 6.7.2(eslint@8.49.0)(typescript@5.2.2) devDependencies: '@types/node': - specifier: ^20.6.2 - version: 20.6.2 + specifier: ^20.6.3 + version: 20.6.3 '@typescript-eslint/rule-tester': specifier: ^6.7.2 version: 6.7.2(@eslint/eslintrc@2.1.2)(eslint@8.49.0)(typescript@5.2.2) @@ -1062,8 +1062,8 @@ packages: resolution: {integrity: sha512-pPTNuaAG3QMH+buKyBIGJs3g/S5y0caxw0ygM3YyE6yJFySwiGGSzA+mM3KJ8QQvzeLh3blwgSonkFjgQdxzMw==} engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0} - /@eslint-stylistic/metadata@0.0.3: - resolution: {integrity: sha512-Q44QQniQ5NSb7yxnnE25ybmoJaf7QKqAtUqmbMVLgQilxNfFaR88iUHCfS/Ggw3MONlcIZqLLidgOXAfYMBahA==} + /@eslint-stylistic/metadata@0.0.4: + resolution: {integrity: sha512-PlM+6bksCXBSS31s8NNHV2NuUy05N70tLwlQJ9pQ7FQqXwkefULcdAEWUeX8CAk3FK29Jw0l+J8U/nOYJdPrOg==} dev: true /@eslint/eslintrc@2.1.2: @@ -1282,8 +1282,8 @@ packages: resolution: {integrity: sha512-XJfwUVUKDHF5ugKwIcxEgc9k8b7HbznCp6eUfWgu710hMPNIO4aw4/zB5RogDQz8nd6gyCDpU9O/m6qYEWY6yQ==} dev: true - /@stylistic/eslint-plugin-js@0.0.3: - resolution: {integrity: sha512-yC9tsmFxlgoDyD/B+93IH2TSe1Ca46s2uf+oUfkCLWTXFKTmPPy0YLDcme9Ha1Qydx5U+1lehe1jwG9VxtIdtw==} + /@stylistic/eslint-plugin-js@0.0.4: + resolution: {integrity: sha512-W1rq2xxlFNhgZZJO+L59wtvlDI0xARYxx0WD8EeWNBO7NDybUSYSozCIcY9XvxQbTAsEXBjwqokeYm0crt7RxQ==} dependencies: acorn: 8.10.0 escape-string-regexp: 4.0.0 @@ -1293,10 +1293,10 @@ packages: graphemer: 1.4.0 dev: false - /@stylistic/eslint-plugin-migrate@0.0.3(eslint@8.49.0)(typescript@5.2.2): - resolution: {integrity: sha512-T0+7Pdy3cGRyvqHfGxICKoRw0pLXcd/n32lZDu2c4G/qBClI2+2GVMrbYL12Yl+AX3dhxP6ZhSn3pFhEQqpqlg==} + /@stylistic/eslint-plugin-migrate@0.0.4(eslint@8.49.0)(typescript@5.2.2): + resolution: {integrity: sha512-3rrerhj6xnhnZelOa6gzqFs9LiDqrY3tKZKSJpmCSQCijdfZYOJi6y00uCHGsSJK+gXNhRXgWU35q7DKu6dxsg==} dependencies: - '@eslint-stylistic/metadata': 0.0.3 + '@eslint-stylistic/metadata': 0.0.4 '@typescript-eslint/utils': 6.7.2(eslint@8.49.0)(typescript@5.2.2) transitivePeerDependencies: - eslint @@ -1304,19 +1304,18 @@ packages: - typescript dev: true - /@stylistic/eslint-plugin-ts@0.0.3(eslint@8.49.0)(typescript@5.0.2): - resolution: {integrity: sha512-G/jZ+XHlZtkxABOXswJNTmN4h8qNmECTjPLkWPMykPlfQeD1RSpBMEQHiJHZ3GAxnEcqAgi7CNA1FTvGWz6qwQ==} + /@stylistic/eslint-plugin-ts@0.0.4(eslint@8.49.0)(typescript@5.0.2): + resolution: {integrity: sha512-sWL4Km5j8S+TLyzya/3adxMWGkCm3lVasJIVQqhxVfwnlGkpMI0GgYVIu/ubdKPS+dSvqjUHpsXgqWfMRF2+cQ==} peerDependencies: eslint: '*' typescript: '*' dependencies: - '@stylistic/eslint-plugin-js': 0.0.3 - '@typescript-eslint/scope-manager': 6.7.0 - '@typescript-eslint/type-utils': 6.7.0(eslint@8.49.0)(typescript@5.0.2) + '@stylistic/eslint-plugin-js': 0.0.4 + '@typescript-eslint/scope-manager': 6.7.2 + '@typescript-eslint/type-utils': 6.7.2(eslint@8.49.0)(typescript@5.0.2) '@typescript-eslint/utils': 6.7.2(eslint@8.49.0)(typescript@5.0.2) eslint: 8.49.0 graphemer: 1.4.0 - semver: 7.5.4 typescript: 5.0.2 transitivePeerDependencies: - supports-color @@ -1345,8 +1344,8 @@ packages: '@types/unist': 2.0.6 dev: false - /@types/node@20.6.2: - resolution: {integrity: sha512-Y+/1vGBHV/cYk6OI1Na/LHzwnlNCAfU3ZNGrc1LdRe/LAIbdDPTTv/HU3M7yXN448aTVDq3eKRm2cg7iKLb8gw==} + /@types/node@20.6.3: + resolution: {integrity: sha512-HksnYH4Ljr4VQgEy2lTStbCKv/P590tmPe5HqOnv9Gprffgv5WXAY+Y5Gqniu0GGqeTCUdBnzC3QSrzPkBkAMA==} dev: true /@types/normalize-package-data@2.4.1: @@ -1491,14 +1490,6 @@ packages: '@typescript-eslint/visitor-keys': 5.61.0 dev: false - /@typescript-eslint/scope-manager@6.7.0: - resolution: {integrity: sha512-lAT1Uau20lQyjoLUQ5FUMSX/dS07qux9rYd5FGzKz/Kf8W8ccuvMyldb8hadHdK/qOI7aikvQWqulnEq2nCEYA==} - engines: {node: ^16.0.0 || >=18.0.0} - dependencies: - '@typescript-eslint/types': 6.7.0 - '@typescript-eslint/visitor-keys': 6.7.0 - dev: false - /@typescript-eslint/scope-manager@6.7.2: resolution: {integrity: sha512-bgi6plgyZjEqapr7u2mhxGR6E8WCzKNUFWNh6fkpVe9+yzRZeYtDTbsIBzKbcxI+r1qVWt6VIoMSNZ4r2A+6Yw==} engines: {node: ^16.0.0 || >=18.0.0} @@ -1506,26 +1497,6 @@ packages: '@typescript-eslint/types': 6.7.2 '@typescript-eslint/visitor-keys': 6.7.2 - /@typescript-eslint/type-utils@6.7.0(eslint@8.49.0)(typescript@5.0.2): - resolution: {integrity: sha512-f/QabJgDAlpSz3qduCyQT0Fw7hHpmhOzY/Rv6zO3yO+HVIdPfIWhrQoAyG+uZVtWAIS85zAyzgAFfyEr+MgBpg==} - engines: {node: ^16.0.0 || >=18.0.0} - peerDependencies: - eslint: ^7.0.0 || ^8.0.0 - typescript: '*' - peerDependenciesMeta: - typescript: - optional: true - dependencies: - '@typescript-eslint/typescript-estree': 6.7.0(typescript@5.0.2) - '@typescript-eslint/utils': 6.7.0(eslint@8.49.0)(typescript@5.0.2) - debug: 4.3.4 - eslint: 8.49.0 - ts-api-utils: 1.0.1(typescript@5.0.2) - typescript: 5.0.2 - transitivePeerDependencies: - - supports-color - dev: false - /@typescript-eslint/type-utils@6.7.2(eslint@8.49.0)(typescript@5.0.2): resolution: {integrity: sha512-36F4fOYIROYRl0qj95dYKx6kybddLtsbmPIYNK0OBeXv2j9L5nZ17j9jmfy+bIDHKQgn2EZX+cofsqi8NPATBQ==} engines: {node: ^16.0.0 || >=18.0.0} @@ -1571,11 +1542,6 @@ packages: engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dev: false - /@typescript-eslint/types@6.7.0: - resolution: {integrity: sha512-ihPfvOp7pOcN/ysoj0RpBPOx3HQTJTrIN8UZK+WFd3/iDeFHHqeyYxa4hQk4rMhsz9H9mXpR61IzwlBVGXtl9Q==} - engines: {node: ^16.0.0 || >=18.0.0} - dev: false - /@typescript-eslint/types@6.7.2: resolution: {integrity: sha512-flJYwMYgnUNDAN9/GAI3l8+wTmvTYdv64fcH8aoJK76Y+1FCZ08RtI5zDerM/FYT5DMkAc+19E4aLmd5KqdFyg==} engines: {node: ^16.0.0 || >=18.0.0} @@ -1601,27 +1567,6 @@ packages: - supports-color dev: false - /@typescript-eslint/typescript-estree@6.7.0(typescript@5.0.2): - resolution: {integrity: sha512-dPvkXj3n6e9yd/0LfojNU8VMUGHWiLuBZvbM6V6QYD+2qxqInE7J+J/ieY2iGwR9ivf/R/haWGkIj04WVUeiSQ==} - engines: {node: ^16.0.0 || >=18.0.0} - peerDependencies: - typescript: '*' - peerDependenciesMeta: - typescript: - optional: true - dependencies: - '@typescript-eslint/types': 6.7.0 - '@typescript-eslint/visitor-keys': 6.7.0 - debug: 4.3.4 - globby: 11.1.0 - is-glob: 4.0.3 - semver: 7.5.4 - ts-api-utils: 1.0.1(typescript@5.0.2) - typescript: 5.0.2 - transitivePeerDependencies: - - supports-color - dev: false - /@typescript-eslint/typescript-estree@6.7.2(typescript@5.0.2): resolution: {integrity: sha512-kiJKVMLkoSciGyFU0TOY0fRxnp9qq1AzVOHNeN1+B9erKFCJ4Z8WdjAkKQPP+b1pWStGFqezMLltxO+308dJTQ==} engines: {node: ^16.0.0 || >=18.0.0} @@ -1683,25 +1628,6 @@ packages: - typescript dev: false - /@typescript-eslint/utils@6.7.0(eslint@8.49.0)(typescript@5.0.2): - resolution: {integrity: sha512-MfCq3cM0vh2slSikQYqK2Gq52gvOhe57vD2RM3V4gQRZYX4rDPnKLu5p6cm89+LJiGlwEXU8hkYxhqqEC/V3qA==} - engines: {node: ^16.0.0 || >=18.0.0} - peerDependencies: - eslint: ^7.0.0 || ^8.0.0 - dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@8.49.0) - '@types/json-schema': 7.0.12 - '@types/semver': 7.5.0 - '@typescript-eslint/scope-manager': 6.7.0 - '@typescript-eslint/types': 6.7.0 - '@typescript-eslint/typescript-estree': 6.7.0(typescript@5.0.2) - eslint: 8.49.0 - semver: 7.5.4 - transitivePeerDependencies: - - supports-color - - typescript - dev: false - /@typescript-eslint/utils@6.7.2(eslint@8.49.0)(typescript@5.0.2): resolution: {integrity: sha512-ZCcBJug/TS6fXRTsoTkgnsvyWSiXwMNiPzBUani7hDidBdj1779qwM1FIAmpH4lvlOZNF3EScsxxuGifjpLSWQ==} engines: {node: ^16.0.0 || >=18.0.0} @@ -1747,14 +1673,6 @@ packages: eslint-visitor-keys: 3.4.3 dev: false - /@typescript-eslint/visitor-keys@6.7.0: - resolution: {integrity: sha512-/C1RVgKFDmGMcVGeD8HjKv2bd72oI1KxQDeY8uc66gw9R0OK0eMq48cA+jv9/2Ag6cdrsUGySm1yzYmfz0hxwQ==} - engines: {node: ^16.0.0 || >=18.0.0} - dependencies: - '@typescript-eslint/types': 6.7.0 - eslint-visitor-keys: 3.4.3 - dev: false - /@typescript-eslint/visitor-keys@6.7.2: resolution: {integrity: sha512-uVw9VIMFBUTz8rIeaUT3fFe8xIUx8r4ywAdlQv1ifH+6acn/XF8Y6rwJ7XNmkNMDrTW+7+vxFFPIF40nJCVsMQ==} engines: {node: ^16.0.0 || >=18.0.0} @@ -2692,8 +2610,8 @@ packages: - typescript dev: false - /eslint-plugin-jsdoc@46.8.1(eslint@8.49.0): - resolution: {integrity: sha512-uTce7IBluPKXIQMWJkIwFsI1gv7sZRmLjctca2K5DIxPi8fSBj9f4iru42XmGwuiMyH2f3nfc60sFmnSGv4Z/A==} + /eslint-plugin-jsdoc@46.8.2(eslint@8.49.0): + resolution: {integrity: sha512-5TSnD018f3tUJNne4s4gDWQflbsgOycIKEUBoCLn6XtBMgNHxQFmV8vVxUtiPxAQq8lrX85OaSG/2gnctxw9uQ==} engines: {node: '>=16'} peerDependencies: eslint: ^7.0.0 || ^8.0.0 @@ -4840,7 +4758,7 @@ packages: spdx-expression-parse: 3.0.1 dev: false - /vite-node@0.34.4(@types/node@20.6.2): + /vite-node@0.34.4(@types/node@20.6.3): resolution: {integrity: sha512-ho8HtiLc+nsmbwZMw8SlghESEE3KxJNp04F/jPUCLVvaURwt0d+r9LxEqCX5hvrrOQ0GSyxbYr5ZfRYhQ0yVKQ==} engines: {node: '>=v14.18.0'} hasBin: true @@ -4850,7 +4768,7 @@ packages: mlly: 1.4.0 pathe: 1.1.1 picocolors: 1.0.0 - vite: 4.2.1(@types/node@20.6.2) + vite: 4.2.1(@types/node@20.6.3) transitivePeerDependencies: - '@types/node' - less @@ -4861,7 +4779,7 @@ packages: - terser dev: true - /vite@4.2.1(@types/node@20.6.2): + /vite@4.2.1(@types/node@20.6.3): resolution: {integrity: sha512-7MKhqdy0ISo4wnvwtqZkjke6XN4taqQ2TBaTccLIpOKv7Vp2h4Y+NpmWCnGDeSvvn45KxvWgGyb0MkHvY1vgbg==} engines: {node: ^14.18.0 || >=16.0.0} hasBin: true @@ -4886,7 +4804,7 @@ packages: terser: optional: true dependencies: - '@types/node': 20.6.2 + '@types/node': 20.6.3 esbuild: 0.17.17 postcss: 8.4.21 resolve: 1.22.3 @@ -4928,7 +4846,7 @@ packages: dependencies: '@types/chai': 4.3.5 '@types/chai-subset': 1.3.3 - '@types/node': 20.6.2 + '@types/node': 20.6.3 '@vitest/expect': 0.34.4 '@vitest/runner': 0.34.4 '@vitest/snapshot': 0.34.4 @@ -4947,8 +4865,8 @@ packages: strip-literal: 1.0.1 tinybench: 2.5.0 tinypool: 0.7.0 - vite: 4.2.1(@types/node@20.6.2) - vite-node: 0.34.4(@types/node@20.6.2) + vite: 4.2.1(@types/node@20.6.3) + vite-node: 0.34.4(@types/node@20.6.3) why-is-node-running: 2.2.2 transitivePeerDependencies: - less