diff --git a/packages/vant-cli/package.json b/packages/vant-cli/package.json index ae4773ed0..316e7d940 100644 --- a/packages/vant-cli/package.json +++ b/packages/vant-cli/package.json @@ -41,7 +41,7 @@ "@types/fs-extra": "^11.0.4", "@types/less": "^3.0.6", "@types/lodash": "^4.17.7", - "@types/markdown-it": "^13.0.8", + "@types/markdown-it": "^14.1.2", "rimraf": "^5.0.9", "vue": "^3.4.33" }, diff --git a/packages/vant/package.json b/packages/vant/package.json index eca180239..a084d319a 100644 --- a/packages/vant/package.json +++ b/packages/vant/package.json @@ -54,7 +54,7 @@ "vue": "^3.0.0" }, "devDependencies": { - "@types/node": "^18.19.41", + "@types/node": "^20.14.15", "@vant/area-data": "workspace:*", "@vant/cli": "workspace:*", "@vant/eslint-config": "workspace:*", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 00ac7e5f1..b9951d672 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -68,8 +68,8 @@ importers: version: 3.4.33 devDependencies: '@types/node': - specifier: ^18.19.41 - version: 18.19.41 + specifier: ^20.14.15 + version: 20.14.15 '@vant/area-data': specifier: workspace:* version: link:../vant-area-data @@ -84,13 +84,13 @@ importers: version: link:../vant-icons '@vitejs/plugin-vue': specifier: ^5.1.2 - version: 5.1.2(vite@5.3.4(@types/node@18.19.41)(less@4.2.0)(terser@5.31.3))(vue@3.4.33(typescript@5.4.5)) + version: 5.1.2(vite@5.3.4(@types/node@20.14.15)(less@4.2.0)(terser@5.31.3))(vue@3.4.33(typescript@5.4.5)) '@vitejs/plugin-vue-jsx': specifier: ^4.0.0 - version: 4.0.0(vite@5.3.4(@types/node@18.19.41)(less@4.2.0)(terser@5.31.3))(vue@3.4.33(typescript@5.4.5)) + version: 4.0.0(vite@5.3.4(@types/node@20.14.15)(less@4.2.0)(terser@5.31.3))(vue@3.4.33(typescript@5.4.5)) '@vitest/coverage-istanbul': specifier: ^1.6.0 - version: 1.6.0(vitest@1.6.0(@types/node@18.19.41)(jsdom@24.1.1)(less@4.2.0)(terser@5.31.3)) + version: 1.6.0(vitest@1.6.0(@types/node@20.14.15)(jsdom@24.1.1)(less@4.2.0)(terser@5.31.3)) '@vue/runtime-core': specifier: ^3.4.33 version: 3.4.33 @@ -111,13 +111,13 @@ importers: version: 5.4.5 vite: specifier: ^5.3.4 - version: 5.3.4(@types/node@18.19.41)(less@4.2.0)(terser@5.31.3) + version: 5.3.4(@types/node@20.14.15)(less@4.2.0)(terser@5.31.3) vitest: specifier: ^1.6.0 - version: 1.6.0(@types/node@18.19.41)(jsdom@24.1.1)(less@4.2.0)(terser@5.31.3) + version: 1.6.0(@types/node@20.14.15)(jsdom@24.1.1)(less@4.2.0)(terser@5.31.3) vitest-canvas-mock: specifier: ^0.3.3 - version: 0.3.3(vitest@1.6.0(@types/node@18.19.41)(jsdom@24.1.1)(less@4.2.0)(terser@5.31.3)) + version: 0.3.3(vitest@1.6.0(@types/node@20.14.15)(jsdom@24.1.1)(less@4.2.0)(terser@5.31.3)) vue: specifier: ^3.4.33 version: 3.4.33(typescript@5.4.5) @@ -180,10 +180,10 @@ importers: version: link:../vant-touch-emulator '@vitejs/plugin-vue': specifier: ^5.1.2 - version: 5.1.2(vite@5.3.4(@types/node@18.19.41)(less@4.2.0)(terser@5.31.3))(vue@3.4.33(typescript@5.4.5)) + version: 5.1.2(vite@5.3.4(@types/node@20.14.15)(less@4.2.0)(terser@5.31.3))(vue@3.4.33(typescript@5.4.5)) '@vitejs/plugin-vue-jsx': specifier: ^4.0.0 - version: 4.0.0(vite@5.3.4(@types/node@18.19.41)(less@4.2.0)(terser@5.31.3))(vue@3.4.33(typescript@5.4.5)) + version: 4.0.0(vite@5.3.4(@types/node@20.14.15)(less@4.2.0)(terser@5.31.3))(vue@3.4.33(typescript@5.4.5)) '@vue/babel-plugin-jsx': specifier: ^1.2.2 version: 1.2.2(@babel/core@7.25.2) @@ -228,7 +228,7 @@ importers: version: 14.1.0 markdown-it-anchor: specifier: ^9.0.1 - version: 9.0.1(@types/markdown-it@13.0.8)(markdown-it@14.1.0) + version: 9.0.1(@types/markdown-it@14.1.2)(markdown-it@14.1.0) nano-staged: specifier: ^0.8.0 version: 0.8.0 @@ -261,7 +261,7 @@ importers: version: 5.4.5 vite: specifier: ^5.3.4 - version: 5.3.4(@types/node@18.19.41)(less@4.2.0)(terser@5.31.3) + version: 5.3.4(@types/node@20.14.15)(less@4.2.0)(terser@5.31.3) vue-router: specifier: ^4.4.0 version: 4.4.0(vue@3.4.33(typescript@5.4.5)) @@ -276,8 +276,8 @@ importers: specifier: ^4.17.7 version: 4.17.7 '@types/markdown-it': - specifier: ^13.0.8 - version: 13.0.8 + specifier: ^14.1.2 + version: 14.1.2 rimraf: specifier: ^5.0.9 version: 5.0.9 @@ -1198,23 +1198,23 @@ packages: '@types/less@3.0.6': resolution: {integrity: sha512-PecSzorDGdabF57OBeQO/xFbAkYWo88g4Xvnsx7LRwqLC17I7OoKtA3bQB9uXkY6UkMWCOsA8HSVpaoitscdXw==} - '@types/linkify-it@3.0.5': - resolution: {integrity: sha512-yg6E+u0/+Zjva+buc3EIb+29XEg4wltq7cSmd4Uc2EE/1nUVmxyzpX6gUXD0V8jIrG0r7YeOGVIbYRkxeooCtw==} + '@types/linkify-it@5.0.0': + resolution: {integrity: sha512-sVDA58zAw4eWAffKOaQH5/5j3XeayukzDk+ewSsnv3p4yJEZHCCzMDiZM8e0OUrRvmpGZ85jf4yDHkHsgBNr9Q==} '@types/lodash@4.17.7': resolution: {integrity: sha512-8wTvZawATi/lsmNu10/j2hk1KEP0IvjubqPE3cu1Xz7xfXXt5oCq3SNUz4fMIP4XGF9Ky+Ue2tBA3hcS7LSBlA==} - '@types/markdown-it@13.0.8': - resolution: {integrity: sha512-V+KmpgiipS+zoypeUSS9ojesWtY/0k4XfqcK2fnVrX/qInJhX7rsCxZ/rygiPH2zxlPPrhfuW0I6ddMcWTKLsg==} + '@types/markdown-it@14.1.2': + resolution: {integrity: sha512-promo4eFwuiW+TfGxhi+0x3czqTYJkG8qB17ZUJiVF10Xm7NLVRSLUsfRTU/6h1e24VvRnXCx+hG7li58lkzog==} - '@types/mdurl@1.0.5': - resolution: {integrity: sha512-6L6VymKTzYSrEf4Nev4Xa1LCHKrlTlYCBMTlQKFuddo1CvQcE52I0mwfOJayueUC7MJuXOeHTcIU683lzd0cUA==} + '@types/mdurl@2.0.0': + resolution: {integrity: sha512-RGdgjQUZba5p6QEFAVx2OGb8rQDL/cPRG7GiedRzMcJ1tYnUANBncjbSB1NRGwbvjcPeikRABz2nshyPk1bhWg==} '@types/node@18.19.34': resolution: {integrity: sha512-eXF4pfBNV5DAMKGbI02NnDtWrQ40hAN558/2vvS4gMpMIxaf6JmD7YjnZbq0Q9TDSSkKBamime8ewRoomHdt4g==} - '@types/node@18.19.41': - resolution: {integrity: sha512-LX84pRJ+evD2e2nrgYCHObGWkiQJ1mL+meAgbvnwk/US6vmMY7S2ygBTGV2Jw91s9vUsLSXeDEkUHZIJGLrhsg==} + '@types/node@20.14.15': + resolution: {integrity: sha512-Fz1xDMCF/B00/tYSVMlmK7hVeLh7jE5f3B7X1/hmV0MJBwE27KlS7EvD/Yp+z1lm8mVhwV5w+n8jOZG8AfTlKw==} '@types/semver@7.5.8': resolution: {integrity: sha512-I8EUhyrgfLrcTkzV3TSsGyl1tSuPrEDzr0yd5m90UgNxQkyDXULk3b6MlQqTCpZpNtWe1K0hzclnZkTcLBe2UQ==} @@ -3993,26 +3993,26 @@ snapshots: '@types/jsonfile@6.1.4': dependencies: - '@types/node': 18.19.41 + '@types/node': 20.14.15 '@types/less@3.0.6': {} - '@types/linkify-it@3.0.5': {} + '@types/linkify-it@5.0.0': {} '@types/lodash@4.17.7': {} - '@types/markdown-it@13.0.8': + '@types/markdown-it@14.1.2': dependencies: - '@types/linkify-it': 3.0.5 - '@types/mdurl': 1.0.5 + '@types/linkify-it': 5.0.0 + '@types/mdurl': 2.0.0 - '@types/mdurl@1.0.5': {} + '@types/mdurl@2.0.0': {} '@types/node@18.19.34': dependencies: undici-types: 5.26.5 - '@types/node@18.19.41': + '@types/node@20.14.15': dependencies: undici-types: 5.26.5 @@ -4106,22 +4106,22 @@ snapshots: '@ungap/structured-clone@1.2.0': {} - '@vitejs/plugin-vue-jsx@4.0.0(vite@5.3.4(@types/node@18.19.41)(less@4.2.0)(terser@5.31.3))(vue@3.4.33(typescript@5.4.5))': + '@vitejs/plugin-vue-jsx@4.0.0(vite@5.3.4(@types/node@20.14.15)(less@4.2.0)(terser@5.31.3))(vue@3.4.33(typescript@5.4.5))': dependencies: '@babel/core': 7.24.7 '@babel/plugin-transform-typescript': 7.24.7(@babel/core@7.24.7) '@vue/babel-plugin-jsx': 1.2.2(@babel/core@7.24.7) - vite: 5.3.4(@types/node@18.19.41)(less@4.2.0)(terser@5.31.3) + vite: 5.3.4(@types/node@20.14.15)(less@4.2.0)(terser@5.31.3) vue: 3.4.33(typescript@5.4.5) transitivePeerDependencies: - supports-color - '@vitejs/plugin-vue@5.1.2(vite@5.3.4(@types/node@18.19.41)(less@4.2.0)(terser@5.31.3))(vue@3.4.33(typescript@5.4.5))': + '@vitejs/plugin-vue@5.1.2(vite@5.3.4(@types/node@20.14.15)(less@4.2.0)(terser@5.31.3))(vue@3.4.33(typescript@5.4.5))': dependencies: - vite: 5.3.4(@types/node@18.19.41)(less@4.2.0)(terser@5.31.3) + vite: 5.3.4(@types/node@20.14.15)(less@4.2.0)(terser@5.31.3) vue: 3.4.33(typescript@5.4.5) - '@vitest/coverage-istanbul@1.6.0(vitest@1.6.0(@types/node@18.19.41)(jsdom@24.1.1)(less@4.2.0)(terser@5.31.3))': + '@vitest/coverage-istanbul@1.6.0(vitest@1.6.0(@types/node@20.14.15)(jsdom@24.1.1)(less@4.2.0)(terser@5.31.3))': dependencies: debug: 4.3.4 istanbul-lib-coverage: 3.2.2 @@ -4132,7 +4132,7 @@ snapshots: magicast: 0.3.4 picocolors: 1.0.1 test-exclude: 6.0.0 - vitest: 1.6.0(@types/node@18.19.41)(jsdom@24.1.1)(less@4.2.0)(terser@5.31.3) + vitest: 1.6.0(@types/node@20.14.15)(jsdom@24.1.1)(less@4.2.0)(terser@5.31.3) transitivePeerDependencies: - supports-color @@ -5109,7 +5109,7 @@ snapshots: jest-worker@27.5.1: dependencies: - '@types/node': 18.19.41 + '@types/node': 20.14.15 merge-stream: 2.0.0 supports-color: 8.1.1 @@ -5261,9 +5261,9 @@ snapshots: dependencies: semver: 7.6.0 - markdown-it-anchor@9.0.1(@types/markdown-it@13.0.8)(markdown-it@14.1.0): + markdown-it-anchor@9.0.1(@types/markdown-it@14.1.2)(markdown-it@14.1.0): dependencies: - '@types/markdown-it': 13.0.8 + '@types/markdown-it': 14.1.2 markdown-it: 14.1.0 markdown-it@14.1.0: @@ -5832,13 +5832,13 @@ snapshots: varint@6.0.0: {} - vite-node@1.6.0(@types/node@18.19.41)(less@4.2.0)(terser@5.31.3): + vite-node@1.6.0(@types/node@20.14.15)(less@4.2.0)(terser@5.31.3): dependencies: cac: 6.7.14 debug: 4.3.4 pathe: 1.1.2 picocolors: 1.0.1 - vite: 5.3.4(@types/node@18.19.41)(less@4.2.0)(terser@5.31.3) + vite: 5.3.4(@types/node@20.14.15)(less@4.2.0)(terser@5.31.3) transitivePeerDependencies: - '@types/node' - less @@ -5849,23 +5849,23 @@ snapshots: - supports-color - terser - vite@5.3.4(@types/node@18.19.41)(less@4.2.0)(terser@5.31.3): + vite@5.3.4(@types/node@20.14.15)(less@4.2.0)(terser@5.31.3): dependencies: esbuild: 0.21.5 postcss: 8.4.39 rollup: 4.15.0 optionalDependencies: - '@types/node': 18.19.41 + '@types/node': 20.14.15 fsevents: 2.3.3 less: 4.2.0 terser: 5.31.3 - vitest-canvas-mock@0.3.3(vitest@1.6.0(@types/node@18.19.41)(jsdom@24.1.1)(less@4.2.0)(terser@5.31.3)): + vitest-canvas-mock@0.3.3(vitest@1.6.0(@types/node@20.14.15)(jsdom@24.1.1)(less@4.2.0)(terser@5.31.3)): dependencies: jest-canvas-mock: 2.5.2 - vitest: 1.6.0(@types/node@18.19.41)(jsdom@24.1.1)(less@4.2.0)(terser@5.31.3) + vitest: 1.6.0(@types/node@20.14.15)(jsdom@24.1.1)(less@4.2.0)(terser@5.31.3) - vitest@1.6.0(@types/node@18.19.41)(jsdom@24.1.1)(less@4.2.0)(terser@5.31.3): + vitest@1.6.0(@types/node@20.14.15)(jsdom@24.1.1)(less@4.2.0)(terser@5.31.3): dependencies: '@vitest/expect': 1.6.0 '@vitest/runner': 1.6.0 @@ -5884,11 +5884,11 @@ snapshots: strip-literal: 2.1.0 tinybench: 2.7.0 tinypool: 0.8.4 - vite: 5.3.4(@types/node@18.19.41)(less@4.2.0)(terser@5.31.3) - vite-node: 1.6.0(@types/node@18.19.41)(less@4.2.0)(terser@5.31.3) + vite: 5.3.4(@types/node@20.14.15)(less@4.2.0)(terser@5.31.3) + vite-node: 1.6.0(@types/node@20.14.15)(less@4.2.0)(terser@5.31.3) why-is-node-running: 2.2.2 optionalDependencies: - '@types/node': 18.19.41 + '@types/node': 20.14.15 jsdom: 24.1.1 transitivePeerDependencies: - less