From 0483305eddd424a3a0343566461d35d659947646 Mon Sep 17 00:00:00 2001 From: chenjiahan Date: Tue, 29 Mar 2022 20:54:30 +0800 Subject: [PATCH 01/17] release: 3.4.7 --- packages/vant/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/vant/package.json b/packages/vant/package.json index b3d0d3ad9..f5f20660d 100644 --- a/packages/vant/package.json +++ b/packages/vant/package.json @@ -1,6 +1,6 @@ { "name": "vant", - "version": "3.4.6", + "version": "3.4.7", "description": "Mobile UI Components built on Vue", "main": "lib/vant.cjs.js", "module": "es/index.js", From 99876cfb7c203b5a37fcef1220eeee55d02772cd Mon Sep 17 00:00:00 2001 From: chenjiahan Date: Tue, 29 Mar 2022 21:09:19 +0800 Subject: [PATCH 02/17] docs(changelog): 3.4.7 --- .../vant/docs/markdown/changelog.en-US.md | 22 +++++++++++++++++++ .../vant/docs/markdown/changelog.zh-CN.md | 21 ++++++++++++++++++ 2 files changed, 43 insertions(+) diff --git a/packages/vant/docs/markdown/changelog.en-US.md b/packages/vant/docs/markdown/changelog.en-US.md index 7f6ee63c6..ed4082972 100644 --- a/packages/vant/docs/markdown/changelog.en-US.md +++ b/packages/vant/docs/markdown/changelog.en-US.md @@ -19,6 +19,28 @@ Vant follows [Semantic Versioning 2.0.0](https://semver.org/lang/zh-CN/). ## Details +### [v3.4.7](https://github.com/youzan/vant/compare/v3.4.6...v3.4.7) + +`2022-03-29` + +**Feature** + +- @vant/area-data: update counties of NanJing [#10410](https://github.com/youzan/vant/issues/10410) +- CouponList: update empty image [#10436](https://github.com/youzan/vant/issues/10436) +- Locale: add Icelandic lang [#10418](https://github.com/youzan/vant/issues/10418) +- Locale: add Lao lang [#10388](https://github.com/youzan/vant/issues/10388) +- Locale: add Swedish lang [#10419](https://github.com/youzan/vant/issues/10419) +- NumberKeyboard: improve shuffle algorithm [#10428](https://github.com/youzan/vant/issues/10428) +- Uploader: support set the preview size separately [#10438](https://github.com/youzan/vant/issues/10438) + +**Bug Fixes** + +- Calendar: scrollToDate method is invalid [#10432](https://github.com/youzan/vant/issues/10432) +- DatetimePicker: fix minDate && maxDate wacher [#10431](https://github.com/youzan/vant/issues/10431) +- IndexBar: allow active bottom anchor [#10404](https://github.com/youzan/vant/issues/10404) +- Tab: add key when render TabsTitle [#10392](https://github.com/youzan/vant/issues/10392) +- fix wrong ternary expression [#10426](https://github.com/youzan/vant/issues/10426) + ### [v3.4.6](https://github.com/youzan/vant/compare/v3.4.5...v3.4.6) `2022-03-13` diff --git a/packages/vant/docs/markdown/changelog.zh-CN.md b/packages/vant/docs/markdown/changelog.zh-CN.md index f0cb7a6b8..7a12e3812 100644 --- a/packages/vant/docs/markdown/changelog.zh-CN.md +++ b/packages/vant/docs/markdown/changelog.zh-CN.md @@ -19,6 +19,27 @@ Vant 遵循 [Semver](https://semver.org/lang/zh-CN/) 语义化版本规范。 ## 更新内容 +### [v3.4.7](https://github.com/youzan/vant/compare/v3.4.6...v3.4.7) + +`2022-03-29` + +**Feature** + +- @vant/area-data: 新增南京市江北新区 [#10410](https://github.com/youzan/vant/issues/10410) +- CouponList: 更新优惠券为空时的占位图 [#10436](https://github.com/youzan/vant/issues/10436) +- Locale: 新增 Icelandic 冰岛语 [#10418](https://github.com/youzan/vant/issues/10418) +- Locale: 新增 Lao 老挝语 [#10388](https://github.com/youzan/vant/issues/10388) +- Locale: 新增 Swedish 瑞典语 [#10419](https://github.com/youzan/vant/issues/10419) +- NumberKeyboard: 优化随机排序算法 [#10428](https://github.com/youzan/vant/issues/10428) +- Uploader: preview-size 属性支持单独设置宽度和高度 [#10438](https://github.com/youzan/vant/issues/10438) + +**Bug Fixes** + +- Calendar: 修复 scrollToDate 方法在个别情况下不生效的问题 [#10432](https://github.com/youzan/vant/issues/10432) +- DatetimePicker: 修复动态改变最大值或最小值时,currentDate 不准确的问题 [#10431](https://github.com/youzan/vant/issues/10431) +- IndexBar: 修复底部索引高亮状态不正确的问题 [#10404](https://github.com/youzan/vant/issues/10404) +- Tab: 修复使用 v-if 延迟渲染更新不正确的问题 [#10392](https://github.com/youzan/vant/issues/10392) + ### [v3.4.6](https://github.com/youzan/vant/compare/v3.4.5...v3.4.6) `2022-03-13` From 25be56aa3eae872f2304bb989ff8d25246c6601d Mon Sep 17 00:00:00 2001 From: Alan Wang Date: Tue, 29 Mar 2022 22:01:17 -0400 Subject: [PATCH 03/17] fix(datetime-picker): modeValue is inconsistent with the selected data. (#10448) --- packages/vant/src/datetime-picker/DatePicker.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/vant/src/datetime-picker/DatePicker.tsx b/packages/vant/src/datetime-picker/DatePicker.tsx index 79dacd7c3..563168e73 100644 --- a/packages/vant/src/datetime-picker/DatePicker.tsx +++ b/packages/vant/src/datetime-picker/DatePicker.tsx @@ -281,6 +281,7 @@ export default defineComponent({ const onChange = () => { updateInnerValue(); nextTick(() => { + updateInnerValue(); nextTick(() => emit('change', currentDate.value)); }); }; From a1054c3a29683fbd4fdeb78f0feca2eabf9df77e Mon Sep 17 00:00:00 2001 From: Nemo Shen Date: Thu, 31 Mar 2022 17:51:49 +0800 Subject: [PATCH 04/17] feat(CalendarDay): add default margin-bottom (#10441) * feat(CalendarDay): add default margin-bottom 10px * feat(Calendar): add --van-calendar-day-margin-bottom * fix(CalendarDay): adjust marginBottom of day * docs(Calendar): add --van-calendar-day-margin-bottom * Update README.md * Update README.zh-CN.md Co-authored-by: neverland Co-authored-by: neverland --- packages/vant/src/calendar/CalendarDay.tsx | 4 ++ packages/vant/src/calendar/README.md | 1 + packages/vant/src/calendar/README.zh-CN.md | 1 + packages/vant/src/calendar/index.less | 2 + .../test/__snapshots__/index.spec.ts.snap | 40 +++++++++++++++---- .../test/__snapshots__/prop.spec.ts.snap | 8 ++++ packages/vant/src/calendar/var.less | 1 + 7 files changed, 49 insertions(+), 8 deletions(-) diff --git a/packages/vant/src/calendar/CalendarDay.tsx b/packages/vant/src/calendar/CalendarDay.tsx index 99945a8ab..335f704d4 100644 --- a/packages/vant/src/calendar/CalendarDay.tsx +++ b/packages/vant/src/calendar/CalendarDay.tsx @@ -54,6 +54,10 @@ export default defineComponent({ } } + if (offset + (item.date?.getDate() || 1) > 28) { + style.marginBottom = 0; + } + return style; }); diff --git a/packages/vant/src/calendar/README.md b/packages/vant/src/calendar/README.md index 3fda11f1e..0ed91df18 100644 --- a/packages/vant/src/calendar/README.md +++ b/packages/vant/src/calendar/README.md @@ -395,6 +395,7 @@ The component provides the following CSS variables, which can be used to customi | --van-calendar-month-mark-font-size | _160px_ | - | | --van-calendar-day-height | _64px_ | - | | --van-calendar-day-font-size | _var(--van-font-size-lg)_ | - | +| --van-calendar-day-margin-bottom | _4px_ | - | | --van-calendar-range-edge-color | _var(--van-white)_ | - | | --van-calendar-range-edge-background-color | _var(--van-danger-color)_ | - | | --van-calendar-range-middle-color | _var(--van-danger-color)_ | - | diff --git a/packages/vant/src/calendar/README.zh-CN.md b/packages/vant/src/calendar/README.zh-CN.md index a5a91c1de..9e498ec6f 100644 --- a/packages/vant/src/calendar/README.zh-CN.md +++ b/packages/vant/src/calendar/README.zh-CN.md @@ -401,6 +401,7 @@ calendarRef.value?.reset(); | --van-calendar-month-mark-font-size | _160px_ | - | | --van-calendar-day-height | _64px_ | - | | --van-calendar-day-font-size | _var(--van-font-size-lg)_ | - | +| --van-calendar-day-margin-bottom | _4px_ | - | | --van-calendar-range-edge-color | _var(--van-white)_ | - | | --van-calendar-range-edge-background-color | _var(--van-danger-color)_ | - | | --van-calendar-range-middle-color | _var(--van-danger-color)_ | - | diff --git a/packages/vant/src/calendar/index.less b/packages/vant/src/calendar/index.less index da2af3449..dacd5ce39 100644 --- a/packages/vant/src/calendar/index.less +++ b/packages/vant/src/calendar/index.less @@ -14,6 +14,7 @@ --van-calendar-month-mark-font-size: @calendar-month-mark-font-size; --van-calendar-day-height: @calendar-day-height; --van-calendar-day-font-size: @calendar-day-font-size; + --van-calendar-day-margin-bottom: @calendar-day-margin-bottom; --van-calendar-range-edge-color: @calendar-range-edge-color; --van-calendar-range-edge-background-color: @calendar-range-edge-background-color; --van-calendar-range-middle-color: @calendar-range-middle-color; @@ -124,6 +125,7 @@ width: 14.285%; height: var(--van-calendar-day-height); font-size: var(--van-calendar-day-font-size); + margin-bottom: var(--van-calendar-day-margin-bottom); cursor: pointer; &--end, diff --git a/packages/vant/src/calendar/test/__snapshots__/index.spec.ts.snap b/packages/vant/src/calendar/test/__snapshots__/index.spec.ts.snap index 313e618ca..fd45e51b3 100644 --- a/packages/vant/src/calendar/test/__snapshots__/index.spec.ts.snap +++ b/packages/vant/src/calendar/test/__snapshots__/index.spec.ts.snap @@ -251,41 +251,49 @@ exports[`color prop when type is single 1`] = ` 23
24
25
26
27
28
29
30
31 @@ -484,41 +492,49 @@ exports[`formatter prop 1`] = ` 23
24
25
26
27
28
29
30
31 @@ -836,49 +852,49 @@ exports[`row-height prop 1`] = ` 23
24
25
26
27
28
29
30
31 @@ -1083,41 +1099,49 @@ exports[`should render title、footer、subtitle slot correctly 1`] = ` 23
24
25
26
27
28
29
30
31 diff --git a/packages/vant/src/calendar/test/__snapshots__/prop.spec.ts.snap b/packages/vant/src/calendar/test/__snapshots__/prop.spec.ts.snap index da5358299..d317ea6b0 100644 --- a/packages/vant/src/calendar/test/__snapshots__/prop.spec.ts.snap +++ b/packages/vant/src/calendar/test/__snapshots__/prop.spec.ts.snap @@ -170,41 +170,49 @@ exports[`lazy-render prop 1`] = ` 23
24
25
26
27
28
29
30
31 diff --git a/packages/vant/src/calendar/var.less b/packages/vant/src/calendar/var.less index 540cd2be5..2ccd3f6d0 100644 --- a/packages/vant/src/calendar/var.less +++ b/packages/vant/src/calendar/var.less @@ -13,6 +13,7 @@ @calendar-month-mark-font-size: 160px; @calendar-day-height: 64px; @calendar-day-font-size: var(--van-font-size-lg); +@calendar-day-margin-bottom: 4px; @calendar-range-edge-color: var(--van-white); @calendar-range-edge-background-color: var(--van-danger-color); @calendar-range-middle-color: var(--van-danger-color); From d29d961c4f3da45aeb4dbf34b5928ba2c718b329 Mon Sep 17 00:00:00 2001 From: neverland Date: Thu, 31 Mar 2022 23:39:03 +0800 Subject: [PATCH 05/17] chore(cli): bump vite v2.9 (#10454) --- packages/vant-area-data/package.json | 2 +- packages/vant-cli/package.json | 4 +- packages/vant-popperjs/package.json | 2 +- packages/vant-use/package.json | 2 +- .../vant/docs/markdown/changelog.en-US.md | 2 +- pnpm-lock.yaml | 209 ++++++++++-------- 6 files changed, 125 insertions(+), 96 deletions(-) diff --git a/packages/vant-area-data/package.json b/packages/vant-area-data/package.json index 4657d0bd1..86fb74960 100644 --- a/packages/vant-area-data/package.json +++ b/packages/vant-area-data/package.json @@ -27,7 +27,7 @@ "author": "chenjiahan", "license": "MIT", "devDependencies": { - "esbuild": "^0.14.21", + "esbuild": "^0.14.29", "release-it": "^14.2.2", "typescript": "~4.5.2" }, diff --git a/packages/vant-cli/package.json b/packages/vant-cli/package.json index 8e01e0829..856718224 100644 --- a/packages/vant-cli/package.json +++ b/packages/vant-cli/package.json @@ -62,7 +62,7 @@ "commander": "^8.3.0", "consola": "^2.15.3", "conventional-changelog": "^3.1.24", - "esbuild": "^0.14.21", + "esbuild": "^0.14.29", "eslint": "^8.1.0", "execa": "^5.1.1", "fast-glob": "^3.2.7", @@ -86,7 +86,7 @@ "stylelint": "^13.0.0", "transliteration": "^2.2.0", "typescript": "^4.5.2", - "vite": "^2.8.0", + "vite": "^2.9.0", "vite-plugin-html": "^2.1.1", "vite-plugin-md": "^0.11.4", "vue-router": "^4.0.12" diff --git a/packages/vant-popperjs/package.json b/packages/vant-popperjs/package.json index 615736389..7f9a1eac6 100644 --- a/packages/vant-popperjs/package.json +++ b/packages/vant-popperjs/package.json @@ -34,7 +34,7 @@ "@popperjs/core": "^2.9.2" }, "devDependencies": { - "esbuild": "^0.14.21", + "esbuild": "^0.14.29", "release-it": "^14.2.2", "typescript": "~4.5.2" }, diff --git a/packages/vant-use/package.json b/packages/vant-use/package.json index f6dd0c2c3..c0398891e 100644 --- a/packages/vant-use/package.json +++ b/packages/vant-use/package.json @@ -31,7 +31,7 @@ "author": "chenjiahan", "license": "MIT", "devDependencies": { - "esbuild": "^0.14.21", + "esbuild": "^0.14.29", "release-it": "^14.0.2", "typescript": "~4.5.2", "vue": "^3.2.27" diff --git a/packages/vant/docs/markdown/changelog.en-US.md b/packages/vant/docs/markdown/changelog.en-US.md index ed4082972..58157a0f7 100644 --- a/packages/vant/docs/markdown/changelog.en-US.md +++ b/packages/vant/docs/markdown/changelog.en-US.md @@ -36,7 +36,7 @@ Vant follows [Semantic Versioning 2.0.0](https://semver.org/lang/zh-CN/). **Bug Fixes** - Calendar: scrollToDate method is invalid [#10432](https://github.com/youzan/vant/issues/10432) -- DatetimePicker: fix minDate && maxDate wacher [#10431](https://github.com/youzan/vant/issues/10431) +- DatetimePicker: fix minDate && maxDate watcher [#10431](https://github.com/youzan/vant/issues/10431) - IndexBar: allow active bottom anchor [#10404](https://github.com/youzan/vant/issues/10404) - Tab: add key when render TabsTitle [#10392](https://github.com/youzan/vant/issues/10392) - fix wrong ternary expression [#10426](https://github.com/youzan/vant/issues/10426) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 718727aeb..4abde7ce5 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -76,11 +76,11 @@ importers: packages/vant-area-data: specifiers: - esbuild: ^0.14.21 + esbuild: ^0.14.29 release-it: ^14.2.2 typescript: ~4.5.2 devDependencies: - esbuild: 0.14.21 + esbuild: 0.14.29 release-it: 14.11.6 typescript: 4.5.2 @@ -106,7 +106,7 @@ importers: commander: ^8.3.0 consola: ^2.15.3 conventional-changelog: ^3.1.24 - esbuild: ^0.14.21 + esbuild: ^0.14.29 eslint: ^8.1.0 execa: ^5.1.1 fast-glob: ^3.2.7 @@ -130,7 +130,7 @@ importers: stylelint: ^13.0.0 transliteration: ^2.2.0 typescript: ^4.5.2 - vite: ^2.8.0 + vite: ^2.9.0 vite-plugin-html: ^2.1.1 vite-plugin-md: ^0.11.4 vue: ^3.2.27 @@ -145,7 +145,7 @@ importers: '@vant/markdown-vetur': link:../vant-markdown-vetur '@vant/stylelint-config': link:../vant-stylelint-config '@vant/touch-emulator': link:../vant-touch-emulator - '@vitejs/plugin-vue': 2.0.1_vite@2.8.0+vue@3.2.27 + '@vitejs/plugin-vue': 2.0.1_vite@2.9.1+vue@3.2.27 '@vitejs/plugin-vue-jsx': 1.3.3 '@vue/babel-plugin-jsx': 1.1.1_@babel+core@7.16.0 autoprefixer: 10.4.0_postcss@8.3.11 @@ -153,7 +153,7 @@ importers: commander: 8.3.0 consola: 2.15.3 conventional-changelog: 3.1.24 - esbuild: 0.14.21 + esbuild: 0.14.29 eslint: 8.2.0 execa: 5.1.1 fast-glob: 3.2.7 @@ -177,9 +177,9 @@ importers: stylelint: 13.13.1 transliteration: 2.2.0 typescript: 4.5.2 - vite: 2.8.0_less@4.1.2 - vite-plugin-html: 2.1.1_vite@2.8.0 - vite-plugin-md: 0.11.4_vite@2.8.0 + vite: 2.9.1_less@4.1.2 + vite-plugin-html: 2.1.1_vite@2.9.1 + vite-plugin-md: 0.11.4_vite@2.9.1 vue-router: 4.0.12_vue@3.2.27 devDependencies: '@types/fs-extra': 9.0.13 @@ -230,13 +230,13 @@ importers: packages/vant-popperjs: specifiers: '@popperjs/core': ^2.9.2 - esbuild: ^0.14.21 + esbuild: ^0.14.29 release-it: ^14.2.2 typescript: ~4.5.2 dependencies: '@popperjs/core': 2.10.2 devDependencies: - esbuild: 0.14.21 + esbuild: 0.14.29 release-it: 14.11.6 typescript: 4.5.2 @@ -256,12 +256,12 @@ importers: packages/vant-use: specifiers: - esbuild: ^0.14.21 + esbuild: ^0.14.29 release-it: ^14.0.2 typescript: ~4.5.2 vue: ^3.2.27 devDependencies: - esbuild: 0.14.21 + esbuild: 0.14.29 release-it: 14.11.6 typescript: 4.5.2 vue: 3.2.27 @@ -1809,14 +1809,14 @@ packages: - supports-color dev: false - /@vitejs/plugin-vue/2.0.1_vite@2.8.0+vue@3.2.27: + /@vitejs/plugin-vue/2.0.1_vite@2.9.1+vue@3.2.27: resolution: {integrity: sha512-wtdMnGVvys9K8tg+DxowU1ytTrdVveXr3LzdhaKakysgGXyrsfaeds2cDywtvujEASjWOwWL/OgWM+qoeM8Plg==, tarball: '@vitejs/plugin-vue/download/@vitejs/plugin-vue-2.0.1.tgz'} engines: {node: '>=12.0.0'} peerDependencies: vite: ^2.5.10 vue: ^3.2.25 dependencies: - vite: 2.8.0_less@4.1.2 + vite: 2.9.1_less@4.1.2 vue: 3.2.27 dev: false @@ -3190,183 +3190,192 @@ packages: is-symbol: 1.0.4 dev: false - /esbuild-android-arm64/0.14.21: - resolution: {integrity: sha512-Bqgld1TY0wZv8TqiQmVxQFgYzz8ZmyzT7clXBDZFkOOdRybzsnj8AZuK1pwcLVA7Ya6XncHgJqIao7NFd3s0RQ==} + /esbuild-android-64/0.14.29: + resolution: {integrity: sha512-tJuaN33SVZyiHxRaVTo1pwW+rn3qetJX/SRuc/83rrKYtyZG0XfsQ1ao1nEudIt9w37ZSNXR236xEfm2C43sbw==} + engines: {node: '>=12'} + cpu: [x64] + os: [android] + requiresBuild: true + optional: true + + /esbuild-android-arm64/0.14.29: + resolution: {integrity: sha512-D74dCv6yYnMTlofVy1JKiLM5JdVSQd60/rQfJSDP9qvRAI0laPXIG/IXY1RG6jobmFMUfL38PbFnCqyI/6fPXg==} engines: {node: '>=12'} cpu: [arm64] os: [android] requiresBuild: true optional: true - /esbuild-darwin-64/0.14.21: - resolution: {integrity: sha512-j+Eg+e13djzyYINVvAbOo2/zvZ2DivuJJTaBrJnJHSD7kUNuGHRkHoSfFjbI80KHkn091w350wdmXDNSgRjfYQ==} + /esbuild-darwin-64/0.14.29: + resolution: {integrity: sha512-+CJaRvfTkzs9t+CjGa0Oa28WoXa7EeLutQhxus+fFcu0MHhsBhlmeWHac3Cc/Sf/xPi1b2ccDFfzGYJCfV0RrA==} engines: {node: '>=12'} cpu: [x64] os: [darwin] requiresBuild: true optional: true - /esbuild-darwin-arm64/0.14.21: - resolution: {integrity: sha512-nDNTKWDPI0RuoPj5BhcSB2z5EmZJJAyRtZLIjyXSqSpAyoB8eyAKXl4lB8U2P78Fnh4Lh1le/fmpewXE04JhBQ==} + /esbuild-darwin-arm64/0.14.29: + resolution: {integrity: sha512-5Wgz/+zK+8X2ZW7vIbwoZ613Vfr4A8HmIs1XdzRmdC1kG0n5EG5fvKk/jUxhNlrYPx1gSY7XadQ3l4xAManPSw==} engines: {node: '>=12'} cpu: [arm64] os: [darwin] requiresBuild: true optional: true - /esbuild-freebsd-64/0.14.21: - resolution: {integrity: sha512-zIurkCHXhxELiDZtLGiexi8t8onQc2LtuE+S7457H/pP0g0MLRKMrsn/IN4LDkNe6lvBjuoZZi2OfelOHn831g==} + /esbuild-freebsd-64/0.14.29: + resolution: {integrity: sha512-VTfS7Bm9QA12JK1YXF8+WyYOfvD7WMpbArtDj6bGJ5Sy5xp01c/q70Arkn596aGcGj0TvQRplaaCIrfBG1Wdtg==} engines: {node: '>=12'} cpu: [x64] os: [freebsd] requiresBuild: true optional: true - /esbuild-freebsd-arm64/0.14.21: - resolution: {integrity: sha512-wdxMmkJfbwcN+q85MpeUEamVZ40FNsBa9mPq8tAszDn8TRT2HoJvVRADPIIBa9SWWwlDChIMjkDKAnS3KS/sPA==} + /esbuild-freebsd-arm64/0.14.29: + resolution: {integrity: sha512-WP5L4ejwLWWvd3Fo2J5mlXvG3zQHaw5N1KxFGnUc4+2ZFZknP0ST63i0IQhpJLgEJwnQpXv2uZlU1iWZjFqEIg==} engines: {node: '>=12'} cpu: [arm64] os: [freebsd] requiresBuild: true optional: true - /esbuild-linux-32/0.14.21: - resolution: {integrity: sha512-fmxvyzOPPh2xiEHojpCeIQP6pXcoKsWbz3ryDDIKLOsk4xp3GbpHIEAWP0xTeuhEbendmvBDVKbAVv3PnODXLg==} + /esbuild-linux-32/0.14.29: + resolution: {integrity: sha512-4myeOvFmQBWdI2U1dEBe2DCSpaZyjdQtmjUY11Zu2eQg4ynqLb8Y5mNjNU9UN063aVsCYYfbs8jbken/PjyidA==} engines: {node: '>=12'} cpu: [ia32] os: [linux] requiresBuild: true optional: true - /esbuild-linux-64/0.14.21: - resolution: {integrity: sha512-edZyNOv1ql+kpmlzdqzzDjRQYls+tSyi4QFi+PdBhATJFUqHsnNELWA9vMSzAaInPOEaVUTA5Ml28XFChcy4DA==} + /esbuild-linux-64/0.14.29: + resolution: {integrity: sha512-iaEuLhssReAKE7HMwxwFJFn7D/EXEs43fFy5CJeA4DGmU6JHh0qVJD2p/UP46DvUXLRKXsXw0i+kv5TdJ1w5pg==} engines: {node: '>=12'} cpu: [x64] os: [linux] requiresBuild: true optional: true - /esbuild-linux-arm/0.14.21: - resolution: {integrity: sha512-aSU5pUueK6afqmLQsbU+QcFBT62L+4G9hHMJDHWfxgid6hzhSmfRH9U/f+ymvxsSTr/HFRU4y7ox8ZyhlVl98w==} + /esbuild-linux-arm/0.14.29: + resolution: {integrity: sha512-OXa9D9QL1hwrAnYYAHt/cXAuSCmoSqYfTW/0CEY0LgJNyTxJKtqc5mlwjAZAvgyjmha0auS/sQ0bXfGf2wAokQ==} engines: {node: '>=12'} cpu: [arm] os: [linux] requiresBuild: true optional: true - /esbuild-linux-arm64/0.14.21: - resolution: {integrity: sha512-t5qxRkq4zdQC0zXpzSB2bTtfLgOvR0C6BXYaRE/6/k8/4SrkZcTZBeNu+xGvwCU4b5dU9ST9pwIWkK6T1grS8g==} + /esbuild-linux-arm64/0.14.29: + resolution: {integrity: sha512-KYf7s8wDfUy+kjKymW3twyGT14OABjGHRkm9gPJ0z4BuvqljfOOUbq9qT3JYFnZJHOgkr29atT//hcdD0Pi7Mw==} engines: {node: '>=12'} cpu: [arm64] os: [linux] requiresBuild: true optional: true - /esbuild-linux-mips64le/0.14.21: - resolution: {integrity: sha512-jLZLQGCNlUsmIHtGqNvBs3zN+7a4D9ckf0JZ+jQTwHdZJ1SgV9mAjbB980OFo66LoY+WeM7t3WEnq3FjI1zw4A==} + /esbuild-linux-mips64le/0.14.29: + resolution: {integrity: sha512-05jPtWQMsZ1aMGfHOvnR5KrTvigPbU35BtuItSSWLI2sJu5VrM8Pr9Owym4wPvA4153DFcOJ1EPN/2ujcDt54g==} engines: {node: '>=12'} cpu: [mips64el] os: [linux] requiresBuild: true optional: true - /esbuild-linux-ppc64le/0.14.21: - resolution: {integrity: sha512-4TWxpK391en2UBUw6GSrukToTDu6lL9vkm3Ll40HrI08WG3qcnJu7bl8e1+GzelDsiw1QmfAY/nNvJ6iaHRpCQ==} + /esbuild-linux-ppc64le/0.14.29: + resolution: {integrity: sha512-FYhBqn4Ir9xG+f6B5VIQVbRuM4S6qwy29dDNYFPoxLRnwTEKToIYIUESN1qHyUmIbfO0YB4phG2JDV2JDN9Kgw==} engines: {node: '>=12'} cpu: [ppc64] os: [linux] requiresBuild: true optional: true - /esbuild-linux-riscv64/0.14.21: - resolution: {integrity: sha512-fElngqOaOfTsF+u+oetDLHsPG74vB2ZaGZUqmGefAJn3a5z9Z2pNa4WpVbbKgHpaAAy5tWM1m1sbGohj6Ki6+Q==} + /esbuild-linux-riscv64/0.14.29: + resolution: {integrity: sha512-eqZMqPehkb4nZcffnuOpXJQdGURGd6GXQ4ZsDHSWyIUaA+V4FpMBe+5zMPtXRD2N4BtyzVvnBko6K8IWWr36ew==} engines: {node: '>=12'} cpu: [riscv64] os: [linux] requiresBuild: true optional: true - /esbuild-linux-s390x/0.14.21: - resolution: {integrity: sha512-brleZ6R5fYv0qQ7ZBwenQmP6i9TdvJCB092c/3D3pTLQHBGHJb5zWgKxOeS7bdHzmLy6a6W7GbFk6QKpjyD6QA==} + /esbuild-linux-s390x/0.14.29: + resolution: {integrity: sha512-o7EYajF1rC/4ho7kpSG3gENVx0o2SsHm7cJ5fvewWB/TEczWU7teDgusGSujxCYcMottE3zqa423VTglNTYhjg==} engines: {node: '>=12'} cpu: [s390x] os: [linux] requiresBuild: true optional: true - /esbuild-netbsd-64/0.14.21: - resolution: {integrity: sha512-nCEgsLCQ8RoFWVV8pVI+kX66ICwbPP/M9vEa0NJGIEB/Vs5sVGMqkf67oln90XNSkbc0bPBDuo4G6FxlF7PN8g==} + /esbuild-netbsd-64/0.14.29: + resolution: {integrity: sha512-/esN6tb6OBSot6+JxgeOZeBk6P8V/WdR3GKBFeFpSqhgw4wx7xWUqPrdx4XNpBVO7X4Ipw9SAqgBrWHlXfddww==} engines: {node: '>=12'} cpu: [x64] os: [netbsd] requiresBuild: true optional: true - /esbuild-openbsd-64/0.14.21: - resolution: {integrity: sha512-h9zLMyVD0T73MDTVYIb/qUTokwI6EJH9O6wESuTNq6+XpMSr6C5aYZ4fvFKdNELW+Xsod+yDS2hV2JTUAbFrLA==} + /esbuild-openbsd-64/0.14.29: + resolution: {integrity: sha512-jUTdDzhEKrD0pLpjmk0UxwlfNJNg/D50vdwhrVcW/D26Vg0hVbthMfb19PJMatzclbK7cmgk1Nu0eNS+abzoHw==} engines: {node: '>=12'} cpu: [x64] os: [openbsd] requiresBuild: true optional: true - /esbuild-sunos-64/0.14.21: - resolution: {integrity: sha512-Kl+7Cot32qd9oqpLdB1tEGXEkjBlijrIxMJ0+vlDFaqsODutif25on0IZlFxEBtL2Gosd4p5WCV1U7UskNQfXA==} + /esbuild-sunos-64/0.14.29: + resolution: {integrity: sha512-EfhQN/XO+TBHTbkxwsxwA7EfiTHFe+MNDfxcf0nj97moCppD9JHPq48MLtOaDcuvrTYOcrMdJVeqmmeQ7doTcg==} engines: {node: '>=12'} cpu: [x64] os: [sunos] requiresBuild: true optional: true - /esbuild-windows-32/0.14.21: - resolution: {integrity: sha512-V7vnTq67xPBUCk/9UtlolmQ798Ecjdr1ZoI1vcSgw7M82aSSt0eZdP6bh5KAFZU8pxDcx3qoHyWQfHYr11f22A==} + /esbuild-windows-32/0.14.29: + resolution: {integrity: sha512-uoyb0YAJ6uWH4PYuYjfGNjvgLlb5t6b3zIaGmpWPOjgpr1Nb3SJtQiK4YCPGhONgfg2v6DcJgSbOteuKXhwqAw==} engines: {node: '>=12'} cpu: [ia32] os: [win32] requiresBuild: true optional: true - /esbuild-windows-64/0.14.21: - resolution: {integrity: sha512-kDgHjKOHwjfJDCyRGELzVxiP/RBJBTA+wyspf78MTTJQkyPuxH2vChReNdWc+dU2S4gIZFHMdP1Qrl/k22ZmaA==} + /esbuild-windows-64/0.14.29: + resolution: {integrity: sha512-X9cW/Wl95QjsH8WUyr3NqbmfdU72jCp71cH3pwPvI4CgBM2IeOUDdbt6oIGljPu2bf5eGDIo8K3Y3vvXCCTd8A==} engines: {node: '>=12'} cpu: [x64] os: [win32] requiresBuild: true optional: true - /esbuild-windows-arm64/0.14.21: - resolution: {integrity: sha512-8Sbo0zpzgwWrwjQYLmHF78f7E2xg5Ve63bjB2ng3V2aManilnnTGaliq2snYg+NOX60+hEvJHRdVnuIAHW0lVw==} + /esbuild-windows-arm64/0.14.29: + resolution: {integrity: sha512-+O/PI+68fbUZPpl3eXhqGHTGK7DjLcexNnyJqtLZXOFwoAjaXlS5UBCvVcR3o2va+AqZTj8o6URaz8D2K+yfQQ==} engines: {node: '>=12'} cpu: [arm64] os: [win32] requiresBuild: true optional: true - /esbuild/0.14.21: - resolution: {integrity: sha512-7WEoNMBJdLN993dr9h0CpFHPRc3yFZD+EAVY9lg6syJJ12gc5fHq8d75QRExuhnMkT2DaRiIKFThRvDWP+fO+A==} + /esbuild/0.14.29: + resolution: {integrity: sha512-SQS8cO8xFEqevYlrHt6exIhK853Me4nZ4aMW6ieysInLa0FMAL+AKs87HYNRtR2YWRcEIqoXAHh+Ytt5/66qpg==} engines: {node: '>=12'} hasBin: true requiresBuild: true optionalDependencies: - esbuild-android-arm64: 0.14.21 - esbuild-darwin-64: 0.14.21 - esbuild-darwin-arm64: 0.14.21 - esbuild-freebsd-64: 0.14.21 - esbuild-freebsd-arm64: 0.14.21 - esbuild-linux-32: 0.14.21 - esbuild-linux-64: 0.14.21 - esbuild-linux-arm: 0.14.21 - esbuild-linux-arm64: 0.14.21 - esbuild-linux-mips64le: 0.14.21 - esbuild-linux-ppc64le: 0.14.21 - esbuild-linux-riscv64: 0.14.21 - esbuild-linux-s390x: 0.14.21 - esbuild-netbsd-64: 0.14.21 - esbuild-openbsd-64: 0.14.21 - esbuild-sunos-64: 0.14.21 - esbuild-windows-32: 0.14.21 - esbuild-windows-64: 0.14.21 - esbuild-windows-arm64: 0.14.21 + esbuild-android-64: 0.14.29 + esbuild-android-arm64: 0.14.29 + esbuild-darwin-64: 0.14.29 + esbuild-darwin-arm64: 0.14.29 + esbuild-freebsd-64: 0.14.29 + esbuild-freebsd-arm64: 0.14.29 + esbuild-linux-32: 0.14.29 + esbuild-linux-64: 0.14.29 + esbuild-linux-arm: 0.14.29 + esbuild-linux-arm64: 0.14.29 + esbuild-linux-mips64le: 0.14.29 + esbuild-linux-ppc64le: 0.14.29 + esbuild-linux-riscv64: 0.14.29 + esbuild-linux-s390x: 0.14.29 + esbuild-netbsd-64: 0.14.29 + esbuild-openbsd-64: 0.14.29 + esbuild-sunos-64: 0.14.29 + esbuild-windows-32: 0.14.29 + esbuild-windows-64: 0.14.29 + esbuild-windows-arm64: 0.14.29 /escalade/3.1.1: resolution: {integrity: sha1-2M/ccACWXFoBdLSoLqpcBVJ0LkA=, tarball: escalade/download/escalade-3.1.1.tgz} @@ -4163,7 +4172,7 @@ packages: source-map: 0.6.1 wordwrap: 1.0.0 optionalDependencies: - uglify-js: 3.15.1 + uglify-js: 3.15.3 dev: false /hard-rejection/2.1.0: @@ -4487,7 +4496,6 @@ packages: resolution: {integrity: sha512-SdNCUs284hr40hFTFP6l0IfZ/RSrMXF3qgoRHd3/79unUTvrFO/JoXwkGm+5J/Oe3E/b5GsnG330uUNgRpu1PA==} dependencies: has: 1.0.3 - dev: false /is-date-object/1.0.5: resolution: {integrity: sha1-CEHVU25yTCVZe/bqYuG9OCmN8x8=, tarball: is-date-object/download/is-date-object-1.0.5.tgz} @@ -5046,7 +5054,7 @@ packages: jest-pnp-resolver: 1.2.2_jest-resolve@27.3.1 jest-util: 27.3.1 jest-validate: 27.3.1 - resolve: 1.20.0 + resolve: 1.22.0 resolve.exports: 1.1.0 slash: 3.0.0 dev: false @@ -5796,6 +5804,13 @@ packages: resolution: {integrity: sha512-fmsZYa9lpn69Ad5eDn7FMcnnSR+8R34W9qJEijxYhTbfOWzr22n1QxCMzXLK+ODyW2973V3Fux959iQoUxzUIA==} engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} hasBin: true + dev: true + + /nanoid/3.3.2: + resolution: {integrity: sha512-CuHBogktKwpm5g2sRgv83jEy2ijFzBwMoYA60orPDR7ynsLijJDqgsi4RDGj3OJpy3Ieb+LYwiRmIOGyytgITA==} + engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} + hasBin: true + dev: false /natural-compare/1.4.0: resolution: {integrity: sha1-Sr6/7tdUHywnrPspvbvRXI1bpPc=, tarball: natural-compare/download/natural-compare-1.4.0.tgz} @@ -5851,7 +5866,7 @@ packages: resolution: {integrity: sha1-5m2xg4sgDB38IzIl0SyzZSDiNKg=, tarball: normalize-package-data/download/normalize-package-data-2.5.0.tgz} dependencies: hosted-git-info: 2.8.9 - resolve: 1.20.0 + resolve: 1.22.0 semver: 5.7.1 validate-npm-package-license: 3.0.4 @@ -6318,6 +6333,15 @@ packages: source-map-js: 0.6.2 dev: false + /postcss/8.4.12: + resolution: {integrity: sha512-lg6eITwYe9v6Hr5CncVbK70SoioNQIq81nsaG86ev5hAidQvmOeETBqs7jm43K2F5/Ley3ytDtriImV6TpNiSg==} + engines: {node: ^10 || ^12 || >=14} + dependencies: + nanoid: 3.3.2 + picocolors: 1.0.0 + source-map-js: 1.0.2 + dev: false + /postcss/8.4.5: resolution: {integrity: sha512-jBDboWM8qpaqwkMwItqTQTiFikhs/67OYVvblFFTM7MrZjt6yMKd6r2kgXizEbTTljacm4NldIlZnhbjr84QYg==} engines: {node: ^10 || ^12 || >=14} @@ -6325,6 +6349,7 @@ packages: nanoid: 3.2.0 picocolors: 1.0.0 source-map-js: 1.0.1 + dev: true /preact/10.5.15: resolution: {integrity: sha512-5chK29n6QcJc3m1lVrKQSQ+V7K1Gb8HeQY6FViQ5AxCAEGu3DaHffWNDkC9+miZgsLvbvU9rxbV1qinGHMHzqA==} @@ -6641,7 +6666,6 @@ packages: is-core-module: 2.8.1 path-parse: 1.0.7 supports-preserve-symlinks-flag: 1.0.0 - dev: false /responselike/1.0.2: resolution: {integrity: sha1-kYcg7ztjHFZCvgaPFa3lpG9Loec=, tarball: responselike/download/responselike-1.0.2.tgz} @@ -6822,6 +6846,12 @@ packages: /source-map-js/1.0.1: resolution: {integrity: sha512-4+TN2b3tqOCd/kaGRJ/sTYA0tR0mdXx26ipdolxcwtJVqEnqNYvlCAt1q3ypy4QMlYus+Zh34RNtYLoq2oQ4IA==} engines: {node: '>=0.10.0'} + dev: true + + /source-map-js/1.0.2: + resolution: {integrity: sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==} + engines: {node: '>=0.10.0'} + dev: false /source-map-support/0.5.20: resolution: {integrity: sha1-EhZgifj15ejFaSazd2Mzkt0stsk=, tarball: source-map-support/download/source-map-support-0.5.20.tgz} @@ -7130,7 +7160,6 @@ packages: /supports-preserve-symlinks-flag/1.0.0: resolution: {integrity: sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==} engines: {node: '>= 0.4'} - dev: false /svg-tags/1.0.0: resolution: {integrity: sha1-WPcc7jvVGbWdSyqEO2x95krAR2Q=, tarball: svg-tags/download/svg-tags-1.0.0.tgz} @@ -7366,8 +7395,8 @@ packages: resolution: {integrity: sha1-nEEagCpAmpH8bPdAgbq6NLJEmaw=, tarball: uc.micro/download/uc.micro-1.0.6.tgz} dev: false - /uglify-js/3.15.1: - resolution: {integrity: sha512-FAGKF12fWdkpvNJZENacOH0e/83eG6JyVQyanIJaBXCN1J11TUQv1T1/z8S+Z0CG0ZPk1nPcreF/c7lrTd0TEQ==} + /uglify-js/3.15.3: + resolution: {integrity: sha512-6iCVm2omGJbsu3JWac+p6kUiOpg3wFO2f8lIXjfEb8RrmLjzog1wTPMmwKB7swfzzqxj9YM+sGUM++u1qN4qJg==} engines: {node: '>=0.8.0'} hasBin: true requiresBuild: true @@ -7497,7 +7526,7 @@ packages: unist-util-stringify-position: 2.0.3 vfile-message: 2.0.4 - /vite-plugin-html/2.1.1_vite@2.8.0: + /vite-plugin-html/2.1.1_vite@2.9.1: resolution: {integrity: sha1-AUtEEmpy1FnNRgvRVoAMIl0STL4=, tarball: vite-plugin-html/download/vite-plugin-html-2.1.1.tgz} peerDependencies: vite: '>=2.0.0' @@ -7508,10 +7537,10 @@ packages: ejs: 3.1.6 fs-extra: 10.0.0 html-minifier-terser: 5.1.1 - vite: 2.8.0_less@4.1.2 + vite: 2.9.1_less@4.1.2 dev: false - /vite-plugin-md/0.11.4_vite@2.8.0: + /vite-plugin-md/0.11.4_vite@2.9.1: resolution: {integrity: sha1-Zc6LiOuvY3fNQjieFpkEFSZDK9M=, tarball: vite-plugin-md/download/vite-plugin-md-0.11.4.tgz} peerDependencies: vite: ^2.0.0 @@ -7520,11 +7549,11 @@ packages: '@types/markdown-it': 12.2.3 gray-matter: 4.0.3 markdown-it: 12.2.0 - vite: 2.8.0_less@4.1.2 + vite: 2.9.1_less@4.1.2 dev: false - /vite/2.8.0_less@4.1.2: - resolution: {integrity: sha512-ed5rjyeysttuPJX/aKSA0gTB/8ZKLM5xF6FtEuKy1B9DiQbDNFMVMQxnb9JesgBPUMMIJxC8w5KZ/KNWLKFXoA==} + /vite/2.9.1_less@4.1.2: + resolution: {integrity: sha512-vSlsSdOYGcYEJfkQ/NeLXgnRv5zZfpAsdztkIrs7AZHV8RCMZQkwjo4DS5BnrYTqoWqLoUe1Cah4aVO4oNNqCQ==} engines: {node: '>=12.2.0'} hasBin: true peerDependencies: @@ -7539,9 +7568,9 @@ packages: stylus: optional: true dependencies: - esbuild: 0.14.21 + esbuild: 0.14.29 less: 4.1.2 - postcss: 8.4.5 + postcss: 8.4.12 resolve: 1.22.0 rollup: 2.59.0 optionalDependencies: From a593f864ab6abdce8bbd6b4fa74972b9d962be6b Mon Sep 17 00:00:00 2001 From: neverland Date: Fri, 1 Apr 2022 00:11:39 +0800 Subject: [PATCH 06/17] chore(cli): bump docsearch v3 stable version (#10455) --- packages/vant-cli/package.json | 4 +-- packages/vant/vant.config.mjs | 6 ++-- pnpm-lock.yaml | 54 +++++++++++++++++----------------- 3 files changed, 33 insertions(+), 31 deletions(-) diff --git a/packages/vant-cli/package.json b/packages/vant-cli/package.json index 856718224..b680ddb91 100644 --- a/packages/vant-cli/package.json +++ b/packages/vant-cli/package.json @@ -47,8 +47,8 @@ "dependencies": { "@babel/core": "^7.16.0", "@babel/preset-typescript": "^7.16.0", - "@docsearch/css": "3.0.0-alpha.50", - "@docsearch/js": "3.0.0-alpha.50", + "@docsearch/css": "^3.0.0", + "@docsearch/js": "^3.0.0", "@types/jest": "^27.0.3", "@vant/eslint-config": "^3.3.2", "@vant/markdown-vetur": "^2.2.0", diff --git a/packages/vant/vant.config.mjs b/packages/vant/vant.config.mjs index fea3c41ab..4499d8bbf 100644 --- a/packages/vant/vant.config.mjs +++ b/packages/vant/vant.config.mjs @@ -44,7 +44,8 @@ export default { }, ], searchConfig: { - apiKey: '90067aecdaa2c85220e2783cd305caac', + appId: 'BLI2GGOUL8', + apiKey: '07cb725cd26aa496996de6cb8ab9b5cc', indexName: 'vant', searchParameters: { facetFilters: ['lang:zh-CN', 'version:v3'], @@ -487,7 +488,8 @@ export default { }, ], searchConfig: { - apiKey: '90067aecdaa2c85220e2783cd305caac', + appId: 'BLI2GGOUL8', + apiKey: '07cb725cd26aa496996de6cb8ab9b5cc', indexName: 'vant', searchParameters: { facetFilters: ['lang:en-US', 'version:v3'], diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 4abde7ce5..e6ff25dbd 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -88,8 +88,8 @@ importers: specifiers: '@babel/core': ^7.16.0 '@babel/preset-typescript': ^7.16.0 - '@docsearch/css': 3.0.0-alpha.50 - '@docsearch/js': 3.0.0-alpha.50 + '@docsearch/css': ^3.0.0 + '@docsearch/js': ^3.0.0 '@types/fs-extra': ^9.0.13 '@types/jest': ^27.0.3 '@types/less': ^3.0.3 @@ -138,8 +138,8 @@ importers: dependencies: '@babel/core': 7.16.0 '@babel/preset-typescript': 7.16.0_@babel+core@7.16.0 - '@docsearch/css': 3.0.0-alpha.50 - '@docsearch/js': 3.0.0-alpha.50 + '@docsearch/css': 3.0.0 + '@docsearch/js': 3.0.0 '@types/jest': 27.0.3 '@vant/eslint-config': link:../vant-eslint-config '@vant/markdown-vetur': link:../vant-markdown-vetur @@ -1019,14 +1019,14 @@ packages: resolution: {integrity: sha1-daLotRy3WKdVPWgEpZMteqznXDk=, tarball: '@bcoe/v8-coverage/download/@bcoe/v8-coverage-0.2.3.tgz'} dev: false - /@docsearch/css/3.0.0-alpha.50: - resolution: {integrity: sha512-QeWFCQOtS9D+Fi20liKsPXF2j/xWKh52e+P2Z1UATIdPMqmH6zoB2lcUz+cgv6PPVgWUtECeR6VSSUm71LT94w==} + /@docsearch/css/3.0.0: + resolution: {integrity: sha512-1kkV7tkAsiuEd0shunYRByKJe3xQDG2q7wYg24SOw1nV9/2lwEd4WrUYRJC/ukGTl2/kHeFxsaUvtiOy0y6fFA==} dev: false - /@docsearch/js/3.0.0-alpha.50: - resolution: {integrity: sha512-1ap9Wz5oR/Z8yybaCZhsptXU43es3H52eEQUZtmzb8dUWyCW+3iXaKVB/qeMJOQWtggZ/WvZV3YknVIbCMR2dQ==} + /@docsearch/js/3.0.0: + resolution: {integrity: sha512-j3tUJWlgW3slYqzGB8fm7y05kh2qqrIK1dZOXHeMUm/5gdKE85fiz/ltfCPMDFb/MXF+bLZChJXSMzqY0Ck30Q==} dependencies: - '@docsearch/react': 3.0.0-alpha.50 + '@docsearch/react': 3.0.0 preact: 10.5.15 transitivePeerDependencies: - '@algolia/client-search' @@ -1035,8 +1035,8 @@ packages: - react-dom dev: false - /@docsearch/react/3.0.0-alpha.50: - resolution: {integrity: sha512-oDGV1zZCRYv7MWsh6CyQVthYTRc3b4q+6kKwNYb1/g/Wf/4nJHutpxolFLHdEUDhrJ4Xi8wxwQG+lEwAVBTHPg==} + /@docsearch/react/3.0.0: + resolution: {integrity: sha512-yhMacqS6TVQYoBh/o603zszIb5Bl8MIXuOc6Vy617I74pirisDzzcNh0NEaYQt50fVVR3khUbeEhUEWEWipESg==} peerDependencies: '@types/react': '>= 16.8.0 < 18.0.0' react: '>= 16.8.0 < 18.0.0' @@ -1044,7 +1044,7 @@ packages: dependencies: '@algolia/autocomplete-core': 1.5.2 '@algolia/autocomplete-preset-algolia': 1.5.2_algoliasearch@4.11.0 - '@docsearch/css': 3.0.0-alpha.50 + '@docsearch/css': 3.0.0 algoliasearch: 4.11.0 transitivePeerDependencies: - '@algolia/client-search' @@ -1238,7 +1238,7 @@ packages: collect-v8-coverage: 1.0.1 exit: 0.1.2 glob: 7.2.0 - graceful-fs: 4.2.8 + graceful-fs: 4.2.9 istanbul-lib-coverage: 3.2.0 istanbul-lib-instrument: 4.0.3 istanbul-lib-report: 3.0.0 @@ -1262,7 +1262,7 @@ packages: engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} dependencies: callsites: 3.1.0 - graceful-fs: 4.2.8 + graceful-fs: 4.2.9 source-map: 0.6.1 dev: false @@ -1281,7 +1281,7 @@ packages: engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} dependencies: '@jest/test-result': 27.3.1 - graceful-fs: 4.2.8 + graceful-fs: 4.2.9 jest-haste-map: 27.3.1 jest-runtime: 27.3.1 transitivePeerDependencies: @@ -1298,7 +1298,7 @@ packages: chalk: 4.1.2 convert-source-map: 1.8.0 fast-json-stable-stringify: 2.1.0 - graceful-fs: 4.2.8 + graceful-fs: 4.2.9 jest-haste-map: 27.3.1 jest-regex-util: 27.0.6 jest-util: 27.3.1 @@ -2235,7 +2235,7 @@ packages: babel-plugin-istanbul: 6.1.1 babel-preset-jest: 27.2.0_@babel+core@7.16.0 chalk: 4.1.2 - graceful-fs: 4.2.8 + graceful-fs: 4.2.9 slash: 3.0.0 transitivePeerDependencies: - supports-color @@ -4845,7 +4845,7 @@ packages: ci-info: 3.2.0 deepmerge: 4.2.2 glob: 7.2.0 - graceful-fs: 4.2.8 + graceful-fs: 4.2.9 jest-circus: 27.3.1 jest-environment-jsdom: 27.3.1 jest-environment-node: 27.3.1 @@ -4937,7 +4937,7 @@ packages: '@types/node': 16.11.6 anymatch: 3.1.2 fb-watchman: 2.0.1 - graceful-fs: 4.2.8 + graceful-fs: 4.2.9 jest-regex-util: 27.0.6 jest-serializer: 27.0.6 jest-util: 27.3.1 @@ -5000,7 +5000,7 @@ packages: '@jest/types': 27.2.5 '@types/stack-utils': 2.0.1 chalk: 4.1.2 - graceful-fs: 4.2.8 + graceful-fs: 4.2.9 micromatch: 4.0.4 pretty-format: 27.3.1 slash: 3.0.0 @@ -5049,7 +5049,7 @@ packages: dependencies: '@jest/types': 27.2.5 chalk: 4.1.2 - graceful-fs: 4.2.8 + graceful-fs: 4.2.9 jest-haste-map: 27.3.1 jest-pnp-resolver: 1.2.2_jest-resolve@27.3.1 jest-util: 27.3.1 @@ -5072,7 +5072,7 @@ packages: chalk: 4.1.2 emittery: 0.8.1 exit: 0.1.2 - graceful-fs: 4.2.8 + graceful-fs: 4.2.9 jest-docblock: 27.0.6 jest-environment-jsdom: 27.3.1 jest-environment-node: 27.3.1 @@ -5110,7 +5110,7 @@ packages: execa: 5.1.1 exit: 0.1.2 glob: 7.2.0 - graceful-fs: 4.2.8 + graceful-fs: 4.2.9 jest-haste-map: 27.3.1 jest-message-util: 27.3.1 jest-mock: 27.3.0 @@ -5137,7 +5137,7 @@ packages: engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} dependencies: '@types/node': 16.11.6 - graceful-fs: 4.2.8 + graceful-fs: 4.2.9 dev: false /jest-snapshot/27.3.1: @@ -5157,7 +5157,7 @@ packages: babel-preset-current-node-syntax: 1.0.1_@babel+core@7.16.0 chalk: 4.1.2 expect: 27.3.1 - graceful-fs: 4.2.8 + graceful-fs: 4.2.9 jest-diff: 27.3.1 jest-get-type: 27.3.1 jest-haste-map: 27.3.1 @@ -5180,7 +5180,7 @@ packages: '@types/node': 16.11.6 chalk: 4.1.2 ci-info: 3.2.0 - graceful-fs: 4.2.8 + graceful-fs: 4.2.9 picomatch: 2.3.0 dev: false @@ -5346,7 +5346,7 @@ packages: /jsonfile/4.0.0: resolution: {integrity: sha1-h3Gq4HmbZAdrdmQPygWPnBDjPss=, tarball: jsonfile/download/jsonfile-4.0.0.tgz} optionalDependencies: - graceful-fs: 4.2.8 + graceful-fs: 4.2.9 dev: false /jsonfile/6.1.0: From d507e979964a41a79833abee830ba13e93c691fb Mon Sep 17 00:00:00 2001 From: neverland Date: Fri, 1 Apr 2022 00:17:28 +0800 Subject: [PATCH 07/17] docs: fix Lazyload register multilple times (#10456) --- packages/vant/src/lazyload/demo/index.vue | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/packages/vant/src/lazyload/demo/index.vue b/packages/vant/src/lazyload/demo/index.vue index 110bfcf73..6017790f6 100644 --- a/packages/vant/src/lazyload/demo/index.vue +++ b/packages/vant/src/lazyload/demo/index.vue @@ -1,10 +1,14 @@ - + +