diff --git a/package.json b/package.json index ff971766e0..223687669c 100644 --- a/package.json +++ b/package.json @@ -87,7 +87,7 @@ "@nutui/prettier-plugin": "workspace:*", "@nutui/vite-plugins": "workspace:*", "@tarojs/taro": "3.6.24", - "@types/node": "^18.19.28", + "@types/node": "^20.12.2", "@vitejs/plugin-vue": "^5.0.4", "@vitejs/plugin-vue-jsx": "^3.1.0", "@vitest/coverage-istanbul": "^1.4.0", diff --git a/packages/nutui-playground/package.json b/packages/nutui-playground/package.json index bfc222f225..4af81d70b1 100644 --- a/packages/nutui-playground/package.json +++ b/packages/nutui-playground/package.json @@ -15,7 +15,7 @@ "serve": "vite preview" }, "devDependencies": { - "@types/node": "^18.19.28", + "@types/node": "^20.12.2", "@vitejs/plugin-vue": "^5.0.4", "rimraf": "^5.0.5", "vite": "^5.2.7", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 9827b6b719..725ca2d0a5 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -26,7 +26,7 @@ importers: devDependencies: '@commitlint/cli': specifier: ^19.2.1 - version: 19.2.1(@types/node@18.19.28)(typescript@5.3.3) + version: 19.2.1(@types/node@20.12.2)(typescript@5.3.3) '@commitlint/config-conventional': specifier: ^19.1.0 version: 19.1.0 @@ -49,8 +49,8 @@ importers: specifier: 3.6.24 version: 3.6.24(@tarojs/helper@3.6.24)(@tarojs/runtime@3.6.24)(postcss@8.4.38)(vue@3.4.21) '@types/node': - specifier: ^18.19.28 - version: 18.19.28 + specifier: ^20.12.2 + version: 20.12.2 '@vitejs/plugin-vue': specifier: ^5.0.4 version: 5.0.4(vite@5.2.7)(vue@3.4.21) @@ -116,13 +116,13 @@ importers: version: 0.26.0(vue@3.4.21) vite: specifier: ^5.2.7 - version: 5.2.7(@types/node@18.19.28)(sass@1.72.0) + version: 5.2.7(@types/node@20.12.2)(sass@1.72.0) vite-plugin-vue-devtools: specifier: ^7.0.25 version: 7.0.25(vite@5.2.7)(vue@3.4.21) vitest: specifier: ^1.4.0 - version: 1.4.0(@types/node@18.19.28)(@vitest/ui@1.4.0)(happy-dom@14.3.10)(sass@1.72.0) + version: 1.4.0(@types/node@20.12.2)(@vitest/ui@1.4.0)(happy-dom@14.3.10)(sass@1.72.0) vitest-canvas-mock: specifier: ^0.3.3 version: 0.3.3(vitest@1.4.0) @@ -143,7 +143,7 @@ importers: version: 5.3.3 vite: specifier: ^5.2.7 - version: 5.2.7(@types/node@18.19.28)(sass@1.72.0) + version: 5.2.7(@types/node@20.12.2)(sass@1.72.0) packages/nutui-eslint-config: dependencies: @@ -186,8 +186,8 @@ importers: version: 3.10.1 devDependencies: '@types/node': - specifier: ^18.19.28 - version: 18.19.28 + specifier: ^20.12.2 + version: 20.12.2 '@vitejs/plugin-vue': specifier: ^5.0.4 version: 5.0.4(vite@5.2.7)(vue@3.4.21) @@ -196,7 +196,7 @@ importers: version: 5.0.5 vite: specifier: ^5.2.7 - version: 5.2.7(@types/node@18.19.28)(sass@1.72.0) + version: 5.2.7(@types/node@20.12.2)(sass@1.72.0) vue: specifier: ^3.4.21 version: 3.4.21(typescript@5.3.3) @@ -1833,14 +1833,14 @@ packages: resolution: {integrity: sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==} dev: true - /@commitlint/cli@19.2.1(@types/node@18.19.28)(typescript@5.3.3): + /@commitlint/cli@19.2.1(@types/node@20.12.2)(typescript@5.3.3): resolution: {integrity: sha512-cbkYUJsLqRomccNxvoJTyv5yn0bSy05BBizVyIcLACkRbVUqYorC351Diw/XFSWC/GtpwiwT2eOvQgFZa374bg==} engines: {node: '>=v18'} hasBin: true dependencies: '@commitlint/format': 19.0.3 '@commitlint/lint': 19.1.0 - '@commitlint/load': 19.2.0(@types/node@18.19.28)(typescript@5.3.3) + '@commitlint/load': 19.2.0(@types/node@20.12.2)(typescript@5.3.3) '@commitlint/read': 19.2.1 '@commitlint/types': 19.0.3 execa: 8.0.1 @@ -1909,7 +1909,7 @@ packages: '@commitlint/types': 19.0.3 dev: true - /@commitlint/load@19.2.0(@types/node@18.19.28)(typescript@5.3.3): + /@commitlint/load@19.2.0(@types/node@20.12.2)(typescript@5.3.3): resolution: {integrity: sha512-XvxxLJTKqZojCxaBQ7u92qQLFMMZc4+p9qrIq/9kJDy8DOrEa7P1yx7Tjdc2u2JxIalqT4KOGraVgCE7eCYJyQ==} engines: {node: '>=v18'} dependencies: @@ -1919,7 +1919,7 @@ packages: '@commitlint/types': 19.0.3 chalk: 5.3.0 cosmiconfig: 9.0.0(typescript@5.3.3) - cosmiconfig-typescript-loader: 5.0.0(@types/node@18.19.28)(cosmiconfig@9.0.0)(typescript@5.3.3) + cosmiconfig-typescript-loader: 5.0.0(@types/node@20.12.2)(cosmiconfig@9.0.0)(typescript@5.3.3) lodash.isplainobject: 4.0.6 lodash.merge: 4.6.2 lodash.uniq: 4.5.0 @@ -2571,7 +2571,7 @@ packages: dependencies: '@types/istanbul-lib-coverage': 2.0.6 '@types/istanbul-reports': 3.0.4 - '@types/node': 18.19.28 + '@types/node': 20.12.2 '@types/yargs': 15.0.19 chalk: 4.1.2 dev: true @@ -3981,32 +3981,32 @@ packages: resolution: {integrity: sha512-fB3Zu92ucau0iQ0JMCFQE7b/dv8Ot07NI3KaZIkIUNXq82k4eBAqUaneXfleGY9JWskeS9y+u0nXMyspcuQrCg==} dependencies: '@types/connect': 3.4.38 - '@types/node': 18.19.28 + '@types/node': 20.12.2 dev: true /@types/bonjour@3.5.13: resolution: {integrity: sha512-z9fJ5Im06zvUL548KvYNecEVlA7cVDkGUi6kZusb04mpyEFKCIZJvloCcmpmLaIahDpOQGHaHmG6imtPMmPXGQ==} dependencies: - '@types/node': 18.19.28 + '@types/node': 20.12.2 dev: true /@types/connect-history-api-fallback@1.5.4: resolution: {integrity: sha512-n6Cr2xS1h4uAulPRdlw6Jl6s1oG8KrVilPN2yUITEs+K48EzMJJ3W1xy8K5eWuFvjp3R74AOIGSmp2UfBJ8HFw==} dependencies: '@types/express-serve-static-core': 4.17.41 - '@types/node': 18.19.28 + '@types/node': 20.12.2 dev: true /@types/connect@3.4.38: resolution: {integrity: sha512-K6uROf1LD88uDQqJCktA4yzL1YYAK6NgfsI0v/mTgyPKWsX1CnJ0XPSDhViejru1GcRkLWb8RlzFYJRqGUbaug==} dependencies: - '@types/node': 18.19.28 + '@types/node': 20.12.2 dev: true /@types/conventional-commits-parser@5.0.0: resolution: {integrity: sha512-loB369iXNmAZglwWATL+WRe+CRMmmBPtpolYzIebFaX4YA3x+BEfLqhUAV9WanycKI3TG1IMr5bMJDajDKLlUQ==} dependencies: - '@types/node': 18.19.28 + '@types/node': 20.12.2 dev: true /@types/debug@4.1.12: @@ -4033,7 +4033,7 @@ packages: /@types/express-serve-static-core@4.17.41: resolution: {integrity: sha512-OaJ7XLaelTgrvlZD8/aa0vvvxZdUmlCn6MtWeB7TkiKW70BQLc9XEPpDLPdbo52ZhXUCrznlWdCHWxJWtdyajA==} dependencies: - '@types/node': 18.19.28 + '@types/node': 20.12.2 '@types/qs': 6.9.11 '@types/range-parser': 1.2.7 '@types/send': 0.17.4 @@ -4052,19 +4052,19 @@ packages: resolution: {integrity: sha512-yTbItCNreRooED33qjunPthRcSjERP1r4MqCZc7wv0u2sUkzTFp45tgUfS5+r7FrZPdmCCNflLhVSP/o+SemsQ==} dependencies: '@types/jsonfile': 6.1.4 - '@types/node': 18.19.28 + '@types/node': 20.12.2 dev: true /@types/fs-extra@8.1.5: resolution: {integrity: sha512-0dzKcwO+S8s2kuF5Z9oUWatQJj5Uq/iqphEtE3GQJVRRYm/tD1LglU2UnXi2A8jLq5umkGouOXOR9y0n613ZwQ==} dependencies: - '@types/node': 18.19.28 + '@types/node': 20.12.2 /@types/glob@7.2.0: resolution: {integrity: sha512-ZUxbzKl0IfJILTS6t7ip5fQQM/J3TJYubDm3nMbgubNNYS62eXeUpoLUC8/7fJNiFYHTrGPQn7hspDUzIHX3UA==} dependencies: '@types/minimatch': 5.1.2 - '@types/node': 18.19.28 + '@types/node': 20.12.2 /@types/html-minifier-terser@6.1.0: resolution: {integrity: sha512-oh/6byDPnL1zeNXFrDXFLyZjkr1MsBG667IM792caf1L2UPOOMf65NFzjUH/ltyfwjAGfs1rsX1eftK0jC/KIg==} @@ -4077,7 +4077,7 @@ packages: /@types/http-proxy@1.17.14: resolution: {integrity: sha512-SSrD0c1OQzlFX7pGu1eXxSEjemej64aaNPRhhVYUGqXh0BtldAAx37MG8btcumvpgKyZp1F5Gn3JkktdxiFv6w==} dependencies: - '@types/node': 18.19.28 + '@types/node': 20.12.2 dev: true /@types/istanbul-lib-coverage@2.0.6: @@ -4102,13 +4102,13 @@ packages: /@types/jsonfile@6.1.4: resolution: {integrity: sha512-D5qGUYwjvnNNextdU59/+fI+spnwtTFmyQP0h+PfIOSkNfpU6AOICUOkm4i0OnSk+NyjdPJrxCDro0sJsWlRpQ==} dependencies: - '@types/node': 18.19.28 + '@types/node': 20.12.2 dev: true /@types/keyv@3.1.4: resolution: {integrity: sha512-BQ5aZNSCpj7D6K2ksrRCTmKRLEpnPvWDiLPfoGyhZ++8YtiK9d/3DBKPJgry359X/P1PfruyYwvnvwFjuEiEIg==} dependencies: - '@types/node': 18.19.28 + '@types/node': 20.12.2 dev: true /@types/linkify-it@3.0.5: @@ -4166,11 +4166,11 @@ packages: /@types/node-forge@1.3.11: resolution: {integrity: sha512-FQx220y22OKNTqaByeBGqHWYz4cl94tpcxeFdvBo3wjG6XPBuZ0BNgNZRV5J5TFmmcsJ4IzsLkmGRiQbnYsBEQ==} dependencies: - '@types/node': 18.19.28 + '@types/node': 20.12.2 dev: true - /@types/node@18.19.28: - resolution: {integrity: sha512-J5cOGD9n4x3YGgVuaND6khm5x07MMdAKkRyXnjVR6KFhLMNh2yONGiP7Z+4+tBOt5mK+GvDTiacTOVGGpqiecw==} + /@types/node@20.12.2: + resolution: {integrity: sha512-zQ0NYO87hyN6Xrclcqp7f8ZbXNbRfoGWNcMvHTPQp9UUrwI0mI7XBz+cu7/W6/VClYo2g63B0cjull/srU7LgQ==} dependencies: undici-types: 5.26.5 @@ -4193,7 +4193,7 @@ packages: /@types/responselike@1.0.3: resolution: {integrity: sha512-H/+L+UkTV33uf49PH5pCAUBVPNj2nDBXTN+qS1dOwyyg24l3CcicicCA7ca+HMvJBZcFgl5r8e+RR6elsb4Lyw==} dependencies: - '@types/node': 18.19.28 + '@types/node': 20.12.2 dev: true /@types/retry@0.12.0: @@ -4214,7 +4214,7 @@ packages: resolution: {integrity: sha512-x2EM6TJOybec7c52BX0ZspPodMsQUd5L6PRwOunVyVUhXiBSKf3AezDL8Dgvgt5o0UfKNfuA0eMLr2wLT4AiBA==} dependencies: '@types/mime': 1.3.5 - '@types/node': 18.19.28 + '@types/node': 20.12.2 dev: true /@types/serve-index@1.9.4: @@ -4228,13 +4228,13 @@ packages: dependencies: '@types/http-errors': 2.0.4 '@types/mime': 3.0.4 - '@types/node': 18.19.28 + '@types/node': 20.12.2 dev: true /@types/sockjs@0.3.36: resolution: {integrity: sha512-MK9V6NzAS1+Ud7JV9lJLFqW85VbC9dq3LmwZCuBe4wBDgKC0Kj/jd8Xl+nSviU+Qc3+m7umHHyHg//2KSa0a0Q==} dependencies: - '@types/node': 18.19.28 + '@types/node': 20.12.2 dev: true /@types/vscode@1.85.0: @@ -4248,7 +4248,7 @@ packages: /@types/ws@8.5.10: resolution: {integrity: sha512-vmQSUcfalpIq0R9q7uTo2lXs6eGIpt9wtnLdMv9LVpIjCA/+ufZRozlVoVelIYixx1ugCBKDhn89vnsEGOCx9A==} dependencies: - '@types/node': 18.19.28 + '@types/node': 20.12.2 dev: true /@types/yargs-parser@21.0.3: @@ -4516,7 +4516,7 @@ packages: '@babel/core': 7.24.3 '@babel/plugin-transform-typescript': 7.23.6(@babel/core@7.24.3) '@vue/babel-plugin-jsx': 1.1.5(@babel/core@7.24.3) - vite: 5.2.7(@types/node@18.19.28)(sass@1.72.0) + vite: 5.2.7(@types/node@20.12.2)(sass@1.72.0) vue: 3.4.21(typescript@5.3.3) transitivePeerDependencies: - supports-color @@ -4529,7 +4529,7 @@ packages: vite: ^5.0.0 vue: ^3.2.25 dependencies: - vite: 5.2.7(@types/node@18.19.28)(sass@1.72.0) + vite: 5.2.7(@types/node@20.12.2)(sass@1.72.0) vue: 3.4.21(typescript@5.3.3) dev: true @@ -4547,7 +4547,7 @@ packages: magicast: 0.3.3 picocolors: 1.0.0 test-exclude: 6.0.0 - vitest: 1.4.0(@types/node@18.19.28)(@vitest/ui@1.4.0)(happy-dom@14.3.10)(sass@1.72.0) + vitest: 1.4.0(@types/node@20.12.2)(@vitest/ui@1.4.0)(happy-dom@14.3.10)(sass@1.72.0) transitivePeerDependencies: - supports-color dev: true @@ -4571,7 +4571,7 @@ packages: strip-literal: 2.0.0 test-exclude: 6.0.0 v8-to-istanbul: 9.2.0 - vitest: 1.4.0(@types/node@18.19.28)(@vitest/ui@1.4.0)(happy-dom@14.3.10)(sass@1.72.0) + vitest: 1.4.0(@types/node@20.12.2)(@vitest/ui@1.4.0)(happy-dom@14.3.10)(sass@1.72.0) transitivePeerDependencies: - supports-color dev: true @@ -4618,7 +4618,7 @@ packages: pathe: 1.1.2 picocolors: 1.0.0 sirv: 2.0.4 - vitest: 1.4.0(@types/node@18.19.28)(@vitest/ui@1.4.0)(happy-dom@14.3.10)(sass@1.72.0) + vitest: 1.4.0(@types/node@20.12.2)(@vitest/ui@1.4.0)(happy-dom@14.3.10)(sass@1.72.0) dev: true /@vitest/utils@1.4.0: @@ -6858,7 +6858,7 @@ packages: /core-util-is@1.0.3: resolution: {integrity: sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==} - /cosmiconfig-typescript-loader@5.0.0(@types/node@18.19.28)(cosmiconfig@9.0.0)(typescript@5.3.3): + /cosmiconfig-typescript-loader@5.0.0(@types/node@20.12.2)(cosmiconfig@9.0.0)(typescript@5.3.3): resolution: {integrity: sha512-+8cK7jRAReYkMwMiG+bxhcNKiHJDM6bR9FD/nGBXOWdMLuYawjF5cGrtLilJ+LGd3ZjCXnJjR5DkfWPoIVlqJA==} engines: {node: '>=v16'} peerDependencies: @@ -6866,7 +6866,7 @@ packages: cosmiconfig: '>=8.2' typescript: '>=4' dependencies: - '@types/node': 18.19.28 + '@types/node': 20.12.2 cosmiconfig: 9.0.0(typescript@5.3.3) jiti: 1.21.0 typescript: 5.3.3 @@ -10409,7 +10409,7 @@ packages: resolution: {integrity: sha512-7vuh85V5cdDofPyxn58nrPjBktZo0u9x1g8WtjQol+jZDaE+fhN+cIvTj11GndBnMnyfrUOG1sZQxCdjKh+DKg==} engines: {node: '>= 10.13.0'} dependencies: - '@types/node': 18.19.28 + '@types/node': 20.12.2 merge-stream: 2.0.0 supports-color: 8.1.1 dev: true @@ -15394,7 +15394,7 @@ packages: '@types/markdown-it': 13.0.7 markdown-it: 14.0.0 unplugin: 1.6.0 - vite: 5.2.7(@types/node@18.19.28)(sass@1.72.0) + vite: 5.2.7(@types/node@20.12.2)(sass@1.72.0) transitivePeerDependencies: - rollup dev: false @@ -15608,10 +15608,10 @@ packages: peerDependencies: vite: ^2.6.0 || ^3.0.0 || ^4.0.0 || ^5.0.0-0 dependencies: - vite: 5.2.7(@types/node@18.19.28)(sass@1.72.0) + vite: 5.2.7(@types/node@20.12.2)(sass@1.72.0) dev: true - /vite-node@1.4.0(@types/node@18.19.28)(sass@1.72.0): + /vite-node@1.4.0(@types/node@20.12.2)(sass@1.72.0): resolution: {integrity: sha512-VZDAseqjrHgNd4Kh8icYHWzTKSCZMhia7GyHfhtzLW33fZlG9SwsB6CEhgyVOWkJfJ2pFLrp/Gj1FSfAiqH9Lw==} engines: {node: ^18.0.0 || >=20.0.0} hasBin: true @@ -15620,7 +15620,7 @@ packages: debug: 4.3.4 pathe: 1.1.2 picocolors: 1.0.0 - vite: 5.2.7(@types/node@18.19.28)(sass@1.72.0) + vite: 5.2.7(@types/node@20.12.2)(sass@1.72.0) transitivePeerDependencies: - '@types/node' - less @@ -15651,7 +15651,7 @@ packages: perfect-debounce: 1.0.0 picocolors: 1.0.0 sirv: 2.0.4 - vite: 5.2.7(@types/node@18.19.28)(sass@1.72.0) + vite: 5.2.7(@types/node@20.12.2)(sass@1.72.0) transitivePeerDependencies: - rollup - supports-color @@ -15668,7 +15668,7 @@ packages: '@vue/devtools-shared': 7.0.25 execa: 8.0.1 sirv: 2.0.4 - vite: 5.2.7(@types/node@18.19.28)(sass@1.72.0) + vite: 5.2.7(@types/node@20.12.2)(sass@1.72.0) vite-plugin-inspect: 0.8.3(vite@5.2.7) vite-plugin-vue-inspector: 4.0.2(vite@5.2.7) transitivePeerDependencies: @@ -15692,12 +15692,12 @@ packages: '@vue/compiler-dom': 3.4.21 kolorist: 1.8.0 magic-string: 0.30.7 - vite: 5.2.7(@types/node@18.19.28)(sass@1.72.0) + vite: 5.2.7(@types/node@20.12.2)(sass@1.72.0) transitivePeerDependencies: - supports-color dev: true - /vite@5.2.7(@types/node@18.19.28)(sass@1.72.0): + /vite@5.2.7(@types/node@20.12.2)(sass@1.72.0): resolution: {integrity: sha512-k14PWOKLI6pMaSzAuGtT+Cf0YmIx12z9YGon39onaJNy8DLBfBJrzg9FQEmkAM5lpHBZs9wksWAsyF/HkpEwJA==} engines: {node: ^18.0.0 || >=20.0.0} hasBin: true @@ -15725,7 +15725,7 @@ packages: terser: optional: true dependencies: - '@types/node': 18.19.28 + '@types/node': 20.12.2 esbuild: 0.20.2 postcss: 8.4.38 rollup: 4.13.0 @@ -15739,10 +15739,10 @@ packages: vitest: '*' dependencies: jest-canvas-mock: 2.5.2 - vitest: 1.4.0(@types/node@18.19.28)(@vitest/ui@1.4.0)(happy-dom@14.3.10)(sass@1.72.0) + vitest: 1.4.0(@types/node@20.12.2)(@vitest/ui@1.4.0)(happy-dom@14.3.10)(sass@1.72.0) dev: true - /vitest@1.4.0(@types/node@18.19.28)(@vitest/ui@1.4.0)(happy-dom@14.3.10)(sass@1.72.0): + /vitest@1.4.0(@types/node@20.12.2)(@vitest/ui@1.4.0)(happy-dom@14.3.10)(sass@1.72.0): resolution: {integrity: sha512-gujzn0g7fmwf83/WzrDTnncZt2UiXP41mHuFYFrdwaLRVQ6JYQEiME2IfEjU3vcFL3VKa75XhI3lFgn+hfVsQw==} engines: {node: ^18.0.0 || >=20.0.0} hasBin: true @@ -15767,7 +15767,7 @@ packages: jsdom: optional: true dependencies: - '@types/node': 18.19.28 + '@types/node': 20.12.2 '@vitest/expect': 1.4.0 '@vitest/runner': 1.4.0 '@vitest/snapshot': 1.4.0 @@ -15787,8 +15787,8 @@ packages: strip-literal: 2.0.0 tinybench: 2.5.1 tinypool: 0.8.2 - vite: 5.2.7(@types/node@18.19.28)(sass@1.72.0) - vite-node: 1.4.0(@types/node@18.19.28)(sass@1.72.0) + vite: 5.2.7(@types/node@20.12.2)(sass@1.72.0) + vite-node: 1.4.0(@types/node@20.12.2)(sass@1.72.0) why-is-node-running: 2.2.2 transitivePeerDependencies: - less