From 5b3a383f54eebea5fe56ccd709adba91facee68a Mon Sep 17 00:00:00 2001 From: Yue JIN Date: Mon, 19 Feb 2024 17:02:22 +0800 Subject: [PATCH] revert: downgrade nuxt to 3.10.1 3.10.2 has style bug in dev mode https://github.com/nuxt/nuxt/issues/25860 --- package.json | 2 +- pnpm-lock.yaml | 109 ++++++++++++++++++++++++++++++++++--------------- 2 files changed, 78 insertions(+), 33 deletions(-) diff --git a/package.json b/package.json index d36832f..4680eac 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,7 @@ "eslint-config-prettier": "^9.1.0", "eslint-plugin-prettier": "^5.1.3", "happy-dom": "^13.3.8", - "nuxt": "^3.10.2", + "nuxt": "3.10.1", "playwright-core": "^1.41.2", "prettier": "^3.2.5", "rollup-plugin-regexp": "^5.0.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index c354f98..8564699 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -10,7 +10,7 @@ dependencies: version: 0.5.1(typescript@5.3.3)(vue@3.4.19) '@vueuse/nuxt': specifier: ^10.7.2 - version: 10.7.2(nuxt@3.10.2)(vue@3.4.19) + version: 10.7.2(nuxt@3.10.1)(vue@3.4.19) echarts: specifier: ^5.5.0 version: 5.5.0 @@ -27,7 +27,7 @@ devDependencies: version: 7.4.47 '@nuxt/devtools': specifier: latest - version: 1.0.8(nuxt@3.10.2)(vite@5.1.3) + version: 1.0.8(nuxt@3.10.1)(vite@5.1.3) '@nuxt/eslint-config': specifier: ^0.2.0 version: 0.2.0(eslint@8.56.0) @@ -50,8 +50,8 @@ devDependencies: specifier: ^13.3.8 version: 13.3.8 nuxt: - specifier: ^3.10.2 - version: 3.10.2(eslint@8.56.0)(typescript@5.3.3)(vite@5.1.3)(vue-tsc@1.8.27) + specifier: 3.10.1 + version: 3.10.1(eslint@8.56.0)(typescript@5.3.3)(vite@5.1.3)(vue-tsc@1.8.27) playwright-core: specifier: ^1.41.2 version: 1.41.2 @@ -1010,7 +1010,7 @@ packages: /@nuxt/devalue@2.0.2: resolution: {integrity: sha512-GBzP8zOc7CGWyFQS6dv1lQz8VVpz5C2yRszbXufwG/9zhStTIH50EtD87NmWbTMwXDvZLNg8GIpb1UFdH93JCA==} - /@nuxt/devtools-kit@1.0.8(nuxt@3.10.2)(vite@5.1.3): + /@nuxt/devtools-kit@1.0.8(nuxt@3.10.1)(vite@5.1.3): resolution: {integrity: sha512-j7bNZmoAXQ1a8qv6j6zk4c/aekrxYqYVQM21o/Hy4XHCUq4fajSgpoc8mjyWJSTfpkOmuLyEzMexpDWiIVSr6A==} peerDependencies: nuxt: ^3.9.0 @@ -1019,7 +1019,7 @@ packages: '@nuxt/kit': 3.10.2 '@nuxt/schema': 3.10.2 execa: 7.2.0 - nuxt: 3.10.2(eslint@8.56.0)(typescript@5.3.3)(vite@5.1.3)(vue-tsc@1.8.27) + nuxt: 3.10.1(eslint@8.56.0)(typescript@5.3.3)(vite@5.1.3)(vue-tsc@1.8.27) vite: 5.1.3 transitivePeerDependencies: - rollup @@ -1040,7 +1040,7 @@ packages: rc9: 2.1.1 semver: 7.6.0 - /@nuxt/devtools@1.0.8(nuxt@3.10.2)(vite@5.1.3): + /@nuxt/devtools@1.0.8(nuxt@3.10.1)(vite@5.1.3): resolution: {integrity: sha512-o6aBFEBxc8OgVHV4OPe2g0q9tFIe9HiTxRiJnlTJ+jHvOQsBLS651ArdVtwLChf9UdMouFlpLLJ1HteZqTbtsQ==} hasBin: true peerDependencies: @@ -1048,7 +1048,7 @@ packages: vite: '*' dependencies: '@antfu/utils': 0.7.7 - '@nuxt/devtools-kit': 1.0.8(nuxt@3.10.2)(vite@5.1.3) + '@nuxt/devtools-kit': 1.0.8(nuxt@3.10.1)(vite@5.1.3) '@nuxt/devtools-wizard': 1.0.8 '@nuxt/kit': 3.10.2 birpc: 0.2.15 @@ -1065,7 +1065,7 @@ packages: launch-editor: 2.6.1 local-pkg: 0.5.0 magicast: 0.3.3 - nuxt: 3.10.2(eslint@8.56.0)(typescript@5.3.3)(vite@5.1.3)(vue-tsc@1.8.27) + nuxt: 3.10.1(eslint@8.56.0)(typescript@5.3.3)(vite@5.1.3)(vue-tsc@1.8.27) nypm: 0.3.6 ohash: 1.1.3 pacote: 17.0.6 @@ -1105,6 +1105,32 @@ packages: - supports-color dev: true + /@nuxt/kit@3.10.1: + resolution: {integrity: sha512-M9VRY0QGbG6lWOVqt69ZF96RLBUZVXyFpbBUwHnoHgjF9BXSX/MT/hrZcJicN4aPM2QRephGgsBd4U5wFmmn6g==} + engines: {node: ^14.18.0 || >=16.10.0} + dependencies: + '@nuxt/schema': 3.10.1 + c12: 1.8.0 + consola: 3.2.3 + defu: 6.1.4 + globby: 14.0.1 + hash-sum: 2.0.0 + ignore: 5.3.1 + jiti: 1.21.0 + knitwork: 1.0.0 + mlly: 1.5.0 + pathe: 1.1.2 + pkg-types: 1.0.3 + scule: 1.3.0 + semver: 7.6.0 + ufo: 1.4.0 + unctx: 2.3.1 + unimport: 3.7.1(rollup@4.12.0) + untyped: 1.4.2 + transitivePeerDependencies: + - rollup + - supports-color + /@nuxt/kit@3.10.2: resolution: {integrity: sha512-Bua7taY9CIm7HCTpHXqFyM1xlZkrUl6HOqWrkGjLLQg9eeWAdKT7ppT0iEMiGnb9f+5T0uL5Ec3TvuR5J8P9WA==} engines: {node: ^14.18.0 || >=16.10.0} @@ -1131,6 +1157,25 @@ packages: - rollup - supports-color + /@nuxt/schema@3.10.1: + resolution: {integrity: sha512-DyZLhbaaoGBCXO2jboCHTp77jbCIUem/va5iSu2+GO6M8vAHbNRphksw38gpSk/F74LbJDTbW0t3hrMBzU4B3g==} + engines: {node: ^14.18.0 || >=16.10.0} + dependencies: + '@nuxt/ui-templates': 1.3.1 + consola: 3.2.3 + defu: 6.1.4 + hookable: 5.5.3 + pathe: 1.1.2 + pkg-types: 1.0.3 + scule: 1.3.0 + std-env: 3.7.0 + ufo: 1.4.0 + unimport: 3.7.1(rollup@4.12.0) + untyped: 1.4.2 + transitivePeerDependencies: + - rollup + - supports-color + /@nuxt/schema@3.10.2: resolution: {integrity: sha512-hHVnMlPKYR6AVK889gvcYVgewB1885/KPZW6uYhVWkeKGc63JzNCILq8ykTqG/t8LpG1ZJpwxo5KtDk9nIZrfA==} engines: {node: ^14.18.0 || >=16.10.0} @@ -1251,16 +1296,16 @@ packages: /@nuxt/ui-templates@1.3.1: resolution: {integrity: sha512-5gc02Pu1HycOVUWJ8aYsWeeXcSTPe8iX8+KIrhyEtEoOSkY0eMBuo0ssljB8wALuEmepv31DlYe5gpiRwkjESA==} - /@nuxt/vite-builder@3.10.2(eslint@8.56.0)(typescript@5.3.3)(vue-tsc@1.8.27)(vue@3.4.19): - resolution: {integrity: sha512-FFMfcb/o2ID42QqX7LyspjG+cbibTUVMVYDNbxXviIsj0VWt5trlSL4zU81HaLn8nAgGTozMYqV5SJgT4rp/Zg==} + /@nuxt/vite-builder@3.10.1(eslint@8.56.0)(typescript@5.3.3)(vue-tsc@1.8.27)(vue@3.4.19): + resolution: {integrity: sha512-Rl3sNWd43LNuKc4Y7vwWPLKH+4brbFCfcCQP1W86eSzfijen9AGuqyYIrRaaMieNE7aHMpYSIGCo4kYohhMsuA==} engines: {node: ^14.18.0 || >=16.10.0} peerDependencies: vue: ^3.3.4 dependencies: - '@nuxt/kit': 3.10.2 + '@nuxt/kit': 3.10.1 '@rollup/plugin-replace': 5.0.5(rollup@4.12.0) - '@vitejs/plugin-vue': 5.0.4(vite@5.1.1)(vue@3.4.19) - '@vitejs/plugin-vue-jsx': 3.1.0(vite@5.1.1)(vue@3.4.19) + '@vitejs/plugin-vue': 5.0.4(vite@5.0.12)(vue@3.4.19) + '@vitejs/plugin-vue-jsx': 3.1.0(vite@5.0.12)(vue@3.4.19) autoprefixer: 10.4.17(postcss@8.4.35) clear: 0.1.0 consola: 3.2.3 @@ -1287,9 +1332,9 @@ packages: ufo: 1.4.0 unenv: 1.9.0 unplugin: 1.7.1 - vite: 5.1.1 + vite: 5.0.12 vite-node: 1.3.0 - vite-plugin-checker: 0.6.4(eslint@8.56.0)(typescript@5.3.3)(vite@5.1.1)(vue-tsc@1.8.27) + vite-plugin-checker: 0.6.4(eslint@8.56.0)(typescript@5.3.3)(vite@5.0.12)(vue-tsc@1.8.27) vue: 3.4.19(typescript@5.3.3) vue-bundle-renderer: 2.0.0 transitivePeerDependencies: @@ -1988,7 +2033,7 @@ packages: - encoding - supports-color - /@vitejs/plugin-vue-jsx@3.1.0(vite@5.1.1)(vue@3.4.19): + /@vitejs/plugin-vue-jsx@3.1.0(vite@5.0.12)(vue@3.4.19): resolution: {integrity: sha512-w9M6F3LSEU5kszVb9An2/MmXNxocAnUb3WhRr8bHlimhDrXNt6n6D2nJQR3UXpGlZHh/EsgouOHCsM8V3Ln+WA==} engines: {node: ^14.18.0 || >=16.0.0} peerDependencies: @@ -1998,19 +2043,19 @@ packages: '@babel/core': 7.23.9 '@babel/plugin-transform-typescript': 7.23.6(@babel/core@7.23.9) '@vue/babel-plugin-jsx': 1.2.1(@babel/core@7.23.9) - vite: 5.1.1 + vite: 5.0.12 vue: 3.4.19(typescript@5.3.3) transitivePeerDependencies: - supports-color - /@vitejs/plugin-vue@5.0.4(vite@5.1.1)(vue@3.4.19): + /@vitejs/plugin-vue@5.0.4(vite@5.0.12)(vue@3.4.19): resolution: {integrity: sha512-WS3hevEszI6CEVEx28F8RjTX97k3KsrcY6kvTg7+Whm5y3oYvcqzVeGCU3hxSAn4uY2CLCkeokkGKpoctccilQ==} engines: {node: ^18.0.0 || >=20.0.0} peerDependencies: vite: ^5.0.0 vue: ^3.2.25 dependencies: - vite: 5.1.1 + vite: 5.0.12 vue: 3.4.19(typescript@5.3.3) /@vitest/expect@1.3.0: @@ -2252,7 +2297,7 @@ packages: resolution: {integrity: sha512-kCWPb4J2KGrwLtn1eJwaJD742u1k5h6v/St5wFe8Quih90+k2a0JP8BS4Zp34XUuJqS2AxFYMb1wjUL8HfhWsQ==} dev: false - /@vueuse/nuxt@10.7.2(nuxt@3.10.2)(vue@3.4.19): + /@vueuse/nuxt@10.7.2(nuxt@3.10.1)(vue@3.4.19): resolution: {integrity: sha512-yv2hY4AiRoSqg9ELNpN6gOkDWxGuLiKE/bEbuTAAuUBhS5OeEDf5aB/kY0e/V6ZXj5XiU4LX3nE8YV8c+UKfmQ==} peerDependencies: nuxt: ^3.0.0 @@ -2261,7 +2306,7 @@ packages: '@vueuse/core': 10.7.2(vue@3.4.19) '@vueuse/metadata': 10.7.2 local-pkg: 0.5.0 - nuxt: 3.10.2(eslint@8.56.0)(typescript@5.3.3)(vite@5.1.3)(vue-tsc@1.8.27) + nuxt: 3.10.1(eslint@8.56.0)(typescript@5.3.3)(vite@5.1.3)(vue-tsc@1.8.27) vue-demi: 0.14.7(vue@3.4.19) transitivePeerDependencies: - '@vue/composition-api' @@ -4664,8 +4709,8 @@ packages: - supports-color dev: false - /nuxt@3.10.2(eslint@8.56.0)(typescript@5.3.3)(vite@5.1.3)(vue-tsc@1.8.27): - resolution: {integrity: sha512-EYRPNPEHRoOzL5ZusOMoBvv1/yifGwdv7BLJPD/jaEDeEZvdXjLXLSRh2NukmdB1SdNmfL3wEnt5xtRpQO1niQ==} + /nuxt@3.10.1(eslint@8.56.0)(typescript@5.3.3)(vite@5.1.3)(vue-tsc@1.8.27): + resolution: {integrity: sha512-1X1DFTGPbVQFF1tjOWYl3qYc3zQww8htknu3qiP8xNzY1MFnDT3Xisxcf6KDe375tHHui0UpXflseL6evlEoMQ==} engines: {node: ^14.18.0 || >=16.10.0} hasBin: true peerDependencies: @@ -4678,12 +4723,12 @@ packages: optional: true dependencies: '@nuxt/devalue': 2.0.2 - '@nuxt/devtools': 1.0.8(nuxt@3.10.2)(vite@5.1.3) - '@nuxt/kit': 3.10.2 - '@nuxt/schema': 3.10.2 + '@nuxt/devtools': 1.0.8(nuxt@3.10.1)(vite@5.1.3) + '@nuxt/kit': 3.10.1 + '@nuxt/schema': 3.10.1 '@nuxt/telemetry': 2.5.3 '@nuxt/ui-templates': 1.3.1 - '@nuxt/vite-builder': 3.10.2(eslint@8.56.0)(typescript@5.3.3)(vue-tsc@1.8.27)(vue@3.4.19) + '@nuxt/vite-builder': 3.10.1(eslint@8.56.0)(typescript@5.3.3)(vue-tsc@1.8.27)(vue@3.4.19) '@unhead/dom': 1.8.10 '@unhead/ssr': 1.8.10 '@unhead/vue': 1.8.10(vue@3.4.19) @@ -6273,7 +6318,7 @@ packages: - supports-color - terser - /vite-plugin-checker@0.6.4(eslint@8.56.0)(typescript@5.3.3)(vite@5.1.1)(vue-tsc@1.8.27): + /vite-plugin-checker@0.6.4(eslint@8.56.0)(typescript@5.3.3)(vite@5.0.12)(vue-tsc@1.8.27): resolution: {integrity: sha512-2zKHH5oxr+ye43nReRbC2fny1nyARwhxdm0uNYp/ERy4YvU9iZpNOsueoi/luXw5gnpqRSvjcEPxXbS153O2wA==} engines: {node: '>=14.16'} peerDependencies: @@ -6317,7 +6362,7 @@ packages: strip-ansi: 6.0.1 tiny-invariant: 1.3.1 typescript: 5.3.3 - vite: 5.1.1 + vite: 5.0.12 vscode-languageclient: 7.0.0 vscode-languageserver: 7.0.0 vscode-languageserver-textdocument: 1.0.11 @@ -6385,8 +6430,8 @@ packages: - supports-color dev: true - /vite@5.1.1: - resolution: {integrity: sha512-wclpAgY3F1tR7t9LL5CcHC41YPkQIpKUGeIuT8MdNwNZr6OqOTLs7JX5vIHAtzqLWXts0T+GDrh9pN2arneKqg==} + /vite@5.0.12: + resolution: {integrity: sha512-4hsnEkG3q0N4Tzf1+t6NdN9dg/L3BM+q8SWgbSPnJvrgH2kgdyzfVJwbR1ic69/4uMJJ/3dqDZZE5/WwqW8U1w==} engines: {node: ^18.0.0 || >=20.0.0} hasBin: true peerDependencies: