diff --git a/packages/vant-cli/package.json b/packages/vant-cli/package.json index 1cc6f4c8f..ccd13f87a 100644 --- a/packages/vant-cli/package.json +++ b/packages/vant-cli/package.json @@ -38,22 +38,22 @@ "vue": "3.2.8" }, "dependencies": { - "@babel/core": "^7.15.0", - "@babel/preset-env": "^7.15.0", + "@babel/core": "^7.15.5", + "@babel/preset-env": "^7.15.4", "@babel/preset-typescript": "^7.15.0", - "@docsearch/css": "3.0.0-alpha.33", - "@docsearch/js": "3.0.0-alpha.33", + "@docsearch/css": "3.0.0-alpha.40", + "@docsearch/js": "3.0.0-alpha.40", "@types/jest": "^27.0.1", "@vant/eslint-config": "^3.3.2", "@vant/markdown-vetur": "^2.2.0", "@vant/stylelint-config": "^1.4.2", "@vant/touch-emulator": "^1.3.2", - "@vitejs/plugin-vue": "^1.6.0", - "@vitejs/plugin-vue-jsx": "^1.1.7", - "@vue/babel-plugin-jsx": "^1.0.6", + "@vitejs/plugin-vue": "^1.6.1", + "@vitejs/plugin-vue-jsx": "^1.1.8", + "@vue/babel-plugin-jsx": "^1.0.7", "@vue/test-utils": "2.0.0-rc.6", - "autoprefixer": "^10.3.1", - "babel-jest": "^27.0.6", + "autoprefixer": "^10.3.4", + "babel-jest": "^27.1.0", "clean-css": "^5.1.5", "commander": "^8.1.0", "consola": "^2.15.3", @@ -63,8 +63,8 @@ "gh-pages": "^3.2.3", "hash-sum": "^2.0.0", "highlight.js": "^11.2.0", - "husky": "^7.0.1", - "jest": "^27.0.6", + "husky": "^7.0.2", + "jest": "^27.1.0", "jest-canvas-mock": "^2.3.1", "jest-serializer-html": "^7.1.0", "less": "^4.1.1", @@ -80,8 +80,8 @@ "stylelint": "^13.13.1", "transliteration": "^2.2.0", "ts-jest": "^27.0.5", - "typescript": "^4.3.5", - "vite": "^2.5.3", + "typescript": "^4.4.2", + "vite": "^2.5.4", "vite-plugin-html": "^2.1.0", "vite-plugin-md": "^0.11.0", "vue-router": "^4.0.0", diff --git a/yarn.lock b/yarn.lock index ccf12ed32..76c4d9cfd 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2,24 +2,24 @@ # yarn lockfile v1 -"@algolia/autocomplete-core@^1.0.0-alpha.35": - version "1.3.0" - resolved "https://registry.nlark.com/@algolia/autocomplete-core/download/@algolia/autocomplete-core-1.3.0.tgz#2f9805cb7a71624521685061d097807b8f133031" - integrity sha1-L5gFy3pxYkUhaFBh0JeAe48TMDE= +"@algolia/autocomplete-core@1.2.2": + version "1.2.2" + resolved "https://registry.nlark.com/@algolia/autocomplete-core/download/@algolia/autocomplete-core-1.2.2.tgz#c121e70c78fd0175c989a219918124ad7758e48b" + integrity sha1-wSHnDHj9AXXJiaIZkYEkrXdY5Is= dependencies: - "@algolia/autocomplete-shared" "1.3.0" + "@algolia/autocomplete-shared" "1.2.2" -"@algolia/autocomplete-preset-algolia@^1.0.0-alpha.35": - version "1.3.0" - resolved "https://registry.nlark.com/@algolia/autocomplete-preset-algolia/download/@algolia/autocomplete-preset-algolia-1.3.0.tgz#fc0711b268a0132218f9ec19bc5c9fa3e7904ccf" - integrity sha1-/AcRsmigEyIY+ewZvFyfo+eQTM8= +"@algolia/autocomplete-preset-algolia@1.2.2": + version "1.2.2" + resolved "https://registry.nlark.com/@algolia/autocomplete-preset-algolia/download/@algolia/autocomplete-preset-algolia-1.2.2.tgz#da734ef9e42a5f64cdad2dfc81c4e9fbf805d976" + integrity sha1-2nNO+eQqX2TNrS38gcTp+/gF2XY= dependencies: - "@algolia/autocomplete-shared" "1.3.0" + "@algolia/autocomplete-shared" "1.2.2" -"@algolia/autocomplete-shared@1.3.0": - version "1.3.0" - resolved "https://registry.nlark.com/@algolia/autocomplete-shared/download/@algolia/autocomplete-shared-1.3.0.tgz#e7f5e948e667c47332213ec1c5f1582317288628" - integrity sha1-5/XpSOZnxHMyIT7BxfFYIxcohig= +"@algolia/autocomplete-shared@1.2.2": + version "1.2.2" + resolved "https://registry.nlark.com/@algolia/autocomplete-shared/download/@algolia/autocomplete-shared-1.2.2.tgz#ff25dc308f2a296b2b9b325f1e3b57498eea3e0c" + integrity sha1-/yXcMI8qKWsrmzJfHjtXSY7qPgw= "@algolia/cache-browser-local-storage@4.10.5": version "4.10.5" @@ -144,7 +144,7 @@ resolved "https://registry.nlark.com/@babel/compat-data/download/@babel/compat-data-7.15.0.tgz#2dbaf8b85334796cafbb0f5793a90a2fc010b176" integrity sha1-Lbr4uFM0eWyvuw9Xk6kKL8AQsXY= -"@babel/core@>=7.9.0", "@babel/core@^7.1.0", "@babel/core@^7.14.8", "@babel/core@^7.15.0", "@babel/core@^7.7.2", "@babel/core@^7.7.5": +"@babel/core@>=7.9.0", "@babel/core@^7.1.0", "@babel/core@^7.14.8", "@babel/core@^7.15.5", "@babel/core@^7.7.2", "@babel/core@^7.7.5": version "7.15.5" resolved "https://registry.nlark.com/@babel/core/download/@babel/core-7.15.5.tgz?cache=0&sync_timestamp=1630746008082&other_urls=https%3A%2F%2Fregistry.nlark.com%2F%40babel%2Fcore%2Fdownload%2F%40babel%2Fcore-7.15.5.tgz#f8ed9ace730722544609f90c9bb49162dc3bf5b9" integrity sha1-+O2aznMHIlRGCfkMm7SRYtw79bk= @@ -906,7 +906,7 @@ "@babel/helper-create-regexp-features-plugin" "^7.14.5" "@babel/helper-plugin-utils" "^7.14.5" -"@babel/preset-env@^7.15.0": +"@babel/preset-env@^7.15.4": version "7.15.4" resolved "https://registry.nlark.com/@babel/preset-env/download/@babel/preset-env-7.15.4.tgz#197e7f99a755c488f0af411af179cbd10de6e815" integrity sha1-GX5/madVxIjwr0Ea8XnL0Q3m6BU= @@ -1049,27 +1049,27 @@ resolved "https://registry.npm.taobao.org/@bcoe/v8-coverage/download/@bcoe/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39" integrity sha1-daLotRy3WKdVPWgEpZMteqznXDk= -"@docsearch/css@3.0.0-alpha.33": - version "3.0.0-alpha.33" - resolved "https://registry.nlark.com/@docsearch/css/download/@docsearch/css-3.0.0-alpha.33.tgz?cache=0&sync_timestamp=1629703518195&other_urls=https%3A%2F%2Fregistry.nlark.com%2F%40docsearch%2Fcss%2Fdownload%2F%40docsearch%2Fcss-3.0.0-alpha.33.tgz#36c8d61ec001d678b501adf49117413dd9c41fa3" - integrity sha1-NsjWHsAB1ni1Aa30kRdBPdnEH6M= +"@docsearch/css@3.0.0-alpha.40": + version "3.0.0-alpha.40" + resolved "https://registry.nlark.com/@docsearch/css/download/@docsearch/css-3.0.0-alpha.40.tgz?cache=0&sync_timestamp=1629703518195&other_urls=https%3A%2F%2Fregistry.nlark.com%2F%40docsearch%2Fcss%2Fdownload%2F%40docsearch%2Fcss-3.0.0-alpha.40.tgz#c37bd7b03f4c30a6ea7a19b87fe71880d2e8b22a" + integrity sha1-w3vXsD9MMKbqehm4f+cYgNLosio= -"@docsearch/js@3.0.0-alpha.33": - version "3.0.0-alpha.33" - resolved "https://registry.nlark.com/@docsearch/js/download/@docsearch/js-3.0.0-alpha.33.tgz?cache=0&sync_timestamp=1629703519149&other_urls=https%3A%2F%2Fregistry.nlark.com%2F%40docsearch%2Fjs%2Fdownload%2F%40docsearch%2Fjs-3.0.0-alpha.33.tgz#a836ea49d5120fd1858cf529f48fddfb0f3b0d31" - integrity sha1-qDbqSdUSD9GFjPUp9I/d+w87DTE= +"@docsearch/js@3.0.0-alpha.40": + version "3.0.0-alpha.40" + resolved "https://registry.nlark.com/@docsearch/js/download/@docsearch/js-3.0.0-alpha.40.tgz?cache=0&sync_timestamp=1629703519149&other_urls=https%3A%2F%2Fregistry.nlark.com%2F%40docsearch%2Fjs%2Fdownload%2F%40docsearch%2Fjs-3.0.0-alpha.40.tgz#28b48fd23053222e6097ddfa3b515ae388634717" + integrity sha1-KLSP0jBTIi5gl936O1Fa44hjRxc= dependencies: - "@docsearch/react" "3.0.0-alpha.33" + "@docsearch/react" "3.0.0-alpha.40" preact "^10.0.0" -"@docsearch/react@3.0.0-alpha.33": - version "3.0.0-alpha.33" - resolved "https://registry.nlark.com/@docsearch/react/download/@docsearch/react-3.0.0-alpha.33.tgz?cache=0&sync_timestamp=1629703518559&other_urls=https%3A%2F%2Fregistry.nlark.com%2F%40docsearch%2Freact%2Fdownload%2F%40docsearch%2Freact-3.0.0-alpha.33.tgz#2f8b5d90990b54b59db1a90e405d8008178e972a" - integrity sha1-L4tdkJkLVLWdsakOQF2ACBeOlyo= +"@docsearch/react@3.0.0-alpha.40": + version "3.0.0-alpha.40" + resolved "https://registry.nlark.com/@docsearch/react/download/@docsearch/react-3.0.0-alpha.40.tgz?cache=0&sync_timestamp=1629703518559&other_urls=https%3A%2F%2Fregistry.nlark.com%2F%40docsearch%2Freact%2Fdownload%2F%40docsearch%2Freact-3.0.0-alpha.40.tgz#d912b4bb7281cb0faf65590c9cf022aa2a13d823" + integrity sha1-2RK0u3KByw+vZVkMnPAiqioT2CM= dependencies: - "@algolia/autocomplete-core" "^1.0.0-alpha.35" - "@algolia/autocomplete-preset-algolia" "^1.0.0-alpha.35" - "@docsearch/css" "3.0.0-alpha.33" + "@algolia/autocomplete-core" "1.2.2" + "@algolia/autocomplete-preset-algolia" "1.2.2" + "@docsearch/css" "3.0.0-alpha.40" algoliasearch "^4.0.0" "@eslint/eslintrc@^0.4.3": @@ -1797,10 +1797,10 @@ resolved "https://registry.nlark.com/@vant/use/download/@vant/use-1.3.0.tgz#b7d461c00078f7501ff7678771f1431fbf747b42" integrity sha1-t9RhwAB491Af92eHcfFDH790e0I= -"@vitejs/plugin-vue-jsx@^1.1.7": - version "1.1.7" - resolved "https://registry.nlark.com/@vitejs/plugin-vue-jsx/download/@vitejs/plugin-vue-jsx-1.1.7.tgz?cache=0&sync_timestamp=1627380248065&other_urls=https%3A%2F%2Fregistry.nlark.com%2F%40vitejs%2Fplugin-vue-jsx%2Fdownload%2F%40vitejs%2Fplugin-vue-jsx-1.1.7.tgz#3e0236a01d6b5f8010bd6bc5ffccdbe1f0fa50d5" - integrity sha1-PgI2oB1rX4AQvWvF/8zb4fD6UNU= +"@vitejs/plugin-vue-jsx@^1.1.8": + version "1.1.8" + resolved "https://registry.nlark.com/@vitejs/plugin-vue-jsx/download/@vitejs/plugin-vue-jsx-1.1.8.tgz?cache=0&sync_timestamp=1631016429294&other_urls=https%3A%2F%2Fregistry.nlark.com%2F%40vitejs%2Fplugin-vue-jsx%2Fdownload%2F%40vitejs%2Fplugin-vue-jsx-1.1.8.tgz#c7b9efd94efe8801635f755b6fd0d0a3a70cf596" + integrity sha1-x7nv2U7+iAFjX3Vbb9DQo6cM9ZY= dependencies: "@babel/core" "^7.14.8" "@babel/plugin-syntax-import-meta" "^7.10.4" @@ -1809,7 +1809,7 @@ "@vue/babel-plugin-jsx" "^1.0.6" hash-sum "^2.0.0" -"@vitejs/plugin-vue@^1.6.0": +"@vitejs/plugin-vue@^1.6.1": version "1.6.1" resolved "https://registry.nlark.com/@vitejs/plugin-vue/download/@vitejs/plugin-vue-1.6.1.tgz?cache=0&sync_timestamp=1630938257314&other_urls=https%3A%2F%2Fregistry.nlark.com%2F%40vitejs%2Fplugin-vue%2Fdownload%2F%40vitejs%2Fplugin-vue-1.6.1.tgz#a40a06661af61fdc1bebdfb811b28f50ad39dfb3" integrity sha1-pAoGZhr2H9wb69+4EbKPUK0537M= @@ -1819,7 +1819,7 @@ resolved "https://registry.npm.taobao.org/@vue/babel-helper-vue-transform-on/download/@vue/babel-helper-vue-transform-on-1.0.2.tgz?cache=0&sync_timestamp=1610812436327&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40vue%2Fbabel-helper-vue-transform-on%2Fdownload%2F%40vue%2Fbabel-helper-vue-transform-on-1.0.2.tgz#9b9c691cd06fc855221a2475c3cc831d774bc7dc" integrity sha1-m5xpHNBvyFUiGiR1w8yDHXdLx9w= -"@vue/babel-plugin-jsx@^1.0.6": +"@vue/babel-plugin-jsx@^1.0.6", "@vue/babel-plugin-jsx@^1.0.7": version "1.0.7" resolved "https://registry.nlark.com/@vue/babel-plugin-jsx/download/@vue/babel-plugin-jsx-1.0.7.tgz?cache=0&sync_timestamp=1630684770160&other_urls=https%3A%2F%2Fregistry.nlark.com%2F%40vue%2Fbabel-plugin-jsx%2Fdownload%2F%40vue%2Fbabel-plugin-jsx-1.0.7.tgz#22d6c84ef8db5ac13db971476a55cc5215902168" integrity sha1-ItbITvjbWsE9uXFHalXMUhWQIWg= @@ -2190,7 +2190,7 @@ atob@^2.1.2: resolved "https://registry.npm.taobao.org/atob/download/atob-2.1.2.tgz#6d9517eb9e030d2436666651e86bd9f6f13533c9" integrity sha1-bZUX654DDSQ2ZmZR6GvZ9vE1M8k= -autoprefixer@^10.3.1: +autoprefixer@^10.3.4: version "10.3.4" resolved "https://registry.nlark.com/autoprefixer/download/autoprefixer-10.3.4.tgz?cache=0&sync_timestamp=1630618912073&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fautoprefixer%2Fdownload%2Fautoprefixer-10.3.4.tgz#29efe5d19f51c281953178ddb5b84c5f1ca24c86" integrity sha1-Ke/l0Z9RwoGVMXjdtbhMXxyiTIY= @@ -2215,7 +2215,7 @@ autoprefixer@^9.8.6: postcss "^7.0.32" postcss-value-parser "^4.1.0" -babel-jest@^27.0.6, babel-jest@^27.1.0: +babel-jest@^27.1.0: version "27.1.0" resolved "https://registry.nlark.com/babel-jest/download/babel-jest-27.1.0.tgz#e96ca04554fd32274439869e2b6d24de9d91bc4e" integrity sha1-6WygRVT9MidEOYaeK20k3p2RvE4= @@ -4322,7 +4322,7 @@ human-signals@^2.1.0: resolved "https://registry.nlark.com/human-signals/download/human-signals-2.1.0.tgz?cache=0&sync_timestamp=1624364612113&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fhuman-signals%2Fdownload%2Fhuman-signals-2.1.0.tgz#dc91fcba42e4d06e4abaed33b3e7a3c02f514ea0" integrity sha1-3JH8ukLk0G5Kuu0zs+ejwC9RTqA= -husky@^7.0.1: +husky@^7.0.2: version "7.0.2" resolved "https://registry.nlark.com/husky/download/husky-7.0.2.tgz?cache=0&sync_timestamp=1629854696569&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fhusky%2Fdownload%2Fhusky-7.0.2.tgz#21900da0f30199acca43a46c043c4ad84ae88dff" integrity sha1-IZANoPMBmazKQ6RsBDxK2Erojf8= @@ -5215,7 +5215,7 @@ jest-worker@^27.1.0: merge-stream "^2.0.0" supports-color "^8.0.0" -jest@^27.0.6: +jest@^27.1.0: version "27.1.0" resolved "https://registry.nlark.com/jest/download/jest-27.1.0.tgz#eaab62dfdc02d8b7c814cd27b8d2d92bc46d3d69" integrity sha1-6qti39wC2LfIFM0nuNLZK8RtPWk= @@ -7730,7 +7730,7 @@ typedarray-to-buffer@^3.1.5: dependencies: is-typedarray "^1.0.0" -typescript@^4.0.0, typescript@^4.3.5: +typescript@^4.0.0, typescript@^4.4.2: version "4.4.2" resolved "https://registry.nlark.com/typescript/download/typescript-4.4.2.tgz?cache=0&sync_timestamp=1630999312832&other_urls=https%3A%2F%2Fregistry.nlark.com%2Ftypescript%2Fdownload%2Ftypescript-4.4.2.tgz#6d618640d430e3569a1dfb44f7d7e600ced3ee86" integrity sha1-bWGGQNQw41aaHftE99fmAM7T7oY= @@ -7945,10 +7945,10 @@ vite-plugin-md@^0.11.0: gray-matter "^4.0.3" markdown-it "^12.2.0" -vite@^2.5.3: - version "2.5.3" - resolved "https://registry.nlark.com/vite/download/vite-2.5.3.tgz#88d40a9efb9bec66bd87a7676c5689f35ff63742" - integrity sha1-iNQKnvub7Ga9h6dnbFaJ81/2N0I= +vite@^2.5.4: + version "2.5.4" + resolved "https://registry.nlark.com/vite/download/vite-2.5.4.tgz?cache=0&sync_timestamp=1631015876638&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fvite%2Fdownload%2Fvite-2.5.4.tgz#2dab98835be64c4157eba225e0becb9d373f608a" + integrity sha1-LauYg1vmTEFX66Il4L7LnTc/YIo= dependencies: esbuild "^0.12.17" postcss "^8.3.6"