From ee37c6425acb70527920726de6466090428cc865 Mon Sep 17 00:00:00 2001 From: neverland <chenjiahan@youzan.com> Date: Thu, 28 May 2020 11:14:02 +0800 Subject: [PATCH 01/58] build: add actions to sync to gitee (#6402) --- .github/workflows/sync.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/sync.yml diff --git a/.github/workflows/sync.yml b/.github/workflows/sync.yml new file mode 100644 index 000000000..fa5f087b0 --- /dev/null +++ b/.github/workflows/sync.yml @@ -0,0 +1,30 @@ +name: Sync to Gitee + +on: + push: + branches: [master] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Sync to Gitee + uses: wearerequired/git-mirror-action@master + env: + # 注意在 Settings->Secrets 配置 GITEE_RSA_PRIVATE_KEY + SSH_PRIVATE_KEY: ${{ secrets.GITEE_RSA_PRIVATE_KEY }} + with: + # 注意替换为你的 GitHub 源仓库地址 + source-repo: 'git@github.com:youzan/vant.git' + # 注意替换为你的 Gitee 目标仓库地址 + destination-repo: 'git@gitee.com:vant-contrib/vant.git' + + - name: Build Gitee Pages + uses: yanglbme/gitee-pages-action@master + with: + # 注意替换为你的 Gitee 用户名 + gitee-username: chenjiahan + # 注意在 Settings->Secrets 配置 GITEE_PASSWORD + gitee-password: ${{ secrets.GITEE_PASSWORD }} + # 注意替换为你的 Gitee 仓库 + gitee-repo: vant-contrib/vant From c927c1f6ed08ec37dcd8824627bc2b1d775a65c9 Mon Sep 17 00:00:00 2001 From: neverland <chenjiahan@youzan.com> Date: Thu, 28 May 2020 11:17:41 +0800 Subject: [PATCH 02/58] build: fix sync to gitee branch (#6403) --- .github/workflows/sync.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/sync.yml b/.github/workflows/sync.yml index fa5f087b0..b4ff0812a 100644 --- a/.github/workflows/sync.yml +++ b/.github/workflows/sync.yml @@ -2,7 +2,7 @@ name: Sync to Gitee on: push: - branches: [master] + branches: [dev] jobs: build: From 1d722da0de28251aea1688a500dd6594f0a01853 Mon Sep 17 00:00:00 2001 From: cyx <30902641+Duncanxyz@users.noreply.github.com> Date: Fri, 29 May 2020 16:08:13 +0800 Subject: [PATCH 03/58] fix(button): set font-size to inherit when loading(#6413) (#6414) --- src/button/index.less | 1 + 1 file changed, 1 insertion(+) diff --git a/src/button/index.less b/src/button/index.less index 691f967f3..16610b51d 100644 --- a/src/button/index.less +++ b/src/button/index.less @@ -110,6 +110,7 @@ &__loading { color: inherit; + font-size: inherit; } &--mini { From 754e8994a03d42638074d1229c9143113cfd9e5e Mon Sep 17 00:00:00 2001 From: chenjiahan <chenjiahan@youzan.com> Date: Fri, 29 May 2020 20:12:49 +0800 Subject: [PATCH 04/58] chore(cli): bump deps --- packages/vant-cli/package.json | 50 +- packages/vant-cli/yarn.lock | 1961 +++++++++++++++++++------------- 2 files changed, 1224 insertions(+), 787 deletions(-) diff --git a/packages/vant-cli/package.json b/packages/vant-cli/package.json index c8576f2d3..1893f7578 100644 --- a/packages/vant-cli/package.json +++ b/packages/vant-cli/package.json @@ -33,22 +33,22 @@ "vue-template-compiler": "^2.5.22" }, "devDependencies": { - "@types/fs-extra": "^8.1.0", - "@types/lodash": "^4.14.150", + "@types/fs-extra": "^9.0.1", + "@types/lodash": "^4.14.153", "@types/postcss-load-config": "^2.0.1", - "@types/webpack": "^4.41.12", - "@types/webpack-dev-server": "^3.10.1", + "@types/webpack": "^4.41.13", + "@types/webpack-dev-server": "^3.11.0", "@types/webpack-merge": "^4.1.5" }, "dependencies": { - "@babel/core": "^7.9.6", - "@babel/plugin-syntax-jsx": "^7.8.3", - "@babel/plugin-transform-object-assign": "^7.8.3", - "@babel/plugin-transform-runtime": "^7.9.6", - "@babel/preset-env": "^7.9.6", - "@babel/preset-typescript": "^7.9.0", + "@babel/core": "^7.10.1", + "@babel/plugin-syntax-jsx": "^7.10.1", + "@babel/plugin-transform-object-assign": "^7.10.1", + "@babel/plugin-transform-runtime": "^7.10.1", + "@babel/preset-env": "^7.10.1", + "@babel/preset-typescript": "^7.10.1", "@nuxt/friendly-errors-webpack-plugin": "^2.5.0", - "@types/jest": "^25.2.1", + "@types/jest": "^25.2.3", "@vant/eslint-config": "^2.2.2", "@vant/markdown-loader": "^2.3.0", "@vant/markdown-vetur": "^2.0.1", @@ -58,17 +58,17 @@ "@vue/component-compiler-utils": "^3.1.2", "@vue/test-utils": "1.0.0-beta.29", "address": "^1.1.2", - "autoprefixer": "^9.7.6", - "babel-jest": "^25.5.1", + "autoprefixer": "^9.8.0", + "babel-jest": "^26.0.1", "babel-loader": "^8.1.0", "babel-plugin-import": "^1.13.0", "cache-loader": "^4.1.0", "chokidar": "^3.4.0", "clean-css": "^4.2.3", - "codecov": "^3.6.5", + "codecov": "^3.7.0", "commander": "^5.1.0", - "consola": "^2.11.3", - "conventional-changelog": "^3.1.18", + "consola": "^2.12.2", + "conventional-changelog": "^3.1.21", "cross-env": "^7.0.2", "css-loader": "^3.5.3", "eslint": "^6.8.0", @@ -82,25 +82,25 @@ "jest-canvas-mock": "^2.2.0", "jest-serializer-vue": "^2.0.2", "less": "^3.11.1", - "less-loader": "^6.0.0", - "lint-staged": "^10.2.2", + "less-loader": "^6.1.0", + "lint-staged": "^10.2.7", "lodash": "^4.17.15", "ora": "^4.0.4", "portfinder": "^1.0.26", - "postcss": "^7.0.28", + "postcss": "^7.0.31", "postcss-loader": "^3.0.0", "prettier": "^2.0.5", - "release-it": "^13.5.7", - "sass": "^1.26.5", + "release-it": "^13.6.1", + "sass": "^1.26.7", "sass-loader": "^8.0.2", "style-loader": "^1.2.1", - "stylelint": "^13.3.3", - "typescript": "^3.8.3", + "stylelint": "^13.5.0", + "typescript": "^3.9.3", "vue-jest": "4.0.0-beta.2", "vue-loader": "^15.9.2", - "vue-router": "^3.1.6", + "vue-router": "^3.3.1", "webpack": "^4.43.0", - "webpack-dev-server": "3.10.3", + "webpack-dev-server": "3.11.0", "webpack-merge": "^4.2.2", "webpackbar": "^4.0.0" }, diff --git a/packages/vant-cli/yarn.lock b/packages/vant-cli/yarn.lock index fb6be038f..0f3b0b1aa 100644 --- a/packages/vant-cli/yarn.lock +++ b/packages/vant-cli/yarn.lock @@ -9,16 +9,23 @@ dependencies: "@babel/highlight" "^7.8.3" -"@babel/compat-data@^7.9.6": - version "7.9.6" - resolved "https://registry.npm.taobao.org/@babel/compat-data/download/@babel/compat-data-7.9.6.tgz?cache=0&sync_timestamp=1588185769045&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fcompat-data%2Fdownload%2F%40babel%2Fcompat-data-7.9.6.tgz#3f604c40e420131affe6f2c8052e9a275ae2049b" - integrity sha1-P2BMQOQgExr/5vLIBS6aJ1riBJs= +"@babel/code-frame@^7.10.1": + version "7.10.1" + resolved "https://registry.npm.taobao.org/@babel/code-frame/download/@babel/code-frame-7.10.1.tgz?cache=0&sync_timestamp=1590617448103&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fcode-frame%2Fdownload%2F%40babel%2Fcode-frame-7.10.1.tgz#d5481c5095daa1c57e16e54c6f9198443afb49ff" + integrity sha1-1UgcUJXaocV+FuVMb5GYRDr7Sf8= dependencies: - browserslist "^4.11.1" + "@babel/highlight" "^7.10.1" + +"@babel/compat-data@^7.10.1": + version "7.10.1" + resolved "https://registry.npm.taobao.org/@babel/compat-data/download/@babel/compat-data-7.10.1.tgz?cache=0&sync_timestamp=1590617980292&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fcompat-data%2Fdownload%2F%40babel%2Fcompat-data-7.10.1.tgz#b1085ffe72cd17bf2c0ee790fc09f9626011b2db" + integrity sha1-sQhf/nLNF78sDueQ/An5YmARsts= + dependencies: + browserslist "^4.12.0" invariant "^2.2.4" semver "^5.5.0" -"@babel/core@>=7.2.2", "@babel/core@>=7.9.0", "@babel/core@^7.1.0", "@babel/core@^7.7.5", "@babel/core@^7.9.6": +"@babel/core@>=7.2.2", "@babel/core@>=7.9.0", "@babel/core@^7.1.0", "@babel/core@^7.7.5": version "7.9.6" resolved "https://registry.npm.taobao.org/@babel/core/download/@babel/core-7.9.6.tgz?cache=0&sync_timestamp=1588185765310&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fcore%2Fdownload%2F%40babel%2Fcore-7.9.6.tgz#d9aa1f580abf3b2286ef40b6904d390904c63376" integrity sha1-2aofWAq/OyKG70C2kE05CQTGM3Y= @@ -40,6 +47,38 @@ semver "^5.4.1" source-map "^0.5.0" +"@babel/core@^7.10.1": + version "7.10.1" + resolved "https://registry.npm.taobao.org/@babel/core/download/@babel/core-7.10.1.tgz#2a0ad0ea693601820defebad2140206503d89af3" + integrity sha1-KgrQ6mk2AYIN7+utIUAgZQPYmvM= + dependencies: + "@babel/code-frame" "^7.10.1" + "@babel/generator" "^7.10.1" + "@babel/helper-module-transforms" "^7.10.1" + "@babel/helpers" "^7.10.1" + "@babel/parser" "^7.10.1" + "@babel/template" "^7.10.1" + "@babel/traverse" "^7.10.1" + "@babel/types" "^7.10.1" + convert-source-map "^1.7.0" + debug "^4.1.0" + gensync "^1.0.0-beta.1" + json5 "^2.1.2" + lodash "^4.17.13" + resolve "^1.3.2" + semver "^5.4.1" + source-map "^0.5.0" + +"@babel/generator@^7.10.1": + version "7.10.1" + resolved "https://registry.npm.taobao.org/@babel/generator/download/@babel/generator-7.10.1.tgz?cache=0&sync_timestamp=1590617674069&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fgenerator%2Fdownload%2F%40babel%2Fgenerator-7.10.1.tgz#4d14458e539bcb04ffe34124143f5c489f2dbca9" + integrity sha1-TRRFjlObywT/40EkFD9cSJ8tvKk= + dependencies: + "@babel/types" "^7.10.1" + jsesc "^2.5.1" + lodash "^4.17.13" + source-map "^0.5.0" + "@babel/generator@^7.9.6": version "7.9.6" resolved "https://registry.npm.taobao.org/@babel/generator/download/@babel/generator-7.9.6.tgz?cache=0&sync_timestamp=1588185813233&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fgenerator%2Fdownload%2F%40babel%2Fgenerator-7.9.6.tgz#5408c82ac5de98cda0d77d8124e99fa1f2170a43" @@ -50,6 +89,13 @@ lodash "^4.17.13" source-map "^0.5.0" +"@babel/helper-annotate-as-pure@^7.10.1": + version "7.10.1" + resolved "https://registry.npm.taobao.org/@babel/helper-annotate-as-pure/download/@babel/helper-annotate-as-pure-7.10.1.tgz#f6d08acc6f70bbd59b436262553fb2e259a1a268" + integrity sha1-9tCKzG9wu9WbQ2JiVT+y4lmhomg= + dependencies: + "@babel/types" "^7.10.1" + "@babel/helper-annotate-as-pure@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.8.3.tgz#60bc0bc657f63a0924ff9a4b4a0b24a13cf4deee" @@ -57,36 +103,45 @@ dependencies: "@babel/types" "^7.8.3" -"@babel/helper-builder-binary-assignment-operator-visitor@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/helper-builder-binary-assignment-operator-visitor/-/helper-builder-binary-assignment-operator-visitor-7.8.3.tgz#c84097a427a061ac56a1c30ebf54b7b22d241503" - integrity sha512-5eFOm2SyFPK4Rh3XMMRDjN7lBH0orh3ss0g3rTYZnBQ+r6YPj7lgDyCvPphynHvUrobJmeMignBr6Acw9mAPlw== +"@babel/helper-builder-binary-assignment-operator-visitor@^7.10.1": + version "7.10.1" + resolved "https://registry.npm.taobao.org/@babel/helper-builder-binary-assignment-operator-visitor/download/@babel/helper-builder-binary-assignment-operator-visitor-7.10.1.tgz#0ec7d9be8174934532661f87783eb18d72290059" + integrity sha1-DsfZvoF0k0UyZh+HeD6xjXIpAFk= dependencies: - "@babel/helper-explode-assignable-expression" "^7.8.3" - "@babel/types" "^7.8.3" + "@babel/helper-explode-assignable-expression" "^7.10.1" + "@babel/types" "^7.10.1" -"@babel/helper-compilation-targets@^7.9.6": - version "7.9.6" - resolved "https://registry.npm.taobao.org/@babel/helper-compilation-targets/download/@babel/helper-compilation-targets-7.9.6.tgz?cache=0&sync_timestamp=1588185812303&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fhelper-compilation-targets%2Fdownload%2F%40babel%2Fhelper-compilation-targets-7.9.6.tgz#1e05b7ccc9d38d2f8b40b458b380a04dcfadd38a" - integrity sha1-HgW3zMnTjS+LQLRYs4CgTc+t04o= +"@babel/helper-compilation-targets@^7.10.1": + version "7.10.1" + resolved "https://registry.npm.taobao.org/@babel/helper-compilation-targets/download/@babel/helper-compilation-targets-7.10.1.tgz?cache=0&sync_timestamp=1590617973706&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fhelper-compilation-targets%2Fdownload%2F%40babel%2Fhelper-compilation-targets-7.10.1.tgz#ad6f69b4c3bae955081ef914a84e5878ffcaca63" + integrity sha1-rW9ptMO66VUIHvkUqE5YeP/KymM= dependencies: - "@babel/compat-data" "^7.9.6" - browserslist "^4.11.1" + "@babel/compat-data" "^7.10.1" + browserslist "^4.12.0" invariant "^2.2.4" levenary "^1.1.1" semver "^5.5.0" -"@babel/helper-create-class-features-plugin@^7.8.3": - version "7.8.6" - resolved "https://registry.yarnpkg.com/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.8.6.tgz#243a5b46e2f8f0f674dc1387631eb6b28b851de0" - integrity sha512-klTBDdsr+VFFqaDHm5rR69OpEQtO2Qv8ECxHS1mNhJJvaHArR6a1xTf5K/eZW7eZpJbhCx3NW1Yt/sKsLXLblg== +"@babel/helper-create-class-features-plugin@^7.10.1": + version "7.10.1" + resolved "https://registry.npm.taobao.org/@babel/helper-create-class-features-plugin/download/@babel/helper-create-class-features-plugin-7.10.1.tgz#6d8a45aafe492378d0e6fc0b33e5dea132eae21c" + integrity sha1-bYpFqv5JI3jQ5vwLM+XeoTLq4hw= dependencies: - "@babel/helper-function-name" "^7.8.3" - "@babel/helper-member-expression-to-functions" "^7.8.3" - "@babel/helper-optimise-call-expression" "^7.8.3" - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/helper-replace-supers" "^7.8.6" - "@babel/helper-split-export-declaration" "^7.8.3" + "@babel/helper-function-name" "^7.10.1" + "@babel/helper-member-expression-to-functions" "^7.10.1" + "@babel/helper-optimise-call-expression" "^7.10.1" + "@babel/helper-plugin-utils" "^7.10.1" + "@babel/helper-replace-supers" "^7.10.1" + "@babel/helper-split-export-declaration" "^7.10.1" + +"@babel/helper-create-regexp-features-plugin@^7.10.1": + version "7.10.1" + resolved "https://registry.npm.taobao.org/@babel/helper-create-regexp-features-plugin/download/@babel/helper-create-regexp-features-plugin-7.10.1.tgz#1b8feeab1594cbcfbf3ab5a3bbcabac0468efdbd" + integrity sha1-G4/uqxWUy8+/OrWju8q6wEaO/b0= + dependencies: + "@babel/helper-annotate-as-pure" "^7.10.1" + "@babel/helper-regex" "^7.10.1" + regexpu-core "^4.7.0" "@babel/helper-create-regexp-features-plugin@^7.8.3", "@babel/helper-create-regexp-features-plugin@^7.8.8": version "7.8.8" @@ -97,24 +152,33 @@ "@babel/helper-regex" "^7.8.3" regexpu-core "^4.7.0" -"@babel/helper-define-map@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/helper-define-map/-/helper-define-map-7.8.3.tgz#a0655cad5451c3760b726eba875f1cd8faa02c15" - integrity sha512-PoeBYtxoZGtct3md6xZOCWPcKuMuk3IHhgxsRRNtnNShebf4C8YonTSblsK4tvDbm+eJAw2HAPOfCr+Q/YRG/g== +"@babel/helper-define-map@^7.10.1": + version "7.10.1" + resolved "https://registry.npm.taobao.org/@babel/helper-define-map/download/@babel/helper-define-map-7.10.1.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fhelper-define-map%2Fdownload%2F%40babel%2Fhelper-define-map-7.10.1.tgz#5e69ee8308648470dd7900d159c044c10285221d" + integrity sha1-XmnugwhkhHDdeQDRWcBEwQKFIh0= dependencies: - "@babel/helper-function-name" "^7.8.3" - "@babel/types" "^7.8.3" + "@babel/helper-function-name" "^7.10.1" + "@babel/types" "^7.10.1" lodash "^4.17.13" -"@babel/helper-explode-assignable-expression@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/helper-explode-assignable-expression/-/helper-explode-assignable-expression-7.8.3.tgz#a728dc5b4e89e30fc2dfc7d04fa28a930653f982" - integrity sha512-N+8eW86/Kj147bO9G2uclsg5pwfs/fqqY5rwgIL7eTBklgXjcOJ3btzS5iM6AitJcftnY7pm2lGsrJVYLGjzIw== +"@babel/helper-explode-assignable-expression@^7.10.1": + version "7.10.1" + resolved "https://registry.npm.taobao.org/@babel/helper-explode-assignable-expression/download/@babel/helper-explode-assignable-expression-7.10.1.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fhelper-explode-assignable-expression%2Fdownload%2F%40babel%2Fhelper-explode-assignable-expression-7.10.1.tgz#e9d76305ee1162ca467357ae25df94f179af2b7e" + integrity sha1-6ddjBe4RYspGc1euJd+U8XmvK34= dependencies: - "@babel/traverse" "^7.8.3" - "@babel/types" "^7.8.3" + "@babel/traverse" "^7.10.1" + "@babel/types" "^7.10.1" -"@babel/helper-function-name@^7.8.3", "@babel/helper-function-name@^7.9.5": +"@babel/helper-function-name@^7.10.1": + version "7.10.1" + resolved "https://registry.npm.taobao.org/@babel/helper-function-name/download/@babel/helper-function-name-7.10.1.tgz?cache=0&sync_timestamp=1590617676520&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fhelper-function-name%2Fdownload%2F%40babel%2Fhelper-function-name-7.10.1.tgz#92bd63829bfc9215aca9d9defa85f56b539454f4" + integrity sha1-kr1jgpv8khWsqdne+oX1a1OUVPQ= + dependencies: + "@babel/helper-get-function-arity" "^7.10.1" + "@babel/template" "^7.10.1" + "@babel/types" "^7.10.1" + +"@babel/helper-function-name@^7.9.5": version "7.9.5" resolved "https://registry.npm.taobao.org/@babel/helper-function-name/download/@babel/helper-function-name-7.9.5.tgz#2b53820d35275120e1874a82e5aabe1376920a5c" integrity sha1-K1OCDTUnUSDhh0qC5aq+E3aSClw= @@ -123,6 +187,13 @@ "@babel/template" "^7.8.3" "@babel/types" "^7.9.5" +"@babel/helper-get-function-arity@^7.10.1": + version "7.10.1" + resolved "https://registry.npm.taobao.org/@babel/helper-get-function-arity/download/@babel/helper-get-function-arity-7.10.1.tgz?cache=0&sync_timestamp=1590617610245&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fhelper-get-function-arity%2Fdownload%2F%40babel%2Fhelper-get-function-arity-7.10.1.tgz#7303390a81ba7cb59613895a192b93850e373f7d" + integrity sha1-cwM5CoG6fLWWE4laGSuThQ43P30= + dependencies: + "@babel/types" "^7.10.1" + "@babel/helper-get-function-arity@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/helper-get-function-arity/-/helper-get-function-arity-7.8.3.tgz#b894b947bd004381ce63ea1db9f08547e920abd5" @@ -130,12 +201,19 @@ dependencies: "@babel/types" "^7.8.3" -"@babel/helper-hoist-variables@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/helper-hoist-variables/-/helper-hoist-variables-7.8.3.tgz#1dbe9b6b55d78c9b4183fc8cdc6e30ceb83b7134" - integrity sha512-ky1JLOjcDUtSc+xkt0xhYff7Z6ILTAHKmZLHPxAhOP0Nd77O+3nCsd6uSVYur6nJnCI029CrNbYlc0LoPfAPQg== +"@babel/helper-hoist-variables@^7.10.1": + version "7.10.1" + resolved "https://registry.npm.taobao.org/@babel/helper-hoist-variables/download/@babel/helper-hoist-variables-7.10.1.tgz#7e77c82e5dcae1ebf123174c385aaadbf787d077" + integrity sha1-fnfILl3K4evxIxdMOFqq2/eH0Hc= dependencies: - "@babel/types" "^7.8.3" + "@babel/types" "^7.10.1" + +"@babel/helper-member-expression-to-functions@^7.10.1": + version "7.10.1" + resolved "https://registry.npm.taobao.org/@babel/helper-member-expression-to-functions/download/@babel/helper-member-expression-to-functions-7.10.1.tgz#432967fd7e12a4afef66c4687d4ca22bc0456f15" + integrity sha1-Qyln/X4SpK/vZsRofUyiK8BFbxU= + dependencies: + "@babel/types" "^7.10.1" "@babel/helper-member-expression-to-functions@^7.8.3": version "7.8.3" @@ -151,6 +229,26 @@ dependencies: "@babel/types" "^7.8.3" +"@babel/helper-module-imports@^7.10.1": + version "7.10.1" + resolved "https://registry.npm.taobao.org/@babel/helper-module-imports/download/@babel/helper-module-imports-7.10.1.tgz#dd331bd45bccc566ce77004e9d05fe17add13876" + integrity sha1-3TMb1FvMxWbOdwBOnQX+F63ROHY= + dependencies: + "@babel/types" "^7.10.1" + +"@babel/helper-module-transforms@^7.10.1": + version "7.10.1" + resolved "https://registry.npm.taobao.org/@babel/helper-module-transforms/download/@babel/helper-module-transforms-7.10.1.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fhelper-module-transforms%2Fdownload%2F%40babel%2Fhelper-module-transforms-7.10.1.tgz#24e2f08ee6832c60b157bb0936c86bef7210c622" + integrity sha1-JOLwjuaDLGCxV7sJNshr73IQxiI= + dependencies: + "@babel/helper-module-imports" "^7.10.1" + "@babel/helper-replace-supers" "^7.10.1" + "@babel/helper-simple-access" "^7.10.1" + "@babel/helper-split-export-declaration" "^7.10.1" + "@babel/template" "^7.10.1" + "@babel/types" "^7.10.1" + lodash "^4.17.13" + "@babel/helper-module-transforms@^7.9.0": version "7.9.0" resolved "https://registry.npm.taobao.org/@babel/helper-module-transforms/download/@babel/helper-module-transforms-7.9.0.tgz#43b34dfe15961918707d247327431388e9fe96e5" @@ -164,6 +262,13 @@ "@babel/types" "^7.9.0" lodash "^4.17.13" +"@babel/helper-optimise-call-expression@^7.10.1": + version "7.10.1" + resolved "https://registry.npm.taobao.org/@babel/helper-optimise-call-expression/download/@babel/helper-optimise-call-expression-7.10.1.tgz#b4a1f2561870ce1247ceddb02a3860fa96d72543" + integrity sha1-tKHyVhhwzhJHzt2wKjhg+pbXJUM= + dependencies: + "@babel/types" "^7.10.1" + "@babel/helper-optimise-call-expression@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.8.3.tgz#7ed071813d09c75298ef4f208956006b6111ecb9" @@ -176,6 +281,18 @@ resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.8.3.tgz#9ea293be19babc0f52ff8ca88b34c3611b208670" integrity sha512-j+fq49Xds2smCUNYmEHF9kGNkhbet6yVIBp4e6oeQpH1RUs/Ir06xUKzDjDkGcaaokPiTNs2JBWHjaE4csUkZQ== +"@babel/helper-plugin-utils@^7.10.1": + version "7.10.1" + resolved "https://registry.npm.taobao.org/@babel/helper-plugin-utils/download/@babel/helper-plugin-utils-7.10.1.tgz?cache=0&sync_timestamp=1590617710577&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fhelper-plugin-utils%2Fdownload%2F%40babel%2Fhelper-plugin-utils-7.10.1.tgz#ec5a5cf0eec925b66c60580328b122c01230a127" + integrity sha1-7Fpc8O7JJbZsYFgDKLEiwBIwoSc= + +"@babel/helper-regex@^7.10.1": + version "7.10.1" + resolved "https://registry.npm.taobao.org/@babel/helper-regex/download/@babel/helper-regex-7.10.1.tgz?cache=0&sync_timestamp=1590617707108&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fhelper-regex%2Fdownload%2F%40babel%2Fhelper-regex-7.10.1.tgz#021cf1a7ba99822f993222a001cc3fec83255b96" + integrity sha1-Ahzxp7qZgi+ZMiKgAcw/7IMlW5Y= + dependencies: + lodash "^4.17.13" + "@babel/helper-regex@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/helper-regex/-/helper-regex-7.8.3.tgz#139772607d51b93f23effe72105b319d2a4c6965" @@ -183,18 +300,28 @@ dependencies: lodash "^4.17.13" -"@babel/helper-remap-async-to-generator@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.8.3.tgz#273c600d8b9bf5006142c1e35887d555c12edd86" - integrity sha512-kgwDmw4fCg7AVgS4DukQR/roGp+jP+XluJE5hsRZwxCYGg+Rv9wSGErDWhlI90FODdYfd4xG4AQRiMDjjN0GzA== +"@babel/helper-remap-async-to-generator@^7.10.1": + version "7.10.1" + resolved "https://registry.npm.taobao.org/@babel/helper-remap-async-to-generator/download/@babel/helper-remap-async-to-generator-7.10.1.tgz#bad6aaa4ff39ce8d4b82ccaae0bfe0f7dbb5f432" + integrity sha1-utaqpP85zo1Lgsyq4L/g99u19DI= dependencies: - "@babel/helper-annotate-as-pure" "^7.8.3" - "@babel/helper-wrap-function" "^7.8.3" - "@babel/template" "^7.8.3" - "@babel/traverse" "^7.8.3" - "@babel/types" "^7.8.3" + "@babel/helper-annotate-as-pure" "^7.10.1" + "@babel/helper-wrap-function" "^7.10.1" + "@babel/template" "^7.10.1" + "@babel/traverse" "^7.10.1" + "@babel/types" "^7.10.1" -"@babel/helper-replace-supers@^7.8.3", "@babel/helper-replace-supers@^7.8.6": +"@babel/helper-replace-supers@^7.10.1": + version "7.10.1" + resolved "https://registry.npm.taobao.org/@babel/helper-replace-supers/download/@babel/helper-replace-supers-7.10.1.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fhelper-replace-supers%2Fdownload%2F%40babel%2Fhelper-replace-supers-7.10.1.tgz#ec6859d20c5d8087f6a2dc4e014db7228975f13d" + integrity sha1-7GhZ0gxdgIf2otxOAU23Iol18T0= + dependencies: + "@babel/helper-member-expression-to-functions" "^7.10.1" + "@babel/helper-optimise-call-expression" "^7.10.1" + "@babel/traverse" "^7.10.1" + "@babel/types" "^7.10.1" + +"@babel/helper-replace-supers@^7.8.6": version "7.8.6" resolved "https://registry.yarnpkg.com/@babel/helper-replace-supers/-/helper-replace-supers-7.8.6.tgz#5ada744fd5ad73203bf1d67459a27dcba67effc8" integrity sha512-PeMArdA4Sv/Wf4zXwBKPqVj7n9UF/xg6slNRtZW84FM7JpE1CbG8B612FyM4cxrf4fMAMGO0kR7voy1ForHHFA== @@ -204,6 +331,14 @@ "@babel/traverse" "^7.8.6" "@babel/types" "^7.8.6" +"@babel/helper-simple-access@^7.10.1": + version "7.10.1" + resolved "https://registry.npm.taobao.org/@babel/helper-simple-access/download/@babel/helper-simple-access-7.10.1.tgz#08fb7e22ace9eb8326f7e3920a1c2052f13d851e" + integrity sha1-CPt+Iqzp64Mm9+OSChwgUvE9hR4= + dependencies: + "@babel/template" "^7.10.1" + "@babel/types" "^7.10.1" + "@babel/helper-simple-access@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/helper-simple-access/-/helper-simple-access-7.8.3.tgz#7f8109928b4dab4654076986af575231deb639ae" @@ -212,6 +347,13 @@ "@babel/template" "^7.8.3" "@babel/types" "^7.8.3" +"@babel/helper-split-export-declaration@^7.10.1": + version "7.10.1" + resolved "https://registry.npm.taobao.org/@babel/helper-split-export-declaration/download/@babel/helper-split-export-declaration-7.10.1.tgz?cache=0&sync_timestamp=1590617609914&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fhelper-split-export-declaration%2Fdownload%2F%40babel%2Fhelper-split-export-declaration-7.10.1.tgz#c6f4be1cbc15e3a868e4c64a17d5d31d754da35f" + integrity sha1-xvS+HLwV46ho5MZKF9XTHXVNo18= + dependencies: + "@babel/types" "^7.10.1" + "@babel/helper-split-export-declaration@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.8.3.tgz#31a9f30070f91368a7182cf05f831781065fc7a9" @@ -219,20 +361,34 @@ dependencies: "@babel/types" "^7.8.3" +"@babel/helper-validator-identifier@^7.10.1": + version "7.10.1" + resolved "https://registry.npm.taobao.org/@babel/helper-validator-identifier/download/@babel/helper-validator-identifier-7.10.1.tgz#5770b0c1a826c4f53f5ede5e153163e0318e94b5" + integrity sha1-V3CwwagmxPU/Xt5eFTFj4DGOlLU= + "@babel/helper-validator-identifier@^7.9.5": version "7.9.5" resolved "https://registry.npm.taobao.org/@babel/helper-validator-identifier/download/@babel/helper-validator-identifier-7.9.5.tgz#90977a8e6fbf6b431a7dc31752eee233bf052d80" integrity sha1-kJd6jm+/a0MafcMXUu7iM78FLYA= -"@babel/helper-wrap-function@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/helper-wrap-function/-/helper-wrap-function-7.8.3.tgz#9dbdb2bb55ef14aaa01fe8c99b629bd5352d8610" - integrity sha512-LACJrbUET9cQDzb6kG7EeD7+7doC3JNvUgTEQOx2qaO1fKlzE/Bf05qs9w1oXQMmXlPO65lC3Tq9S6gZpTErEQ== +"@babel/helper-wrap-function@^7.10.1": + version "7.10.1" + resolved "https://registry.npm.taobao.org/@babel/helper-wrap-function/download/@babel/helper-wrap-function-7.10.1.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fhelper-wrap-function%2Fdownload%2F%40babel%2Fhelper-wrap-function-7.10.1.tgz#956d1310d6696257a7afd47e4c42dfda5dfcedc9" + integrity sha1-lW0TENZpYlenr9R+TELf2l387ck= dependencies: - "@babel/helper-function-name" "^7.8.3" - "@babel/template" "^7.8.3" - "@babel/traverse" "^7.8.3" - "@babel/types" "^7.8.3" + "@babel/helper-function-name" "^7.10.1" + "@babel/template" "^7.10.1" + "@babel/traverse" "^7.10.1" + "@babel/types" "^7.10.1" + +"@babel/helpers@^7.10.1": + version "7.10.1" + resolved "https://registry.npm.taobao.org/@babel/helpers/download/@babel/helpers-7.10.1.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fhelpers%2Fdownload%2F%40babel%2Fhelpers-7.10.1.tgz#a6827b7cb975c9d9cef5fd61d919f60d8844a973" + integrity sha1-poJ7fLl1ydnO9f1h2Rn2DYhEqXM= + dependencies: + "@babel/template" "^7.10.1" + "@babel/traverse" "^7.10.1" + "@babel/types" "^7.10.1" "@babel/helpers@^7.9.6": version "7.9.6" @@ -243,6 +399,15 @@ "@babel/traverse" "^7.9.6" "@babel/types" "^7.9.6" +"@babel/highlight@^7.10.1": + version "7.10.1" + resolved "https://registry.npm.taobao.org/@babel/highlight/download/@babel/highlight-7.10.1.tgz?cache=0&sync_timestamp=1590617443727&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fhighlight%2Fdownload%2F%40babel%2Fhighlight-7.10.1.tgz#841d098ba613ba1a427a2b383d79e35552c38ae0" + integrity sha1-hB0Ji6YTuhpCeis4PXnjVVLDiuA= + dependencies: + "@babel/helper-validator-identifier" "^7.10.1" + chalk "^2.0.0" + js-tokens "^4.0.0" + "@babel/highlight@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.8.3.tgz#28f173d04223eaaa59bc1d439a3836e6d1265797" @@ -257,73 +422,102 @@ resolved "https://registry.npm.taobao.org/@babel/parser/download/@babel/parser-7.9.6.tgz?cache=0&sync_timestamp=1588185767850&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fparser%2Fdownload%2F%40babel%2Fparser-7.9.6.tgz#3b1bbb30dabe600cd72db58720998376ff653bc7" integrity sha1-Oxu7MNq+YAzXLbWHIJmDdv9lO8c= -"@babel/plugin-proposal-async-generator-functions@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.8.3.tgz#bad329c670b382589721b27540c7d288601c6e6f" - integrity sha512-NZ9zLv848JsV3hs8ryEh7Uaz/0KsmPLqv0+PdkDJL1cJy0K4kOCFa8zc1E3mp+RHPQcpdfb/6GovEsW4VDrOMw== +"@babel/parser@^7.10.1": + version "7.10.1" + resolved "https://registry.npm.taobao.org/@babel/parser/download/@babel/parser-7.10.1.tgz?cache=0&sync_timestamp=1590618945392&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fparser%2Fdownload%2F%40babel%2Fparser-7.10.1.tgz#2e142c27ca58aa2c7b119d09269b702c8bbad28c" + integrity sha1-LhQsJ8pYqix7EZ0JJptwLIu60ow= + +"@babel/plugin-proposal-async-generator-functions@^7.10.1": + version "7.10.1" + resolved "https://registry.npm.taobao.org/@babel/plugin-proposal-async-generator-functions/download/@babel/plugin-proposal-async-generator-functions-7.10.1.tgz#6911af5ba2e615c4ff3c497fe2f47b35bf6d7e55" + integrity sha1-aRGvW6LmFcT/PEl/4vR7Nb9tflU= dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/helper-remap-async-to-generator" "^7.8.3" + "@babel/helper-plugin-utils" "^7.10.1" + "@babel/helper-remap-async-to-generator" "^7.10.1" "@babel/plugin-syntax-async-generators" "^7.8.0" -"@babel/plugin-proposal-dynamic-import@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-dynamic-import/-/plugin-proposal-dynamic-import-7.8.3.tgz#38c4fe555744826e97e2ae930b0fb4cc07e66054" - integrity sha512-NyaBbyLFXFLT9FP+zk0kYlUlA8XtCUbehs67F0nnEg7KICgMc2mNkIeu9TYhKzyXMkrapZFwAhXLdnt4IYHy1w== +"@babel/plugin-proposal-class-properties@^7.10.1": + version "7.10.1" + resolved "https://registry.npm.taobao.org/@babel/plugin-proposal-class-properties/download/@babel/plugin-proposal-class-properties-7.10.1.tgz#046bc7f6550bb08d9bd1d4f060f5f5a4f1087e01" + integrity sha1-BGvH9lULsI2b0dTwYPX1pPEIfgE= dependencies: - "@babel/helper-plugin-utils" "^7.8.3" + "@babel/helper-create-class-features-plugin" "^7.10.1" + "@babel/helper-plugin-utils" "^7.10.1" + +"@babel/plugin-proposal-dynamic-import@^7.10.1": + version "7.10.1" + resolved "https://registry.npm.taobao.org/@babel/plugin-proposal-dynamic-import/download/@babel/plugin-proposal-dynamic-import-7.10.1.tgz?cache=0&sync_timestamp=1590617973039&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fplugin-proposal-dynamic-import%2Fdownload%2F%40babel%2Fplugin-proposal-dynamic-import-7.10.1.tgz#e36979dc1dc3b73f6d6816fc4951da2363488ef0" + integrity sha1-42l53B3Dtz9taBb8SVHaI2NIjvA= + dependencies: + "@babel/helper-plugin-utils" "^7.10.1" "@babel/plugin-syntax-dynamic-import" "^7.8.0" -"@babel/plugin-proposal-json-strings@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-json-strings/-/plugin-proposal-json-strings-7.8.3.tgz#da5216b238a98b58a1e05d6852104b10f9a70d6b" - integrity sha512-KGhQNZ3TVCQG/MjRbAUwuH+14y9q0tpxs1nWWs3pbSleRdDro9SAMMDyye8HhY1gqZ7/NqIc8SKhya0wRDgP1Q== +"@babel/plugin-proposal-json-strings@^7.10.1": + version "7.10.1" + resolved "https://registry.npm.taobao.org/@babel/plugin-proposal-json-strings/download/@babel/plugin-proposal-json-strings-7.10.1.tgz?cache=0&sync_timestamp=1590617715702&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fplugin-proposal-json-strings%2Fdownload%2F%40babel%2Fplugin-proposal-json-strings-7.10.1.tgz#b1e691ee24c651b5a5e32213222b2379734aff09" + integrity sha1-seaR7iTGUbWl4yITIisjeXNK/wk= dependencies: - "@babel/helper-plugin-utils" "^7.8.3" + "@babel/helper-plugin-utils" "^7.10.1" "@babel/plugin-syntax-json-strings" "^7.8.0" -"@babel/plugin-proposal-nullish-coalescing-operator@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-nullish-coalescing-operator/-/plugin-proposal-nullish-coalescing-operator-7.8.3.tgz#e4572253fdeed65cddeecfdab3f928afeb2fd5d2" - integrity sha512-TS9MlfzXpXKt6YYomudb/KU7nQI6/xnapG6in1uZxoxDghuSMZsPb6D2fyUwNYSAp4l1iR7QtFOjkqcRYcUsfw== +"@babel/plugin-proposal-nullish-coalescing-operator@^7.10.1": + version "7.10.1" + resolved "https://registry.npm.taobao.org/@babel/plugin-proposal-nullish-coalescing-operator/download/@babel/plugin-proposal-nullish-coalescing-operator-7.10.1.tgz#02dca21673842ff2fe763ac253777f235e9bbf78" + integrity sha1-AtyiFnOEL/L+djrCU3d/I16bv3g= dependencies: - "@babel/helper-plugin-utils" "^7.8.3" + "@babel/helper-plugin-utils" "^7.10.1" "@babel/plugin-syntax-nullish-coalescing-operator" "^7.8.0" -"@babel/plugin-proposal-numeric-separator@^7.8.3": - version "7.8.3" - resolved "https://registry.npm.taobao.org/@babel/plugin-proposal-numeric-separator/download/@babel/plugin-proposal-numeric-separator-7.8.3.tgz#5d6769409699ec9b3b68684cd8116cedff93bad8" - integrity sha1-XWdpQJaZ7Js7aGhM2BFs7f+Tutg= +"@babel/plugin-proposal-numeric-separator@^7.10.1": + version "7.10.1" + resolved "https://registry.npm.taobao.org/@babel/plugin-proposal-numeric-separator/download/@babel/plugin-proposal-numeric-separator-7.10.1.tgz?cache=0&sync_timestamp=1590617964898&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fplugin-proposal-numeric-separator%2Fdownload%2F%40babel%2Fplugin-proposal-numeric-separator-7.10.1.tgz#a9a38bc34f78bdfd981e791c27c6fdcec478c123" + integrity sha1-qaOLw094vf2YHnkcJ8b9zsR4wSM= dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/plugin-syntax-numeric-separator" "^7.8.3" + "@babel/helper-plugin-utils" "^7.10.1" + "@babel/plugin-syntax-numeric-separator" "^7.10.1" -"@babel/plugin-proposal-object-rest-spread@^7.9.6": - version "7.9.6" - resolved "https://registry.npm.taobao.org/@babel/plugin-proposal-object-rest-spread/download/@babel/plugin-proposal-object-rest-spread-7.9.6.tgz?cache=0&sync_timestamp=1588185814956&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fplugin-proposal-object-rest-spread%2Fdownload%2F%40babel%2Fplugin-proposal-object-rest-spread-7.9.6.tgz#7a093586fcb18b08266eb1a7177da671ac575b63" - integrity sha1-egk1hvyxiwgmbrGnF32mcaxXW2M= +"@babel/plugin-proposal-object-rest-spread@^7.10.1": + version "7.10.1" + resolved "https://registry.npm.taobao.org/@babel/plugin-proposal-object-rest-spread/download/@babel/plugin-proposal-object-rest-spread-7.10.1.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fplugin-proposal-object-rest-spread%2Fdownload%2F%40babel%2Fplugin-proposal-object-rest-spread-7.10.1.tgz#cba44908ac9f142650b4a65b8aa06bf3478d5fb6" + integrity sha1-y6RJCKyfFCZQtKZbiqBr80eNX7Y= dependencies: - "@babel/helper-plugin-utils" "^7.8.3" + "@babel/helper-plugin-utils" "^7.10.1" "@babel/plugin-syntax-object-rest-spread" "^7.8.0" - "@babel/plugin-transform-parameters" "^7.9.5" + "@babel/plugin-transform-parameters" "^7.10.1" -"@babel/plugin-proposal-optional-catch-binding@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-optional-catch-binding/-/plugin-proposal-optional-catch-binding-7.8.3.tgz#9dee96ab1650eed88646ae9734ca167ac4a9c5c9" - integrity sha512-0gkX7J7E+AtAw9fcwlVQj8peP61qhdg/89D5swOkjYbkboA2CVckn3kiyum1DE0wskGb7KJJxBdyEBApDLLVdw== +"@babel/plugin-proposal-optional-catch-binding@^7.10.1": + version "7.10.1" + resolved "https://registry.npm.taobao.org/@babel/plugin-proposal-optional-catch-binding/download/@babel/plugin-proposal-optional-catch-binding-7.10.1.tgz?cache=0&sync_timestamp=1590617710346&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fplugin-proposal-optional-catch-binding%2Fdownload%2F%40babel%2Fplugin-proposal-optional-catch-binding-7.10.1.tgz#c9f86d99305f9fa531b568ff5ab8c964b8b223d2" + integrity sha1-yfhtmTBfn6UxtWj/WrjJZLiyI9I= dependencies: - "@babel/helper-plugin-utils" "^7.8.3" + "@babel/helper-plugin-utils" "^7.10.1" "@babel/plugin-syntax-optional-catch-binding" "^7.8.0" -"@babel/plugin-proposal-optional-chaining@^7.9.0": - version "7.9.0" - resolved "https://registry.npm.taobao.org/@babel/plugin-proposal-optional-chaining/download/@babel/plugin-proposal-optional-chaining-7.9.0.tgz#31db16b154c39d6b8a645292472b98394c292a58" - integrity sha1-MdsWsVTDnWuKZFKSRyuYOUwpKlg= +"@babel/plugin-proposal-optional-chaining@^7.10.1": + version "7.10.1" + resolved "https://registry.npm.taobao.org/@babel/plugin-proposal-optional-chaining/download/@babel/plugin-proposal-optional-chaining-7.10.1.tgz?cache=0&sync_timestamp=1590617794180&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fplugin-proposal-optional-chaining%2Fdownload%2F%40babel%2Fplugin-proposal-optional-chaining-7.10.1.tgz#15f5d6d22708629451a91be28f8facc55b0e818c" + integrity sha1-FfXW0icIYpRRqRvij4+sxVsOgYw= dependencies: - "@babel/helper-plugin-utils" "^7.8.3" + "@babel/helper-plugin-utils" "^7.10.1" "@babel/plugin-syntax-optional-chaining" "^7.8.0" -"@babel/plugin-proposal-unicode-property-regex@^7.4.4", "@babel/plugin-proposal-unicode-property-regex@^7.8.3": +"@babel/plugin-proposal-private-methods@^7.10.1": + version "7.10.1" + resolved "https://registry.npm.taobao.org/@babel/plugin-proposal-private-methods/download/@babel/plugin-proposal-private-methods-7.10.1.tgz?cache=0&sync_timestamp=1590617974830&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fplugin-proposal-private-methods%2Fdownload%2F%40babel%2Fplugin-proposal-private-methods-7.10.1.tgz#ed85e8058ab0fe309c3f448e5e1b73ca89cdb598" + integrity sha1-7YXoBYqw/jCcP0SOXhtzyonNtZg= + dependencies: + "@babel/helper-create-class-features-plugin" "^7.10.1" + "@babel/helper-plugin-utils" "^7.10.1" + +"@babel/plugin-proposal-unicode-property-regex@^7.10.1": + version "7.10.1" + resolved "https://registry.npm.taobao.org/@babel/plugin-proposal-unicode-property-regex/download/@babel/plugin-proposal-unicode-property-regex-7.10.1.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fplugin-proposal-unicode-property-regex%2Fdownload%2F%40babel%2Fplugin-proposal-unicode-property-regex-7.10.1.tgz#dc04feb25e2dd70c12b05d680190e138fa2c0c6f" + integrity sha1-3AT+sl4t1wwSsF1oAZDhOPosDG8= + dependencies: + "@babel/helper-create-regexp-features-plugin" "^7.10.1" + "@babel/helper-plugin-utils" "^7.10.1" + +"@babel/plugin-proposal-unicode-property-regex@^7.4.4": version "7.8.8" resolved "https://registry.npm.taobao.org/@babel/plugin-proposal-unicode-property-regex/download/@babel/plugin-proposal-unicode-property-regex-7.8.8.tgz?cache=0&sync_timestamp=1584039006999&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fplugin-proposal-unicode-property-regex%2Fdownload%2F%40babel%2Fplugin-proposal-unicode-property-regex-7.8.8.tgz#ee3a95e90cdc04fe8cd92ec3279fa017d68a0d1d" integrity sha1-7jqV6QzcBP6M2S7DJ5+gF9aKDR0= @@ -345,6 +539,13 @@ dependencies: "@babel/helper-plugin-utils" "^7.8.0" +"@babel/plugin-syntax-class-properties@^7.10.1": + version "7.10.1" + resolved "https://registry.npm.taobao.org/@babel/plugin-syntax-class-properties/download/@babel/plugin-syntax-class-properties-7.10.1.tgz?cache=0&sync_timestamp=1590617973176&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fplugin-syntax-class-properties%2Fdownload%2F%40babel%2Fplugin-syntax-class-properties-7.10.1.tgz#d5bc0645913df5b17ad7eda0fa2308330bde34c5" + integrity sha1-1bwGRZE99bF61+2g+iMIMwveNMU= + dependencies: + "@babel/helper-plugin-utils" "^7.10.1" + "@babel/plugin-syntax-class-properties@^7.8.3": version "7.8.3" resolved "https://registry.npm.taobao.org/@babel/plugin-syntax-class-properties/download/@babel/plugin-syntax-class-properties-7.8.3.tgz#6cb933a8872c8d359bfde69bbeaae5162fd1e8f7" @@ -366,7 +567,14 @@ dependencies: "@babel/helper-plugin-utils" "^7.8.0" -"@babel/plugin-syntax-jsx@^7.2.0", "@babel/plugin-syntax-jsx@^7.8.3": +"@babel/plugin-syntax-jsx@^7.10.1": + version "7.10.1" + resolved "https://registry.npm.taobao.org/@babel/plugin-syntax-jsx/download/@babel/plugin-syntax-jsx-7.10.1.tgz?cache=0&sync_timestamp=1590617717696&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fplugin-syntax-jsx%2Fdownload%2F%40babel%2Fplugin-syntax-jsx-7.10.1.tgz#0ae371134a42b91d5418feb3c8c8d43e1565d2da" + integrity sha1-CuNxE0pCuR1UGP6zyMjUPhVl0to= + dependencies: + "@babel/helper-plugin-utils" "^7.10.1" + +"@babel/plugin-syntax-jsx@^7.2.0": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.8.3.tgz#521b06c83c40480f1e58b4fd33b92eceb1d6ea94" integrity sha512-WxdW9xyLgBdefoo0Ynn3MRSkhe5tFVxxKNVdnZSh318WrG2e2jH+E9wd/++JsqcLJZPfz87njQJ8j2Upjm0M0A== @@ -387,7 +595,14 @@ dependencies: "@babel/helper-plugin-utils" "^7.8.0" -"@babel/plugin-syntax-numeric-separator@^7.8.0", "@babel/plugin-syntax-numeric-separator@^7.8.3": +"@babel/plugin-syntax-numeric-separator@^7.10.1": + version "7.10.1" + resolved "https://registry.npm.taobao.org/@babel/plugin-syntax-numeric-separator/download/@babel/plugin-syntax-numeric-separator-7.10.1.tgz?cache=0&sync_timestamp=1590617975297&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fplugin-syntax-numeric-separator%2Fdownload%2F%40babel%2Fplugin-syntax-numeric-separator-7.10.1.tgz#25761ee7410bc8cf97327ba741ee94e4a61b7d99" + integrity sha1-JXYe50ELyM+XMnunQe6U5KYbfZk= + dependencies: + "@babel/helper-plugin-utils" "^7.10.1" + +"@babel/plugin-syntax-numeric-separator@^7.8.3": version "7.8.3" resolved "https://registry.npm.taobao.org/@babel/plugin-syntax-numeric-separator/download/@babel/plugin-syntax-numeric-separator-7.8.3.tgz#0e3fb63e09bea1b11e96467271c8308007e7c41f" integrity sha1-Dj+2Pgm+obEelkZyccgwgAfnxB8= @@ -415,80 +630,88 @@ dependencies: "@babel/helper-plugin-utils" "^7.8.0" -"@babel/plugin-syntax-top-level-await@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.8.3.tgz#3acdece695e6b13aaf57fc291d1a800950c71391" - integrity sha512-kwj1j9lL/6Wd0hROD3b/OZZ7MSrZLqqn9RAZ5+cYYsflQ9HZBIKCUkr3+uL1MEJ1NePiUbf98jjiMQSv0NMR9g== +"@babel/plugin-syntax-top-level-await@^7.10.1": + version "7.10.1" + resolved "https://registry.npm.taobao.org/@babel/plugin-syntax-top-level-await/download/@babel/plugin-syntax-top-level-await-7.10.1.tgz?cache=0&sync_timestamp=1590617976470&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fplugin-syntax-top-level-await%2Fdownload%2F%40babel%2Fplugin-syntax-top-level-await-7.10.1.tgz#8b8733f8c57397b3eaa47ddba8841586dcaef362" + integrity sha1-i4cz+MVzl7PqpH3bqIQVhtyu82I= dependencies: - "@babel/helper-plugin-utils" "^7.8.3" + "@babel/helper-plugin-utils" "^7.10.1" -"@babel/plugin-syntax-typescript@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.8.3.tgz#c1f659dda97711a569cef75275f7e15dcaa6cabc" - integrity sha512-GO1MQ/SGGGoiEXY0e0bSpHimJvxqB7lktLLIq2pv8xG7WZ8IMEle74jIe1FhprHBWjwjZtXHkycDLZXIWM5Wfg== +"@babel/plugin-syntax-typescript@^7.10.1": + version "7.10.1" + resolved "https://registry.npm.taobao.org/@babel/plugin-syntax-typescript/download/@babel/plugin-syntax-typescript-7.10.1.tgz#5e82bc27bb4202b93b949b029e699db536733810" + integrity sha1-XoK8J7tCArk7lJsCnmmdtTZzOBA= dependencies: - "@babel/helper-plugin-utils" "^7.8.3" + "@babel/helper-plugin-utils" "^7.10.1" -"@babel/plugin-transform-arrow-functions@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.8.3.tgz#82776c2ed0cd9e1a49956daeb896024c9473b8b6" - integrity sha512-0MRF+KC8EqH4dbuITCWwPSzsyO3HIWWlm30v8BbbpOrS1B++isGxPnnuq/IZvOX5J2D/p7DQalQm+/2PnlKGxg== +"@babel/plugin-transform-arrow-functions@^7.10.1": + version "7.10.1" + resolved "https://registry.npm.taobao.org/@babel/plugin-transform-arrow-functions/download/@babel/plugin-transform-arrow-functions-7.10.1.tgz?cache=0&sync_timestamp=1590617719041&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fplugin-transform-arrow-functions%2Fdownload%2F%40babel%2Fplugin-transform-arrow-functions-7.10.1.tgz#cb5ee3a36f0863c06ead0b409b4cc43a889b295b" + integrity sha1-y17jo28IY8BurQtAm0zEOoibKVs= dependencies: - "@babel/helper-plugin-utils" "^7.8.3" + "@babel/helper-plugin-utils" "^7.10.1" -"@babel/plugin-transform-async-to-generator@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.8.3.tgz#4308fad0d9409d71eafb9b1a6ee35f9d64b64086" - integrity sha512-imt9tFLD9ogt56Dd5CI/6XgpukMwd/fLGSrix2httihVe7LOGVPhyhMh1BU5kDM7iHD08i8uUtmV2sWaBFlHVQ== +"@babel/plugin-transform-async-to-generator@^7.10.1": + version "7.10.1" + resolved "https://registry.npm.taobao.org/@babel/plugin-transform-async-to-generator/download/@babel/plugin-transform-async-to-generator-7.10.1.tgz#e5153eb1a3e028f79194ed8a7a4bf55f862b2062" + integrity sha1-5RU+saPgKPeRlO2Kekv1X4YrIGI= dependencies: - "@babel/helper-module-imports" "^7.8.3" - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/helper-remap-async-to-generator" "^7.8.3" + "@babel/helper-module-imports" "^7.10.1" + "@babel/helper-plugin-utils" "^7.10.1" + "@babel/helper-remap-async-to-generator" "^7.10.1" -"@babel/plugin-transform-block-scoped-functions@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.8.3.tgz#437eec5b799b5852072084b3ae5ef66e8349e8a3" - integrity sha512-vo4F2OewqjbB1+yaJ7k2EJFHlTP3jR634Z9Cj9itpqNjuLXvhlVxgnjsHsdRgASR8xYDrx6onw4vW5H6We0Jmg== +"@babel/plugin-transform-block-scoped-functions@^7.10.1": + version "7.10.1" + resolved "https://registry.npm.taobao.org/@babel/plugin-transform-block-scoped-functions/download/@babel/plugin-transform-block-scoped-functions-7.10.1.tgz?cache=0&sync_timestamp=1590617713512&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fplugin-transform-block-scoped-functions%2Fdownload%2F%40babel%2Fplugin-transform-block-scoped-functions-7.10.1.tgz#146856e756d54b20fff14b819456b3e01820b85d" + integrity sha1-FGhW51bVSyD/8UuBlFaz4BgguF0= dependencies: - "@babel/helper-plugin-utils" "^7.8.3" + "@babel/helper-plugin-utils" "^7.10.1" -"@babel/plugin-transform-block-scoping@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.8.3.tgz#97d35dab66857a437c166358b91d09050c868f3a" - integrity sha512-pGnYfm7RNRgYRi7bids5bHluENHqJhrV4bCZRwc5GamaWIIs07N4rZECcmJL6ZClwjDz1GbdMZFtPs27hTB06w== +"@babel/plugin-transform-block-scoping@^7.10.1": + version "7.10.1" + resolved "https://registry.npm.taobao.org/@babel/plugin-transform-block-scoping/download/@babel/plugin-transform-block-scoping-7.10.1.tgz?cache=0&sync_timestamp=1590617719588&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fplugin-transform-block-scoping%2Fdownload%2F%40babel%2Fplugin-transform-block-scoping-7.10.1.tgz#47092d89ca345811451cd0dc5d91605982705d5e" + integrity sha1-Rwktico0WBFFHNDcXZFgWYJwXV4= dependencies: - "@babel/helper-plugin-utils" "^7.8.3" + "@babel/helper-plugin-utils" "^7.10.1" lodash "^4.17.13" -"@babel/plugin-transform-classes@^7.9.5": - version "7.9.5" - resolved "https://registry.npm.taobao.org/@babel/plugin-transform-classes/download/@babel/plugin-transform-classes-7.9.5.tgz#800597ddb8aefc2c293ed27459c1fcc935a26c2c" - integrity sha1-gAWX3biu/CwpPtJ0WcH8yTWibCw= +"@babel/plugin-transform-classes@^7.10.1": + version "7.10.1" + resolved "https://registry.npm.taobao.org/@babel/plugin-transform-classes/download/@babel/plugin-transform-classes-7.10.1.tgz#6e11dd6c4dfae70f540480a4702477ed766d733f" + integrity sha1-bhHdbE365w9UBICkcCR37XZtcz8= dependencies: - "@babel/helper-annotate-as-pure" "^7.8.3" - "@babel/helper-define-map" "^7.8.3" - "@babel/helper-function-name" "^7.9.5" - "@babel/helper-optimise-call-expression" "^7.8.3" - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/helper-replace-supers" "^7.8.6" - "@babel/helper-split-export-declaration" "^7.8.3" + "@babel/helper-annotate-as-pure" "^7.10.1" + "@babel/helper-define-map" "^7.10.1" + "@babel/helper-function-name" "^7.10.1" + "@babel/helper-optimise-call-expression" "^7.10.1" + "@babel/helper-plugin-utils" "^7.10.1" + "@babel/helper-replace-supers" "^7.10.1" + "@babel/helper-split-export-declaration" "^7.10.1" globals "^11.1.0" -"@babel/plugin-transform-computed-properties@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.8.3.tgz#96d0d28b7f7ce4eb5b120bb2e0e943343c86f81b" - integrity sha512-O5hiIpSyOGdrQZRQ2ccwtTVkgUDBBiCuK//4RJ6UfePllUTCENOzKxfh6ulckXKc0DixTFLCfb2HVkNA7aDpzA== +"@babel/plugin-transform-computed-properties@^7.10.1": + version "7.10.1" + resolved "https://registry.npm.taobao.org/@babel/plugin-transform-computed-properties/download/@babel/plugin-transform-computed-properties-7.10.1.tgz?cache=0&sync_timestamp=1590617359252&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fplugin-transform-computed-properties%2Fdownload%2F%40babel%2Fplugin-transform-computed-properties-7.10.1.tgz#59aa399064429d64dce5cf76ef9b90b7245ebd07" + integrity sha1-Wao5kGRCnWTc5c9275uQtyRevQc= dependencies: - "@babel/helper-plugin-utils" "^7.8.3" + "@babel/helper-plugin-utils" "^7.10.1" -"@babel/plugin-transform-destructuring@^7.9.5": - version "7.9.5" - resolved "https://registry.npm.taobao.org/@babel/plugin-transform-destructuring/download/@babel/plugin-transform-destructuring-7.9.5.tgz?cache=0&sync_timestamp=1586287602999&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fplugin-transform-destructuring%2Fdownload%2F%40babel%2Fplugin-transform-destructuring-7.9.5.tgz#72c97cf5f38604aea3abf3b935b0e17b1db76a50" - integrity sha1-csl89fOGBK6jq/O5NbDhex23alA= +"@babel/plugin-transform-destructuring@^7.10.1": + version "7.10.1" + resolved "https://registry.npm.taobao.org/@babel/plugin-transform-destructuring/download/@babel/plugin-transform-destructuring-7.10.1.tgz?cache=0&sync_timestamp=1590617719855&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fplugin-transform-destructuring%2Fdownload%2F%40babel%2Fplugin-transform-destructuring-7.10.1.tgz#abd58e51337815ca3a22a336b85f62b998e71907" + integrity sha1-q9WOUTN4Fco6IqM2uF9iuZjnGQc= dependencies: - "@babel/helper-plugin-utils" "^7.8.3" + "@babel/helper-plugin-utils" "^7.10.1" -"@babel/plugin-transform-dotall-regex@^7.4.4", "@babel/plugin-transform-dotall-regex@^7.8.3": +"@babel/plugin-transform-dotall-regex@^7.10.1": + version "7.10.1" + resolved "https://registry.npm.taobao.org/@babel/plugin-transform-dotall-regex/download/@babel/plugin-transform-dotall-regex-7.10.1.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fplugin-transform-dotall-regex%2Fdownload%2F%40babel%2Fplugin-transform-dotall-regex-7.10.1.tgz#920b9fec2d78bb57ebb64a644d5c2ba67cc104ee" + integrity sha1-kguf7C14u1frtkpkTVwrpnzBBO4= + dependencies: + "@babel/helper-create-regexp-features-plugin" "^7.10.1" + "@babel/helper-plugin-utils" "^7.10.1" + +"@babel/plugin-transform-dotall-regex@^7.4.4": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.8.3.tgz#c3c6ec5ee6125c6993c5cbca20dc8621a9ea7a6e" integrity sha512-kLs1j9Nn4MQoBYdRXH6AeaXMbEJFaFu/v1nQkvib6QzTj8MZI5OQzqmD83/2jEM1z0DLilra5aWO5YpyC0ALIw== @@ -496,60 +719,70 @@ "@babel/helper-create-regexp-features-plugin" "^7.8.3" "@babel/helper-plugin-utils" "^7.8.3" -"@babel/plugin-transform-duplicate-keys@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.8.3.tgz#8d12df309aa537f272899c565ea1768e286e21f1" - integrity sha512-s8dHiBUbcbSgipS4SMFuWGqCvyge5V2ZeAWzR6INTVC3Ltjig/Vw1G2Gztv0vU/hRG9X8IvKvYdoksnUfgXOEQ== +"@babel/plugin-transform-duplicate-keys@^7.10.1": + version "7.10.1" + resolved "https://registry.npm.taobao.org/@babel/plugin-transform-duplicate-keys/download/@babel/plugin-transform-duplicate-keys-7.10.1.tgz?cache=0&sync_timestamp=1590617721219&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fplugin-transform-duplicate-keys%2Fdownload%2F%40babel%2Fplugin-transform-duplicate-keys-7.10.1.tgz#c900a793beb096bc9d4d0a9d0cde19518ffc83b9" + integrity sha1-yQCnk76wlrydTQqdDN4ZUY/8g7k= dependencies: - "@babel/helper-plugin-utils" "^7.8.3" + "@babel/helper-plugin-utils" "^7.10.1" -"@babel/plugin-transform-exponentiation-operator@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.8.3.tgz#581a6d7f56970e06bf51560cd64f5e947b70d7b7" - integrity sha512-zwIpuIymb3ACcInbksHaNcR12S++0MDLKkiqXHl3AzpgdKlFNhog+z/K0+TGW+b0w5pgTq4H6IwV/WhxbGYSjQ== +"@babel/plugin-transform-exponentiation-operator@^7.10.1": + version "7.10.1" + resolved "https://registry.npm.taobao.org/@babel/plugin-transform-exponentiation-operator/download/@babel/plugin-transform-exponentiation-operator-7.10.1.tgz#279c3116756a60dd6e6f5e488ba7957db9c59eb3" + integrity sha1-J5wxFnVqYN1ub15Ii6eVfbnFnrM= dependencies: - "@babel/helper-builder-binary-assignment-operator-visitor" "^7.8.3" - "@babel/helper-plugin-utils" "^7.8.3" + "@babel/helper-builder-binary-assignment-operator-visitor" "^7.10.1" + "@babel/helper-plugin-utils" "^7.10.1" -"@babel/plugin-transform-for-of@^7.9.0": - version "7.9.0" - resolved "https://registry.npm.taobao.org/@babel/plugin-transform-for-of/download/@babel/plugin-transform-for-of-7.9.0.tgz#0f260e27d3e29cd1bb3128da5e76c761aa6c108e" - integrity sha1-DyYOJ9PinNG7MSjaXnbHYapsEI4= +"@babel/plugin-transform-for-of@^7.10.1": + version "7.10.1" + resolved "https://registry.npm.taobao.org/@babel/plugin-transform-for-of/download/@babel/plugin-transform-for-of-7.10.1.tgz?cache=0&sync_timestamp=1590617722286&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fplugin-transform-for-of%2Fdownload%2F%40babel%2Fplugin-transform-for-of-7.10.1.tgz#ff01119784eb0ee32258e8646157ba2501fcfda5" + integrity sha1-/wERl4TrDuMiWOhkYVe6JQH8/aU= dependencies: - "@babel/helper-plugin-utils" "^7.8.3" + "@babel/helper-plugin-utils" "^7.10.1" -"@babel/plugin-transform-function-name@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.8.3.tgz#279373cb27322aaad67c2683e776dfc47196ed8b" - integrity sha512-rO/OnDS78Eifbjn5Py9v8y0aR+aSYhDhqAwVfsTl0ERuMZyr05L1aFSCJnbv2mmsLkit/4ReeQ9N2BgLnOcPCQ== +"@babel/plugin-transform-function-name@^7.10.1": + version "7.10.1" + resolved "https://registry.npm.taobao.org/@babel/plugin-transform-function-name/download/@babel/plugin-transform-function-name-7.10.1.tgz#4ed46fd6e1d8fde2a2ec7b03c66d853d2c92427d" + integrity sha1-TtRv1uHY/eKi7HsDxm2FPSySQn0= dependencies: - "@babel/helper-function-name" "^7.8.3" - "@babel/helper-plugin-utils" "^7.8.3" + "@babel/helper-function-name" "^7.10.1" + "@babel/helper-plugin-utils" "^7.10.1" -"@babel/plugin-transform-literals@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-literals/-/plugin-transform-literals-7.8.3.tgz#aef239823d91994ec7b68e55193525d76dbd5dc1" - integrity sha512-3Tqf8JJ/qB7TeldGl+TT55+uQei9JfYaregDcEAyBZ7akutriFrt6C/wLYIer6OYhleVQvH/ntEhjE/xMmy10A== +"@babel/plugin-transform-literals@^7.10.1": + version "7.10.1" + resolved "https://registry.npm.taobao.org/@babel/plugin-transform-literals/download/@babel/plugin-transform-literals-7.10.1.tgz?cache=0&sync_timestamp=1590617718177&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fplugin-transform-literals%2Fdownload%2F%40babel%2Fplugin-transform-literals-7.10.1.tgz#5794f8da82846b22e4e6631ea1658bce708eb46a" + integrity sha1-V5T42oKEayLk5mMeoWWLznCOtGo= dependencies: - "@babel/helper-plugin-utils" "^7.8.3" + "@babel/helper-plugin-utils" "^7.10.1" -"@babel/plugin-transform-member-expression-literals@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-member-expression-literals/-/plugin-transform-member-expression-literals-7.8.3.tgz#963fed4b620ac7cbf6029c755424029fa3a40410" - integrity sha512-3Wk2EXhnw+rP+IDkK6BdtPKsUE5IeZ6QOGrPYvw52NwBStw9V1ZVzxgK6fSKSxqUvH9eQPR3tm3cOq79HlsKYA== +"@babel/plugin-transform-member-expression-literals@^7.10.1": + version "7.10.1" + resolved "https://registry.npm.taobao.org/@babel/plugin-transform-member-expression-literals/download/@babel/plugin-transform-member-expression-literals-7.10.1.tgz?cache=0&sync_timestamp=1590617977421&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fplugin-transform-member-expression-literals%2Fdownload%2F%40babel%2Fplugin-transform-member-expression-literals-7.10.1.tgz#90347cba31bca6f394b3f7bd95d2bbfd9fce2f39" + integrity sha1-kDR8ujG8pvOUs/e9ldK7/Z/OLzk= dependencies: - "@babel/helper-plugin-utils" "^7.8.3" + "@babel/helper-plugin-utils" "^7.10.1" -"@babel/plugin-transform-modules-amd@^7.9.6": - version "7.9.6" - resolved "https://registry.npm.taobao.org/@babel/plugin-transform-modules-amd/download/@babel/plugin-transform-modules-amd-7.9.6.tgz?cache=0&sync_timestamp=1588185810869&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fplugin-transform-modules-amd%2Fdownload%2F%40babel%2Fplugin-transform-modules-amd-7.9.6.tgz#8539ec42c153d12ea3836e0e3ac30d5aae7b258e" - integrity sha1-hTnsQsFT0S6jg24OOsMNWq57JY4= +"@babel/plugin-transform-modules-amd@^7.10.1": + version "7.10.1" + resolved "https://registry.npm.taobao.org/@babel/plugin-transform-modules-amd/download/@babel/plugin-transform-modules-amd-7.10.1.tgz#65950e8e05797ebd2fe532b96e19fc5482a1d52a" + integrity sha1-ZZUOjgV5fr0v5TK5bhn8VIKh1So= dependencies: - "@babel/helper-module-transforms" "^7.9.0" - "@babel/helper-plugin-utils" "^7.8.3" + "@babel/helper-module-transforms" "^7.10.1" + "@babel/helper-plugin-utils" "^7.10.1" babel-plugin-dynamic-import-node "^2.3.3" -"@babel/plugin-transform-modules-commonjs@^7.2.0", "@babel/plugin-transform-modules-commonjs@^7.9.6": +"@babel/plugin-transform-modules-commonjs@^7.10.1": + version "7.10.1" + resolved "https://registry.npm.taobao.org/@babel/plugin-transform-modules-commonjs/download/@babel/plugin-transform-modules-commonjs-7.10.1.tgz#d5ff4b4413ed97ffded99961056e1fb980fb9301" + integrity sha1-1f9LRBPtl//e2ZlhBW4fuYD7kwE= + dependencies: + "@babel/helper-module-transforms" "^7.10.1" + "@babel/helper-plugin-utils" "^7.10.1" + "@babel/helper-simple-access" "^7.10.1" + babel-plugin-dynamic-import-node "^2.3.3" + +"@babel/plugin-transform-modules-commonjs@^7.2.0": version "7.9.6" resolved "https://registry.npm.taobao.org/@babel/plugin-transform-modules-commonjs/download/@babel/plugin-transform-modules-commonjs-7.9.6.tgz?cache=0&sync_timestamp=1588185815494&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fplugin-transform-modules-commonjs%2Fdownload%2F%40babel%2Fplugin-transform-modules-commonjs-7.9.6.tgz#64b7474a4279ee588cacd1906695ca721687c277" integrity sha1-ZLdHSkJ57liMrNGQZpXKchaHwnc= @@ -559,23 +792,23 @@ "@babel/helper-simple-access" "^7.8.3" babel-plugin-dynamic-import-node "^2.3.3" -"@babel/plugin-transform-modules-systemjs@^7.9.6": - version "7.9.6" - resolved "https://registry.npm.taobao.org/@babel/plugin-transform-modules-systemjs/download/@babel/plugin-transform-modules-systemjs-7.9.6.tgz?cache=0&sync_timestamp=1588185766741&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fplugin-transform-modules-systemjs%2Fdownload%2F%40babel%2Fplugin-transform-modules-systemjs-7.9.6.tgz#207f1461c78a231d5337a92140e52422510d81a4" - integrity sha1-IH8UYceKIx1TN6khQOUkIlENgaQ= +"@babel/plugin-transform-modules-systemjs@^7.10.1": + version "7.10.1" + resolved "https://registry.npm.taobao.org/@babel/plugin-transform-modules-systemjs/download/@babel/plugin-transform-modules-systemjs-7.10.1.tgz#9962e4b0ac6aaf2e20431ada3d8ec72082cbffb6" + integrity sha1-mWLksKxqry4gQxraPY7HIILL/7Y= dependencies: - "@babel/helper-hoist-variables" "^7.8.3" - "@babel/helper-module-transforms" "^7.9.0" - "@babel/helper-plugin-utils" "^7.8.3" + "@babel/helper-hoist-variables" "^7.10.1" + "@babel/helper-module-transforms" "^7.10.1" + "@babel/helper-plugin-utils" "^7.10.1" babel-plugin-dynamic-import-node "^2.3.3" -"@babel/plugin-transform-modules-umd@^7.9.0": - version "7.9.0" - resolved "https://registry.npm.taobao.org/@babel/plugin-transform-modules-umd/download/@babel/plugin-transform-modules-umd-7.9.0.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fplugin-transform-modules-umd%2Fdownload%2F%40babel%2Fplugin-transform-modules-umd-7.9.0.tgz#e909acae276fec280f9b821a5f38e1f08b480697" - integrity sha1-6Qmsridv7CgPm4IaXzjh8ItIBpc= +"@babel/plugin-transform-modules-umd@^7.10.1": + version "7.10.1" + resolved "https://registry.npm.taobao.org/@babel/plugin-transform-modules-umd/download/@babel/plugin-transform-modules-umd-7.10.1.tgz#ea080911ffc6eb21840a5197a39ede4ee67b1595" + integrity sha1-6ggJEf/G6yGEClGXo57eTuZ7FZU= dependencies: - "@babel/helper-module-transforms" "^7.9.0" - "@babel/helper-plugin-utils" "^7.8.3" + "@babel/helper-module-transforms" "^7.10.1" + "@babel/helper-plugin-utils" "^7.10.1" "@babel/plugin-transform-named-capturing-groups-regex@^7.8.3": version "7.8.3" @@ -584,182 +817,193 @@ dependencies: "@babel/helper-create-regexp-features-plugin" "^7.8.3" -"@babel/plugin-transform-new-target@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.8.3.tgz#60cc2ae66d85c95ab540eb34babb6434d4c70c43" - integrity sha512-QuSGysibQpyxexRyui2vca+Cmbljo8bcRckgzYV4kRIsHpVeyeC3JDO63pY+xFZ6bWOBn7pfKZTqV4o/ix9sFw== +"@babel/plugin-transform-new-target@^7.10.1": + version "7.10.1" + resolved "https://registry.npm.taobao.org/@babel/plugin-transform-new-target/download/@babel/plugin-transform-new-target-7.10.1.tgz#6ee41a5e648da7632e22b6fb54012e87f612f324" + integrity sha1-buQaXmSNp2MuIrb7VAEuh/YS8yQ= dependencies: - "@babel/helper-plugin-utils" "^7.8.3" + "@babel/helper-plugin-utils" "^7.10.1" -"@babel/plugin-transform-object-assign@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-object-assign/-/plugin-transform-object-assign-7.8.3.tgz#dc3b8dd50ef03837868a37b7df791f64f288538e" - integrity sha512-i3LuN8tPDqUCRFu3dkzF2r1Nx0jp4scxtm7JxtIqI9he9Vk20YD+/zshdzR9JLsoBMlJlNR82a62vQExNEVx/Q== +"@babel/plugin-transform-object-assign@^7.10.1": + version "7.10.1" + resolved "https://registry.npm.taobao.org/@babel/plugin-transform-object-assign/download/@babel/plugin-transform-object-assign-7.10.1.tgz#e563cb225a4812c072a415f3216f53326195b004" + integrity sha1-5WPLIlpIEsBypBXzIW9TMmGVsAQ= dependencies: - "@babel/helper-plugin-utils" "^7.8.3" + "@babel/helper-plugin-utils" "^7.10.1" -"@babel/plugin-transform-object-super@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.8.3.tgz#ebb6a1e7a86ffa96858bd6ac0102d65944261725" - integrity sha512-57FXk+gItG/GejofIyLIgBKTas4+pEU47IXKDBWFTxdPd7F80H8zybyAY7UoblVfBhBGs2EKM+bJUu2+iUYPDQ== +"@babel/plugin-transform-object-super@^7.10.1": + version "7.10.1" + resolved "https://registry.npm.taobao.org/@babel/plugin-transform-object-super/download/@babel/plugin-transform-object-super-7.10.1.tgz#2e3016b0adbf262983bf0d5121d676a5ed9c4fde" + integrity sha1-LjAWsK2/JimDvw1RIdZ2pe2cT94= dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/helper-replace-supers" "^7.8.3" + "@babel/helper-plugin-utils" "^7.10.1" + "@babel/helper-replace-supers" "^7.10.1" -"@babel/plugin-transform-parameters@^7.9.5": - version "7.9.5" - resolved "https://registry.npm.taobao.org/@babel/plugin-transform-parameters/download/@babel/plugin-transform-parameters-7.9.5.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fplugin-transform-parameters%2Fdownload%2F%40babel%2Fplugin-transform-parameters-7.9.5.tgz#173b265746f5e15b2afe527eeda65b73623a0795" - integrity sha1-FzsmV0b14Vsq/lJ+7aZbc2I6B5U= +"@babel/plugin-transform-parameters@^7.10.1": + version "7.10.1" + resolved "https://registry.npm.taobao.org/@babel/plugin-transform-parameters/download/@babel/plugin-transform-parameters-7.10.1.tgz#b25938a3c5fae0354144a720b07b32766f683ddd" + integrity sha1-slk4o8X64DVBRKcgsHsydm9oPd0= dependencies: - "@babel/helper-get-function-arity" "^7.8.3" - "@babel/helper-plugin-utils" "^7.8.3" + "@babel/helper-get-function-arity" "^7.10.1" + "@babel/helper-plugin-utils" "^7.10.1" -"@babel/plugin-transform-property-literals@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.8.3.tgz#33194300d8539c1ed28c62ad5087ba3807b98263" - integrity sha512-uGiiXAZMqEoQhRWMK17VospMZh5sXWg+dlh2soffpkAl96KAm+WZuJfa6lcELotSRmooLqg0MWdH6UUq85nmmg== +"@babel/plugin-transform-property-literals@^7.10.1": + version "7.10.1" + resolved "https://registry.npm.taobao.org/@babel/plugin-transform-property-literals/download/@babel/plugin-transform-property-literals-7.10.1.tgz?cache=0&sync_timestamp=1590617977570&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fplugin-transform-property-literals%2Fdownload%2F%40babel%2Fplugin-transform-property-literals-7.10.1.tgz#cffc7315219230ed81dc53e4625bf86815b6050d" + integrity sha1-z/xzFSGSMO2B3FPkYlv4aBW2BQ0= dependencies: - "@babel/helper-plugin-utils" "^7.8.3" + "@babel/helper-plugin-utils" "^7.10.1" -"@babel/plugin-transform-regenerator@^7.8.7": - version "7.8.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.8.7.tgz#5e46a0dca2bee1ad8285eb0527e6abc9c37672f8" - integrity sha512-TIg+gAl4Z0a3WmD3mbYSk+J9ZUH6n/Yc57rtKRnlA/7rcCvpekHXe0CMZHP1gYp7/KLe9GHTuIba0vXmls6drA== +"@babel/plugin-transform-regenerator@^7.10.1": + version "7.10.1" + resolved "https://registry.npm.taobao.org/@babel/plugin-transform-regenerator/download/@babel/plugin-transform-regenerator-7.10.1.tgz?cache=0&sync_timestamp=1590617710070&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fplugin-transform-regenerator%2Fdownload%2F%40babel%2Fplugin-transform-regenerator-7.10.1.tgz#10e175cbe7bdb63cc9b39f9b3f823c5c7c5c5490" + integrity sha1-EOF1y+e9tjzJs5+bP4I8XHxcVJA= dependencies: regenerator-transform "^0.14.2" -"@babel/plugin-transform-reserved-words@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-reserved-words/-/plugin-transform-reserved-words-7.8.3.tgz#9a0635ac4e665d29b162837dd3cc50745dfdf1f5" - integrity sha512-mwMxcycN3omKFDjDQUl+8zyMsBfjRFr0Zn/64I41pmjv4NJuqcYlEtezwYtw9TFd9WR1vN5kiM+O0gMZzO6L0A== +"@babel/plugin-transform-reserved-words@^7.10.1": + version "7.10.1" + resolved "https://registry.npm.taobao.org/@babel/plugin-transform-reserved-words/download/@babel/plugin-transform-reserved-words-7.10.1.tgz?cache=0&sync_timestamp=1590617979776&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fplugin-transform-reserved-words%2Fdownload%2F%40babel%2Fplugin-transform-reserved-words-7.10.1.tgz#0fc1027312b4d1c3276a57890c8ae3bcc0b64a86" + integrity sha1-D8ECcxK00cMnaleJDIrjvMC2SoY= dependencies: - "@babel/helper-plugin-utils" "^7.8.3" + "@babel/helper-plugin-utils" "^7.10.1" -"@babel/plugin-transform-runtime@^7.9.6": - version "7.9.6" - resolved "https://registry.npm.taobao.org/@babel/plugin-transform-runtime/download/@babel/plugin-transform-runtime-7.9.6.tgz#3ba804438ad0d880a17bca5eaa0cdf1edeedb2fd" - integrity sha1-O6gEQ4rQ2IChe8peqgzfHt7tsv0= +"@babel/plugin-transform-runtime@^7.10.1": + version "7.10.1" + resolved "https://registry.npm.taobao.org/@babel/plugin-transform-runtime/download/@babel/plugin-transform-runtime-7.10.1.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fplugin-transform-runtime%2Fdownload%2F%40babel%2Fplugin-transform-runtime-7.10.1.tgz#fd1887f749637fb2ed86dc278e79eb41df37f4b1" + integrity sha1-/RiH90ljf7LthtwnjnnrQd839LE= dependencies: - "@babel/helper-module-imports" "^7.8.3" - "@babel/helper-plugin-utils" "^7.8.3" + "@babel/helper-module-imports" "^7.10.1" + "@babel/helper-plugin-utils" "^7.10.1" resolve "^1.8.1" semver "^5.5.1" -"@babel/plugin-transform-shorthand-properties@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.8.3.tgz#28545216e023a832d4d3a1185ed492bcfeac08c8" - integrity sha512-I9DI6Odg0JJwxCHzbzW08ggMdCezoWcuQRz3ptdudgwaHxTjxw5HgdFJmZIkIMlRymL6YiZcped4TTCB0JcC8w== +"@babel/plugin-transform-shorthand-properties@^7.10.1": + version "7.10.1" + resolved "https://registry.npm.taobao.org/@babel/plugin-transform-shorthand-properties/download/@babel/plugin-transform-shorthand-properties-7.10.1.tgz#e8b54f238a1ccbae482c4dce946180ae7b3143f3" + integrity sha1-6LVPI4ocy65ILE3OlGGArnsxQ/M= dependencies: - "@babel/helper-plugin-utils" "^7.8.3" + "@babel/helper-plugin-utils" "^7.10.1" -"@babel/plugin-transform-spread@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-spread/-/plugin-transform-spread-7.8.3.tgz#9c8ffe8170fdfb88b114ecb920b82fb6e95fe5e8" - integrity sha512-CkuTU9mbmAoFOI1tklFWYYbzX5qCIZVXPVy0jpXgGwkplCndQAa58s2jr66fTeQnA64bDox0HL4U56CFYoyC7g== +"@babel/plugin-transform-spread@^7.10.1": + version "7.10.1" + resolved "https://registry.npm.taobao.org/@babel/plugin-transform-spread/download/@babel/plugin-transform-spread-7.10.1.tgz#0c6d618a0c4461a274418460a28c9ccf5239a7c8" + integrity sha1-DG1higxEYaJ0QYRgooycz1I5p8g= dependencies: - "@babel/helper-plugin-utils" "^7.8.3" + "@babel/helper-plugin-utils" "^7.10.1" -"@babel/plugin-transform-sticky-regex@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.8.3.tgz#be7a1290f81dae767475452199e1f76d6175b100" - integrity sha512-9Spq0vGCD5Bb4Z/ZXXSK5wbbLFMG085qd2vhL1JYu1WcQ5bXqZBAYRzU1d+p79GcHs2szYv5pVQCX13QgldaWw== +"@babel/plugin-transform-sticky-regex@^7.10.1": + version "7.10.1" + resolved "https://registry.npm.taobao.org/@babel/plugin-transform-sticky-regex/download/@babel/plugin-transform-sticky-regex-7.10.1.tgz?cache=0&sync_timestamp=1590617726481&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fplugin-transform-sticky-regex%2Fdownload%2F%40babel%2Fplugin-transform-sticky-regex-7.10.1.tgz#90fc89b7526228bed9842cff3588270a7a393b00" + integrity sha1-kPyJt1JiKL7ZhCz/NYgnCno5OwA= dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/helper-regex" "^7.8.3" + "@babel/helper-plugin-utils" "^7.10.1" + "@babel/helper-regex" "^7.10.1" -"@babel/plugin-transform-template-literals@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.8.3.tgz#7bfa4732b455ea6a43130adc0ba767ec0e402a80" - integrity sha512-820QBtykIQOLFT8NZOcTRJ1UNuztIELe4p9DCgvj4NK+PwluSJ49we7s9FB1HIGNIYT7wFUJ0ar2QpCDj0escQ== +"@babel/plugin-transform-template-literals@^7.10.1": + version "7.10.1" + resolved "https://registry.npm.taobao.org/@babel/plugin-transform-template-literals/download/@babel/plugin-transform-template-literals-7.10.1.tgz#914c7b7f4752c570ea00553b4284dad8070e8628" + integrity sha1-kUx7f0dSxXDqAFU7QoTa2AcOhig= dependencies: - "@babel/helper-annotate-as-pure" "^7.8.3" - "@babel/helper-plugin-utils" "^7.8.3" + "@babel/helper-annotate-as-pure" "^7.10.1" + "@babel/helper-plugin-utils" "^7.10.1" -"@babel/plugin-transform-typeof-symbol@^7.8.4": - version "7.8.4" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.8.4.tgz#ede4062315ce0aaf8a657a920858f1a2f35fc412" - integrity sha512-2QKyfjGdvuNfHsb7qnBBlKclbD4CfshH2KvDabiijLMGXPHJXGxtDzwIF7bQP+T0ysw8fYTtxPafgfs/c1Lrqg== +"@babel/plugin-transform-typeof-symbol@^7.10.1": + version "7.10.1" + resolved "https://registry.npm.taobao.org/@babel/plugin-transform-typeof-symbol/download/@babel/plugin-transform-typeof-symbol-7.10.1.tgz#60c0239b69965d166b80a84de7315c1bc7e0bb0e" + integrity sha1-YMAjm2mWXRZrgKhN5zFcG8fguw4= dependencies: - "@babel/helper-plugin-utils" "^7.8.3" + "@babel/helper-plugin-utils" "^7.10.1" -"@babel/plugin-transform-typescript@^7.9.0": - version "7.9.4" - resolved "https://registry.npm.taobao.org/@babel/plugin-transform-typescript/download/@babel/plugin-transform-typescript-7.9.4.tgz?cache=0&sync_timestamp=1585038711704&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fplugin-transform-typescript%2Fdownload%2F%40babel%2Fplugin-transform-typescript-7.9.4.tgz#4bb4dde4f10bbf2d787fce9707fb09b483e33359" - integrity sha1-S7Td5PELvy14f86XB/sJtIPjM1k= +"@babel/plugin-transform-typescript@^7.10.1": + version "7.10.1" + resolved "https://registry.npm.taobao.org/@babel/plugin-transform-typescript/download/@babel/plugin-transform-typescript-7.10.1.tgz?cache=0&sync_timestamp=1590617799024&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fplugin-transform-typescript%2Fdownload%2F%40babel%2Fplugin-transform-typescript-7.10.1.tgz#2c54daea231f602468686d9faa76f182a94507a6" + integrity sha1-LFTa6iMfYCRoaG2fqnbxgqlFB6Y= dependencies: - "@babel/helper-create-class-features-plugin" "^7.8.3" - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/plugin-syntax-typescript" "^7.8.3" + "@babel/helper-create-class-features-plugin" "^7.10.1" + "@babel/helper-plugin-utils" "^7.10.1" + "@babel/plugin-syntax-typescript" "^7.10.1" -"@babel/plugin-transform-unicode-regex@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.8.3.tgz#0cef36e3ba73e5c57273effb182f46b91a1ecaad" - integrity sha512-+ufgJjYdmWfSQ+6NS9VGUR2ns8cjJjYbrbi11mZBTaWm+Fui/ncTLFF28Ei1okavY+xkojGr1eJxNsWYeA5aZw== +"@babel/plugin-transform-unicode-escapes@^7.10.1": + version "7.10.1" + resolved "https://registry.npm.taobao.org/@babel/plugin-transform-unicode-escapes/download/@babel/plugin-transform-unicode-escapes-7.10.1.tgz?cache=0&sync_timestamp=1590617978612&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fplugin-transform-unicode-escapes%2Fdownload%2F%40babel%2Fplugin-transform-unicode-escapes-7.10.1.tgz#add0f8483dab60570d9e03cecef6c023aa8c9940" + integrity sha1-rdD4SD2rYFcNngPOzvbAI6qMmUA= dependencies: - "@babel/helper-create-regexp-features-plugin" "^7.8.3" - "@babel/helper-plugin-utils" "^7.8.3" + "@babel/helper-plugin-utils" "^7.10.1" -"@babel/preset-env@^7.9.6": - version "7.9.6" - resolved "https://registry.npm.taobao.org/@babel/preset-env/download/@babel/preset-env-7.9.6.tgz?cache=0&sync_timestamp=1588185767229&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fpreset-env%2Fdownload%2F%40babel%2Fpreset-env-7.9.6.tgz#df063b276c6455ec6fcfc6e53aacc38da9b0aea6" - integrity sha1-3wY7J2xkVexvz8blOqzDjamwrqY= +"@babel/plugin-transform-unicode-regex@^7.10.1": + version "7.10.1" + resolved "https://registry.npm.taobao.org/@babel/plugin-transform-unicode-regex/download/@babel/plugin-transform-unicode-regex-7.10.1.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fplugin-transform-unicode-regex%2Fdownload%2F%40babel%2Fplugin-transform-unicode-regex-7.10.1.tgz#6b58f2aea7b68df37ac5025d9c88752443a6b43f" + integrity sha1-a1jyrqe2jfN6xQJdnIh1JEOmtD8= dependencies: - "@babel/compat-data" "^7.9.6" - "@babel/helper-compilation-targets" "^7.9.6" - "@babel/helper-module-imports" "^7.8.3" - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/plugin-proposal-async-generator-functions" "^7.8.3" - "@babel/plugin-proposal-dynamic-import" "^7.8.3" - "@babel/plugin-proposal-json-strings" "^7.8.3" - "@babel/plugin-proposal-nullish-coalescing-operator" "^7.8.3" - "@babel/plugin-proposal-numeric-separator" "^7.8.3" - "@babel/plugin-proposal-object-rest-spread" "^7.9.6" - "@babel/plugin-proposal-optional-catch-binding" "^7.8.3" - "@babel/plugin-proposal-optional-chaining" "^7.9.0" - "@babel/plugin-proposal-unicode-property-regex" "^7.8.3" + "@babel/helper-create-regexp-features-plugin" "^7.10.1" + "@babel/helper-plugin-utils" "^7.10.1" + +"@babel/preset-env@^7.10.1": + version "7.10.1" + resolved "https://registry.npm.taobao.org/@babel/preset-env/download/@babel/preset-env-7.10.1.tgz#099e1b76379739bdcbfab3d548dc7e7edb2ac808" + integrity sha1-CZ4bdjeXOb3L+rPVSNx+ftsqyAg= + dependencies: + "@babel/compat-data" "^7.10.1" + "@babel/helper-compilation-targets" "^7.10.1" + "@babel/helper-module-imports" "^7.10.1" + "@babel/helper-plugin-utils" "^7.10.1" + "@babel/plugin-proposal-async-generator-functions" "^7.10.1" + "@babel/plugin-proposal-class-properties" "^7.10.1" + "@babel/plugin-proposal-dynamic-import" "^7.10.1" + "@babel/plugin-proposal-json-strings" "^7.10.1" + "@babel/plugin-proposal-nullish-coalescing-operator" "^7.10.1" + "@babel/plugin-proposal-numeric-separator" "^7.10.1" + "@babel/plugin-proposal-object-rest-spread" "^7.10.1" + "@babel/plugin-proposal-optional-catch-binding" "^7.10.1" + "@babel/plugin-proposal-optional-chaining" "^7.10.1" + "@babel/plugin-proposal-private-methods" "^7.10.1" + "@babel/plugin-proposal-unicode-property-regex" "^7.10.1" "@babel/plugin-syntax-async-generators" "^7.8.0" + "@babel/plugin-syntax-class-properties" "^7.10.1" "@babel/plugin-syntax-dynamic-import" "^7.8.0" "@babel/plugin-syntax-json-strings" "^7.8.0" "@babel/plugin-syntax-nullish-coalescing-operator" "^7.8.0" - "@babel/plugin-syntax-numeric-separator" "^7.8.0" + "@babel/plugin-syntax-numeric-separator" "^7.10.1" "@babel/plugin-syntax-object-rest-spread" "^7.8.0" "@babel/plugin-syntax-optional-catch-binding" "^7.8.0" "@babel/plugin-syntax-optional-chaining" "^7.8.0" - "@babel/plugin-syntax-top-level-await" "^7.8.3" - "@babel/plugin-transform-arrow-functions" "^7.8.3" - "@babel/plugin-transform-async-to-generator" "^7.8.3" - "@babel/plugin-transform-block-scoped-functions" "^7.8.3" - "@babel/plugin-transform-block-scoping" "^7.8.3" - "@babel/plugin-transform-classes" "^7.9.5" - "@babel/plugin-transform-computed-properties" "^7.8.3" - "@babel/plugin-transform-destructuring" "^7.9.5" - "@babel/plugin-transform-dotall-regex" "^7.8.3" - "@babel/plugin-transform-duplicate-keys" "^7.8.3" - "@babel/plugin-transform-exponentiation-operator" "^7.8.3" - "@babel/plugin-transform-for-of" "^7.9.0" - "@babel/plugin-transform-function-name" "^7.8.3" - "@babel/plugin-transform-literals" "^7.8.3" - "@babel/plugin-transform-member-expression-literals" "^7.8.3" - "@babel/plugin-transform-modules-amd" "^7.9.6" - "@babel/plugin-transform-modules-commonjs" "^7.9.6" - "@babel/plugin-transform-modules-systemjs" "^7.9.6" - "@babel/plugin-transform-modules-umd" "^7.9.0" + "@babel/plugin-syntax-top-level-await" "^7.10.1" + "@babel/plugin-transform-arrow-functions" "^7.10.1" + "@babel/plugin-transform-async-to-generator" "^7.10.1" + "@babel/plugin-transform-block-scoped-functions" "^7.10.1" + "@babel/plugin-transform-block-scoping" "^7.10.1" + "@babel/plugin-transform-classes" "^7.10.1" + "@babel/plugin-transform-computed-properties" "^7.10.1" + "@babel/plugin-transform-destructuring" "^7.10.1" + "@babel/plugin-transform-dotall-regex" "^7.10.1" + "@babel/plugin-transform-duplicate-keys" "^7.10.1" + "@babel/plugin-transform-exponentiation-operator" "^7.10.1" + "@babel/plugin-transform-for-of" "^7.10.1" + "@babel/plugin-transform-function-name" "^7.10.1" + "@babel/plugin-transform-literals" "^7.10.1" + "@babel/plugin-transform-member-expression-literals" "^7.10.1" + "@babel/plugin-transform-modules-amd" "^7.10.1" + "@babel/plugin-transform-modules-commonjs" "^7.10.1" + "@babel/plugin-transform-modules-systemjs" "^7.10.1" + "@babel/plugin-transform-modules-umd" "^7.10.1" "@babel/plugin-transform-named-capturing-groups-regex" "^7.8.3" - "@babel/plugin-transform-new-target" "^7.8.3" - "@babel/plugin-transform-object-super" "^7.8.3" - "@babel/plugin-transform-parameters" "^7.9.5" - "@babel/plugin-transform-property-literals" "^7.8.3" - "@babel/plugin-transform-regenerator" "^7.8.7" - "@babel/plugin-transform-reserved-words" "^7.8.3" - "@babel/plugin-transform-shorthand-properties" "^7.8.3" - "@babel/plugin-transform-spread" "^7.8.3" - "@babel/plugin-transform-sticky-regex" "^7.8.3" - "@babel/plugin-transform-template-literals" "^7.8.3" - "@babel/plugin-transform-typeof-symbol" "^7.8.4" - "@babel/plugin-transform-unicode-regex" "^7.8.3" + "@babel/plugin-transform-new-target" "^7.10.1" + "@babel/plugin-transform-object-super" "^7.10.1" + "@babel/plugin-transform-parameters" "^7.10.1" + "@babel/plugin-transform-property-literals" "^7.10.1" + "@babel/plugin-transform-regenerator" "^7.10.1" + "@babel/plugin-transform-reserved-words" "^7.10.1" + "@babel/plugin-transform-shorthand-properties" "^7.10.1" + "@babel/plugin-transform-spread" "^7.10.1" + "@babel/plugin-transform-sticky-regex" "^7.10.1" + "@babel/plugin-transform-template-literals" "^7.10.1" + "@babel/plugin-transform-typeof-symbol" "^7.10.1" + "@babel/plugin-transform-unicode-escapes" "^7.10.1" + "@babel/plugin-transform-unicode-regex" "^7.10.1" "@babel/preset-modules" "^0.1.3" - "@babel/types" "^7.9.6" - browserslist "^4.11.1" + "@babel/types" "^7.10.1" + browserslist "^4.12.0" core-js-compat "^3.6.2" invariant "^2.2.2" levenary "^1.1.1" @@ -776,13 +1020,13 @@ "@babel/types" "^7.4.4" esutils "^2.0.2" -"@babel/preset-typescript@^7.9.0": - version "7.9.0" - resolved "https://registry.npm.taobao.org/@babel/preset-typescript/download/@babel/preset-typescript-7.9.0.tgz#87705a72b1f0d59df21c179f7c3d2ef4b16ce192" - integrity sha1-h3BacrHw1Z3yHBeffD0u9LFs4ZI= +"@babel/preset-typescript@^7.10.1": + version "7.10.1" + resolved "https://registry.npm.taobao.org/@babel/preset-typescript/download/@babel/preset-typescript-7.10.1.tgz#a8d8d9035f55b7d99a2461a0bdc506582914d07e" + integrity sha1-qNjZA19Vt9maJGGgvcUGWCkU0H4= dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/plugin-transform-typescript" "^7.9.0" + "@babel/helper-plugin-utils" "^7.10.1" + "@babel/plugin-transform-typescript" "^7.10.1" "@babel/runtime@^7.0.0", "@babel/runtime@^7.8.4", "@babel/runtime@^7.9.2": version "7.9.6" @@ -791,6 +1035,15 @@ dependencies: regenerator-runtime "^0.13.4" +"@babel/template@^7.10.1": + version "7.10.1" + resolved "https://registry.npm.taobao.org/@babel/template/download/@babel/template-7.10.1.tgz?cache=0&sync_timestamp=1590617618259&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Ftemplate%2Fdownload%2F%40babel%2Ftemplate-7.10.1.tgz#e167154a94cb5f14b28dc58f5356d2162f539811" + integrity sha1-4WcVSpTLXxSyjcWPU1bSFi9TmBE= + dependencies: + "@babel/code-frame" "^7.10.1" + "@babel/parser" "^7.10.1" + "@babel/types" "^7.10.1" + "@babel/template@^7.3.3", "@babel/template@^7.7.4", "@babel/template@^7.8.3", "@babel/template@^7.8.6": version "7.8.6" resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.8.6.tgz#86b22af15f828dfb086474f964dcc3e39c43ce2b" @@ -800,7 +1053,7 @@ "@babel/parser" "^7.8.6" "@babel/types" "^7.8.6" -"@babel/traverse@^7.1.0", "@babel/traverse@^7.7.4", "@babel/traverse@^7.8.3", "@babel/traverse@^7.8.6", "@babel/traverse@^7.9.6": +"@babel/traverse@^7.1.0", "@babel/traverse@^7.7.4", "@babel/traverse@^7.8.6", "@babel/traverse@^7.9.6": version "7.9.6" resolved "https://registry.npm.taobao.org/@babel/traverse/download/@babel/traverse-7.9.6.tgz?cache=0&sync_timestamp=1588185695166&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Ftraverse%2Fdownload%2F%40babel%2Ftraverse-7.9.6.tgz#5540d7577697bf619cc57b92aa0f1c231a94f442" integrity sha1-VUDXV3aXv2GcxXuSqg8cIxqU9EI= @@ -815,6 +1068,21 @@ globals "^11.1.0" lodash "^4.17.13" +"@babel/traverse@^7.10.1": + version "7.10.1" + resolved "https://registry.npm.taobao.org/@babel/traverse/download/@babel/traverse-7.10.1.tgz#bbcef3031e4152a6c0b50147f4958df54ca0dd27" + integrity sha1-u87zAx5BUqbAtQFH9JWN9Uyg3Sc= + dependencies: + "@babel/code-frame" "^7.10.1" + "@babel/generator" "^7.10.1" + "@babel/helper-function-name" "^7.10.1" + "@babel/helper-split-export-declaration" "^7.10.1" + "@babel/parser" "^7.10.1" + "@babel/types" "^7.10.1" + debug "^4.1.0" + globals "^11.1.0" + lodash "^4.17.13" + "@babel/types@^7.0.0", "@babel/types@^7.3.0", "@babel/types@^7.3.3", "@babel/types@^7.4.4", "@babel/types@^7.8.3", "@babel/types@^7.8.6", "@babel/types@^7.9.0", "@babel/types@^7.9.5", "@babel/types@^7.9.6": version "7.9.6" resolved "https://registry.npm.taobao.org/@babel/types/download/@babel/types-7.9.6.tgz?cache=0&sync_timestamp=1588185770735&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Ftypes%2Fdownload%2F%40babel%2Ftypes-7.9.6.tgz#2c5502b427251e9de1bd2dff95add646d95cc9f7" @@ -824,6 +1092,15 @@ lodash "^4.17.13" to-fast-properties "^2.0.0" +"@babel/types@^7.10.1": + version "7.10.1" + resolved "https://registry.npm.taobao.org/@babel/types/download/@babel/types-7.10.1.tgz?cache=0&sync_timestamp=1590644750786&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Ftypes%2Fdownload%2F%40babel%2Ftypes-7.10.1.tgz#6886724d31c8022160a7db895e6731ca33483921" + integrity sha1-aIZyTTHIAiFgp9uJXmcxyjNIOSE= + dependencies: + "@babel/helper-validator-identifier" "^7.10.1" + lodash "^4.17.13" + to-fast-properties "^2.0.0" + "@bcoe/v8-coverage@^0.2.3": version "0.2.3" resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39" @@ -1015,6 +1292,27 @@ source-map "^0.6.1" write-file-atomic "^3.0.0" +"@jest/transform@^26.0.1": + version "26.0.1" + resolved "https://registry.npm.taobao.org/@jest/transform/download/@jest/transform-26.0.1.tgz#0e3ecbb34a11cd4b2080ed0a9c4856cf0ceb0639" + integrity sha1-Dj7Ls0oRzUsggO0KnEhWzwzrBjk= + dependencies: + "@babel/core" "^7.1.0" + "@jest/types" "^26.0.1" + babel-plugin-istanbul "^6.0.0" + chalk "^4.0.0" + convert-source-map "^1.4.0" + fast-json-stable-stringify "^2.0.0" + graceful-fs "^4.2.4" + jest-haste-map "^26.0.1" + jest-regex-util "^26.0.0" + jest-util "^26.0.1" + micromatch "^4.0.2" + pirates "^4.0.1" + slash "^3.0.0" + source-map "^0.6.1" + write-file-atomic "^3.0.0" + "@jest/types@^25.5.0": version "25.5.0" resolved "https://registry.npm.taobao.org/@jest/types/download/@jest/types-25.5.0.tgz?cache=0&sync_timestamp=1588422138038&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40jest%2Ftypes%2Fdownload%2F%40jest%2Ftypes-25.5.0.tgz#4d6a4793f7b9599fc3680877b856a97dbccf2a9d" @@ -1025,6 +1323,16 @@ "@types/yargs" "^15.0.0" chalk "^3.0.0" +"@jest/types@^26.0.1": + version "26.0.1" + resolved "https://registry.npm.taobao.org/@jest/types/download/@jest/types-26.0.1.tgz?cache=0&sync_timestamp=1588675382715&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40jest%2Ftypes%2Fdownload%2F%40jest%2Ftypes-26.0.1.tgz#b78333fbd113fa7aec8d39de24f88de8686dac67" + integrity sha1-t4Mz+9ET+nrsjTneJPiN6GhtrGc= + dependencies: + "@types/istanbul-lib-coverage" "^2.0.0" + "@types/istanbul-reports" "^1.1.1" + "@types/yargs" "^15.0.0" + chalk "^4.0.0" + "@mrmlnc/readdir-enhanced@^2.2.1": version "2.2.1" resolved "https://registry.yarnpkg.com/@mrmlnc/readdir-enhanced/-/readdir-enhanced-2.2.1.tgz#524af240d1a360527b730475ecfa1344aa540dde" @@ -1118,12 +1426,12 @@ resolved "https://registry.yarnpkg.com/@octokit/plugin-request-log/-/plugin-request-log-1.0.0.tgz#eef87a431300f6148c39a7f75f8cfeb218b2547e" integrity sha512-ywoxP68aOT3zHCLgWZgwUJatiENeHE7xJzYjfz8WI0goynp96wETBF+d95b8g/uL4QmS6owPVlaxiz3wyMAzcw== -"@octokit/plugin-rest-endpoint-methods@3.8.0": - version "3.8.0" - resolved "https://registry.npm.taobao.org/@octokit/plugin-rest-endpoint-methods/download/@octokit/plugin-rest-endpoint-methods-3.8.0.tgz#649fa2f2e5104b015e1f60076958d69eba281a19" - integrity sha1-ZJ+i8uUQSwFeH2AHaVjWnrooGhk= +"@octokit/plugin-rest-endpoint-methods@3.11.0": + version "3.11.0" + resolved "https://registry.npm.taobao.org/@octokit/plugin-rest-endpoint-methods/download/@octokit/plugin-rest-endpoint-methods-3.11.0.tgz#96e69d7904bcbb6172be2bc1c70757ff1377fbfe" + integrity sha1-luadeQS8u2FyvivBxwdX/xN3+/4= dependencies: - "@octokit/types" "^2.12.1" + "@octokit/types" "^2.16.0" deprecation "^2.3.1" "@octokit/request-error@^1.0.1": @@ -1149,15 +1457,15 @@ once "^1.4.0" universal-user-agent "^5.0.0" -"@octokit/rest@17.6.0": - version "17.6.0" - resolved "https://registry.npm.taobao.org/@octokit/rest/download/@octokit/rest-17.6.0.tgz#91ba53bd3ab8f989030c8b018a8ccbcf87be0f0a" - integrity sha1-kbpTvTq4+YkDDIsBiozLz4e+Dwo= +"@octokit/rest@17.9.0": + version "17.9.0" + resolved "https://registry.npm.taobao.org/@octokit/rest/download/@octokit/rest-17.9.0.tgz#48d20196eb3dbe1cb507d0e46e01d17c24cc3d0e" + integrity sha1-SNIBlus9vhy1B9DkbgHRfCTMPQ4= dependencies: "@octokit/core" "^2.4.3" "@octokit/plugin-paginate-rest" "^2.2.0" "@octokit/plugin-request-log" "^1.0.0" - "@octokit/plugin-rest-endpoint-methods" "3.8.0" + "@octokit/plugin-rest-endpoint-methods" "3.11.0" "@octokit/types@^2.0.0", "@octokit/types@^2.12.1": version "2.12.2" @@ -1166,6 +1474,13 @@ dependencies: "@types/node" ">= 8" +"@octokit/types@^2.16.0": + version "2.16.2" + resolved "https://registry.npm.taobao.org/@octokit/types/download/@octokit/types-2.16.2.tgz?cache=0&sync_timestamp=1590387414021&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40octokit%2Ftypes%2Fdownload%2F%40octokit%2Ftypes-2.16.2.tgz#4c5f8da3c6fecf3da1811aef678fda03edac35d2" + integrity sha1-TF+No8b+zz2hgRrvZ4/aA+2sNdI= + dependencies: + "@types/node" ">= 8" + "@samverschueren/stream-to-observable@^0.3.0": version "0.3.0" resolved "https://registry.yarnpkg.com/@samverschueren/stream-to-observable/-/stream-to-observable-0.3.0.tgz#ecdf48d532c58ea477acfcab80348424f8d0662f" @@ -1178,7 +1493,7 @@ resolved "https://registry.yarnpkg.com/@sindresorhus/is/-/is-0.14.0.tgz#9fb3a3cf3132328151f353de4632e01e52102bea" integrity sha512-9NET910DNaIPngYnLLPeg+Ogzqsi9uM4mSboU5y6p8S5DzMTVEsJZrawi+BoDNUVBa2DhJqQYUFvMDfgU062LQ== -"@sindresorhus/is@^2.1.0": +"@sindresorhus/is@^2.1.1": version "2.1.1" resolved "https://registry.npm.taobao.org/@sindresorhus/is/download/@sindresorhus/is-2.1.1.tgz#ceff6a28a5b4867c2dd4a1ba513de278ccbe8bb1" integrity sha1-zv9qKKW0hnwt1KG6UT3ieMy+i7E= @@ -1212,10 +1527,10 @@ dependencies: defer-to-connect "^1.0.1" -"@szmarczak/http-timer@^4.0.0": +"@szmarczak/http-timer@^4.0.5": version "4.0.5" - resolved "https://registry.yarnpkg.com/@szmarczak/http-timer/-/http-timer-4.0.5.tgz#bfbd50211e9dfa51ba07da58a14cdfd333205152" - integrity sha512-PyRA9sm1Yayuj5OIoJ1hGt2YISX45w9WcFbh6ddT0Z/0yaFxOtGLInr4jUfU1EAFVs0Yfyfev4RNwBlUaHdlDQ== + resolved "https://registry.npm.taobao.org/@szmarczak/http-timer/download/@szmarczak/http-timer-4.0.5.tgz#bfbd50211e9dfa51ba07da58a14cdfd333205152" + integrity sha1-v71QIR6d+lG6B9pYoUzf0zMgUVI= dependencies: defer-to-connect "^2.0.0" @@ -1327,10 +1642,10 @@ "@types/express-serve-static-core" "*" "@types/serve-static" "*" -"@types/fs-extra@^8.1.0": - version "8.1.0" - resolved "https://registry.yarnpkg.com/@types/fs-extra/-/fs-extra-8.1.0.tgz#1114834b53c3914806cd03b3304b37b3bd221a4d" - integrity sha512-UoOfVEzAUpeSPmjm7h1uk5MH6KZma2z2O7a75onTGjnNvAvMVrPzPL/vBbT65iIGHWj6rokwfmYcmxmlSf2uwg== +"@types/fs-extra@^9.0.1": + version "9.0.1" + resolved "https://registry.npm.taobao.org/@types/fs-extra/download/@types/fs-extra-9.0.1.tgz?cache=0&sync_timestamp=1589912899489&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40types%2Ffs-extra%2Fdownload%2F%40types%2Ffs-extra-9.0.1.tgz#91c8fc4c51f6d5dbe44c2ca9ab09310bd00c7918" + integrity sha1-kcj8TFH21dvkTCypqwkxC9AMeRg= dependencies: "@types/node" "*" @@ -1396,10 +1711,10 @@ "@types/istanbul-lib-coverage" "*" "@types/istanbul-lib-report" "*" -"@types/jest@^25.2.1": - version "25.2.1" - resolved "https://registry.npm.taobao.org/@types/jest/download/@types/jest-25.2.1.tgz#9544cd438607955381c1bdbdb97767a249297db5" - integrity sha1-lUTNQ4YHlVOBwb29uXdnokkpfbU= +"@types/jest@^25.2.3": + version "25.2.3" + resolved "https://registry.npm.taobao.org/@types/jest/download/@types/jest-25.2.3.tgz#33d27e4c4716caae4eced355097a47ad363fdcaf" + integrity sha1-M9J+TEcWyq5OztNVCXpHrTY/3K8= dependencies: jest-diff "^25.2.1" pretty-format "^25.2.1" @@ -1416,10 +1731,10 @@ dependencies: "@types/node" "*" -"@types/lodash@^4.14.150": - version "4.14.150" - resolved "https://registry.npm.taobao.org/@types/lodash/download/@types/lodash-4.14.150.tgz?cache=0&sync_timestamp=1588200550493&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40types%2Flodash%2Fdownload%2F%40types%2Flodash-4.14.150.tgz#649fe44684c3f1fcb6164d943c5a61977e8cf0bd" - integrity sha1-ZJ/kRoTD8fy2Fk2UPFphl36M8L0= +"@types/lodash@^4.14.153": + version "4.14.153" + resolved "https://registry.npm.taobao.org/@types/lodash/download/@types/lodash-4.14.153.tgz#5cb7dded0649f1df97938ac5ffc4f134e9e9df98" + integrity sha1-XLfd7QZJ8d+Xk4rF/8TxNOnp35g= "@types/mime@*": version "2.0.1" @@ -1527,10 +1842,10 @@ "@types/unist" "*" "@types/vfile-message" "*" -"@types/webpack-dev-server@^3.10.1": - version "3.10.1" - resolved "https://registry.npm.taobao.org/@types/webpack-dev-server/download/@types/webpack-dev-server-3.10.1.tgz#93b7133cc9dab1ca1b76659f5ef8b763ad54c28a" - integrity sha1-k7cTPMnascobdmWfXvi3Y61Uwoo= +"@types/webpack-dev-server@^3.11.0": + version "3.11.0" + resolved "https://registry.npm.taobao.org/@types/webpack-dev-server/download/@types/webpack-dev-server-3.11.0.tgz#bcc3b85e7dc6ac2db25330610513f2228c2fcfb2" + integrity sha1-vMO4Xn3GrC2yUzBhBRPyIowvz7I= dependencies: "@types/connect-history-api-fallback" "*" "@types/express" "*" @@ -1554,7 +1869,7 @@ "@types/source-list-map" "*" source-map "^0.6.1" -"@types/webpack@*", "@types/webpack@^4.41.12", "@types/webpack@^4.41.8": +"@types/webpack@*", "@types/webpack@^4.41.8": version "4.41.12" resolved "https://registry.npm.taobao.org/@types/webpack/download/@types/webpack-4.41.12.tgz?cache=0&sync_timestamp=1588202205378&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40types%2Fwebpack%2Fdownload%2F%40types%2Fwebpack-4.41.12.tgz#0386ee2a2814368e2f2397abb036c0bf173ff6c3" integrity sha1-A4buKigUNo4vI5ersDbAvxc/9sM= @@ -1566,6 +1881,18 @@ "@types/webpack-sources" "*" source-map "^0.6.0" +"@types/webpack@^4.41.13": + version "4.41.13" + resolved "https://registry.npm.taobao.org/@types/webpack/download/@types/webpack-4.41.13.tgz#988d114c8913d039b8a0e0502a7fe4f1f84f3d5e" + integrity sha1-mI0RTIkT0Dm4oOBQKn/k8fhPPV4= + dependencies: + "@types/anymatch" "*" + "@types/node" "*" + "@types/tapable" "*" + "@types/uglify-js" "*" + "@types/webpack-sources" "*" + source-map "^0.6.0" + "@types/yargs-parser@*": version "15.0.0" resolved "https://registry.yarnpkg.com/@types/yargs-parser/-/yargs-parser-15.0.0.tgz#cb3f9f741869e20cce330ffbeb9271590483882d" @@ -2211,6 +2538,11 @@ arrify@^1.0.1: resolved "https://registry.yarnpkg.com/arrify/-/arrify-1.0.1.tgz#898508da2226f380df904728456849c1501a4b0d" integrity sha1-iYUI2iIm84DfkEcoRWhJwVAaSw0= +arrify@^2.0.1: + version "2.0.1" + resolved "https://registry.npm.taobao.org/arrify/download/arrify-2.0.1.tgz#c9655e9331e0abcd588d2a7cad7e9956f66701fa" + integrity sha1-yWVekzHgq81YjSp8rX6ZVvZnAfo= + asap@~2.0.3: version "2.0.6" resolved "https://registry.yarnpkg.com/asap/-/asap-2.0.6.tgz#e50347611d7e690943208bbdafebcbc2fb866d46" @@ -2312,6 +2644,19 @@ autoprefixer@^9.0.0, autoprefixer@^9.7.6: postcss "^7.0.27" postcss-value-parser "^4.0.3" +autoprefixer@^9.8.0: + version "9.8.0" + resolved "https://registry.npm.taobao.org/autoprefixer/download/autoprefixer-9.8.0.tgz#68e2d2bef7ba4c3a65436f662d0a56a741e56511" + integrity sha1-aOLSvve6TDplQ29mLQpWp0HlZRE= + dependencies: + browserslist "^4.12.0" + caniuse-lite "^1.0.30001061" + chalk "^2.4.2" + normalize-range "^0.1.2" + num2fraction "^1.2.2" + postcss "^7.0.30" + postcss-value-parser "^4.1.0" + aws-sign2@~0.7.0: version "0.7.0" resolved "https://registry.yarnpkg.com/aws-sign2/-/aws-sign2-0.7.0.tgz#b46e890934a9591f2d2f6f86d7e6a9f1b3fe76a8" @@ -2336,6 +2681,20 @@ babel-jest@^25.5.1: graceful-fs "^4.2.4" slash "^3.0.0" +babel-jest@^26.0.1: + version "26.0.1" + resolved "https://registry.npm.taobao.org/babel-jest/download/babel-jest-26.0.1.tgz#450139ce4b6c17174b136425bda91885c397bc46" + integrity sha1-RQE5zktsFxdLE2QlvakYhcOXvEY= + dependencies: + "@jest/transform" "^26.0.1" + "@jest/types" "^26.0.1" + "@types/babel__core" "^7.1.7" + babel-plugin-istanbul "^6.0.0" + babel-preset-jest "^26.0.0" + chalk "^4.0.0" + graceful-fs "^4.2.4" + slash "^3.0.0" + babel-loader@^8.1.0: version "8.1.0" resolved "https://registry.npm.taobao.org/babel-loader/download/babel-loader-8.1.0.tgz#c611d5112bd5209abe8b9fa84c3e4da25275f1c3" @@ -2382,6 +2741,15 @@ babel-plugin-jest-hoist@^25.5.0: "@babel/types" "^7.3.3" "@types/babel__traverse" "^7.0.6" +babel-plugin-jest-hoist@^26.0.0: + version "26.0.0" + resolved "https://registry.npm.taobao.org/babel-plugin-jest-hoist/download/babel-plugin-jest-hoist-26.0.0.tgz?cache=0&sync_timestamp=1588614907530&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fbabel-plugin-jest-hoist%2Fdownload%2Fbabel-plugin-jest-hoist-26.0.0.tgz#fd1d35f95cf8849fc65cb01b5e58aedd710b34a8" + integrity sha1-/R01+Vz4hJ/GXLAbXliu3XELNKg= + dependencies: + "@babel/template" "^7.3.3" + "@babel/types" "^7.3.3" + "@types/babel__traverse" "^7.0.6" + babel-preset-current-node-syntax@^0.1.2: version "0.1.2" resolved "https://registry.npm.taobao.org/babel-preset-current-node-syntax/download/babel-preset-current-node-syntax-0.1.2.tgz#fb4a4c51fe38ca60fede1dc74ab35eb843cb41d6" @@ -2406,6 +2774,14 @@ babel-preset-jest@^25.5.0: babel-plugin-jest-hoist "^25.5.0" babel-preset-current-node-syntax "^0.1.2" +babel-preset-jest@^26.0.0: + version "26.0.0" + resolved "https://registry.npm.taobao.org/babel-preset-jest/download/babel-preset-jest-26.0.0.tgz#1eac82f513ad36c4db2e9263d7c485c825b1faa6" + integrity sha1-HqyC9ROtNsTbLpJj18SFyCWx+qY= + dependencies: + babel-plugin-jest-hoist "^26.0.0" + babel-preset-current-node-syntax "^0.1.2" + bail@^1.0.0: version "1.0.5" resolved "https://registry.yarnpkg.com/bail/-/bail-1.0.5.tgz#b6fa133404a392cbc1f8c4bf63f5953351e7a776" @@ -2647,6 +3023,16 @@ browserslist@^4.11.1, browserslist@^4.8.3: node-releases "^1.1.53" pkg-up "^2.0.0" +browserslist@^4.12.0: + version "4.12.0" + resolved "https://registry.npm.taobao.org/browserslist/download/browserslist-4.12.0.tgz#06c6d5715a1ede6c51fc39ff67fd647f740b656d" + integrity sha1-BsbVcVoe3mxR/Dn/Z/1kf3QLZW0= + dependencies: + caniuse-lite "^1.0.30001043" + electron-to-chromium "^1.3.413" + node-releases "^1.1.53" + pkg-up "^2.0.0" + bs-logger@0.x: version "0.2.6" resolved "https://registry.yarnpkg.com/bs-logger/-/bs-logger-0.2.6.tgz#eb7d365307a72cf974cc6cda76b68354ad336bd8" @@ -2753,10 +3139,10 @@ cache-loader@^4.1.0: neo-async "^2.6.1" schema-utils "^2.0.0" -cacheable-lookup@^4.1.1: - version "4.2.2" - resolved "https://registry.npm.taobao.org/cacheable-lookup/download/cacheable-lookup-4.2.2.tgz#7fee1d25d9902382a6b8966c164349977168ed4f" - integrity sha1-f+4dJdmQI4KmuJZsFkNJl3Fo7U8= +cacheable-lookup@^5.0.3: + version "5.0.3" + resolved "https://registry.npm.taobao.org/cacheable-lookup/download/cacheable-lookup-5.0.3.tgz#049fdc59dffdd4fc285e8f4f82936591bd59fec3" + integrity sha1-BJ/cWd/91PwoXo9PgpNlkb1Z/sM= cacheable-request@^6.0.0: version "6.1.0" @@ -2838,10 +3224,10 @@ camelcase-keys@^4.0.0: map-obj "^2.0.0" quick-lru "^1.0.0" -camelcase-keys@^6.1.1: - version "6.2.1" - resolved "https://registry.yarnpkg.com/camelcase-keys/-/camelcase-keys-6.2.1.tgz#cd3e2d2d7db767aa3f247e4c2df93b4661008945" - integrity sha512-BPCNVH56RVIxQQIXskp5tLQXUNGQ6sXr7iCv1FHDt81xBOQ/1r6H8SPxf19InVP6DexWar4s87q9thfuk8X9HA== +camelcase-keys@^6.2.2: + version "6.2.2" + resolved "https://registry.npm.taobao.org/camelcase-keys/download/camelcase-keys-6.2.2.tgz#5e755d6ba51aa223ec7d3d52f25778210f9dc3c0" + integrity sha1-XnVda6UaoiPsfT1S8ld4IQ+dw8A= dependencies: camelcase "^5.3.1" map-obj "^4.0.0" @@ -2862,11 +3248,21 @@ camelcase@^5.0.0, camelcase@^5.3.1: resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-5.3.1.tgz#e3c9b31569e106811df242f715725a1f4c494320" integrity sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg== +camelcase@^6.0.0: + version "6.0.0" + resolved "https://registry.npm.taobao.org/camelcase/download/camelcase-6.0.0.tgz#5259f7c30e35e278f1bdc2a4d91230b37cad981e" + integrity sha1-Uln3ww414njxvcKk2RIws3ytmB4= + caniuse-lite@^1.0.30001038, caniuse-lite@^1.0.30001039: version "1.0.30001040" resolved "https://registry.npm.taobao.org/caniuse-lite/download/caniuse-lite-1.0.30001040.tgz#103fc8e6eb1d7397e95134cd0e996743353d58ea" integrity sha1-ED/I5usdc5fpUTTNDplnQzU9WOo= +caniuse-lite@^1.0.30001043, caniuse-lite@^1.0.30001061: + version "1.0.30001066" + resolved "https://registry.npm.taobao.org/caniuse-lite/download/caniuse-lite-1.0.30001066.tgz#0a8a58a10108f2b9bf38e7b65c237b12fd9c5f04" + integrity sha1-CopYoQEI8rm/OOe2XCN7Ev2cXwQ= + capture-exit@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/capture-exit/-/capture-exit-2.0.0.tgz#fb953bfaebeb781f62898239dabb426d08a509a4" @@ -3042,7 +3438,7 @@ cli-spinners@^2.2.0: resolved "https://registry.yarnpkg.com/cli-spinners/-/cli-spinners-2.2.0.tgz#e8b988d9206c692302d8ee834e7a85c0144d8f77" integrity sha512-tgU3fKwzYjiLEQgPMD9Jt+JjHVL9kW93FiIMX/l7rivvOD4/LL0Mf7gda3+4U2KJBloybwgj5KEoQgGRioMiKQ== -cli-truncate@^2.1.0: +cli-truncate@2.1.0, cli-truncate@^2.1.0: version "2.1.0" resolved "https://registry.npm.taobao.org/cli-truncate/download/cli-truncate-2.1.0.tgz#c39e28bf05edcde5be3b98992a22deed5a2b93c7" integrity sha1-w54ovwXtzeW+O5iZKiLe7Vork8c= @@ -3055,14 +3451,14 @@ cli-width@^2.0.0: resolved "https://registry.yarnpkg.com/cli-width/-/cli-width-2.2.0.tgz#ff19ede8a9a5e579324147b0c11f0fbcbabed639" integrity sha1-/xnt6Kml5XkyQUewwR8PvLq+1jk= -cliui@^4.0.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/cliui/-/cliui-4.1.0.tgz#348422dbe82d800b3022eef4f6ac10bf2e4d1b49" - integrity sha512-4FG+RSG9DL7uEwRUZXZn3SS34DiDPfzP0VOiEwtUWlE+AR2EIg+hSyvrIgUUfhdgR/UkAeW2QHgeP+hWrXs7jQ== +cliui@^5.0.0: + version "5.0.0" + resolved "https://registry.npm.taobao.org/cliui/download/cliui-5.0.0.tgz#deefcfdb2e800784aa34f46fa08e06851c7bbbc5" + integrity sha1-3u/P2y6AB4SqNPRvoI4GhRx7u8U= dependencies: - string-width "^2.1.1" - strip-ansi "^4.0.0" - wrap-ansi "^2.0.0" + string-width "^3.1.0" + strip-ansi "^5.2.0" + wrap-ansi "^5.1.0" cliui@^6.0.0: version "6.0.0" @@ -3119,15 +3515,10 @@ co@^4.6.0: resolved "https://registry.yarnpkg.com/co/-/co-4.6.0.tgz#6ea6bdf3d853ae54ccb8e47bfa0bf3f9031fb184" integrity sha1-bqa989hTrlTMuOR7+gvz+QMfsYQ= -code-point-at@^1.0.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/code-point-at/-/code-point-at-1.1.0.tgz#0d070b4d043a5bea33a2f1a40e2edb3d9a4ccf77" - integrity sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c= - -codecov@^3.6.5: - version "3.6.5" - resolved "https://registry.yarnpkg.com/codecov/-/codecov-3.6.5.tgz#d73ce62e8a021f5249f54b073e6f2d6a513f172a" - integrity sha512-v48WuDMUug6JXwmmfsMzhCHRnhUf8O3duqXvltaYJKrO1OekZWpB/eH6iIoaxMl8Qli0+u3OxptdsBOYiD7VAQ== +codecov@^3.7.0: + version "3.7.0" + resolved "https://registry.npm.taobao.org/codecov/download/codecov-3.7.0.tgz#4a09939cde24447a43f36d068e8b4e0188dc3f27" + integrity sha1-SgmTnN4kRHpD820GjotOAYjcPyc= dependencies: argv "0.0.2" ignore-walk "3.0.3" @@ -3199,7 +3590,7 @@ commander@^4.1.1: resolved "https://registry.npm.taobao.org/commander/download/commander-4.1.1.tgz#9fd602bd936294e9e9ef46a3f4d6964044b18068" integrity sha1-n9YCvZNilOnp70aj9NaWQESxgGg= -commander@^5.0.0, commander@^5.1.0: +commander@^5.1.0: version "5.1.0" resolved "https://registry.npm.taobao.org/commander/download/commander-5.1.0.tgz?cache=0&sync_timestamp=1587783321998&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fcommander%2Fdownload%2Fcommander-5.1.0.tgz#46abbd1652f8e059bddaef99bbdcb2ad9cf179ae" integrity sha1-Rqu9FlL44Fm92u+Zu9yyrZzxea4= @@ -3301,11 +3692,16 @@ connect-history-api-fallback@^1.6.0: resolved "https://registry.yarnpkg.com/connect-history-api-fallback/-/connect-history-api-fallback-1.6.0.tgz#8b32089359308d111115d81cad3fceab888f97bc" integrity sha512-e54B99q/OUoH64zYYRf3HBP5z24G38h5D3qXu23JGRoigpX5Ss4r9ZnDk3g0Z8uQC2x2lPaJ+UlWBc1ZWBWdLg== -consola@^2.10.0, consola@^2.11.3, consola@^2.6.0: +consola@^2.10.0, consola@^2.6.0: version "2.11.3" resolved "https://registry.yarnpkg.com/consola/-/consola-2.11.3.tgz#f7315836224c143ac5094b47fd4c816c2cd1560e" integrity sha512-aoW0YIIAmeftGR8GSpw6CGQluNdkWMWh3yEFjH/hmynTYnMtibXszii3lxCXmk8YxJtI3FAK5aTiquA5VH68Gw== +consola@^2.12.2: + version "2.12.2" + resolved "https://registry.npm.taobao.org/consola/download/consola-2.12.2.tgz#9610f158e7b0a9ecc8f8bb0c4fc8e7c52bf41d05" + integrity sha1-lhDxWOewqezI+LsMT8jnxSv0HQU= + console-browserify@^1.1.0: version "1.2.0" resolved "https://registry.yarnpkg.com/console-browserify/-/console-browserify-1.2.0.tgz#67063cef57ceb6cf4993a2ab3a55840ae8c49336" @@ -3340,148 +3736,149 @@ content-type@~1.0.4: resolved "https://registry.yarnpkg.com/content-type/-/content-type-1.0.4.tgz#e138cc75e040c727b1966fe5e5f8c9aee256fe3b" integrity sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA== -conventional-changelog-angular@^5.0.6: - version "5.0.6" - resolved "https://registry.yarnpkg.com/conventional-changelog-angular/-/conventional-changelog-angular-5.0.6.tgz#269540c624553aded809c29a3508fdc2b544c059" - integrity sha512-QDEmLa+7qdhVIv8sFZfVxU1VSyVvnXPsxq8Vam49mKUcO1Z8VTLEJk9uI21uiJUsnmm0I4Hrsdc9TgkOQo9WSA== +conventional-changelog-angular@^5.0.10: + version "5.0.10" + resolved "https://registry.npm.taobao.org/conventional-changelog-angular/download/conventional-changelog-angular-5.0.10.tgz#5cf7b00dd315b6a6a558223c80d5ef24ddb34205" + integrity sha1-XPewDdMVtqalWCI8gNXvJN2zQgU= dependencies: compare-func "^1.3.1" q "^1.5.1" -conventional-changelog-atom@^2.0.3: - version "2.0.3" - resolved "https://registry.yarnpkg.com/conventional-changelog-atom/-/conventional-changelog-atom-2.0.3.tgz#3bd14280aa09fe3ec49a0e8fe97b5002db02aad4" - integrity sha512-szZe2ut97qNO6vCCMkm1I/tWu6ol4Rr8a9Lx0y/VlpDnpY0PNp+oGpFgU55lplhx+I3Lro9Iv4/gRj0knfgjzg== +conventional-changelog-atom@^2.0.7: + version "2.0.7" + resolved "https://registry.npm.taobao.org/conventional-changelog-atom/download/conventional-changelog-atom-2.0.7.tgz#221575253a04f77a2fd273eb2bf29a138f710abf" + integrity sha1-IhV1JToE93ov0nPrK/KaE49xCr8= dependencies: q "^1.5.1" -conventional-changelog-codemirror@^2.0.3: - version "2.0.3" - resolved "https://registry.yarnpkg.com/conventional-changelog-codemirror/-/conventional-changelog-codemirror-2.0.3.tgz#ebc088154684f8f5171446b8d546ba6b460d46f2" - integrity sha512-t2afackdgFV2yBdHhWPqrKbpaQeVnz2hSJKdWqjasPo5EpIB6TBL0er3cOP1mnGQmuzk9JSvimNSuqjWGDtU5Q== +conventional-changelog-codemirror@^2.0.7: + version "2.0.7" + resolved "https://registry.npm.taobao.org/conventional-changelog-codemirror/download/conventional-changelog-codemirror-2.0.7.tgz#d6b6a8ce2707710c5a036e305037547fb9e15bfb" + integrity sha1-1raozicHcQxaA24wUDdUf7nhW/s= dependencies: q "^1.5.1" -conventional-changelog-conventionalcommits@^4.2.3: - version "4.2.3" - resolved "https://registry.yarnpkg.com/conventional-changelog-conventionalcommits/-/conventional-changelog-conventionalcommits-4.2.3.tgz#22855b32d57d0328951c1c2dc01b172a5f24ea37" - integrity sha512-atGa+R4vvEhb8N/8v3IoW59gCBJeeFiX6uIbPu876ENAmkMwsenyn0R21kdDHJFLQdy6zW4J6b4xN8KI3b9oww== +conventional-changelog-conventionalcommits@^4.3.0: + version "4.3.0" + resolved "https://registry.npm.taobao.org/conventional-changelog-conventionalcommits/download/conventional-changelog-conventionalcommits-4.3.0.tgz#c4205a659f7ca9d7881f29ee78a4e7d6aeb8b3c2" + integrity sha1-xCBaZZ98qdeIHynueKTn1q64s8I= dependencies: compare-func "^1.3.1" lodash "^4.17.15" q "^1.5.1" -conventional-changelog-core@^4.1.4: - version "4.1.4" - resolved "https://registry.yarnpkg.com/conventional-changelog-core/-/conventional-changelog-core-4.1.4.tgz#39be27fca6ef20a0f998d7a3a1e97cfa8a055cb6" - integrity sha512-LO58ZbEpp1Ul+y/vOI8rJRsWkovsYkCFbOCVgi6UnVfU8WC0F8K8VQQwaBZWWUpb6JvEiN4GBR5baRP2txZ+Vg== +conventional-changelog-core@^4.1.7: + version "4.1.7" + resolved "https://registry.npm.taobao.org/conventional-changelog-core/download/conventional-changelog-core-4.1.7.tgz#6b5cdadda4430895cc4a75a73dd8b36e322ab346" + integrity sha1-a1za3aRDCJXMSnWnPdizbjIqs0Y= dependencies: add-stream "^1.0.0" - conventional-changelog-writer "^4.0.11" - conventional-commits-parser "^3.0.8" + conventional-changelog-writer "^4.0.16" + conventional-commits-parser "^3.1.0" dateformat "^3.0.0" get-pkg-repo "^1.0.0" git-raw-commits "2.0.0" git-remote-origin-url "^2.0.0" - git-semver-tags "^3.0.1" + git-semver-tags "^4.0.0" lodash "^4.17.15" normalize-package-data "^2.3.5" q "^1.5.1" read-pkg "^3.0.0" read-pkg-up "^3.0.0" + shelljs "^0.8.3" through2 "^3.0.0" -conventional-changelog-ember@^2.0.4: - version "2.0.4" - resolved "https://registry.yarnpkg.com/conventional-changelog-ember/-/conventional-changelog-ember-2.0.4.tgz#c29b78e4af7825cbecb6c3fd6086ca5c09471ac1" - integrity sha512-q1u73sO9uCnxN4TSw8xu6MRU8Y1h9kpwtcdJuNRwu/LSKI1IE/iuNSH5eQ6aLlQ3HTyrIpTfUuVybW4W0F17rA== +conventional-changelog-ember@^2.0.8: + version "2.0.8" + resolved "https://registry.npm.taobao.org/conventional-changelog-ember/download/conventional-changelog-ember-2.0.8.tgz#f0f04eb7ff3c885af97db100865ab95dcfa9917f" + integrity sha1-8PBOt/88iFr5fbEAhlq5Xc+pkX8= dependencies: q "^1.5.1" -conventional-changelog-eslint@^3.0.4: - version "3.0.4" - resolved "https://registry.yarnpkg.com/conventional-changelog-eslint/-/conventional-changelog-eslint-3.0.4.tgz#8f4736a23e0cd97e890e76fccc287db2f205f2ff" - integrity sha512-CPwTUENzhLGl3auunrJxiIEWncAGaby7gOFCdj2gslIuOFJ0KPJVOUhRz4Da/I53sdo/7UncUJkiLg94jEsjxg== +conventional-changelog-eslint@^3.0.8: + version "3.0.8" + resolved "https://registry.npm.taobao.org/conventional-changelog-eslint/download/conventional-changelog-eslint-3.0.8.tgz#f8b952b7ed7253ea0ac0b30720bb381f4921b46c" + integrity sha1-+LlSt+1yU+oKwLMHILs4H0khtGw= dependencies: q "^1.5.1" -conventional-changelog-express@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/conventional-changelog-express/-/conventional-changelog-express-2.0.1.tgz#fea2231d99a5381b4e6badb0c1c40a41fcacb755" - integrity sha512-G6uCuCaQhLxdb4eEfAIHpcfcJ2+ao3hJkbLrw/jSK/eROeNfnxCJasaWdDAfFkxsbpzvQT4W01iSynU3OoPLIw== +conventional-changelog-express@^2.0.5: + version "2.0.5" + resolved "https://registry.npm.taobao.org/conventional-changelog-express/download/conventional-changelog-express-2.0.5.tgz#6e93705acdad374516ca125990012a48e710f8de" + integrity sha1-bpNwWs2tN0UWyhJZkAEqSOcQ+N4= dependencies: q "^1.5.1" -conventional-changelog-jquery@^3.0.6: - version "3.0.6" - resolved "https://registry.yarnpkg.com/conventional-changelog-jquery/-/conventional-changelog-jquery-3.0.6.tgz#460236ad8fb1d29ff932a14fe4e3a45379b63c5e" - integrity sha512-gHAABCXUNA/HjnZEm+vxAfFPJkgtrZvCDIlCKfdPVXtCIo/Q0lN5VKpx8aR5p8KdVRQFF3OuTlvv5kv6iPuRqA== +conventional-changelog-jquery@^3.0.10: + version "3.0.10" + resolved "https://registry.npm.taobao.org/conventional-changelog-jquery/download/conventional-changelog-jquery-3.0.10.tgz#fe8eb6aff322aa980af5eb68497622a5f6257ce7" + integrity sha1-/o62r/MiqpgK9etoSXYipfYlfOc= dependencies: q "^1.5.1" -conventional-changelog-jshint@^2.0.3: - version "2.0.3" - resolved "https://registry.yarnpkg.com/conventional-changelog-jshint/-/conventional-changelog-jshint-2.0.3.tgz#ef6e2caf2ee6ffdfda78fcdf7ce87cf6c512d728" - integrity sha512-Pc2PnMPcez634ckzr4EOWviwRSpZcURaK7bjyD9oK6N5fsC/a+3G7LW5m/JpcHPhA9ZxsfIbm7uqZ3ZDGsQ/sw== +conventional-changelog-jshint@^2.0.7: + version "2.0.7" + resolved "https://registry.npm.taobao.org/conventional-changelog-jshint/download/conventional-changelog-jshint-2.0.7.tgz#955a69266951cd31e8afeb3f1c55e0517fdca943" + integrity sha1-lVppJmlRzTHor+s/HFXgUX/cqUM= dependencies: compare-func "^1.3.1" q "^1.5.1" -conventional-changelog-preset-loader@^2.3.0: - version "2.3.0" - resolved "https://registry.yarnpkg.com/conventional-changelog-preset-loader/-/conventional-changelog-preset-loader-2.3.0.tgz#580fa8ab02cef22c24294d25e52d7ccd247a9a6a" - integrity sha512-/rHb32J2EJnEXeK4NpDgMaAVTFZS3o1ExmjKMtYVgIC4MQn0vkNSbYpdGRotkfGGRWiqk3Ri3FBkiZGbAfIfOQ== +conventional-changelog-preset-loader@^2.3.4: + version "2.3.4" + resolved "https://registry.npm.taobao.org/conventional-changelog-preset-loader/download/conventional-changelog-preset-loader-2.3.4.tgz#14a855abbffd59027fd602581f1f34d9862ea44c" + integrity sha1-FKhVq7/9WQJ/1gJYHx802YYupEw= -conventional-changelog-writer@^4.0.11: - version "4.0.11" - resolved "https://registry.yarnpkg.com/conventional-changelog-writer/-/conventional-changelog-writer-4.0.11.tgz#9f56d2122d20c96eb48baae0bf1deffaed1edba4" - integrity sha512-g81GQOR392I+57Cw3IyP1f+f42ME6aEkbR+L7v1FBBWolB0xkjKTeCWVguzRrp6UiT1O6gBpJbEy2eq7AnV1rw== +conventional-changelog-writer@^4.0.16: + version "4.0.16" + resolved "https://registry.npm.taobao.org/conventional-changelog-writer/download/conventional-changelog-writer-4.0.16.tgz#ca10f2691a8ea6d3c2eb74bd35bcf40aa052dda5" + integrity sha1-yhDyaRqOptPC63S9Nbz0CqBS3aU= dependencies: compare-func "^1.3.1" - conventional-commits-filter "^2.0.2" + conventional-commits-filter "^2.0.6" dateformat "^3.0.0" - handlebars "^4.4.0" + handlebars "^4.7.6" json-stringify-safe "^5.0.1" lodash "^4.17.15" - meow "^5.0.0" + meow "^7.0.0" semver "^6.0.0" split "^1.0.0" through2 "^3.0.0" -conventional-changelog@^3.1.18: - version "3.1.18" - resolved "https://registry.yarnpkg.com/conventional-changelog/-/conventional-changelog-3.1.18.tgz#7da0a5ab34a604b920b8bf71c6cf5d952f0e805e" - integrity sha512-aN6a3rjgV8qwAJj3sC/Lme2kvswWO7fFSGQc32gREcwIOsaiqBaO6f2p0NomFaPDnTqZ+mMZFLL3hlzvEnZ0mQ== +conventional-changelog@^3.1.21: + version "3.1.21" + resolved "https://registry.npm.taobao.org/conventional-changelog/download/conventional-changelog-3.1.21.tgz#4a774e6bf503acfd7e4685bb750da8c0eccf1e0d" + integrity sha1-SndOa/UDrP1+RoW7dQ2owOzPHg0= dependencies: - conventional-changelog-angular "^5.0.6" - conventional-changelog-atom "^2.0.3" - conventional-changelog-codemirror "^2.0.3" - conventional-changelog-conventionalcommits "^4.2.3" - conventional-changelog-core "^4.1.4" - conventional-changelog-ember "^2.0.4" - conventional-changelog-eslint "^3.0.4" - conventional-changelog-express "^2.0.1" - conventional-changelog-jquery "^3.0.6" - conventional-changelog-jshint "^2.0.3" - conventional-changelog-preset-loader "^2.3.0" + conventional-changelog-angular "^5.0.10" + conventional-changelog-atom "^2.0.7" + conventional-changelog-codemirror "^2.0.7" + conventional-changelog-conventionalcommits "^4.3.0" + conventional-changelog-core "^4.1.7" + conventional-changelog-ember "^2.0.8" + conventional-changelog-eslint "^3.0.8" + conventional-changelog-express "^2.0.5" + conventional-changelog-jquery "^3.0.10" + conventional-changelog-jshint "^2.0.7" + conventional-changelog-preset-loader "^2.3.4" -conventional-commits-filter@^2.0.2: - version "2.0.2" - resolved "https://registry.yarnpkg.com/conventional-commits-filter/-/conventional-commits-filter-2.0.2.tgz#f122f89fbcd5bb81e2af2fcac0254d062d1039c1" - integrity sha512-WpGKsMeXfs21m1zIw4s9H5sys2+9JccTzpN6toXtxhpw2VNF2JUXwIakthKBy+LN4DvJm+TzWhxOMWOs1OFCFQ== +conventional-commits-filter@^2.0.6: + version "2.0.6" + resolved "https://registry.npm.taobao.org/conventional-commits-filter/download/conventional-commits-filter-2.0.6.tgz?cache=0&sync_timestamp=1588973068901&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fconventional-commits-filter%2Fdownload%2Fconventional-commits-filter-2.0.6.tgz#0935e1240c5ca7698329affee1b6a46d33324c4c" + integrity sha1-CTXhJAxcp2mDKa/+4bakbTMyTEw= dependencies: lodash.ismatch "^4.4.0" modify-values "^1.0.0" -conventional-commits-parser@^3.0.8: - version "3.0.8" - resolved "https://registry.yarnpkg.com/conventional-commits-parser/-/conventional-commits-parser-3.0.8.tgz#23310a9bda6c93c874224375e72b09fb275fe710" - integrity sha512-YcBSGkZbYp7d+Cr3NWUeXbPDFUN6g3SaSIzOybi8bjHL5IJ5225OSCxJJ4LgziyEJ7AaJtE9L2/EU6H7Nt/DDQ== +conventional-commits-parser@^3.1.0: + version "3.1.0" + resolved "https://registry.npm.taobao.org/conventional-commits-parser/download/conventional-commits-parser-3.1.0.tgz#10140673d5e7ef5572633791456c5d03b69e8be4" + integrity sha1-EBQGc9Xn71VyYzeRRWxdA7aei+Q= dependencies: JSONStream "^1.0.4" is-text-path "^1.0.1" lodash "^4.17.15" - meow "^5.0.0" + meow "^7.0.0" split2 "^2.0.0" through2 "^3.0.0" trim-off-newlines "^1.0.0" @@ -3796,12 +4193,12 @@ decompress-response@^3.3.0: dependencies: mimic-response "^1.0.0" -decompress-response@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/decompress-response/-/decompress-response-5.0.0.tgz#7849396e80e3d1eba8cb2f75ef4930f76461cb0f" - integrity sha512-TLZWWybuxWgoW7Lykv+gq9xvzOsUjQ9tF09Tj6NSTYGMTCHNXzrPnD6Hi+TgZq19PyTAGH4Ll/NIM/eTGglnMw== +decompress-response@^6.0.0: + version "6.0.0" + resolved "https://registry.npm.taobao.org/decompress-response/download/decompress-response-6.0.0.tgz#ca387612ddb7e104bd16d85aab00d5ecf09c66fc" + integrity sha1-yjh2Et234QS9FthaqwDV7PCcZvw= dependencies: - mimic-response "^2.0.0" + mimic-response "^3.1.0" dedent@^0.7.0: version "0.7.0" @@ -4151,6 +4548,11 @@ electron-to-chromium@^1.3.390: resolved "https://registry.npm.taobao.org/electron-to-chromium/download/electron-to-chromium-1.3.393.tgz?cache=0&sync_timestamp=1585801325808&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Felectron-to-chromium%2Fdownload%2Felectron-to-chromium-1.3.393.tgz#d13fa4cbf5065e18451c84465d22aef6aca9a911" integrity sha1-0T+ky/UGXhhFHIRGXSKu9qypqRE= +electron-to-chromium@^1.3.413: + version "1.3.453" + resolved "https://registry.npm.taobao.org/electron-to-chromium/download/electron-to-chromium-1.3.453.tgz#758a8565a64b7889b27132a51d2abb8b135c9d01" + integrity sha1-dYqFZaZLeImycTKlHSq7ixNcnQE= + elegant-spinner@^2.0.0: version "2.0.0" resolved "https://registry.npm.taobao.org/elegant-spinner/download/elegant-spinner-2.0.0.tgz#f236378985ecd16da75488d166be4b688fd5af94" @@ -4210,7 +4612,7 @@ enhanced-resolve@^4.1.0: memory-fs "^0.5.0" tapable "^1.0.0" -enquirer@^2.3.4: +enquirer@^2.3.5: version "2.3.5" resolved "https://registry.npm.taobao.org/enquirer/download/enquirer-2.3.5.tgz#3ab2b838df0a9d8ab9e7dff235b0e8712ef92381" integrity sha1-OrK4ON8KnYq559/yNbDocS75I4E= @@ -4511,10 +4913,10 @@ exec-sh@^0.3.2: resolved "https://registry.yarnpkg.com/exec-sh/-/exec-sh-0.3.4.tgz#3a018ceb526cc6f6df2bb504b2bfe8e3a4934ec5" integrity sha512-sEFIkc61v75sWeOe72qyrqg2Qg0OuLESziUDk/O/z2qgS15y2gWVFrI6f2Qn/qw/0/NCfCEsmNA4zOjkwEZT1A== -execa@4.0.0, execa@^4.0.0: - version "4.0.0" - resolved "https://registry.npm.taobao.org/execa/download/execa-4.0.0.tgz?cache=0&sync_timestamp=1587903569329&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fexeca%2Fdownload%2Fexeca-4.0.0.tgz#7f37d6ec17f09e6b8fc53288611695b6d12b9daf" - integrity sha1-fzfW7BfwnmuPxTKIYRaVttErna8= +execa@4.0.1: + version "4.0.1" + resolved "https://registry.npm.taobao.org/execa/download/execa-4.0.1.tgz?cache=0&sync_timestamp=1590156636749&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fexeca%2Fdownload%2Fexeca-4.0.1.tgz#988488781f1f0238cd156f7aaede11c3e853b4c1" + integrity sha1-mISIeB8fAjjNFW96rt4Rw+hTtME= dependencies: cross-spawn "^7.0.0" get-stream "^5.0.0" @@ -4555,6 +4957,21 @@ execa@^3.2.0: signal-exit "^3.0.2" strip-final-newline "^2.0.0" +execa@^4.0.1: + version "4.0.2" + resolved "https://registry.npm.taobao.org/execa/download/execa-4.0.2.tgz?cache=0&sync_timestamp=1590156636749&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fexeca%2Fdownload%2Fexeca-4.0.2.tgz#ad87fb7b2d9d564f70d2b62d511bee41d5cbb240" + integrity sha1-rYf7ey2dVk9w0rYtURvuQdXLskA= + dependencies: + cross-spawn "^7.0.0" + get-stream "^5.0.0" + human-signals "^1.1.1" + is-stream "^2.0.0" + merge-stream "^2.0.0" + npm-run-path "^4.0.0" + onetime "^5.1.0" + signal-exit "^3.0.2" + strip-final-newline "^2.0.0" + execall@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/execall/-/execall-1.0.0.tgz#73d0904e395b3cab0658b08d09ec25307f29bb73" @@ -5071,11 +5488,6 @@ gensync@^1.0.0-beta.1: resolved "https://registry.yarnpkg.com/gensync/-/gensync-1.0.0-beta.1.tgz#58f4361ff987e5ff6e1e7a210827aa371eaac269" integrity sha512-r8EC6NO1sngH/zdD9fiRDLdcgnbayXah+mLgManTaIZJqEC1MZstmnox8KpnI2/fxQwrp5OpCOYWLp4rBl4Jcg== -get-caller-file@^1.0.1: - version "1.0.3" - resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-1.0.3.tgz#f978fa4c90d1dfe7ff2d6beda2a515e713bdcf4a" - integrity sha512-3t6rVToeoZfYSGd8YoLFR2DJkiQrIiUrGcjvFX2mDw3bn6k2OtwHN0TNCLbBO+w8qTvimhDkv+LSscbJY1vE6w== - get-caller-file@^2.0.1: version "2.0.5" resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-2.0.5.tgz#4f94412a82db32f36e3b0b9741f8a97feb031f7e" @@ -5107,10 +5519,10 @@ get-stdin@^6.0.0: resolved "https://registry.yarnpkg.com/get-stdin/-/get-stdin-6.0.0.tgz#9e09bf712b360ab9225e812048f71fde9c89657b" integrity sha512-jp4tHawyV7+fkkSKyvjuLZswblUtz+SQKzSWnBbii16BuZksJlU1wuBYXY75r+duh/llF1ur6oNwi+2ZzjKZ7g== -get-stdin@^7.0.0: - version "7.0.0" - resolved "https://registry.yarnpkg.com/get-stdin/-/get-stdin-7.0.0.tgz#8d5de98f15171a125c5e516643c7a6d0ea8a96f6" - integrity sha512-zRKcywvrXlXsA0v0i9Io4KDRaAw7+a1ZpjRwl9Wox8PFlVCCHra7E9c4kqXCoCM9nR5tBkaTTZRBoCm60bFqTQ== +get-stdin@^8.0.0: + version "8.0.0" + resolved "https://registry.npm.taobao.org/get-stdin/download/get-stdin-8.0.0.tgz#cbad6a73feb75f6eeb22ba9e01f89aa28aa97a53" + integrity sha1-y61qc/63X27rIrqeAfiaooqpelM= get-stream@^4.0.0, get-stream@^4.1.0: version "4.1.0" @@ -5169,12 +5581,12 @@ git-remote-origin-url@^2.0.0: gitconfiglocal "^1.0.0" pify "^2.3.0" -git-semver-tags@^3.0.1: - version "3.0.1" - resolved "https://registry.yarnpkg.com/git-semver-tags/-/git-semver-tags-3.0.1.tgz#9cb9e4974437de1f71f32da3bfe74f4d35afb1b9" - integrity sha512-Hzd1MOHXouITfCasrpVJbRDg9uvW7LfABk3GQmXYZByerBDrfrEMP9HXpNT7RxAbieiocP6u+xq20DkvjwxnCA== +git-semver-tags@^4.0.0: + version "4.0.0" + resolved "https://registry.npm.taobao.org/git-semver-tags/download/git-semver-tags-4.0.0.tgz#a9dd58a0dd3561a4a9898b7e9731cf441c98fc38" + integrity sha1-qd1YoN01YaSpiYt+lzHPRByY/Dg= dependencies: - meow "^5.0.0" + meow "^7.0.0" semver "^6.0.0" git-up@^4.0.0: @@ -5315,20 +5727,20 @@ gonzales-pe@^4.2.3, gonzales-pe@^4.3.0: dependencies: minimist "^1.2.5" -got@11.0.2: - version "11.0.2" - resolved "https://registry.npm.taobao.org/got/download/got-11.0.2.tgz?cache=0&sync_timestamp=1588420115750&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fgot%2Fdownload%2Fgot-11.0.2.tgz#55613d6a1b7040ff9c26cb075defea39eed58d7a" - integrity sha1-VWE9ahtwQP+cJssHXe/qOe7VjXo= +got@11.1.4: + version "11.1.4" + resolved "https://registry.npm.taobao.org/got/download/got-11.1.4.tgz?cache=0&sync_timestamp=1589646612924&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fgot%2Fdownload%2Fgot-11.1.4.tgz#ecf0064aab26ae4b2989ab52aadd31a17e7bad63" + integrity sha1-7PAGSqsmrkspiatSqt0xoX57rWM= dependencies: - "@sindresorhus/is" "^2.1.0" - "@szmarczak/http-timer" "^4.0.0" + "@sindresorhus/is" "^2.1.1" + "@szmarczak/http-timer" "^4.0.5" "@types/cacheable-request" "^6.0.1" "@types/responselike" "^1.0.0" - cacheable-lookup "^4.1.1" + cacheable-lookup "^5.0.3" cacheable-request "^7.0.1" - decompress-response "^5.0.0" - get-stream "^5.0.0" - http2-wrapper "^1.0.0-beta.4.4" + decompress-response "^6.0.0" + get-stream "^5.1.0" + http2-wrapper "^1.0.0-beta.4.5" lowercase-keys "^2.0.0" p-cancelable "^2.0.0" responselike "^2.0.0" @@ -5365,14 +5777,15 @@ handle-thing@^2.0.0: resolved "https://registry.yarnpkg.com/handle-thing/-/handle-thing-2.0.0.tgz#0e039695ff50c93fc288557d696f3c1dc6776754" integrity sha512-d4sze1JNC454Wdo2fkuyzCr6aHcbL6PGGuFAz0Li/NcOm1tCHGnWDRmJP85dh9IhQErTc2svWFEX5xHIOo//kQ== -handlebars@^4.4.0: - version "4.7.3" - resolved "https://registry.yarnpkg.com/handlebars/-/handlebars-4.7.3.tgz#8ece2797826886cf8082d1726ff21d2a022550ee" - integrity sha512-SRGwSYuNfx8DwHD/6InAPzD6RgeruWLT+B8e8a7gGs8FWgHzlExpTFMEq2IA6QpAfOClpKHy6+8IqTjeBCu6Kg== +handlebars@^4.7.6: + version "4.7.6" + resolved "https://registry.npm.taobao.org/handlebars/download/handlebars-4.7.6.tgz#d4c05c1baf90e9945f77aa68a7a219aa4a7df74e" + integrity sha1-1MBcG6+Q6ZRfd6pop6IZqkp9904= dependencies: + minimist "^1.2.5" neo-async "^2.6.0" - optimist "^0.6.1" source-map "^0.6.1" + wordwrap "^1.0.0" optionalDependencies: uglify-js "^3.1.4" @@ -5389,10 +5802,10 @@ har-validator@~5.1.3: ajv "^6.5.5" har-schema "^2.0.0" -hard-rejection@^2.0.0: +hard-rejection@^2.1.0: version "2.1.0" - resolved "https://registry.yarnpkg.com/hard-rejection/-/hard-rejection-2.1.0.tgz#1c6eda5c1685c63942766d79bb40ae773cecd883" - integrity sha512-VIZB+ibDhx7ObhAe7OVtoEbuP4h/MuOTHJ+J8h/eBXotJYl0fBgR72xDFCKgIh22OJZIOVNxBMWuhAr10r8HdA== + resolved "https://registry.npm.taobao.org/hard-rejection/download/hard-rejection-2.1.0.tgz#1c6eda5c1685c63942766d79bb40ae773cecd883" + integrity sha1-HG7aXBaFxjlCdm15u0Cudzzs2IM= has-flag@^3.0.0: version "3.0.0" @@ -5519,10 +5932,10 @@ html-encoding-sniffer@^1.0.2: dependencies: whatwg-encoding "^1.0.1" -html-entities@^1.2.1: - version "1.2.1" - resolved "https://registry.yarnpkg.com/html-entities/-/html-entities-1.2.1.tgz#0df29351f0721163515dfb9e5543e5f6eed5162f" - integrity sha1-DfKTUfByEWNRXfueVUPl9u7VFi8= +html-entities@^1.3.1: + version "1.3.1" + resolved "https://registry.npm.taobao.org/html-entities/download/html-entities-1.3.1.tgz#fb9a1a4b5b14c5daba82d3e34c6ae4fe701a0e44" + integrity sha1-+5oaS1sUxdq6gtPjTGrk/nAaDkQ= html-escaper@^2.0.0: version "2.0.0" @@ -5663,10 +6076,10 @@ http-signature@~1.2.0: jsprim "^1.2.2" sshpk "^1.7.0" -http2-wrapper@^1.0.0-beta.4.4: - version "1.0.0-beta.4.5" - resolved "https://registry.npm.taobao.org/http2-wrapper/download/http2-wrapper-1.0.0-beta.4.5.tgz#ac8e8f1cbf4aa79e3274c89e954d18697ab31e85" - integrity sha1-rI6PHL9Kp54ydMielU0YaXqzHoU= +http2-wrapper@^1.0.0-beta.4.5: + version "1.0.0-beta.4.6" + resolved "https://registry.npm.taobao.org/http2-wrapper/download/http2-wrapper-1.0.0-beta.4.6.tgz#9438f0fceb946c8cbd365076c228a4d3bd4d0143" + integrity sha1-lDjw/OuUbIy9NlB2wiik071NAUM= dependencies: quick-lru "^5.0.0" resolve-alpn "^1.0.0" @@ -5933,11 +6346,6 @@ invariant@^2.2.2, invariant@^2.2.4: dependencies: loose-envify "^1.0.0" -invert-kv@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/invert-kv/-/invert-kv-2.0.0.tgz#7393f5afa59ec9ff5f67a27620d11c226e3eec02" - integrity sha512-wPVv/y/QQ/Uiirj/vh3oP+1Ww+AWehmi1g5fFWGPF6IpCBCDVrhgHRMvrLfdYcwDh3QJbGXDW4JAuzxElLSqKA== - ip-regex@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/ip-regex/-/ip-regex-2.1.0.tgz#fa78bf5d2e6913c911ce9f819ee5146bb6d844e9" @@ -6105,13 +6513,6 @@ is-finite@^1.0.0: resolved "https://registry.yarnpkg.com/is-finite/-/is-finite-1.1.0.tgz#904135c77fb42c0641d6aa1bcdbc4daa8da082f3" integrity sha512-cdyMtqX/BOqqNBBiKlIVkytNHm49MtMlYyn1zxzvJKWmFMlGzm+ry5BBfYyeY9YmNKbRSo/o7OX9w9ale0wg3w== -is-fullwidth-code-point@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz#ef9e31386f031a7f0d643af82fde50c457ef00cb" - integrity sha1-754xOG8DGn8NZDr4L95QxFfvAMs= - dependencies: - number-is-nan "^1.0.0" - is-fullwidth-code-point@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz#a3b30a5c4f199183167aaab93beefae3ddfb654f" @@ -6562,6 +6963,26 @@ jest-haste-map@^25.5.1: optionalDependencies: fsevents "^2.1.2" +jest-haste-map@^26.0.1: + version "26.0.1" + resolved "https://registry.npm.taobao.org/jest-haste-map/download/jest-haste-map-26.0.1.tgz#40dcc03c43ac94d25b8618075804d09cd5d49de7" + integrity sha1-QNzAPEOslNJbhhgHWATQnNXUnec= + dependencies: + "@jest/types" "^26.0.1" + "@types/graceful-fs" "^4.1.2" + anymatch "^3.0.3" + fb-watchman "^2.0.0" + graceful-fs "^4.2.4" + jest-serializer "^26.0.0" + jest-util "^26.0.1" + jest-worker "^26.0.0" + micromatch "^4.0.2" + sane "^4.0.3" + walker "^1.0.7" + which "^2.0.2" + optionalDependencies: + fsevents "^2.1.2" + jest-jasmine2@^25.5.4: version "25.5.4" resolved "https://registry.npm.taobao.org/jest-jasmine2/download/jest-jasmine2-25.5.4.tgz?cache=0&sync_timestamp=1588422106136&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fjest-jasmine2%2Fdownload%2Fjest-jasmine2-25.5.4.tgz#66ca8b328fb1a3c5364816f8958f6970a8526968" @@ -6634,6 +7055,11 @@ jest-regex-util@^25.2.6: resolved "https://registry.npm.taobao.org/jest-regex-util/download/jest-regex-util-25.2.6.tgz?cache=0&sync_timestamp=1585823369263&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fjest-regex-util%2Fdownload%2Fjest-regex-util-25.2.6.tgz#d847d38ba15d2118d3b06390056028d0f2fd3964" integrity sha1-2EfTi6FdIRjTsGOQBWAo0PL9OWQ= +jest-regex-util@^26.0.0: + version "26.0.0" + resolved "https://registry.npm.taobao.org/jest-regex-util/download/jest-regex-util-26.0.0.tgz#d25e7184b36e39fd466c3bc41be0971e821fee28" + integrity sha1-0l5xhLNuOf1GbDvEG+CXHoIf7ig= + jest-resolve-dependencies@^25.5.4: version "25.5.4" resolved "https://registry.npm.taobao.org/jest-resolve-dependencies/download/jest-resolve-dependencies-25.5.4.tgz?cache=0&sync_timestamp=1588422111664&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fjest-resolve-dependencies%2Fdownload%2Fjest-resolve-dependencies-25.5.4.tgz#85501f53957c8e3be446e863a74777b5a17397a7" @@ -6729,6 +7155,13 @@ jest-serializer@^25.5.0: dependencies: graceful-fs "^4.2.4" +jest-serializer@^26.0.0: + version "26.0.0" + resolved "https://registry.npm.taobao.org/jest-serializer/download/jest-serializer-26.0.0.tgz?cache=0&sync_timestamp=1588614905714&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fjest-serializer%2Fdownload%2Fjest-serializer-26.0.0.tgz#f6c521ddb976943b93e662c0d4d79245abec72a3" + integrity sha1-9sUh3bl2lDuT5mLA1NeSRavscqM= + dependencies: + graceful-fs "^4.2.4" + jest-snapshot@^25.5.1: version "25.5.1" resolved "https://registry.npm.taobao.org/jest-snapshot/download/jest-snapshot-25.5.1.tgz?cache=0&sync_timestamp=1588422116325&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fjest-snapshot%2Fdownload%2Fjest-snapshot-25.5.1.tgz#1a2a576491f9961eb8d00c2e5fd479bc28e5ff7f" @@ -6761,6 +7194,17 @@ jest-util@^25.5.0: is-ci "^2.0.0" make-dir "^3.0.0" +jest-util@^26.0.1: + version "26.0.1" + resolved "https://registry.npm.taobao.org/jest-util/download/jest-util-26.0.1.tgz#72c4c51177b695fdd795ca072a6f94e3d7cef00a" + integrity sha1-csTFEXe2lf3XlcoHKm+U49fO8Ao= + dependencies: + "@jest/types" "^26.0.1" + chalk "^4.0.0" + graceful-fs "^4.2.4" + is-ci "^2.0.0" + make-dir "^3.0.0" + jest-validate@^25.5.0: version "25.5.0" resolved "https://registry.npm.taobao.org/jest-validate/download/jest-validate-25.5.0.tgz?cache=0&sync_timestamp=1588422259401&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fjest-validate%2Fdownload%2Fjest-validate-25.5.0.tgz#fb4c93f332c2e4cf70151a628e58a35e459a413a" @@ -6793,6 +7237,14 @@ jest-worker@^25.5.0: merge-stream "^2.0.0" supports-color "^7.0.0" +jest-worker@^26.0.0: + version "26.0.0" + resolved "https://registry.npm.taobao.org/jest-worker/download/jest-worker-26.0.0.tgz#4920c7714f0a96c6412464718d0c58a3df3fb066" + integrity sha1-SSDHcU8KlsZBJGRxjQxYo98/sGY= + dependencies: + merge-stream "^2.0.0" + supports-color "^7.0.0" + jest@^25.5.4: version "25.5.4" resolved "https://registry.npm.taobao.org/jest/download/jest-25.5.4.tgz#f21107b6489cfe32b076ce2adcadee3587acb9db" @@ -6996,7 +7448,7 @@ kind-of@^5.0.0: resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-5.1.0.tgz#729c91e2d857b7a419a1f9aa65685c4c33f5845d" integrity sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw== -kind-of@^6.0.0, kind-of@^6.0.2: +kind-of@^6.0.0, kind-of@^6.0.2, kind-of@^6.0.3: version "6.0.3" resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-6.0.3.tgz#07c05034a6c349fa06e24fa35aa76db4580ce4dd" integrity sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw== @@ -7011,10 +7463,10 @@ known-css-properties@^0.11.0: resolved "https://registry.yarnpkg.com/known-css-properties/-/known-css-properties-0.11.0.tgz#0da784f115ea77c76b81536d7052e90ee6c86a8a" integrity sha512-bEZlJzXo5V/ApNNa5z375mJC6Nrz4vG43UgcSCrg2OHC+yuB6j0iDSrY7RQ/+PRofFB03wNIIt9iXIVLr4wc7w== -known-css-properties@^0.18.0: - version "0.18.0" - resolved "https://registry.yarnpkg.com/known-css-properties/-/known-css-properties-0.18.0.tgz#d6e00b56ee1d5b0d171fd86df1583cfb012c521f" - integrity sha512-69AgJ1rQa7VvUsd2kpvVq+VeObDuo3zrj0CzM5Slmf6yduQFAI2kXPDQJR2IE/u6MSAUOJrwSzjg5vlz8qcMiw== +known-css-properties@^0.19.0: + version "0.19.0" + resolved "https://registry.npm.taobao.org/known-css-properties/download/known-css-properties-0.19.0.tgz#5d92b7fa16c72d971bda9b7fe295bdf61836ee5b" + integrity sha1-XZK3+hbHLZcb2pt/4pW99hg27ls= latest-version@^5.0.0: version "5.1.0" @@ -7023,17 +7475,10 @@ latest-version@^5.0.0: dependencies: package-json "^6.3.0" -lcid@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/lcid/-/lcid-2.0.0.tgz#6ef5d2df60e52f82eb228a4c373e8d1f397253cf" - integrity sha512-avPEb8P8EGnwXKClwsNUgryVjllcRqtMYa49NTsbQagYuT1DcXnl1915oxWjoyGrXR6zH/Y0Zc96xWsPcoDKeA== - dependencies: - invert-kv "^2.0.0" - -less-loader@^6.0.0: - version "6.0.0" - resolved "https://registry.npm.taobao.org/less-loader/download/less-loader-6.0.0.tgz#f7833177c2fc3de5014de072d5c26eca0954c1cb" - integrity sha1-94Mxd8L8PeUBTeBy1cJuyglUwcs= +less-loader@^6.1.0: + version "6.1.0" + resolved "https://registry.npm.taobao.org/less-loader/download/less-loader-6.1.0.tgz?cache=0&sync_timestamp=1588856211579&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fless-loader%2Fdownload%2Fless-loader-6.1.0.tgz#59fd591df408ced89a40fce11a2aea449b005631" + integrity sha1-Wf1ZHfQIztiaQPzhGirqRJsAVjE= dependencies: clone "^2.1.2" less "^3.11.1" @@ -7094,42 +7539,43 @@ linkify-it@^2.0.0: dependencies: uc.micro "^1.0.1" -lint-staged@^10.2.2: - version "10.2.2" - resolved "https://registry.npm.taobao.org/lint-staged/download/lint-staged-10.2.2.tgz?cache=0&sync_timestamp=1588306361948&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Flint-staged%2Fdownload%2Flint-staged-10.2.2.tgz#901403c120eb5d9443a0358b55038b04c8a7db9b" - integrity sha1-kBQDwSDrXZRDoDWLVQOLBMin25s= +lint-staged@^10.2.7: + version "10.2.7" + resolved "https://registry.npm.taobao.org/lint-staged/download/lint-staged-10.2.7.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Flint-staged%2Fdownload%2Flint-staged-10.2.7.tgz#6e47860af3d86a6a01849cbf8ba80f7754aae6eb" + integrity sha1-bkeGCvPYamoBhJy/i6gPd1Sq5us= dependencies: chalk "^4.0.0" - commander "^5.0.0" + cli-truncate "2.1.0" + commander "^5.1.0" cosmiconfig "^6.0.0" debug "^4.1.1" dedent "^0.7.0" - execa "^4.0.0" - listr2 "1.3.8" - log-symbols "^3.0.0" + execa "^4.0.1" + listr2 "^2.0.2" + log-symbols "^4.0.0" micromatch "^4.0.2" normalize-path "^3.0.0" please-upgrade-node "^3.2.0" string-argv "0.3.1" stringify-object "^3.3.0" -listr2@1.3.8: - version "1.3.8" - resolved "https://registry.npm.taobao.org/listr2/download/listr2-1.3.8.tgz#30924d79de1e936d8c40af54b6465cb814a9c828" - integrity sha1-MJJNed4ek22MQK9UtkZcuBSpyCg= +listr2@^2.0.2: + version "2.0.4" + resolved "https://registry.npm.taobao.org/listr2/download/listr2-2.0.4.tgz#b39100b0a227ec5659dcf76ddc516211fc168d61" + integrity sha1-s5EAsKIn7FZZ3Pdt3FFiEfwWjWE= dependencies: "@samverschueren/stream-to-observable" "^0.3.0" - chalk "^3.0.0" + chalk "^4.0.0" cli-cursor "^3.1.0" cli-truncate "^2.1.0" elegant-spinner "^2.0.0" - enquirer "^2.3.4" + enquirer "^2.3.5" figures "^3.2.0" indent-string "^4.0.0" log-update "^4.0.0" p-map "^4.0.0" pad "^3.2.0" - rxjs "^6.3.3" + rxjs "^6.5.5" through "^2.3.8" uuid "^7.0.2" @@ -7269,6 +7715,13 @@ log-symbols@^3.0.0: dependencies: chalk "^2.4.2" +log-symbols@^4.0.0: + version "4.0.0" + resolved "https://registry.npm.taobao.org/log-symbols/download/log-symbols-4.0.0.tgz#69b3cc46d20f448eccdb75ea1fa733d9e821c920" + integrity sha1-abPMRtIPRI7M23XqH6cz2eghySA= + dependencies: + chalk "^4.0.0" + log-update@^4.0.0: version "4.0.0" resolved "https://registry.npm.taobao.org/log-update/download/log-update-4.0.0.tgz?cache=0&sync_timestamp=1587903562831&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Flog-update%2Fdownload%2Flog-update-4.0.0.tgz#589ecd352471f2a1c0c570287543a64dfd20e0a1" @@ -7279,10 +7732,10 @@ log-update@^4.0.0: slice-ansi "^4.0.0" wrap-ansi "^6.2.0" -loglevel@^1.6.6: - version "1.6.7" - resolved "https://registry.yarnpkg.com/loglevel/-/loglevel-1.6.7.tgz#b3e034233188c68b889f5b862415306f565e2c56" - integrity sha512-cY2eLFrQSAfVPhCgH1s7JI73tMbg9YC3v3+ZHVW67sBS7UxWzNEk/ZBbSfLykBWHp33dqqtOv82gjhKEi81T/A== +loglevel@^1.6.8: + version "1.6.8" + resolved "https://registry.npm.taobao.org/loglevel/download/loglevel-1.6.8.tgz#8a25fb75d092230ecd4457270d80b54e28011171" + integrity sha1-iiX7ddCSIw7NRFcnDYC1TigBEXE= lolex@^5.0.0: version "5.1.2" @@ -7375,13 +7828,6 @@ makeerror@1.0.x: dependencies: tmpl "1.0.x" -map-age-cleaner@^0.1.1: - version "0.1.3" - resolved "https://registry.yarnpkg.com/map-age-cleaner/-/map-age-cleaner-0.1.3.tgz#7d583a7306434c055fe474b0f45078e6e1b4b92a" - integrity sha512-bJzx6nMoP6PDLPBFmg7+xRKeFZvFboMrGlxmNj9ClvX53KrmvM5bXFXEWjbz4cz1AFn+jWJ9z/DJSz7hrs0w3w== - dependencies: - p-defer "^1.0.0" - map-cache@^0.2.2: version "0.2.2" resolved "https://registry.yarnpkg.com/map-cache/-/map-cache-0.2.2.tgz#c32abd0bd6525d9b051645bb4f26ac5dc98a0dbf" @@ -7480,15 +7926,6 @@ media-typer@0.3.0: resolved "https://registry.yarnpkg.com/media-typer/-/media-typer-0.3.0.tgz#8710d7af0aa626f8fffa1ce00168545263255748" integrity sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g= -mem@^4.0.0: - version "4.3.0" - resolved "https://registry.yarnpkg.com/mem/-/mem-4.3.0.tgz#461af497bc4ae09608cdb2e60eefb69bff744178" - integrity sha512-qX2bG48pTqYRVmDB37rn/6PT7LcR8T7oAX3bf99u1Tt1nzxYfxkgqDwUwolPlXweM0XzBOBFzSx4kfp7KP1s/w== - dependencies: - map-age-cleaner "^0.1.1" - mimic-fn "^2.0.0" - p-is-promise "^2.0.0" - memory-fs@^0.4.1: version "0.4.1" resolved "https://registry.yarnpkg.com/memory-fs/-/memory-fs-0.4.1.tgz#3a9a20b8462523e447cfbc7e8bb80ed667bfc552" @@ -7551,22 +7988,24 @@ meow@^5.0.0: trim-newlines "^2.0.0" yargs-parser "^10.0.0" -meow@^6.1.0: - version "6.1.0" - resolved "https://registry.npm.taobao.org/meow/download/meow-6.1.0.tgz#4ff4641818d3502afcddc631f94cb6971a581cb3" - integrity sha1-T/RkGBjTUCr83cYx+Uy2lxpYHLM= +meow@^7.0.0, meow@^7.0.1: + version "7.0.1" + resolved "https://registry.npm.taobao.org/meow/download/meow-7.0.1.tgz?cache=0&sync_timestamp=1589206039620&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fmeow%2Fdownload%2Fmeow-7.0.1.tgz#1ed4a0a50b3844b451369c48362eb0515f04c1dc" + integrity sha1-HtSgpQs4RLRRNpxINi6wUV8Ewdw= dependencies: "@types/minimist" "^1.2.0" - camelcase-keys "^6.1.1" + arrify "^2.0.1" + camelcase "^6.0.0" + camelcase-keys "^6.2.2" decamelize-keys "^1.1.0" - hard-rejection "^2.0.0" - minimist-options "^4.0.1" + hard-rejection "^2.1.0" + minimist-options "^4.0.2" normalize-package-data "^2.5.0" - read-pkg-up "^7.0.0" + read-pkg-up "^7.0.1" redent "^3.0.0" trim-newlines "^3.0.0" - type-fest "^0.8.1" - yargs-parser "^18.1.1" + type-fest "^0.13.1" + yargs-parser "^18.1.3" merge-descriptors@1.0.1: version "1.0.1" @@ -7657,7 +8096,7 @@ mime@^2.4.4: resolved "https://registry.yarnpkg.com/mime/-/mime-2.4.4.tgz#bd7b91135fc6b01cde3e9bae33d659b63d8857e5" integrity sha512-LRxmNwziLPT828z+4YkNzloCFC2YM4wrB99k+AV5ZbEyfGNWfG8SO1FUXLmLDBSo89NrJZ4DIWeLjy1CHGhMGA== -mimic-fn@^2.0.0, mimic-fn@^2.1.0: +mimic-fn@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-2.1.0.tgz#7ed2c2ccccaf84d3ffcb7a69b57711fc2083401b" integrity sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg== @@ -7667,10 +8106,10 @@ mimic-response@^1.0.0, mimic-response@^1.0.1: resolved "https://registry.yarnpkg.com/mimic-response/-/mimic-response-1.0.1.tgz#4923538878eef42063cb8a3e3b0798781487ab1b" integrity sha512-j5EctnkH7amfV/q5Hgmoal1g2QHFJRraOtmx0JpIqkxhBhI/lJSl1nMpQ45hVarwNETOoWEimndZ4QK0RHxuxQ== -mimic-response@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/mimic-response/-/mimic-response-2.1.0.tgz#d13763d35f613d09ec37ebb30bac0469c0ee8f43" - integrity sha512-wXqjST+SLt7R009ySCglWBCFpjUygmCIfD790/kVbiGmUgfYGuB14PiTd5DwVxSV4NcYHjzMkoj5LjQZwTQLEA== +mimic-response@^3.1.0: + version "3.1.0" + resolved "https://registry.npm.taobao.org/mimic-response/download/mimic-response-3.1.0.tgz?cache=0&sync_timestamp=1589481326973&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fmimic-response%2Fdownload%2Fmimic-response-3.1.0.tgz#2d1d59af9c1b129815accc2c46a022a5ce1fa3c9" + integrity sha1-LR1Zr5wbEpgVrMwsRqAipc4fo8k= min-indent@^1.0.0: version "1.0.0" @@ -7702,24 +8141,20 @@ minimist-options@^3.0.1: arrify "^1.0.1" is-plain-obj "^1.1.0" -minimist-options@^4.0.1: - version "4.0.2" - resolved "https://registry.yarnpkg.com/minimist-options/-/minimist-options-4.0.2.tgz#29c4021373ded40d546186725e57761e4b1984a7" - integrity sha512-seq4hpWkYSUh1y7NXxzucwAN9yVlBc3Upgdjz8vLCP97jG8kaOmzYrVH/m7tQ1NYD1wdtZbSLfdy4zFmRWuc/w== +minimist-options@^4.0.2: + version "4.1.0" + resolved "https://registry.npm.taobao.org/minimist-options/download/minimist-options-4.1.0.tgz?cache=0&sync_timestamp=1589634412800&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fminimist-options%2Fdownload%2Fminimist-options-4.1.0.tgz#c0655713c53a8a2ebd77ffa247d342c40f010619" + integrity sha1-wGVXE8U6ii69d/+iR9NCxA8BBhk= dependencies: arrify "^1.0.1" is-plain-obj "^1.1.0" + kind-of "^6.0.3" minimist@^1.1.1, minimist@^1.1.3, minimist@^1.2.0, minimist@^1.2.5: version "1.2.5" resolved "https://registry.npm.taobao.org/minimist/download/minimist-1.2.5.tgz#67d66014b66a6a8aaa0c083c5fd58df4e4e97602" integrity sha1-Z9ZgFLZqaoqqDAg8X9WN9OTpdgI= -minimist@~0.0.1: - version "0.0.10" - resolved "https://registry.yarnpkg.com/minimist/-/minimist-0.0.10.tgz#de3f98543dbf96082be48ad1a0c7cda836301dcf" - integrity sha1-3j+YVD2/lggr5IrRoMfNqDYwHc8= - mississippi@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/mississippi/-/mississippi-3.0.0.tgz#ea0a3291f97e0b5e8776b363d5f0a12d94c67022" @@ -8141,14 +8576,6 @@ opn@^5.5.0: dependencies: is-wsl "^1.1.0" -optimist@^0.6.1: - version "0.6.1" - resolved "https://registry.yarnpkg.com/optimist/-/optimist-0.6.1.tgz#da3ea74686fa21a19a111c326e90eb15a0196686" - integrity sha1-2j6nRob6IaGaERwybpDrFaAZZoY= - dependencies: - minimist "~0.0.1" - wordwrap "~0.0.2" - optionator@^0.8.1, optionator@^0.8.3: version "0.8.3" resolved "https://registry.yarnpkg.com/optionator/-/optionator-0.8.3.tgz#84fa1d036fe9d3c7e21d99884b601167ec8fb495" @@ -8192,15 +8619,6 @@ os-homedir@^1.0.0: resolved "https://registry.yarnpkg.com/os-homedir/-/os-homedir-1.0.2.tgz#ffbc4988336e0e833de0c168c7ef152121aa7fb3" integrity sha1-/7xJiDNuDoM94MFox+8VISGqf7M= -os-locale@^3.0.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/os-locale/-/os-locale-3.1.0.tgz#a802a6ee17f24c10483ab9935719cef4ed16bf1a" - integrity sha512-Z8l3R4wYWM40/52Z+S265okfFj8Kt2cC2MKY+xNi3kFs+XGI7WXu/I309QQQYbRW4ijiZ+yxs9pqEhJh0DqW3Q== - dependencies: - execa "^1.0.0" - lcid "^2.0.0" - mem "^4.0.0" - os-name@3.1.0, os-name@^3.1.0: version "3.1.0" resolved "https://registry.yarnpkg.com/os-name/-/os-name-3.1.0.tgz#dec19d966296e1cd62d701a5a66ee1ddeae70801" @@ -8232,11 +8650,6 @@ p-cancelable@^2.0.0: resolved "https://registry.yarnpkg.com/p-cancelable/-/p-cancelable-2.0.0.tgz#4a3740f5bdaf5ed5d7c3e34882c6fb5d6b266a6e" integrity sha512-wvPXDmbMmu2ksjkB4Z3nZWTSkJEb9lqVdMaCKpZUGJG9TMiNp9XcbG3fn9fPKjem04fJMJnXoyFPk2FmgiaiNg== -p-defer@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/p-defer/-/p-defer-1.0.0.tgz#9f6eb182f6c9aa8cd743004a7d4f96b196b0fb0c" - integrity sha1-n26xgvbJqozXQwBKfU+WsZaw+ww= - p-each-series@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/p-each-series/-/p-each-series-2.1.0.tgz#961c8dd3f195ea96c747e636b262b800a6b1af48" @@ -8252,11 +8665,6 @@ p-finally@^2.0.0: resolved "https://registry.yarnpkg.com/p-finally/-/p-finally-2.0.1.tgz#bd6fcaa9c559a096b680806f4d657b3f0f240561" integrity sha512-vpm09aKwq6H9phqRQzecoDpD8TmVyGw70qmWlyq5onxY7tqyTTFVvxMykxQSQKILBSFlbXpypIw2T1Ml7+DDtw== -p-is-promise@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/p-is-promise/-/p-is-promise-2.1.0.tgz#918cebaea248a62cf7ffab8e3bca8c5f882fc42e" - integrity sha512-Y3W0wlRPK8ZMRbNq97l4M5otioeA5lm1z7bkNkxCka8HSPjR0xRWmpCmc9utiaLP9Jb1eD8BgeIxTW4AIF45Pg== - p-limit@^1.1.0: version "1.3.0" resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-1.3.0.tgz#b86bd5f0c25690911c7590fcbfc2010d54b3ccb8" @@ -8661,7 +9069,7 @@ pn@^1.1.0: resolved "https://registry.yarnpkg.com/pn/-/pn-1.1.0.tgz#e2f4cef0e219f463c179ab37463e4e1ecdccbafb" integrity sha512-2qHaIQr2VLRFoxe2nASzsV6ef4yOOH+Fi9FBOVH6cqeSgUnoyySPZkxzLuzd+RYOQTRpROA0ztTMqxROKSb/nA== -portfinder@^1.0.25, portfinder@^1.0.26: +portfinder@^1.0.26: version "1.0.26" resolved "https://registry.npm.taobao.org/portfinder/download/portfinder-1.0.26.tgz#475658d56ca30bed72ac7f1378ed350bd1b64e70" integrity sha1-R1ZY1WyjC+1yrH8TeO01C9G2TnA= @@ -8863,7 +9271,12 @@ postcss-value-parser@^4.0.0, postcss-value-parser@^4.0.3: resolved "https://registry.yarnpkg.com/postcss-value-parser/-/postcss-value-parser-4.0.3.tgz#651ff4593aa9eda8d5d0d66593a2417aeaeb325d" integrity sha512-N7h4pG+Nnu5BEIzyeaaIYWs0LI5XC40OrRh5L60z0QjFsqGWcHcbkBvpe1WYpcIS9yQ8sOi/vIPt1ejQCrMVrg== -postcss@^7.0.0, postcss@^7.0.1, postcss@^7.0.13, postcss@^7.0.14, postcss@^7.0.16, postcss@^7.0.17, postcss@^7.0.2, postcss@^7.0.21, postcss@^7.0.26, postcss@^7.0.27, postcss@^7.0.28, postcss@^7.0.5, postcss@^7.0.6, postcss@^7.0.7: +postcss-value-parser@^4.1.0: + version "4.1.0" + resolved "https://registry.npm.taobao.org/postcss-value-parser/download/postcss-value-parser-4.1.0.tgz#443f6a20ced6481a2bda4fa8532a6e55d789a2cb" + integrity sha1-RD9qIM7WSBor2k+oUypuVdeJoss= + +postcss@^7.0.0, postcss@^7.0.1, postcss@^7.0.13, postcss@^7.0.14, postcss@^7.0.16, postcss@^7.0.17, postcss@^7.0.2, postcss@^7.0.21, postcss@^7.0.26, postcss@^7.0.27, postcss@^7.0.5, postcss@^7.0.6, postcss@^7.0.7: version "7.0.28" resolved "https://registry.npm.taobao.org/postcss/download/postcss-7.0.28.tgz#d349ced7743475717ba91f6810efb58c51fb5dbb" integrity sha1-00nO13Q0dXF7qR9oEO+1jFH7Xbs= @@ -8872,6 +9285,15 @@ postcss@^7.0.0, postcss@^7.0.1, postcss@^7.0.13, postcss@^7.0.14, postcss@^7.0.1 source-map "^0.6.1" supports-color "^6.1.0" +postcss@^7.0.30, postcss@^7.0.31: + version "7.0.31" + resolved "https://registry.npm.taobao.org/postcss/download/postcss-7.0.31.tgz?cache=0&sync_timestamp=1590459243202&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fpostcss%2Fdownload%2Fpostcss-7.0.31.tgz#332af45cb73e26c0ee2614d7c7fb02dfcc2bd6dd" + integrity sha1-Myr0XLc+JsDuJhTXx/sC38wr1t0= + dependencies: + chalk "^2.4.2" + source-map "^0.6.1" + supports-color "^6.1.0" + prelude-ls@~1.1.2: version "1.1.2" resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.1.2.tgz#21932a549f5e52ffd9a827f570e04be62a97da54" @@ -9188,7 +9610,7 @@ read-pkg-up@^3.0.0: find-up "^2.0.0" read-pkg "^3.0.0" -read-pkg-up@^7.0.0, read-pkg-up@^7.0.1: +read-pkg-up@^7.0.1: version "7.0.1" resolved "https://registry.npm.taobao.org/read-pkg-up/download/read-pkg-up-7.0.1.tgz#f3a6135758459733ae2b95638056e1854e7ef507" integrity sha1-86YTV1hFlzOuK5VjgFbhhU5+9Qc= @@ -9402,25 +9824,25 @@ relateurl@^0.2.7: resolved "https://registry.npm.taobao.org/relateurl/download/relateurl-0.2.7.tgz#54dbf377e51440aca90a4cd274600d3ff2d888a9" integrity sha1-VNvzd+UUQKypCkzSdGANP/LYiKk= -release-it@^13.5.7: - version "13.5.7" - resolved "https://registry.npm.taobao.org/release-it/download/release-it-13.5.7.tgz#3ebce13e0f2545d191576ff8f3f1926c00db2e09" - integrity sha1-PrzhPg8lRdGRV2/48/GSbADbLgk= +release-it@^13.6.1: + version "13.6.1" + resolved "https://registry.npm.taobao.org/release-it/download/release-it-13.6.1.tgz#4ee5a3d7d42eefc3ac20b7bde07fcb98860e9a31" + integrity sha1-TuWj19Qu78OsILe94H/LmIYOmjE= dependencies: "@iarna/toml" "2.2.5" - "@octokit/rest" "17.6.0" + "@octokit/rest" "17.9.0" async-retry "1.3.1" chalk "4.0.0" cosmiconfig "6.0.0" debug "4.1.1" deprecated-obj "1.0.1" detect-repo-changelog "1.0.1" - execa "4.0.0" + execa "4.0.1" find-up "4.1.0" form-data "3.0.0" git-url-parse "11.1.2" globby "11.0.0" - got "11.0.2" + got "11.1.4" import-cwd "3.0.0" inquirer "7.1.0" is-ci "2.0.0" @@ -9434,9 +9856,9 @@ release-it@^13.5.7: supports-color "7.1.0" update-notifier "4.1.0" url-join "4.0.1" - uuid "7.0.3" + uuid "8.0.0" window-size "1.1.1" - yaml "1.9.2" + yaml "1.10.0" yargs-parser "18.1.3" remark-parse@^6.0.0: @@ -9625,11 +10047,6 @@ require-directory@^2.1.1: resolved "https://registry.yarnpkg.com/require-directory/-/require-directory-2.1.1.tgz#8c64ad5fd30dab1c976e2344ffe7f792a6a6df42" integrity sha1-jGStX9MNqxyXbiNE/+f3kqam30I= -require-main-filename@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/require-main-filename/-/require-main-filename-1.0.1.tgz#97f717b69d48784f5f526a6c5aa8ffdda055a4d1" - integrity sha1-l/cXtp1IeE9fUmpsWqj/3aBVpNE= - require-main-filename@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/require-main-filename/-/require-main-filename-2.0.0.tgz#d0b329ecc7cc0f61649f62215be69af54aa8989b" @@ -9781,13 +10198,20 @@ run-queue@^1.0.0, run-queue@^1.0.3: dependencies: aproba "^1.1.1" -rxjs@^6.3.3, rxjs@^6.5.3: +rxjs@^6.5.3: version "6.5.4" resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-6.5.4.tgz#e0777fe0d184cec7872df147f303572d414e211c" integrity sha512-naMQXcgEo3csAEGvw/NydRA0fuS2nDZJiw1YUWFKU7aPPAPGZEsD4Iimit96qwCieH6y614MCLYwdkrWx7z/7Q== dependencies: tslib "^1.9.0" +rxjs@^6.5.5: + version "6.5.5" + resolved "https://registry.npm.taobao.org/rxjs/download/rxjs-6.5.5.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Frxjs%2Fdownload%2Frxjs-6.5.5.tgz#c5c884e3094c8cfee31bf27eb87e54ccfc87f9ec" + integrity sha1-xciE4wlMjP7jG/J+uH5UzPyH+ew= + dependencies: + tslib "^1.9.0" + safe-buffer@5.1.2, safe-buffer@~5.1.0, safe-buffer@~5.1.1: version "5.1.2" resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.2.tgz#991ec69d296e0313747d59bdfd2b745c35f8828d" @@ -9836,10 +10260,10 @@ sass-loader@^8.0.2: schema-utils "^2.6.1" semver "^6.3.0" -sass@^1.26.5: - version "1.26.5" - resolved "https://registry.npm.taobao.org/sass/download/sass-1.26.5.tgz?cache=0&sync_timestamp=1587724518659&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fsass%2Fdownload%2Fsass-1.26.5.tgz#2d7aecfbbabfa298567c8f06615b6e24d2d68099" - integrity sha1-LXrs+7q/ophWfI8GYVtuJNLWgJk= +sass@^1.26.7: + version "1.26.7" + resolved "https://registry.npm.taobao.org/sass/download/sass-1.26.7.tgz#d3c9f3dd9771632bfb60af8746c308da3765166d" + integrity sha1-08nz3ZdxYyv7YK+HRsMI2jdlFm0= dependencies: chokidar ">=2.0.0 <4.0.0" @@ -10032,7 +10456,7 @@ shebang-regex@^3.0.0: resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-3.0.0.tgz#ae16f1644d873ecad843b0307b143362d4c42172" integrity sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A== -shelljs@0.8.4: +shelljs@0.8.4, shelljs@^0.8.3: version "0.8.4" resolved "https://registry.npm.taobao.org/shelljs/download/shelljs-0.8.4.tgz#de7684feeb767f8716b326078a8a00875890e3c2" integrity sha1-3naE/ut2f4cWsyYHiooAh1iQ48I= @@ -10140,13 +10564,14 @@ sockjs-client@1.4.0: json3 "^3.3.2" url-parse "^1.4.3" -sockjs@0.3.19: - version "0.3.19" - resolved "https://registry.yarnpkg.com/sockjs/-/sockjs-0.3.19.tgz#d976bbe800af7bd20ae08598d582393508993c0d" - integrity sha512-V48klKZl8T6MzatbLlzzRNhMepEys9Y4oGFpypBFFn1gLI/QQ9HtLLyWJNbPlwGLelOVOEijUbTTJeLLI59jLw== +sockjs@0.3.20: + version "0.3.20" + resolved "https://registry.npm.taobao.org/sockjs/download/sockjs-0.3.20.tgz#b26a283ec562ef8b2687b44033a4eeceac75d855" + integrity sha1-smooPsVi74smh7RAM6Tuzqx12FU= dependencies: faye-websocket "^0.10.0" - uuid "^3.0.1" + uuid "^3.4.0" + websocket-driver "0.6.5" sort-keys@^1.0.0: version "1.1.2" @@ -10237,10 +10662,10 @@ spdy-transport@^3.0.0: readable-stream "^3.0.6" wbuf "^1.7.3" -spdy@^4.0.1: - version "4.0.1" - resolved "https://registry.yarnpkg.com/spdy/-/spdy-4.0.1.tgz#6f12ed1c5db7ea4f24ebb8b89ba58c87c08257f2" - integrity sha512-HeZS3PBdMA+sZSu0qwpCxl3DeALD5ASx8pAX0jZdKXSpPWbQ6SYGnlg3BBmYLx5LtiZrmkAZfErCm2oECBcioA== +spdy@^4.0.2: + version "4.0.2" + resolved "https://registry.npm.taobao.org/spdy/download/spdy-4.0.2.tgz#b74f466203a3eda452c02492b91fb9e84a27677b" + integrity sha1-t09GYgOj7aRSwCSSuR+56EonZ3s= dependencies: debug "^4.1.0" handle-thing "^2.0.0" @@ -10398,16 +10823,7 @@ string-length@^3.1.0: astral-regex "^1.0.0" strip-ansi "^5.2.0" -string-width@^1.0.1: - version "1.0.2" - resolved "https://registry.yarnpkg.com/string-width/-/string-width-1.0.2.tgz#118bdf5b8cdc51a2a7e70d211e07e2b0b9b107d3" - integrity sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M= - dependencies: - code-point-at "^1.0.0" - is-fullwidth-code-point "^1.0.0" - strip-ansi "^3.0.0" - -string-width@^2.0.0, string-width@^2.1.1: +string-width@^2.0.0: version "2.1.1" resolved "https://registry.yarnpkg.com/string-width/-/string-width-2.1.1.tgz#ab93f27a8dc13d28cac815c462143a6d9012ae9e" integrity sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw== @@ -10415,7 +10831,7 @@ string-width@^2.0.0, string-width@^2.1.1: is-fullwidth-code-point "^2.0.0" strip-ansi "^4.0.0" -string-width@^3.0.0: +string-width@^3.0.0, string-width@^3.1.0: version "3.1.0" resolved "https://registry.yarnpkg.com/string-width/-/string-width-3.1.0.tgz#22767be21b62af1081574306f69ac51b62203961" integrity sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w== @@ -10507,7 +10923,7 @@ strip-ansi@^4.0.0: dependencies: ansi-regex "^3.0.0" -strip-ansi@^5.1.0, strip-ansi@^5.2.0: +strip-ansi@^5.0.0, strip-ansi@^5.1.0, strip-ansi@^5.2.0: version "5.2.0" resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-5.2.0.tgz#8c9a536feb6afc962bdfa5b104a5091c1ad9c0ae" integrity sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA== @@ -10650,10 +11066,10 @@ stylelint-order@^4.0.0: postcss "^7.0.26" postcss-sorting "^5.0.1" -stylelint@^13.3.3: - version "13.3.3" - resolved "https://registry.npm.taobao.org/stylelint/download/stylelint-13.3.3.tgz?cache=0&sync_timestamp=1587470969963&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fstylelint%2Fdownload%2Fstylelint-13.3.3.tgz#e267a628ebfc1adad6f5a1fe818724c34171402b" - integrity sha1-4memKOv8GtrW9aH+gYckw0FxQCs= +stylelint@^13.5.0: + version "13.5.0" + resolved "https://registry.npm.taobao.org/stylelint/download/stylelint-13.5.0.tgz?cache=0&sync_timestamp=1589895694707&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fstylelint%2Fdownload%2Fstylelint-13.5.0.tgz#9edbf90c8c02c47fd0c4818376e3799145f22cab" + integrity sha1-ntv5DIwCxH/QxIGDduN5kUXyLKs= dependencies: "@stylelint/postcss-css-in-js" "^0.37.1" "@stylelint/postcss-markdown" "^0.36.1" @@ -10664,7 +11080,7 @@ stylelint@^13.3.3: debug "^4.1.1" execall "^2.0.0" file-entry-cache "^5.0.1" - get-stdin "^7.0.0" + get-stdin "^8.0.0" global-modules "^2.0.0" globby "^11.0.0" globjoin "^0.1.4" @@ -10672,15 +11088,15 @@ stylelint@^13.3.3: ignore "^5.1.4" import-lazy "^4.0.0" imurmurhash "^0.1.4" - known-css-properties "^0.18.0" + known-css-properties "^0.19.0" leven "^3.1.0" lodash "^4.17.15" - log-symbols "^3.0.0" + log-symbols "^4.0.0" mathml-tag-names "^2.1.3" - meow "^6.1.0" + meow "^7.0.1" micromatch "^4.0.2" normalize-selector "^0.2.0" - postcss "^7.0.27" + postcss "^7.0.30" postcss-html "^0.36.0" postcss-less "^3.1.4" postcss-media-query-parser "^0.2.3" @@ -10691,7 +11107,7 @@ stylelint@^13.3.3: postcss-scss "^2.0.0" postcss-selector-parser "^6.0.2" postcss-syntax "^0.36.2" - postcss-value-parser "^4.0.3" + postcss-value-parser "^4.1.0" resolve-from "^5.0.0" slash "^3.0.0" specificity "^0.4.1" @@ -11120,6 +11536,11 @@ type-fest@^0.11.0: resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.11.0.tgz#97abf0872310fed88a5c466b25681576145e33f1" integrity sha512-OdjXJxnCN1AvyLSzeKIgXTXxV+99ZuXl3Hpo9XpJAv9MBcHrrJOQ5kV7ypXOuQie+AmWG25hLbiKdwYTifzcfQ== +type-fest@^0.13.1: + version "0.13.1" + resolved "https://registry.npm.taobao.org/type-fest/download/type-fest-0.13.1.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Ftype-fest%2Fdownload%2Ftype-fest-0.13.1.tgz#0172cb5bce80b0bd542ea348db50c7e21834d934" + integrity sha1-AXLLW86AsL1ULqNI21DH4hg02TQ= + type-fest@^0.6.0: version "0.6.0" resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.6.0.tgz#8d2a2370d3df886eb5c90ada1c5bf6188acf838b" @@ -11150,10 +11571,10 @@ typedarray@^0.0.6: resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777" integrity sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c= -typescript@^3.8.3: - version "3.8.3" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.8.3.tgz#409eb8544ea0335711205869ec458ab109ee1061" - integrity sha512-MYlEfn5VrLNsgudQTVJeNaQFUAI7DkhnOjdpAp4T+ku1TfQClewlbSuTVHiA+8skNBgaf02TL/kLOvig4y3G8w== +typescript@^3.9.3: + version "3.9.3" + resolved "https://registry.npm.taobao.org/typescript/download/typescript-3.9.3.tgz#d3ac8883a97c26139e42df5e93eeece33d610b8a" + integrity sha1-06yIg6l8JhOeQt9ek+7s4z1hC4o= uc.micro@^1.0.1, uc.micro@^1.0.5: version "1.0.6" @@ -11490,16 +11911,21 @@ utils-merge@1.0.1: resolved "https://registry.yarnpkg.com/utils-merge/-/utils-merge-1.0.1.tgz#9f95710f50a267947b2ccc124741c1028427e713" integrity sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM= -uuid@7.0.3, uuid@^7.0.2: - version "7.0.3" - resolved "https://registry.npm.taobao.org/uuid/download/uuid-7.0.3.tgz?cache=0&sync_timestamp=1588192989289&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fuuid%2Fdownload%2Fuuid-7.0.3.tgz#c5c9f2c8cf25dc0a372c4df1441c41f5bd0c680b" - integrity sha1-xcnyyM8l3Ao3LE3xRBxB9b0MaAs= +uuid@8.0.0: + version "8.0.0" + resolved "https://registry.npm.taobao.org/uuid/download/uuid-8.0.0.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fuuid%2Fdownload%2Fuuid-8.0.0.tgz#bc6ccf91b5ff0ac07bbcdbf1c7c4e150db4dbb6c" + integrity sha1-vGzPkbX/CsB7vNvxx8ThUNtNu2w= -uuid@^3.0.1, uuid@^3.3.2: +uuid@^3.3.2, uuid@^3.4.0: version "3.4.0" resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.4.0.tgz#b23e4358afa8a202fe7a100af1f5f883f02007ee" integrity sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A== +uuid@^7.0.2: + version "7.0.3" + resolved "https://registry.npm.taobao.org/uuid/download/uuid-7.0.3.tgz?cache=0&sync_timestamp=1588192989289&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fuuid%2Fdownload%2Fuuid-7.0.3.tgz#c5c9f2c8cf25dc0a372c4df1441c41f5bd0c680b" + integrity sha1-xcnyyM8l3Ao3LE3xRBxB9b0MaAs= + v8-compile-cache@^2.0.3, v8-compile-cache@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/v8-compile-cache/-/v8-compile-cache-2.1.0.tgz#e14de37b31a6d194f5690d67efc4e7f6fc6ab30e" @@ -11627,10 +12053,10 @@ vue-loader@^15.9.2: vue-hot-reload-api "^2.3.0" vue-style-loader "^4.1.0" -vue-router@^3.1.6: - version "3.1.6" - resolved "https://registry.yarnpkg.com/vue-router/-/vue-router-3.1.6.tgz#45f5a3a3843e31702c061dd829393554e4328f89" - integrity sha512-GYhn2ynaZlysZMkFE5oCHRUTqE8BWs/a9YbKpNLi0i7xD6KG1EzDqpHQmv1F5gXjr8kL5iIVS8EOtRaVUEXTqA== +vue-router@^3.3.1: + version "3.3.1" + resolved "https://registry.npm.taobao.org/vue-router/download/vue-router-3.3.1.tgz?cache=0&sync_timestamp=1590599727341&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fvue-router%2Fdownload%2Fvue-router-3.3.1.tgz#7d0545dd8ebf4f45494ca185b7eccb38d67689c1" + integrity sha1-fQVF3Y6/T0VJTKGFt+zLONZ2icE= vue-style-loader@^4.1.0: version "4.1.2" @@ -11707,10 +12133,10 @@ webpack-dev-middleware@^3.7.2: range-parser "^1.2.1" webpack-log "^2.0.0" -webpack-dev-server@3.10.3: - version "3.10.3" - resolved "https://registry.yarnpkg.com/webpack-dev-server/-/webpack-dev-server-3.10.3.tgz#f35945036813e57ef582c2420ef7b470e14d3af0" - integrity sha512-e4nWev8YzEVNdOMcNzNeCN947sWJNd43E5XvsJzbAL08kGc2frm1tQ32hTJslRS+H65LCb/AaUCYU7fjHCpDeQ== +webpack-dev-server@3.11.0: + version "3.11.0" + resolved "https://registry.npm.taobao.org/webpack-dev-server/download/webpack-dev-server-3.11.0.tgz#8f154a3bce1bcfd1cc618ef4e703278855e7ff8c" + integrity sha1-jxVKO84bz9HMYY705wMniFXn/4w= dependencies: ansi-html "0.0.7" bonjour "^3.5.0" @@ -11720,31 +12146,31 @@ webpack-dev-server@3.10.3: debug "^4.1.1" del "^4.1.1" express "^4.17.1" - html-entities "^1.2.1" + html-entities "^1.3.1" http-proxy-middleware "0.19.1" import-local "^2.0.0" internal-ip "^4.3.0" ip "^1.1.5" is-absolute-url "^3.0.3" killable "^1.0.1" - loglevel "^1.6.6" + loglevel "^1.6.8" opn "^5.5.0" p-retry "^3.0.1" - portfinder "^1.0.25" + portfinder "^1.0.26" schema-utils "^1.0.0" selfsigned "^1.10.7" semver "^6.3.0" serve-index "^1.9.1" - sockjs "0.3.19" + sockjs "0.3.20" sockjs-client "1.4.0" - spdy "^4.0.1" + spdy "^4.0.2" strip-ansi "^3.0.1" supports-color "^6.1.0" url "^0.11.0" webpack-dev-middleware "^3.7.2" webpack-log "^2.0.0" ws "^6.2.1" - yargs "12.0.5" + yargs "^13.3.2" webpack-log@^2.0.0: version "2.0.0" @@ -11812,6 +12238,13 @@ webpackbar@^4.0.0: text-table "^0.2.0" wrap-ansi "^6.0.0" +websocket-driver@0.6.5: + version "0.6.5" + resolved "https://registry.npm.taobao.org/websocket-driver/download/websocket-driver-0.6.5.tgz#5cb2556ceb85f4373c6d8238aa691c8454e13a36" + integrity sha1-XLJVbOuF9Dc8bYI4qmkchFThOjY= + dependencies: + websocket-extensions ">=0.1.1" + websocket-driver@>=0.5.1: version "0.7.3" resolved "https://registry.yarnpkg.com/websocket-driver/-/websocket-driver-0.7.3.tgz#a2d4e0d4f4f116f1e6297eba58b05d430100e9f9" @@ -11898,10 +12331,10 @@ word-wrap@~1.2.3: resolved "https://registry.yarnpkg.com/word-wrap/-/word-wrap-1.2.3.tgz#610636f6b1f703891bd34771ccb17fb93b47079c" integrity sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ== -wordwrap@~0.0.2: - version "0.0.3" - resolved "https://registry.yarnpkg.com/wordwrap/-/wordwrap-0.0.3.tgz#a3d5da6cd5c0bc0008d37234bbaf1bed63059107" - integrity sha1-o9XabNXAvAAI03I0u68b7WMFkQc= +wordwrap@^1.0.0: + version "1.0.0" + resolved "https://registry.npm.taobao.org/wordwrap/download/wordwrap-1.0.0.tgz#27584810891456a4171c8d0226441ade90cbcaeb" + integrity sha1-J1hIEIkUVqQXHI0CJkQa3pDLyus= worker-farm@^1.7.0: version "1.7.0" @@ -11917,13 +12350,14 @@ worker-rpc@^0.1.0: dependencies: microevent.ts "~0.1.1" -wrap-ansi@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-2.1.0.tgz#d8fc3d284dd05794fe84973caecdd1cf824fdd85" - integrity sha1-2Pw9KE3QV5T+hJc8rs3Rz4JP3YU= +wrap-ansi@^5.1.0: + version "5.1.0" + resolved "https://registry.npm.taobao.org/wrap-ansi/download/wrap-ansi-5.1.0.tgz#1fd1f67235d5b6d0fee781056001bfb694c03b09" + integrity sha1-H9H2cjXVttD+54EFYAG/tpTAOwk= dependencies: - string-width "^1.0.1" - strip-ansi "^3.0.1" + ansi-styles "^3.2.0" + string-width "^3.0.0" + strip-ansi "^5.0.0" wrap-ansi@^6.0.0, wrap-ansi@^6.2.0: version "6.2.0" @@ -11993,7 +12427,7 @@ xtend@^4.0.0, xtend@^4.0.1, xtend@~4.0.1: resolved "https://registry.yarnpkg.com/xtend/-/xtend-4.0.2.tgz#bb72779f5fa465186b1f438f674fa347fdb5db54" integrity sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ== -"y18n@^3.2.1 || ^4.0.0", y18n@^4.0.0: +y18n@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/y18n/-/y18n-4.0.0.tgz#95ef94f85ecc81d007c264e190a120f0a3c8566b" integrity sha512-r9S/ZyXu/Xu9q1tYlpsLIsa3EeLXXk0VwlxqTcFRfg9EhMW+17kbt9G0NrgCmhGb5vT2hyhJZLfDGx+7+5Uj/w== @@ -12008,7 +12442,12 @@ yallist@^3.0.2: resolved "https://registry.yarnpkg.com/yallist/-/yallist-3.1.1.tgz#dbb7daf9bfd8bac9ab45ebf602b8cbad0d5d08fd" integrity sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g== -yaml@1.9.2, yaml@^1.7.2: +yaml@1.10.0: + version "1.10.0" + resolved "https://registry.npm.taobao.org/yaml/download/yaml-1.10.0.tgz?cache=0&sync_timestamp=1589624730167&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fyaml%2Fdownload%2Fyaml-1.10.0.tgz#3b593add944876077d4d683fee01081bd9fff31e" + integrity sha1-O1k63ZRIdgd9TWg/7gEIG9n/8x4= + +yaml@^1.7.2: version "1.9.2" resolved "https://registry.npm.taobao.org/yaml/download/yaml-1.9.2.tgz?cache=0&sync_timestamp=1587374901084&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fyaml%2Fdownload%2Fyaml-1.9.2.tgz#f0cfa865f003ab707663e4f04b3956957ea564ed" integrity sha1-8M+oZfADq3B2Y+TwSzlWlX6lZO0= @@ -12022,7 +12461,7 @@ yargs-parser@10.x, yargs-parser@^10.0.0: dependencies: camelcase "^4.1.0" -yargs-parser@18.1.3, yargs-parser@^18.1.1: +yargs-parser@18.1.3, yargs-parser@^18.1.1, yargs-parser@^18.1.3: version "18.1.3" resolved "https://registry.npm.taobao.org/yargs-parser/download/yargs-parser-18.1.3.tgz#be68c4975c6b2abf469236b0c870362fab09a7b0" integrity sha1-vmjEl1xrKr9GkjawyHA2L6sJp7A= @@ -12030,31 +12469,29 @@ yargs-parser@18.1.3, yargs-parser@^18.1.1: camelcase "^5.0.0" decamelize "^1.2.0" -yargs-parser@^11.1.1: - version "11.1.1" - resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-11.1.1.tgz#879a0865973bca9f6bab5cbdf3b1c67ec7d3bcf4" - integrity sha512-C6kB/WJDiaxONLJQnF8ccx9SEeoTTLek8RVbaOIsrAUS8VrBEXfmeSnCZxygc+XC2sNMBIwOOnfcxiynjHsVSQ== +yargs-parser@^13.1.2: + version "13.1.2" + resolved "https://registry.npm.taobao.org/yargs-parser/download/yargs-parser-13.1.2.tgz#130f09702ebaeef2650d54ce6e3e5706f7a4fb38" + integrity sha1-Ew8JcC667vJlDVTObj5XBvek+zg= dependencies: camelcase "^5.0.0" decamelize "^1.2.0" -yargs@12.0.5: - version "12.0.5" - resolved "https://registry.yarnpkg.com/yargs/-/yargs-12.0.5.tgz#05f5997b609647b64f66b81e3b4b10a368e7ad13" - integrity sha512-Lhz8TLaYnxq/2ObqHDql8dX8CJi97oHxrjUcYtzKbbykPtVW9WB+poxI+NM2UIzsMgNCZTIf0AQwsjK5yMAqZw== +yargs@^13.3.2: + version "13.3.2" + resolved "https://registry.npm.taobao.org/yargs/download/yargs-13.3.2.tgz#ad7ffefec1aa59565ac915f82dccb38a9c31a2dd" + integrity sha1-rX/+/sGqWVZayRX4Lcyzipwxot0= dependencies: - cliui "^4.0.0" - decamelize "^1.2.0" + cliui "^5.0.0" find-up "^3.0.0" - get-caller-file "^1.0.1" - os-locale "^3.0.0" + get-caller-file "^2.0.1" require-directory "^2.1.1" - require-main-filename "^1.0.1" + require-main-filename "^2.0.0" set-blocking "^2.0.0" - string-width "^2.0.0" + string-width "^3.0.0" which-module "^2.0.0" - y18n "^3.2.1 || ^4.0.0" - yargs-parser "^11.1.1" + y18n "^4.0.0" + yargs-parser "^13.1.2" yargs@^15.0.2, yargs@^15.3.1: version "15.3.1" From ba04660ed34e9d5ff2c8fbdbc1785761ef9d578d Mon Sep 17 00:00:00 2001 From: lazy1993 <2280042554@qq.com> Date: Sat, 30 May 2020 20:34:52 +0800 Subject: [PATCH 05/58] feat(Field): fix render error when value is null or undefined (#6419) --- src/field/index.js | 2 +- .../test/__snapshots__/index.spec.js.snap | 18 +++++++++++++++ src/field/test/index.spec.js | 22 +++++++++++++++++++ 3 files changed, 41 insertions(+), 1 deletion(-) diff --git a/src/field/index.js b/src/field/index.js index acc2d6d2c..61fa5f82f 100644 --- a/src/field/index.js +++ b/src/field/index.js @@ -491,7 +491,7 @@ export default createComponent({ genWordLimit() { if (this.showWordLimit && this.maxlength) { - const count = this.value.length; + const count = (this.value || '').length; const full = count >= this.maxlength; return ( diff --git a/src/field/test/__snapshots__/index.spec.js.snap b/src/field/test/__snapshots__/index.spec.js.snap index 6e2a72b70..0c1a0458e 100644 --- a/src/field/test/__snapshots__/index.spec.js.snap +++ b/src/field/test/__snapshots__/index.spec.js.snap @@ -79,6 +79,24 @@ exports[`reach max word-limit 1`] = ` </div> `; +exports[`reach max word-limit null 1`] = ` +<div class="van-cell van-field"> + <div class="van-cell__value van-cell__value--alone van-field__value"> + <div class="van-field__body"><input type="text" class="van-field__control"></div> + <div class="van-field__word-limit"><span class="van-field__word-num">0</span>/3</div> + </div> +</div> +`; + +exports[`reach max word-limit undefined 1`] = ` +<div class="van-cell van-field"> + <div class="van-cell__value van-cell__value--alone van-field__value"> + <div class="van-field__body"><input type="text" class="van-field__control"></div> + <div class="van-field__word-limit"><span class="van-field__word-num">0</span>/3</div> + </div> +</div> +`; + exports[`render extra slot 1`] = ` <div class="van-cell van-field"> <div class="van-cell__value van-cell__value--alone van-field__value"> diff --git a/src/field/test/index.spec.js b/src/field/test/index.spec.js index f44aca872..d3050f98f 100644 --- a/src/field/test/index.spec.js +++ b/src/field/test/index.spec.js @@ -310,6 +310,28 @@ test('reach max word-limit', () => { expect(wrapper).toMatchSnapshot(); }); +test('reach max word-limit undefined', () => { + const wrapper = mount(Field, { + propsData: { + value: undefined, + maxlength: 3, + showWordLimit: true, + }, + }); + expect(wrapper).toMatchSnapshot(); +}); + +test('reach max word-limit null', () => { + const wrapper = mount(Field, { + propsData: { + value: null, + maxlength: 3, + showWordLimit: true, + }, + }); + expect(wrapper).toMatchSnapshot(); +}); + test('name prop', () => { const wrapper = mount(Field, { propsData: { From d21420b7d2357c4c0b47bc0f38b48e57d7fd9b81 Mon Sep 17 00:00:00 2001 From: chenjiahan <chenjiahan@youzan.com> Date: Sat, 30 May 2020 21:16:37 +0800 Subject: [PATCH 06/58] fix(NoticeBar): scroll failed after activated --- src/notice-bar/index.js | 28 +++++++++++-------- .../test/__snapshots__/demo.spec.js.snap | 12 ++++---- .../test/__snapshots__/index.spec.js.snap | 2 +- 3 files changed, 23 insertions(+), 19 deletions(-) diff --git a/src/notice-bar/index.js b/src/notice-bar/index.js index 039d3c8bb..a2a95fd78 100644 --- a/src/notice-bar/index.js +++ b/src/notice-bar/index.js @@ -32,7 +32,6 @@ export default createComponent({ offset: 0, duration: 0, wrapWidth: 0, - firstRound: true, contentWidth: 0, }; }, @@ -45,6 +44,10 @@ export default createComponent({ }, }, + activated() { + this.start(); + }, + methods: { onClickIcon(event) { if (this.mode === 'closeable') { @@ -56,7 +59,6 @@ export default createComponent({ onTransitionEnd() { this.offset = this.wrapWidth; this.duration = 0; - this.firstRound = false; doubleRaf(() => { this.offset = -this.contentWidth; @@ -66,13 +68,16 @@ export default createComponent({ }, reset() { + this.offset = 0; this.duration = 0; this.wrapWidth = 0; this.contentWidth = 0; }, start() { - this.$nextTick(() => { + this.reset(); + + setTimeout(() => { const { wrap, content } = this.$refs; if (!wrap || !content) { return; @@ -82,14 +87,14 @@ export default createComponent({ const contentWidth = content.getBoundingClientRect().width; if (this.scrollable && contentWidth > wrapWidth) { - this.offset = -contentWidth; - this.duration = contentWidth / this.speed; - this.wrapWidth = wrapWidth; - this.contentWidth = contentWidth; - } else { - this.reset(); + doubleRaf(() => { + this.offset = -contentWidth; + this.duration = contentWidth / this.speed; + this.wrapWidth = wrapWidth; + this.contentWidth = contentWidth; + }); } - }); + }, this.delay * 1000); }, }, @@ -102,8 +107,7 @@ export default createComponent({ }; const contentStyle = { - transform: `translateX(${this.offset}px)`, - transitionDelay: (this.firstRound ? this.delay : 0) + 's', + transform: this.offset ? `translateX(${this.offset}px)` : '', transitionDuration: this.duration + 's', }; diff --git a/src/notice-bar/test/__snapshots__/demo.spec.js.snap b/src/notice-bar/test/__snapshots__/demo.spec.js.snap index 12bbba34e..8850bc726 100644 --- a/src/notice-bar/test/__snapshots__/demo.spec.js.snap +++ b/src/notice-bar/test/__snapshots__/demo.spec.js.snap @@ -6,34 +6,34 @@ exports[`renders demo correctly 1`] = ` <div role="alert" class="van-notice-bar"><i class="van-icon van-icon-volume-o van-notice-bar__left-icon"> <!----></i> <div role="marquee" class="van-notice-bar__wrap"> - <div class="van-notice-bar__content" style="transform: translateX(0px); transition-delay: 1s; transition-duration: 0s;">足协杯战线连续第2年上演广州德比战,上赛季半决赛上恒大以两回合5-3的总比分淘汰富力。</div> + <div class="van-notice-bar__content" style="transition-duration: 0s;">足协杯战线连续第2年上演广州德比战,上赛季半决赛上恒大以两回合5-3的总比分淘汰富力。</div> </div> </div> </div> <div> <div role="alert" class="van-notice-bar"> <div role="marquee" class="van-notice-bar__wrap"> - <div class="van-notice-bar__content van-ellipsis" style="transform: translateX(0px); transition-delay: 1s; transition-duration: 0s;">足协杯战线连续第2年上演广州德比战,上赛季半决赛上恒大以两回合5-3的总比分淘汰富力。</div> + <div class="van-notice-bar__content van-ellipsis" style="transition-duration: 0s;">足协杯战线连续第2年上演广州德比战,上赛季半决赛上恒大以两回合5-3的总比分淘汰富力。</div> </div> </div> </div> <div> <div role="alert" class="van-notice-bar van-notice-bar--wrapable"> <div role="marquee" class="van-notice-bar__wrap"> - <div class="van-notice-bar__content" style="transform: translateX(0px); transition-delay: 1s; transition-duration: 0s;">足协杯战线连续第2年上演广州德比战,上赛季半决赛上恒大以两回合5-3的总比分淘汰富力。</div> + <div class="van-notice-bar__content" style="transition-duration: 0s;">足协杯战线连续第2年上演广州德比战,上赛季半决赛上恒大以两回合5-3的总比分淘汰富力。</div> </div> </div> </div> <div> <div role="alert" class="van-notice-bar"> <div role="marquee" class="van-notice-bar__wrap"> - <div class="van-notice-bar__content" style="transform: translateX(0px); transition-delay: 1s; transition-duration: 0s;">足协杯战线连续第2年上演广州德比战,上赛季半决赛上恒大以两回合5-3的总比分淘汰富力。</div> + <div class="van-notice-bar__content" style="transition-duration: 0s;">足协杯战线连续第2年上演广州德比战,上赛季半决赛上恒大以两回合5-3的总比分淘汰富力。</div> </div><i class="van-icon van-icon-cross van-notice-bar__right-icon"> <!----></i> </div> <div role="alert" class="van-notice-bar"> <div role="marquee" class="van-notice-bar__wrap"> - <div class="van-notice-bar__content" style="transform: translateX(0px); transition-delay: 1s; transition-duration: 0s;">足协杯战线连续第2年上演广州德比战,上赛季半决赛上恒大以两回合5-3的总比分淘汰富力。</div> + <div class="van-notice-bar__content" style="transition-duration: 0s;">足协杯战线连续第2年上演广州德比战,上赛季半决赛上恒大以两回合5-3的总比分淘汰富力。</div> </div><i class="van-icon van-icon-arrow van-notice-bar__right-icon"> <!----></i> </div> @@ -42,7 +42,7 @@ exports[`renders demo correctly 1`] = ` <div role="alert" class="van-notice-bar" style="color: rgb(25, 137, 250); background: rgb(236, 249, 255);"><i class="van-icon van-icon-info-o van-notice-bar__left-icon"> <!----></i> <div role="marquee" class="van-notice-bar__wrap"> - <div class="van-notice-bar__content" style="transform: translateX(0px); transition-delay: 1s; transition-duration: 0s;">足协杯战线连续第2年上演广州德比战,上赛季半决赛上恒大以两回合5-3的总比分淘汰富力。</div> + <div class="van-notice-bar__content" style="transition-duration: 0s;">足协杯战线连续第2年上演广州德比战,上赛季半决赛上恒大以两回合5-3的总比分淘汰富力。</div> </div> </div> </div> diff --git a/src/notice-bar/test/__snapshots__/index.spec.js.snap b/src/notice-bar/test/__snapshots__/index.spec.js.snap index 37d112ac5..e765e651e 100644 --- a/src/notice-bar/test/__snapshots__/index.spec.js.snap +++ b/src/notice-bar/test/__snapshots__/index.spec.js.snap @@ -2,7 +2,7 @@ exports[`icon slot 1`] = ` <div role="alert" class="van-notice-bar">Custom Left Icon<div role="marquee" class="van-notice-bar__wrap"> - <div class="van-notice-bar__content" style="transform: translateX(0px); transition-delay: 1s; transition-duration: 0s;"> + <div class="van-notice-bar__content" style="transition-duration: 0s;"> Content </div> </div>Custom Right Icon</div> From 8ec96da204ba2b15ee8915f0ffa9d84ec52233e1 Mon Sep 17 00:00:00 2001 From: chenjiahan <chenjiahan@youzan.com> Date: Sat, 30 May 2020 21:19:29 +0800 Subject: [PATCH 07/58] fix: delay might be undefined --- src/notice-bar/index.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/notice-bar/index.js b/src/notice-bar/index.js index a2a95fd78..968ccb61e 100644 --- a/src/notice-bar/index.js +++ b/src/notice-bar/index.js @@ -1,4 +1,4 @@ -import { createNamespace } from '../utils'; +import { createNamespace, isDef } from '../utils'; import { doubleRaf } from '../utils/dom/raf'; import Icon from '../icon'; @@ -75,6 +75,8 @@ export default createComponent({ }, start() { + const delay = isDef(this.delay) ? this.delay * 1000 : 0; + this.reset(); setTimeout(() => { @@ -94,7 +96,7 @@ export default createComponent({ this.contentWidth = contentWidth; }); } - }, this.delay * 1000); + }, delay); }, }, From 8a05cd529ae2a6757d1662f4633af714f6a3e180 Mon Sep 17 00:00:00 2001 From: chenjiahan <chenjiahan@youzan.com> Date: Sat, 30 May 2020 21:30:23 +0800 Subject: [PATCH 08/58] test(NoticeBar): add more test cases --- .../test/__snapshots__/index.spec.js.snap | 16 +++++++ src/notice-bar/test/index.spec.js | 46 +++++++++++++++++++ 2 files changed, 62 insertions(+) diff --git a/src/notice-bar/test/__snapshots__/index.spec.js.snap b/src/notice-bar/test/__snapshots__/index.spec.js.snap index e765e651e..97f9e8e95 100644 --- a/src/notice-bar/test/__snapshots__/index.spec.js.snap +++ b/src/notice-bar/test/__snapshots__/index.spec.js.snap @@ -7,3 +7,19 @@ exports[`icon slot 1`] = ` </div> </div>Custom Right Icon</div> `; + +exports[`should not scroll when content width > wrap width 1`] = ` +<div role="alert" class="van-notice-bar"> + <div role="marquee" class="van-notice-bar__wrap"> + <div class="van-notice-bar__content" style="transition-duration: 0s;">foo</div> + </div> +</div> +`; + +exports[`should scroll when content width > wrap width 1`] = ` +<div role="alert" class="van-notice-bar"> + <div role="marquee" class="van-notice-bar__wrap"> + <div class="van-notice-bar__content" style="transition-duration: 2s; transform: translateX(-100px);">foo</div> + </div> +</div> +`; diff --git a/src/notice-bar/test/index.spec.js b/src/notice-bar/test/index.spec.js index f520ed07a..c86bebf70 100644 --- a/src/notice-bar/test/index.spec.js +++ b/src/notice-bar/test/index.spec.js @@ -48,3 +48,49 @@ test('replay event', async () => { await later(50); expect(wrapper.emitted('replay')).toBeTruthy(); }); + +test('should scroll when content width > wrap width ', async () => { + const wrapper = mount(NoticeBar, { + propsData: { + text: 'foo', + delay: 0, + }, + }); + + const wrap = wrapper.find('.van-notice-bar__wrap'); + const content = wrapper.find('.van-notice-bar__content'); + + wrap.element.getBoundingClientRect = () => ({ + width: 50, + }); + content.element.getBoundingClientRect = () => ({ + width: 100, + }); + + await later(50); + + expect(wrapper).toMatchSnapshot(); +}); + +test('should not scroll when content width > wrap width ', async () => { + const wrapper = mount(NoticeBar, { + propsData: { + text: 'foo', + delay: 0, + }, + }); + + const wrap = wrapper.find('.van-notice-bar__wrap'); + const content = wrapper.find('.van-notice-bar__content'); + + wrap.element.getBoundingClientRect = () => ({ + width: 200, + }); + content.element.getBoundingClientRect = () => ({ + width: 100, + }); + + await later(50); + + expect(wrapper).toMatchSnapshot(); +}); From 16f54e3d75b01597fcddf11677b5ee8af8c53de9 Mon Sep 17 00:00:00 2001 From: neverland <chenjiahan@youzan.com> Date: Sun, 31 May 2020 20:33:07 +0800 Subject: [PATCH 09/58] fix(Popup): incorrect overlay z-index when reopened (#6429) --- src/mixins/popup/overlay.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/mixins/popup/overlay.ts b/src/mixins/popup/overlay.ts index 9bf10c644..1d5d86f6a 100644 --- a/src/mixins/popup/overlay.ts +++ b/src/mixins/popup/overlay.ts @@ -51,7 +51,10 @@ export function updateOverlay(vm: any): void { } export function openOverlay(vm: any, config: OverlayConfig): void { - if (!context.find(vm)) { + const item = context.find(vm); + if (item) { + item.config = config; + } else { const overlay = mountOverlay(vm); context.stack.push({ vm, config, overlay }); } From 9a4b09bcc1670c8cf4cea120df593bb742d4b8a0 Mon Sep 17 00:00:00 2001 From: neverland <chenjiahan@youzan.com> Date: Mon, 1 Jun 2020 21:12:21 +0800 Subject: [PATCH 10/58] docs(cli): update README.md --- packages/vant-cli/README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/vant-cli/README.md b/packages/vant-cli/README.md index 31de84d08..9e71c4984 100644 --- a/packages/vant-cli/README.md +++ b/packages/vant-cli/README.md @@ -35,6 +35,7 @@ yarn add @vant/cli --dev "dev": "vant-cli dev", "test": "vant-cli test", "lint": "vant-cli lint", + "build": "vant-cli build", "release": "vant-cli release", "build-site": "vant-cli build-site" }, From 4d731a3fa8a3cbac0d4d901943fc6acc208856d3 Mon Sep 17 00:00:00 2001 From: neverland <chenjiahan@youzan.com> Date: Tue, 2 Jun 2020 22:14:19 +0800 Subject: [PATCH 11/58] feat(Skeleton): add round prop (#6441) --- src/skeleton/README.md | 1 + src/skeleton/README.zh-CN.md | 3 ++- src/skeleton/index.less | 9 ++++++++- src/skeleton/index.tsx | 7 ++++++- src/skeleton/test/__snapshots__/index.spec.js.snap | 9 +++++++++ src/skeleton/test/index.spec.js | 11 +++++++++++ 6 files changed, 37 insertions(+), 3 deletions(-) diff --git a/src/skeleton/README.md b/src/skeleton/README.md index efbd99e2c..3cf31e308 100644 --- a/src/skeleton/README.md +++ b/src/skeleton/README.md @@ -56,6 +56,7 @@ export default { | avatar | Whether to show avatar placeholder | _boolean_ | `false` | | loading | Whether to show skeleton,pass `false` to show child component | _boolean_ | `true` | | animate | Whether to enable animation | _boolean_ | `true` | +| round `v2.8.5` | Whether to show round title and row | _boolean_ | `false` | | title-width | Title width | _number \| string_ | `40%` | | avatar-size | Size of avatar placeholder | _number \| string_ | `32px` | | avatar-shape | Shape of avatar placeholder,can be set to `square` | _string_ | `round` | diff --git a/src/skeleton/README.zh-CN.md b/src/skeleton/README.zh-CN.md index ddb695772..fc69a07ee 100644 --- a/src/skeleton/README.zh-CN.md +++ b/src/skeleton/README.zh-CN.md @@ -60,8 +60,9 @@ export default { | row-width | 段落占位图宽度,可传数组来设置每一行的宽度 | _number \| string \|<br>(number \| string)[]_ | `100%` | | title | 是否显示标题占位图 | _boolean_ | `false` | | avatar | 是否显示头像占位图 | _boolean_ | `false` | -| loading | 是否显示骨架屏,传`false`时会展示子组件内容 | _boolean_ | `true` | +| loading | 是否显示骨架屏,传 `false` 时会展示子组件内容 | _boolean_ | `true` | | animate | 是否开启动画 | _boolean_ | `true` | +| round `v2.8.5` | 是否将标题和段落显示为圆角风格 | _boolean_ | `false` | | title-width | 标题占位图宽度 | _number \| string_ | `40%` | | avatar-size | 头像占位图大小 | _number \| string_ | `32px` | | avatar-shape | 头像占位图形状,可选值为`square` | _string_ | `round` | diff --git a/src/skeleton/index.less b/src/skeleton/index.less index 2f368e093..95ab87c47 100644 --- a/src/skeleton/index.less +++ b/src/skeleton/index.less @@ -10,7 +10,7 @@ background-color: @skeleton-avatar-background-color; &--round { - border-radius: 100%; + border-radius: @border-radius-max; } } @@ -46,6 +46,13 @@ animation: van-skeleton-blink @skeleton-animation-duration ease-in-out infinite; } + + &--round { + .van-skeleton__row, + .van-skeleton__title { + border-radius: @border-radius-max; + } + } } @keyframes van-skeleton-blink { diff --git a/src/skeleton/index.tsx b/src/skeleton/index.tsx index b430827ed..fa68231d8 100644 --- a/src/skeleton/index.tsx +++ b/src/skeleton/index.tsx @@ -9,6 +9,7 @@ import { DefaultSlots } from '../utils/types'; export type SkeletonProps = { row: number | string; title?: boolean; + round?: boolean; avatar?: boolean; loading: boolean; animate: boolean; @@ -78,7 +79,10 @@ function Skeleton( } return ( - <div class={bem({ animate: props.animate })} {...inherit(ctx)}> + <div + class={bem({ animate: props.animate, round: props.round })} + {...inherit(ctx)} + > {Avatar()} <div class={bem('content')}> {Title()} @@ -90,6 +94,7 @@ function Skeleton( Skeleton.props = { title: Boolean, + round: Boolean, avatar: Boolean, row: { type: [Number, String], diff --git a/src/skeleton/test/__snapshots__/index.spec.js.snap b/src/skeleton/test/__snapshots__/index.spec.js.snap index 2d6923cc0..0ffcccc95 100644 --- a/src/skeleton/test/__snapshots__/index.spec.js.snap +++ b/src/skeleton/test/__snapshots__/index.spec.js.snap @@ -17,6 +17,15 @@ exports[`disable animate 1`] = ` exports[`render chidren 1`] = `<div>Content</div>`; +exports[`round prop 1`] = ` +<div class="van-skeleton van-skeleton--animate van-skeleton--round"> + <div class="van-skeleton__avatar van-skeleton__avatar--round" style="width: 32px; height: 32px;"></div> + <div class="van-skeleton__content"> + <h3 class="van-skeleton__title" style="width: 40%;"></h3> + </div> +</div> +`; + exports[`row-width array 1`] = ` <div class="van-skeleton van-skeleton--animate"> <div class="van-skeleton__content"> diff --git a/src/skeleton/test/index.spec.js b/src/skeleton/test/index.spec.js index e725c5f82..d46140c9d 100644 --- a/src/skeleton/test/index.spec.js +++ b/src/skeleton/test/index.spec.js @@ -34,6 +34,17 @@ test('avatar shape', () => { expect(wrapper).toMatchSnapshot(); }); +test('round prop', () => { + const wrapper = mount(Skeleton, { + propsData: { + title: true, + round: true, + avatar: true, + }, + }); + expect(wrapper).toMatchSnapshot(); +}); + test('disable animate', () => { const wrapper = mount(Skeleton, { propsData: { From e7082ca57ae77eaa7262620ace77a20c21b346f2 Mon Sep 17 00:00:00 2001 From: neverland <chenjiahan@youzan.com> Date: Tue, 2 Jun 2020 22:31:52 +0800 Subject: [PATCH 12/58] docs(dialog): update description (#6442) --- src/dialog/README.md | 8 ++++---- src/dialog/README.zh-CN.md | 18 ++++++++++-------- 2 files changed, 14 insertions(+), 12 deletions(-) diff --git a/src/dialog/README.md b/src/dialog/README.md index 8e4ab7066..d96742faa 100644 --- a/src/dialog/README.md +++ b/src/dialog/README.md @@ -13,7 +13,7 @@ Vue.use(Dialog); ### Alert dialog -Used to prompt for some messages, only including one confirm button +Used to prompt for some messages, only including one confirm button. ```js Dialog.alert({ @@ -32,7 +32,7 @@ Dialog.alert({ ### Confirm dialog -Used to confirm some messages, including a confirm button and a cancel button +Used to confirm some messages, including a confirm button and a cancel button. ```js Dialog.confirm({ @@ -65,9 +65,9 @@ Dialog.confirm({ }); ``` -### \$dialog Method +### Global Method -After import the Dialog component, the \$dialog method is automatically mounted on Vue.prototype, making it easy to call within a vue component. +After import the Dialog component, the `$dialog` method is automatically mounted on Vue.prototype, making it easy to call within a vue component. ```js export default { diff --git a/src/dialog/README.zh-CN.md b/src/dialog/README.zh-CN.md index 58abf7441..4b19385ca 100644 --- a/src/dialog/README.zh-CN.md +++ b/src/dialog/README.zh-CN.md @@ -2,13 +2,13 @@ ### 介绍 -弹出模态框,常用于消息提示、消息确认、在当前页面内完成特定的交互操作 +弹出模态框,常用于消息提示、消息确认,或在当前页面内完成特定的交互操作。 -弹出框组件支持函数调用和组件调用两种方式 +弹出框组件支持函数调用和组件调用两种方式。 ### 函数调用 -Dialog 是一个函数,调用后展示提示弹窗 +Dialog 是一个函数,调用后会直接在页面中弹出相应的模态框。 ```js import { Dialog } from 'vant'; @@ -18,7 +18,7 @@ Dialog({ message: '提示' }); ### 组件调用 -通过组件调用 Dialog 时,可以通过下面的方式进行注册 +通过组件调用 Dialog 时,可以通过下面的方式进行注册: ```js import Vue from 'vue'; @@ -39,7 +39,7 @@ export default { ### 消息提示 -用于提示一些消息,只包含一个确认按钮 +用于提示一些消息,只包含一个确认按钮。 ```js Dialog.alert({ @@ -58,7 +58,7 @@ Dialog.alert({ ### 消息确认 -用于确认消息,包含取消和确认按钮 +用于确认消息,包含取消和确认按钮。 ```js Dialog.confirm({ @@ -75,6 +75,8 @@ Dialog.confirm({ ### 异步关闭 +通过 `beforeClose` 属性可以传入一个回调函数,在弹窗关闭前进行特定操作。 + ```js function beforeClose(action, done) { if (action === 'confirm') { @@ -93,7 +95,7 @@ Dialog.confirm({ ### 全局方法 -引入 Dialog 组件后,会自动在 Vue 的 prototype 上挂载 \$dialog 方法,在所有组件内部都可以直接调用此方法 +引入 Dialog 组件后,会自动在 Vue 的 prototype 上挂载 `$dialog` 方法,在所有组件内部都可以直接调用此方法。 ```js export default { @@ -107,7 +109,7 @@ export default { ### 组件调用 -如果需要在弹窗内嵌入组件或其他自定义内容,可以使用组件调用的方式 +如果需要在弹窗内嵌入组件或其他自定义内容,可以使用组件调用的方式。 ```html <van-dialog v-model="show" title="标题" show-cancel-button> From 61919d0becfa05307cd1577b86882df1d8d149e0 Mon Sep 17 00:00:00 2001 From: neverland <chenjiahan@youzan.com> Date: Tue, 2 Jun 2020 22:37:09 +0800 Subject: [PATCH 13/58] docs(Toast): update description (#6443) --- src/toast/README.md | 6 +++--- src/toast/README.zh-CN.md | 24 +++++++++++++++++------- 2 files changed, 20 insertions(+), 10 deletions(-) diff --git a/src/toast/README.md b/src/toast/README.md index 8cd70a816..3f96a7459 100644 --- a/src/toast/README.md +++ b/src/toast/README.md @@ -75,9 +75,9 @@ const timer = setInterval(() => { }, 1000); ``` -### \$toast Method +### Global Method -After import the Toast component, the \$toast method is automatically mounted on Vue.prototype, making it easy to call within a vue component. +After import the Toast component, the `$toast` method is automatically mounted on Vue.prototype, making it easy to call within a vue component. ```js export default { @@ -89,7 +89,7 @@ export default { ### Singleton -Toast use singleton mode by default, if you need to pop multiple Toast at the same time, you can refer to the following example +Toast use singleton mode by default, if you need to pop multiple Toast at the same time, you can refer to the following example: ```js Toast.allowMultiple(); diff --git a/src/toast/README.zh-CN.md b/src/toast/README.zh-CN.md index e3abff0fb..402d12ad3 100644 --- a/src/toast/README.zh-CN.md +++ b/src/toast/README.zh-CN.md @@ -1,5 +1,9 @@ # Toast 轻提示 +### 介绍 + +在页面中间弹出黑色半透明提示,用于消息通知、加载提示、操作结果提示等场景。 + ### 引入 ```js @@ -19,7 +23,7 @@ Toast('提示内容'); ### 加载提示 -使用`Toast.loading`方法展示加载提示,通过`forbidClick`属性可以禁用背景点击,通过`loadingType`属性可以自定义加载图标类型。 +使用 `Toast.loading` 方法展示加载提示,通过 `forbidClick` 属性可以禁用背景点击,通过`loadingType` 属性可以自定义加载图标类型。 ```js Toast.loading({ @@ -37,6 +41,8 @@ Toast.loading({ ### 成功/失败提示 +使用 `Toast.success` 方法展示成功提示,使用 `Toast.fail` 方法展示失败提示。 + ```js Toast.success('成功文案'); Toast.fail('失败文案'); @@ -44,6 +50,8 @@ Toast.fail('失败文案'); ### 自定义图标 +通过 `icon` 选项可以自定义图标,支持传入[图标名称](#/zh-CN/icon)或图片链接。 + ```js Toast({ message: '自定义图标', @@ -58,6 +66,8 @@ Toast({ ### 动态更新提示 +执行 Toast 方法时会返回对应的 Toast 实例,通过修改实例上的 message 属性可以实现动态更新提示的效果。 + ```js const toast = Toast.loading({ duration: 0, // 持续展示 toast @@ -78,9 +88,9 @@ const timer = setInterval(() => { }, 1000); ``` -### 组件内调用 +### 全局方法 -引入 Toast 组件后,会自动在 Vue 的 prototype 上挂载 \$toast 方法,便于在组件内调用。 +引入 Toast 组件后,会自动在 Vue 的 prototype 上挂载 `$toast` 方法,便于在组件内调用。 ```js export default { @@ -92,7 +102,7 @@ export default { ### 单例模式 -Toast 默认采用单例模式,即同一时间只会存在一个 Toast,如果需要在同一时间弹出多个 Toast,可以参考下面的示例 +Toast 默认采用单例模式,即同一时间只会存在一个 Toast,如果需要在同一时间弹出多个 Toast,可以参考下面的示例: ```js Toast.allowMultiple(); @@ -106,19 +116,19 @@ toast2.clear(); ### 修改默认配置 -通过`Toast.setDefaultOptions`函数可以全局修改 Toast 的默认配置 +通过`Toast.setDefaultOptions`函数可以全局修改 Toast 的默认配置。 ```js // 将所有 Toast 的展示时长设置为 2000 毫秒 Toast.setDefaultOptions({ duration: 2000 }); -// 将所有 loading Toast 设置为背景不可点击 (2.2.10 版本开始支持) +// 将所有 loading Toast 设置为背景不可点击 Toast.setDefaultOptions('loading', { forbidClick: true }); // 重置所有 Toast 的默认配置 Toast.resetDefaultOptions(); -// 重置 loading Toast 的默认配置 (2.2.10 版本开始支持) +// 重置 loading Toast 的默认配置 Toast.resetDefaultOptions('loading'); ``` From 97541eedfa9bf25d7db058d359ededc97b2ca499 Mon Sep 17 00:00:00 2001 From: neverland <chenjiahan@youzan.com> Date: Wed, 3 Jun 2020 20:32:02 +0800 Subject: [PATCH 14/58] feat(Notify): support component call (#6453) --- src/image-preview/README.zh-CN.md | 16 ++--- src/notify/Notify.tsx | 2 +- src/notify/README.md | 32 +++++++++- src/notify/README.zh-CN.md | 64 +++++++++++++++++-- src/notify/demo/index.vue | 28 ++++++++ src/notify/index.less | 3 + src/notify/index.ts | 2 + .../test/__snapshots__/demo.spec.js.snap | 5 ++ types/notify.d.ts | 2 + 9 files changed, 138 insertions(+), 16 deletions(-) diff --git a/src/image-preview/README.zh-CN.md b/src/image-preview/README.zh-CN.md index 3a883aca7..e70c25f8d 100644 --- a/src/image-preview/README.zh-CN.md +++ b/src/image-preview/README.zh-CN.md @@ -2,11 +2,11 @@ ### 介绍 -图片放大预览,支持函数调用和组件调用两种方式 +图片放大预览,支持函数调用和组件调用两种方式。 ### 函数调用 -ImagePreview 是一个函数,调用函数后展示图片预览 +ImagePreview 是一个函数,调用函数后会直接在页面中展示图片预览界面。 ```js import { ImagePreview } from 'vant'; @@ -16,7 +16,7 @@ ImagePreview(['https://img.yzcdn.cn/vant/apple-1.jpg']); ### 组件调用 -通过组件调用 ImagePreview 时,可以通过下面的方式进行注册 +通过组件调用 ImagePreview 时,可以通过下面的方式进行注册。 ```js import Vue from 'vue'; @@ -37,7 +37,7 @@ export default { ### 基础用法 -直接传入图片数组,即可展示图片预览 +直接传入图片数组,即可展示图片预览。 ```js ImagePreview([ @@ -48,7 +48,7 @@ ImagePreview([ ### 传入配置项 -通过传入配置对象,可以指定初始图片的位置、监听关闭事件 +通过传入配置对象,可以指定初始图片的位置、监听关闭事件。 ```js ImagePreview({ @@ -65,7 +65,7 @@ ImagePreview({ ### 展示关闭按钮 -设置`closeable`属性后,会在弹出层的右上角显示关闭图标,并且可以通过`close-icon`属性自定义图标,使用`close-icon-position`属性可以自定义图标位置 +设置`closeable`属性后,会在弹出层的右上角显示关闭图标,并且可以通过`close-icon`属性自定义图标,使用`close-icon-position`属性可以自定义图标位置。 ```js ImagePreview({ @@ -79,7 +79,7 @@ ImagePreview({ ### 异步关闭 -通过`asyncClose`属性可以开启异步关闭,开启后异步关闭后,只能通过实例上的 close 方法关闭图片预览 +通过`asyncClose`属性可以开启异步关闭,开启后异步关闭后,只能通过实例上的 close 方法关闭图片预览。 ```js const instance = ImagePreview({ @@ -97,7 +97,7 @@ setTimeout(() => { ### 组件调用 -如果需要在图片预览内嵌入组件或其他自定义内容,可以使用组件调用的方式,调用前需要通过 `Vue.use` 注册组件 +如果需要在图片预览内嵌入组件或其他自定义内容,可以使用组件调用的方式,调用前需要通过 `Vue.use` 注册组件。 ```html <van-image-preview v-model="show" :images="images" @change="onChange"> diff --git a/src/notify/Notify.tsx b/src/notify/Notify.tsx index aff4b6283..35c99adc1 100644 --- a/src/notify/Notify.tsx +++ b/src/notify/Notify.tsx @@ -46,7 +46,7 @@ function Notify( class={[bem([props.type]), props.className]} {...inherit(ctx, true)} > - {props.message} + {slots.default?.() || props.message} </Popup> ); } diff --git a/src/notify/README.md b/src/notify/README.md index 10a520607..96ad5b187 100644 --- a/src/notify/README.md +++ b/src/notify/README.md @@ -41,9 +41,9 @@ Notify({ }); ``` -### \$notify Method +### Global Method -After import the Notify component, the \$notify method is automatically mounted on Vue.prototype, making it easy to call within a vue component. +After import the Notify component, the `$notify` method is automatically mounted on Vue.prototype, making it easy to call within a vue component. ```js export default { @@ -53,6 +53,34 @@ export default { }; ``` +### Component Call + +```html +<van-button type="primary" text="Component Call" @click="showNotify" /> +<van-notify v-model="show" type="success"> + <van-icon name="bell" style="margin-right: 4px;" /> + <span>Content</span> +</van-notify> +``` + +```js +export default { + data() { + return { + show: false, + }; + }, + methods: { + showNotify() { + this.show = true; + setTimeout(() => { + this.show = false; + }, 2000); + }, + }, +}; +``` + ## API ### Methods diff --git a/src/notify/README.zh-CN.md b/src/notify/README.zh-CN.md index 10071164d..aed3d6aca 100644 --- a/src/notify/README.zh-CN.md +++ b/src/notify/README.zh-CN.md @@ -1,12 +1,36 @@ # Notify 消息提示 -### 引入 +### 介绍 + +在页面顶部展示消息提示,支持函数调用和组件调用两种方式。 + +### 函数调用 + +Notify 是一个函数,调用后会直接在页面中弹出相应的消息提示。 + +```js +import { Notify } from 'vant'; + +Notify('通知内容'); +``` + +### 组件调用 + +通过组件调用 Notify 时,可以通过下面的方式进行注册(从 2.8.5 版本开始支持): ```js import Vue from 'vue'; import { Notify } from 'vant'; +// 全局注册 Vue.use(Notify); + +// 局部注册 +export default { + components: { + [Notify.Component.name]: Notify.Component, + }, +}; ``` ## 代码演示 @@ -19,7 +43,7 @@ Notify('通知内容'); ### 通知类型 -支持`primary`、`success`、`warning`、`danger`四种通知类型,默认为`danger` +支持 `primary`、`success`、`warning`、`danger` 四种通知类型,默认为 `danger`。 ```js // 主要通知 @@ -37,7 +61,7 @@ Notify({ type: 'warning', message: '通知内容' }); ### 自定义通知 -自定义消息通知的颜色和展示时长 +自定义消息通知的颜色和展示时长。 ```js Notify({ @@ -52,9 +76,9 @@ Notify({ }); ``` -### 组件内调用 +### 全局方法 -引入 Notify 组件后,会自动在 Vue 的 prototype 上挂载 \$notify 方法,便于在组件内调用。 +引入 Notify 组件后,会自动在 Vue 的 prototype 上挂载 `$notify` 方法,便于在组件内调用。 ```js export default { @@ -64,6 +88,36 @@ export default { }; ``` +### 组件调用 + +如果需要在 Notify 内嵌入组件或其他自定义内容,可以使用组件调用的方式。 + +```html +<van-button type="primary" text="组件调用" @click="showNotify" /> +<van-notify v-model="show" type="success"> + <van-icon name="bell" style="margin-right: 4px;" /> + <span>通知内容</span> +</van-notify> +``` + +```js +export default { + data() { + return { + show: false, + }; + }, + methods: { + showNotify() { + this.show = true; + setTimeout(() => { + this.show = false; + }, 2000); + }, + }, +}; +``` + ## API ### 方法 diff --git a/src/notify/demo/index.vue b/src/notify/demo/index.vue index 3134c357f..9e52bb34b 100644 --- a/src/notify/demo/index.vue +++ b/src/notify/demo/index.vue @@ -42,6 +42,19 @@ @click="showCustomDuration" /> </demo-block> + + <demo-block :title="t('componentCall')"> + <van-button + type="primary" + :text="t('componentCall')" + @click="showComponentCall" + /> + + <van-notify v-model="show" type="success"> + <van-icon name="bell" style="margin-right: 4px;" /> + <span>{{ t('content') }}</span> + </van-notify> + </demo-block> </demo-section> </template> @@ -57,6 +70,7 @@ export default { notifyType: '通知类型', customColor: '自定义颜色', customNotify: '自定义配置', + componentCall: '组件调用', customDuration: '自定义时长', }, 'en-US': { @@ -68,10 +82,17 @@ export default { notifyType: 'Notify Type', customColor: 'Custom Color', customNotify: 'Custom Notify', + componentCall: 'Component Call', customDuration: 'Custom Duration', }, }, + data() { + return { + show: false, + }; + }, + methods: { showNotify() { this.$notify(this.t('content')); @@ -98,6 +119,13 @@ export default { type, }); }, + + showComponentCall() { + this.show = true; + setTimeout(() => { + this.show = false; + }, 2000); + }, }, }; </script> diff --git a/src/notify/index.less b/src/notify/index.less index e0c2a040a..e07a126ad 100644 --- a/src/notify/index.less +++ b/src/notify/index.less @@ -1,6 +1,9 @@ @import '../style/var'; .van-notify { + display: flex; + align-items: center; + justify-content: center; box-sizing: border-box; padding: @notify-padding; color: @notify-text-color; diff --git a/src/notify/index.ts b/src/notify/index.ts index 8dbb9f1aa..44044b023 100644 --- a/src/notify/index.ts +++ b/src/notify/index.ts @@ -89,6 +89,8 @@ Notify.install = () => { Vue.use(VanNotify as any); }; +Notify.Component = VanNotify; + Vue.prototype.$notify = Notify; export default Notify; diff --git a/src/notify/test/__snapshots__/demo.spec.js.snap b/src/notify/test/__snapshots__/demo.spec.js.snap index f55c7335b..262ebad55 100644 --- a/src/notify/test/__snapshots__/demo.spec.js.snap +++ b/src/notify/test/__snapshots__/demo.spec.js.snap @@ -21,5 +21,10 @@ exports[`renders demo correctly 1`] = ` </button> <button class="van-button van-button--primary van-button--normal"> <div class="van-button__content"><span class="van-button__text">自定义时长</span></div> </button></div> + <div><button class="van-button van-button--primary van-button--normal"> + <div class="van-button__content"><span class="van-button__text">组件调用</span></div> + </button> + <!----> + </div> </div> `; diff --git a/types/notify.d.ts b/types/notify.d.ts index 2ccad7703..0bef54afb 100644 --- a/types/notify.d.ts +++ b/types/notify.d.ts @@ -1,4 +1,5 @@ import Vue from 'vue'; +import { VanComponent } from './component'; export type NotifyMessage = string | number; @@ -30,6 +31,7 @@ export interface Notify { defaultOptions: NotifyOptions; setDefaultOptions(options: NotifyOptions): void; resetDefaultOptions(): void; + Component: typeof VanComponent; } declare module 'vue/types/vue' { From 118910c2c6899cc1c696b0a09bc1ab06bed87b1c Mon Sep 17 00:00:00 2001 From: neverland <chenjiahan@youzan.com> Date: Wed, 3 Jun 2020 20:49:26 +0800 Subject: [PATCH 15/58] feat(DropdownItem): add lazy-render prop (#6454) --- src/dropdown-item/index.js | 7 ++++++- src/dropdown-menu/README.md | 1 + src/dropdown-menu/README.zh-CN.md | 1 + 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/src/dropdown-item/index.js b/src/dropdown-item/index.js index 9954d07ac..9bf2d2171 100644 --- a/src/dropdown-item/index.js +++ b/src/dropdown-item/index.js @@ -25,6 +25,10 @@ export default createComponent({ type: Array, default: () => [], }, + lazyRender: { + type: Boolean, + default: true, + }, }, data() { @@ -155,8 +159,9 @@ export default createComponent({ class={bem('content')} position={direction === 'down' ? 'top' : 'bottom'} duration={this.transition ? duration : 0} - closeOnClickOverlay={closeOnClickOverlay} + lazyRender={this.lazyRender} overlayStyle={{ position: 'absolute' }} + closeOnClickOverlay={closeOnClickOverlay} onOpen={this.onOpen} onClose={this.onClose} onOpened={this.onOpened} diff --git a/src/dropdown-menu/README.md b/src/dropdown-menu/README.md index a8118896c..d3b5526be 100644 --- a/src/dropdown-menu/README.md +++ b/src/dropdown-menu/README.md @@ -128,6 +128,7 @@ Use `active-color` prop to custom active color of the title and options | title | Item title | _string_ | Text of selected option | | options | Options | _Option[]_ | `[]` | | disabled | Whether to disable dropdown item | _boolean_ | `false` | +| lazy-render `v2.8.5` | Whether to lazy render util opened | _boolean_ | `true` | | title-class | Title class | _string_ | - | | get-container `v2.2.4` | Return the mount node for menu | _string \| () => Element_ | - | diff --git a/src/dropdown-menu/README.zh-CN.md b/src/dropdown-menu/README.zh-CN.md index 5dde3e49f..2336c71d6 100644 --- a/src/dropdown-menu/README.zh-CN.md +++ b/src/dropdown-menu/README.zh-CN.md @@ -132,6 +132,7 @@ export default { | title | 菜单项标题 | _string_ | 当前选中项文字 | | options | 选项数组 | _Option[]_ | `[]` | | disabled | 是否禁用菜单 | _boolean_ | `false` | +| lazy-render `v2.8.5` | 是否在首次展开时才渲染菜单内容 | _boolean_ | `true` | | title-class | 标题额外类名 | _string_ | - | | get-container `v2.2.4` | 指定挂载的节点,[用法示例](#/zh-CN/popup#zhi-ding-gua-zai-wei-zhi) | _string \| () => Element_ | - | From e74592f26aacc56ef69a76fb7e6225cd5022b82b Mon Sep 17 00:00:00 2001 From: neverland <chenjiahan@youzan.com> Date: Wed, 3 Jun 2020 21:05:15 +0800 Subject: [PATCH 16/58] docs(NoticeBar): add vertical scroll demo (#6455) --- src/notice-bar/README.md | 24 +++++++++++++ src/notice-bar/README.zh-CN.md | 36 ++++++++++++++++--- src/notice-bar/demo/index.vue | 36 +++++++++++++++---- .../test/__snapshots__/demo.spec.js.snap | 16 +++++++++ 4 files changed, 102 insertions(+), 10 deletions(-) diff --git a/src/notice-bar/README.md b/src/notice-bar/README.md index bcf2c72ad..14efc979a 100644 --- a/src/notice-bar/README.md +++ b/src/notice-bar/README.md @@ -53,6 +53,30 @@ Vue.use(NoticeBar); </van-notice-bar> ``` +### Vertical Scroll + +```html +<van-notice-bar left-icon="volume-o" :scrollable="false"> + <van-swipe + vertical + class="notice-swipe" + :autoplay="3000" + :show-indicators="false" + > + <van-swipe-item>Content 1</van-swipe-item> + <van-swipe-item>Content 2</van-swipe-item> + <van-swipe-item>Content 3</van-swipe-item> + </van-swipe> +</van-notice-bar> + +<style> + .notice-swipe { + height: 40px; + line-height: 40px; + } +</style> +``` + ## API ### Props diff --git a/src/notice-bar/README.zh-CN.md b/src/notice-bar/README.zh-CN.md index 1dc2f4d26..5b83d26ae 100644 --- a/src/notice-bar/README.zh-CN.md +++ b/src/notice-bar/README.zh-CN.md @@ -19,7 +19,7 @@ Vue.use(NoticeBar); ### 禁用滚动 -文字内容多于一行时,可通过`scrollable`参数控制是否开启滚动 +文字内容多于一行时,可通过 `scrollable` 参数控制是否开启滚动。 ```html <van-notice-bar :scrollable="false"> @@ -29,7 +29,7 @@ Vue.use(NoticeBar); ### 多行展示 -禁用滚动时,可以设置`wrapable`来开启多行展示 +禁用滚动时,可以设置 `wrapable` 来开启多行展示。 ```html <van-notice-bar wrapable :scrollable="false"> @@ -39,7 +39,7 @@ Vue.use(NoticeBar); ### 通知栏模式 -默认模式为空,支持`closeable`和`link`两种模式 +默认模式为空,支持 `closeable` 和 `link` 两种模式。 ```html <!-- closeable 模式,在右侧显示关闭按钮 --> @@ -55,12 +55,40 @@ Vue.use(NoticeBar); ### 自定义样式 +通过 `color` 属性设置文本颜色,通过 `background` 属性设置背景色。 + ```html <van-notice-bar color="#1989fa" background="#ecf9ff" left-icon="info-o"> 通知内容 </van-notice-bar> ``` +### 垂直滚动 + +搭配 NoticeBar 和 Swipe 组件可以实现垂直滚动的效果。 + +```html +<van-notice-bar left-icon="volume-o" :scrollable="false"> + <van-swipe + vertical + class="notice-swipe" + :autoplay="3000" + :show-indicators="false" + > + <van-swipe-item>内容 1</van-swipe-item> + <van-swipe-item>内容 2</van-swipe-item> + <van-swipe-item>内容 3</van-swipe-item> + </van-swipe> +</van-notice-bar> + +<style> + .notice-swipe { + height: 40px; + line-height: 40px; + } +</style> +``` + ## API ### Props @@ -69,7 +97,7 @@ Vue.use(NoticeBar); | --- | --- | --- | --- | | mode | 通知栏模式,可选值为 `closeable` `link` | _string_ | `''` | | text | 通知文本内容 | _string_ | `''` | -| color | 文本颜色 | _string_ | `#f60` | +| color | 通知文本颜色 | _string_ | `#f60` | | background | 滚动条背景 | _string_ | `#fff7cc` | | left-icon | 左侧[图标名称](#/zh-CN/icon)或图片链接 | _string_ | - | | delay | 动画延迟时间 (s) | _number \| string_ | `1` | diff --git a/src/notice-bar/demo/index.vue b/src/notice-bar/demo/index.vue index 483bc8474..683516d08 100644 --- a/src/notice-bar/demo/index.vue +++ b/src/notice-bar/demo/index.vue @@ -25,6 +25,21 @@ left-icon="info-o" /> </demo-block> + + <demo-block v-if="!isWeapp" :title="t('verticalScroll')"> + <van-notice-bar left-icon="volume-o" :scrollable="false"> + <van-swipe + vertical + class="notice-swipe" + :autoplay="3000" + :show-indicators="false" + > + <van-swipe-item>{{ t('content') }} 1</van-swipe-item> + <van-swipe-item>{{ t('content') }} 2</van-swipe-item> + <van-swipe-item>{{ t('content') }} 3</van-swipe-item> + </van-swipe> + </van-notice-bar> + </demo-block> </demo-section> </template> @@ -32,20 +47,24 @@ export default { i18n: { 'zh-CN': { - unscrollable: '禁用滚动', - mode: '通知栏模式', - wrapable: '多行展示', text: '足协杯战线连续第2年上演广州德比战,上赛季半决赛上恒大以两回合5-3的总比分淘汰富力。', + mode: '通知栏模式', + content: '内容', + wrapable: '多行展示', + unscrollable: '禁用滚动', customStyle: '自定义样式', + verticalScroll: '垂直滚动', }, 'en-US': { - mode: 'Mode', - wrapable: 'Wrapable', - unscrollable: 'Disable scroll', text: 'Only those who have the patience to do simple things perfectly ever acquire the skill to do difficult things easily.', + mode: 'Mode', + content: 'Content', + wrapable: 'Wrapable', customStyle: 'Custom Style', + unscrollable: 'Disable scroll', + verticalScroll: 'Vertical Scroll', }, }, }; @@ -64,5 +83,10 @@ export default { .van-doc-demo-block__title { padding-top: 24px; } + + .notice-swipe { + height: 40px; + line-height: 40px; + } } </style> diff --git a/src/notice-bar/test/__snapshots__/demo.spec.js.snap b/src/notice-bar/test/__snapshots__/demo.spec.js.snap index 8850bc726..c2cf6cbff 100644 --- a/src/notice-bar/test/__snapshots__/demo.spec.js.snap +++ b/src/notice-bar/test/__snapshots__/demo.spec.js.snap @@ -46,5 +46,21 @@ exports[`renders demo correctly 1`] = ` </div> </div> </div> + <div> + <div role="alert" class="van-notice-bar"><i class="van-icon van-icon-volume-o van-notice-bar__left-icon"> + <!----></i> + <div role="marquee" class="van-notice-bar__wrap"> + <div class="van-notice-bar__content van-ellipsis" style="transition-duration: 0s;"> + <div class="notice-swipe van-swipe"> + <div class="van-swipe__track van-swipe__track--vertical" style="height: 0px; transition-duration: 0ms; transform: translateY(0px);"> + <div class="van-swipe-item" style="height: 0px;">内容 1</div> + <div class="van-swipe-item" style="height: 0px;">内容 2</div> + <div class="van-swipe-item" style="height: 0px;">内容 3</div> + </div> + </div> + </div> + </div> + </div> + </div> </div> `; From 472c4f35aef0c828376d1b7a2da271aa6fa8829f Mon Sep 17 00:00:00 2001 From: neverland <chenjiahan@youzan.com> Date: Thu, 4 Jun 2020 15:10:25 +0800 Subject: [PATCH 17/58] style(Field): default label align should be left (#6459) --- src/field/index.less | 1 + 1 file changed, 1 insertion(+) diff --git a/src/field/index.less b/src/field/index.less index 2d1875814..64801761d 100644 --- a/src/field/index.less +++ b/src/field/index.less @@ -5,6 +5,7 @@ flex: none; box-sizing: border-box; width: @field-label-width; + text-align: left; &--center { text-align: center; From c445b12507b8a7c6b82cab6ca06fb0e0c3823f4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=A8=E6=A7=BF=E8=8A=B1=E5=BC=80?= <15800678225@163.com> Date: Thu, 4 Jun 2020 16:29:35 +0800 Subject: [PATCH 18/58] feat(ShareSheet): add options description (#6460) * feat(share-sheet): share sheet add option * feat(share-sheet): add options intro * feat(ShareSheet): add options description Co-authored-by: zhanglin <zhanglin_0715@youzan.com> --- src/share-sheet/README.md | 18 ++++++++++++++++++ src/share-sheet/README.zh-CN.md | 20 +++++++++++++++++++- src/share-sheet/demo/index.vue | 16 +++++++++++++++- src/share-sheet/index.js | 5 +++++ src/share-sheet/index.less | 6 ++++++ src/style/var.less | 2 ++ 6 files changed, 65 insertions(+), 2 deletions(-) diff --git a/src/share-sheet/README.md b/src/share-sheet/README.md index 71809b7ce..4f02df402 100644 --- a/src/share-sheet/README.md +++ b/src/share-sheet/README.md @@ -87,6 +87,23 @@ export default { /> ``` +```js +export default { + data() { + return { + showShare: false, + options: [ + { name: 'Wechat', icon: 'wechat' }, + { name: 'Weibo', icon: 'weibo' }, + { name: 'Link', icon: 'link', description: 'Description' }, + { name: 'Poster', icon: 'poster' }, + { name: 'Qrcode', icon: 'qrcode' }, + ], + }; + }, +}; +``` + ## API ### Props @@ -111,6 +128,7 @@ export default { | Key | Description | Type | | --- | --- | --- | | name | Option name | _string_ | +| description | Option description | _string_ | | icon | Option icon,can be set to `wechat` `weibo` `qq` `link` `qrcode` `poster` or image URL | _string_ | ### Events diff --git a/src/share-sheet/README.zh-CN.md b/src/share-sheet/README.zh-CN.md index d720aee8d..a6c4ada6d 100644 --- a/src/share-sheet/README.zh-CN.md +++ b/src/share-sheet/README.zh-CN.md @@ -122,7 +122,7 @@ export default { ### 展示描述信息 -通过`description`属性可以设置标题下方的描述文字 +通过`description`属性可以设置标题下方的描述文字, 给`options`属性设置`description`可以添加分享选项描述 ```html <van-share-sheet @@ -133,6 +133,23 @@ export default { /> ``` +```js +export default { + data() { + return { + showShare: false, + options: [ + { name: '微信', icon: 'wechat' }, + { name: '微博', icon: 'weibo' }, + { name: '复制链接', icon: 'link', description: '描述信息' }, + { name: '分享海报', icon: 'poster' }, + { name: '二维码', icon: 'qrcode' }, + ], + }; + }, +}; +``` + ## API ### Props @@ -159,6 +176,7 @@ export default { | 键名 | 说明 | 类型 | | --- | --- | --- | | name | 分享渠道名称 | _string_ | +| description | 分享选项描述 | _string_ | | icon | 图标,可选值为 `wechat` `weibo` `qq` `link` `qrcode` `poster`,支持传入图片 URL | _string_ | ### Events diff --git a/src/share-sheet/demo/index.vue b/src/share-sheet/demo/index.vue index a90df8b37..1e39317fa 100644 --- a/src/share-sheet/demo/index.vue +++ b/src/share-sheet/demo/index.vue @@ -42,7 +42,7 @@ <van-share-sheet v-model="show.withDesc" :title="t('title')" - :options="options" + :options="optionsWithDesc" :description="t('description')" @select="onSelect" /> @@ -138,6 +138,20 @@ export default { }, ]; }, + + optionsWithDesc() { + return [ + { name: this.t('wechat'), icon: 'wechat' }, + { name: this.t('weibo'), icon: 'weibo' }, + { + name: this.t('link'), + icon: 'link', + description: this.t('description'), + }, + { name: this.t('poster'), icon: 'poster' }, + { name: this.t('qrcode'), icon: 'qrcode' }, + ]; + }, }, methods: { diff --git a/src/share-sheet/index.js b/src/share-sheet/index.js index 70157cec1..83ef08fc5 100644 --- a/src/share-sheet/index.js +++ b/src/share-sheet/index.js @@ -92,6 +92,11 @@ export default createComponent({ > <img src={this.getIconURL(option.icon)} class={bem('icon')} /> {option.name && <span class={bem('name')}>{option.name}</span>} + {option.description && ( + <span class={bem('option-description')}> + {option.description} + </span> + )} </div> ))} </div> diff --git a/src/share-sheet/index.less b/src/share-sheet/index.less index 52aff2484..337a6830b 100644 --- a/src/share-sheet/index.less +++ b/src/share-sheet/index.less @@ -65,6 +65,12 @@ font-size: @share-sheet-option-name-font-size; } + &__option-description { + padding: 0 @padding-base; + color: @share-sheet-option-description-color; + font-size: @share-sheet-option-description-font-size; + } + &__cancel { display: block; width: 100%; diff --git a/src/style/var.less b/src/style/var.less index f8fb59ff4..559a09297 100644 --- a/src/style/var.less +++ b/src/style/var.less @@ -596,6 +596,8 @@ @share-sheet-icon-size: 48px; @share-sheet-option-name-color: @gray-7; @share-sheet-option-name-font-size: @font-size-sm; +@share-sheet-option-description-color: @gray-5; +@share-sheet-option-description-font-size: @font-size-sm; @share-sheet-cancel-button-font-size: @font-size-lg; @share-sheet-cancel-button-height: 48px; @share-sheet-cancel-button-background: @white; From e7c8975ddbf066a988a7d22f309a6f1c16dfeda7 Mon Sep 17 00:00:00 2001 From: chenjiahan <chenjiahan@youzan.com> Date: Thu, 4 Jun 2020 17:00:22 +0800 Subject: [PATCH 19/58] chore: release 2.8.5 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index ac8145e8d..27ee67d38 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "vant", - "version": "2.8.4", + "version": "2.8.5", "description": "Mobile UI Components built on Vue", "main": "lib/index.js", "module": "es/index.js", From 94c2aa23a73fbdba4e3e4c6af261dac5242f5329 Mon Sep 17 00:00:00 2001 From: chenjiahan <chenjiahan@youzan.com> Date: Thu, 4 Jun 2020 17:06:51 +0800 Subject: [PATCH 20/58] docs(changelog): 2.8.5 --- docs/markdown/changelog.en-US.md | 18 ++++++++++++++++++ docs/markdown/changelog.zh-CN.md | 18 ++++++++++++++++++ 2 files changed, 36 insertions(+) diff --git a/docs/markdown/changelog.en-US.md b/docs/markdown/changelog.en-US.md index e1dcd9be3..7a8936f29 100644 --- a/docs/markdown/changelog.en-US.md +++ b/docs/markdown/changelog.en-US.md @@ -10,6 +10,24 @@ Vant follows [Semantic Versioning 2.0.0](https://semver.org/lang/zh-CN/). - Minor version:released every one to two months, including backwards compatible features. - Major version:including breaking changes and new features. +### [v2.8.5](https://github.com/youzan/vant/compare/v2.8.4...v2.8.5) + +`2020-06-04` + +**Feature** + +- DropdownItem: add lazy-render prop [#6454](https://github.com/youzan/vant/issues/6454) +- Notify: support component call [#6453](https://github.com/youzan/vant/issues/6453) +- ShareSheet: add options description [#6460](https://github.com/youzan/vant/issues/6460) +- Skeleton: add round prop [#6441](https://github.com/youzan/vant/issues/6441) + +**Bug Fixes** + +- Popup: incorrect overlay z-index when reopened [#6429](https://github.com/youzan/vant/issues/6429) +- Button: set font-size to inherit when loading [#6413](https://github.com/youzan/vant/issues/6413) [#6414](https://github.com/youzan/vant/issues/6414) +- NoticeBar: scroll failed after activated [d21420](https://github.com/youzan/vant/commit/d21420b7d2357c4c0b47bc0f38b48e57d7fd9b81) +- Field: fix render error when value is null or undefined [#6419](https://github.com/youzan/vant/issues/6419) + ### [v2.8.4](https://github.com/youzan/vant/compare/v2.8.3...v2.8.4) `2020-05-28` diff --git a/docs/markdown/changelog.zh-CN.md b/docs/markdown/changelog.zh-CN.md index f55d78bb7..d353a589a 100644 --- a/docs/markdown/changelog.zh-CN.md +++ b/docs/markdown/changelog.zh-CN.md @@ -10,6 +10,24 @@ Vant 遵循 [Semver](https://semver.org/lang/zh-CN/) 语义化版本规范。 - 次版本号:每隔一至二个月发布,包含新特性和较大的功能更新,向下兼容。 - 主版本号:发布时间不定,包含不兼容更新,预计下一个主版本会与 Vue 3.0 同期发布。 +### [v2.8.5](https://github.com/youzan/vant/compare/v2.8.4...v2.8.5) + +`2020-06-04` + +**Feature** + +- Notify: 支持组件调用 [#6453](https://github.com/youzan/vant/issues/6453) +- Skeleton: 新增 round 属性,用于展示圆角风格 [#6441](https://github.com/youzan/vant/issues/6441) +- ShareSheet: 支持在 option 中配置 description 属性 [#6460](https://github.com/youzan/vant/issues/6460) +- DropdownItem: 新增 lazy-render 属性,由于控制是否开启延迟渲染 [#6454](https://github.com/youzan/vant/issues/6454) + +**Bug Fixes** + +- Popup: 修复重复弹出时遮罩层 z-index 未正确更新的问题 [#6429](https://github.com/youzan/vant/issues/6429) +- Button: 修复设置 loading 时无法与其他按钮垂直对齐的问题 [#6413](https://github.com/youzan/vant/issues/6413) [#6414](https://github.com/youzan/vant/issues/6414) +- NoticeBar: 修复在 keep-alive 内重新渲染时无法正确滚动的问题 [d21420](https://github.com/youzan/vant/commit/d21420b7d2357c4c0b47bc0f38b48e57d7fd9b81) +- Field: 修复 value 为 null 且开启 show-word-limit 时出现报错的问题 [#6419](https://github.com/youzan/vant/issues/6419) + ### [v2.8.4](https://github.com/youzan/vant/compare/v2.8.3...v2.8.4) `2020-05-28` From 2db2a0615baacb20978cce06fca82e07407f63bd Mon Sep 17 00:00:00 2001 From: chenjiahan <chenjiahan@youzan.com> Date: Thu, 4 Jun 2020 17:13:56 +0800 Subject: [PATCH 21/58] docs(SheetSheet): add verstion tag --- src/share-sheet/README.md | 2 +- src/share-sheet/README.zh-CN.md | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/share-sheet/README.md b/src/share-sheet/README.md index 4f02df402..b265e5f53 100644 --- a/src/share-sheet/README.md +++ b/src/share-sheet/README.md @@ -128,7 +128,7 @@ export default { | Key | Description | Type | | --- | --- | --- | | name | Option name | _string_ | -| description | Option description | _string_ | +| description `v2.8.5` | Option description | _string_ | | icon | Option icon,can be set to `wechat` `weibo` `qq` `link` `qrcode` `poster` or image URL | _string_ | ### Events diff --git a/src/share-sheet/README.zh-CN.md b/src/share-sheet/README.zh-CN.md index a6c4ada6d..74fd1b7cc 100644 --- a/src/share-sheet/README.zh-CN.md +++ b/src/share-sheet/README.zh-CN.md @@ -17,7 +17,7 @@ Vue.use(ShareSheet); ### 基础用法 -分享面板通过`options`属性来定义分享选项,数组的每一项是一个对象,对象格式见文档下方表格。 +分享面板通过 `options` 属性来定义分享选项,数组的每一项是一个对象,对象格式见文档下方表格。 ```html <van-cell title="显示分享面板" @click="showShare = true" /> @@ -56,7 +56,7 @@ export default { ### 展示多行选项 -当分享选项的数量较多时,可以将`options`定义为数组嵌套的格式,每个子数组会作为一行选项展示 +当分享选项的数量较多时,可以将 `options` 定义为数组嵌套的格式,每个子数组会作为一行选项展示。 ```html <van-share-sheet @@ -90,7 +90,7 @@ export default { ### 自定义图标 -除了使用内置的几种图标外,可以直接在`icon`中传入图片 URL 来使用自定义的图标 +除了使用内置的几种图标外,可以直接在 `icon` 中传入图片 URL 来使用自定义的图标。 ```html <van-share-sheet v-model="showShare" :options="options" /> @@ -122,7 +122,7 @@ export default { ### 展示描述信息 -通过`description`属性可以设置标题下方的描述文字, 给`options`属性设置`description`可以添加分享选项描述 +通过 `description` 属性可以设置标题下方的描述文字, 在 `options` 内设置 `description` 属性可以添加分享选项描述。 ```html <van-share-sheet @@ -176,7 +176,7 @@ export default { | 键名 | 说明 | 类型 | | --- | --- | --- | | name | 分享渠道名称 | _string_ | -| description | 分享选项描述 | _string_ | +| description `v2.8.5` | 分享选项描述 | _string_ | | icon | 图标,可选值为 `wechat` `weibo` `qq` `link` `qrcode` `poster`,支持传入图片 URL | _string_ | ### Events From 76c9e7ef1ef14fc3c23a8a85d40bec43bd458924 Mon Sep 17 00:00:00 2001 From: chenjiahan <chenjiahan@youzan.com> Date: Thu, 4 Jun 2020 17:21:12 +0800 Subject: [PATCH 22/58] docs: update gitee mirror link --- README.zh-CN.md | 2 +- docs/markdown/home.zh-CN.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.zh-CN.md b/README.zh-CN.md index 13f655aa4..98bf5193d 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -94,7 +94,7 @@ vant 也支持按需引入、CDN 引入等方式,详细说明见 [快速上手 - [详细文档](https://youzan.github.io/vant) - [更新日志](https://youzan.github.io/vant#/zh-CN/changelog) -- [码云镜像](https://gitee.com/organizations/vant-contrib) +- [码云镜像](https://vant-contrib.gitee.io/vant) - [Gitter 讨论组](https://gitter.im/vant-contrib/discuss?utm_source=share-link&utm_medium=link&utm_campaign=share-link) ## 手机预览 diff --git a/docs/markdown/home.zh-CN.md b/docs/markdown/home.zh-CN.md index 005749d3f..2d914cd16 100644 --- a/docs/markdown/home.zh-CN.md +++ b/docs/markdown/home.zh-CN.md @@ -59,7 +59,7 @@ - [意见反馈](https://github.com/youzan/vant/issues) - [更新日志](#/zh-CN/changelog) -- [码云镜像](https://gitee.com/organizations/vant-contrib) +- [码云镜像](https://vant-contrib.gitee.io/vant) - [Gitter 讨论组](https://gitter.im/vant-contrib/discuss?utm_source=share-link&utm_medium=link&utm_campaign=share-link) ### 开源协议 From 2f2760aba669ef92b18df8bf8c87dce7c8e85770 Mon Sep 17 00:00:00 2001 From: neverland <chenjiahan@youzan.com> Date: Fri, 5 Jun 2020 09:25:19 +0800 Subject: [PATCH 23/58] feat(Picker): item-height support rem unit (#6462) --- src/area/README.md | 2 +- src/area/README.zh-CN.md | 2 +- src/datetime-picker/README.md | 2 +- src/datetime-picker/README.zh-CN.md | 2 +- src/picker/PickerColumn.js | 2 +- src/picker/README.md | 2 +- src/picker/README.zh-CN.md | 4 +- src/picker/index.js | 61 ++++++++++--------- .../test/__snapshots__/index.spec.js.snap | 21 +++++++ src/picker/test/index.spec.js | 18 ++++++ src/utils/format/unit.ts | 21 +++++++ src/utils/test/index.spec.js | 25 ++++++++ 12 files changed, 126 insertions(+), 36 deletions(-) diff --git a/src/area/README.md b/src/area/README.md index 72c54c68a..9c10fdb57 100644 --- a/src/area/README.md +++ b/src/area/README.md @@ -64,7 +64,7 @@ To have a selected value,simply pass the `code` of target area to `value` prop | area-list | Area list data | _object_ | - | | columns-placeholder `v2.2.5` | Placeholder of columns | _string[]_ | `[]` | | loading | Whether to show loading prompt | _boolean_ | `false` | -| item-height | Option height | _number \| string_ | `44` | +| item-height `v2.8.6` | Option height, supports `px` ans `rem` unit, default `px` | _number \| string_ | `44` | | columns-num | Level of picker | _number \| string_ | `3` | | visible-item-count | Count of visible columns | _number \| string_ | `5` | | swipe-duration `v2.2.13` | Duration of the momentum animation,unit `ms` | _number \| string_ | `1000` | diff --git a/src/area/README.zh-CN.md b/src/area/README.zh-CN.md index 60ec2a1a7..71f8367e5 100644 --- a/src/area/README.zh-CN.md +++ b/src/area/README.zh-CN.md @@ -64,7 +64,7 @@ Vue.use(Area); | area-list | 省市区数据,格式见下方 | _object_ | - | | columns-placeholder `v2.2.5` | 列占位提示文字 | _string[]_ | `[]` | | loading | 是否显示加载状态 | _boolean_ | `false` | -| item-height | 选项高度 | _number \| string_ | `44` | +| item-height `v2.8.6` | 选项高度,支持 `px` 和 `rem` 单位,默认 `px` | _number \| string_ | `44` | | columns-num | 显示列数,3-省市区,2-省市,1-省 | _number \| string_ | `3` | | visible-item-count | 可见的选项个数 | _number \| string_ | `5` | | swipe-duration `v2.2.13` | 快速滑动时惯性滚动的时长,单位`ms` | _number \| string_ | `1000` | diff --git a/src/datetime-picker/README.md b/src/datetime-picker/README.md index 93de87b90..fa884c5fe 100644 --- a/src/datetime-picker/README.md +++ b/src/datetime-picker/README.md @@ -198,7 +198,7 @@ export default { | loading | Whether to show loading prompt | _boolean_ | `false` | | filter | Option filter | _(type, vals) => vals_ | - | | formatter | Option text formatter | _(type, val) => val_ | - | -| item-height | Option height | _number \| string_ | `44` | +| item-height `v2.8.6` | Option height, supports `px` ans `rem` unit, default `px` | _number \| string_ | `44` | | visible-item-count | Count of visible columns | _number \| string_ | `5` | | swipe-duration `v2.2.13` | Duration of the momentum animation,unit `ms` | _number \| string_ | `1000` | diff --git a/src/datetime-picker/README.zh-CN.md b/src/datetime-picker/README.zh-CN.md index e9db92cbe..15e5155b5 100644 --- a/src/datetime-picker/README.zh-CN.md +++ b/src/datetime-picker/README.zh-CN.md @@ -205,7 +205,7 @@ export default { | loading | 是否显示加载状态 | _boolean_ | `false` | | filter | 选项过滤函数 | _(type, vals) => vals_ | - | | formatter | 选项格式化函数 | _(type, val) => val_ | - | -| item-height | 选项高度 | _number \| string_ | `44` | +| item-height `v2.8.6` | 选项高度,支持 `px` 和 `rem` 单位,默认 `px` | _number \| string_ | `44` | | visible-item-count | 可见的选项个数 | _number \| string_ | `5` | | swipe-duration `v2.2.13` | 快速滑动时惯性滚动的时长,单位`ms` | _number \| string_ | `1000` | diff --git a/src/picker/PickerColumn.js b/src/picker/PickerColumn.js index 60aad747e..bc3ee03df 100644 --- a/src/picker/PickerColumn.js +++ b/src/picker/PickerColumn.js @@ -33,7 +33,7 @@ export default createComponent({ valueKey: String, allowHtml: Boolean, className: String, - itemHeight: [Number, String], + itemHeight: Number, defaultIndex: Number, swipeDuration: [Number, String], visibleItemCount: [Number, String], diff --git a/src/picker/README.md b/src/picker/README.md index 2d40ac899..a2654b023 100644 --- a/src/picker/README.md +++ b/src/picker/README.md @@ -252,7 +252,7 @@ export default { | show-toolbar | Whether to show toolbar | _boolean_ | `false` | | allow-html `v2.1.8` | Whether to allow HTML in option text | _boolean_ | `true` | | default-index | Default value index of single column picker | _number \| string_ | `0` | -| item-height | Option height | _number \| string_ | `44` | +| item-height `v2.8.6` | Option height, supports `px` ans `rem` unit, default `px` | _number \| string_ | `44` | | visible-item-count | Count of visible columns | _number \| string_ | `5` | | swipe-duration `v2.2.10` | Duration of the momentum animation,unit `ms` | _number \| string_ | `1000` | diff --git a/src/picker/README.zh-CN.md b/src/picker/README.zh-CN.md index f3f8c0a95..9d0fdad33 100644 --- a/src/picker/README.zh-CN.md +++ b/src/picker/README.zh-CN.md @@ -275,9 +275,9 @@ export default { | show-toolbar | 是否显示顶部栏 | _boolean_ | `false` | | allow-html `v2.1.8` | 是否允许选项内容中渲染 HTML | _boolean_ | `true` | | default-index | 单列选择时,默认选中项的索引 | _number \| string_ | `0` | -| item-height | 选项高度 | _number \| string_ | `44` | +| item-height `v2.8.6` | 选项高度,支持 `px` 和 `rem` 单位,默认 `px` | _number \| string_ | `44` | | visible-item-count | 可见的选项个数 | _number \| string_ | `5` | -| swipe-duration `v2.2.10` | 快速滑动时惯性滚动的时长,单位`ms` | _number \| string_ | `1000` | +| swipe-duration `v2.2.10` | 快速滑动时惯性滚动的时长,单位 `ms` | _number \| string_ | `1000` | ### Events diff --git a/src/picker/index.js b/src/picker/index.js index cdbb136a4..927f4faf2 100644 --- a/src/picker/index.js +++ b/src/picker/index.js @@ -3,6 +3,7 @@ import { createNamespace, isObject } from '../utils'; import { preventDefault } from '../utils/dom/event'; import { BORDER_UNSET_TOP_BOTTOM } from '../utils/constant'; import { pickerProps } from './shared'; +import { unitToPx } from '../utils/format/unit'; // Components import Loading from '../loading'; @@ -39,6 +40,10 @@ export default createComponent({ }, computed: { + itemPxHeight() { + return unitToPx(this.itemHeight); + }, + dataType() { const { columns } = this; const firstColumn = columns[0] || {}; @@ -277,12 +282,38 @@ export default createComponent({ }, genColumns() { + const { itemPxHeight } = this; + const wrapHeight = itemPxHeight * this.visibleItemCount; + + const frameStyle = { height: `${itemPxHeight}px` }; + const columnsStyle = { height: `${wrapHeight}px` }; + const maskStyle = { + backgroundSize: `100% ${(wrapHeight - itemPxHeight) / 2}px`, + }; + + return ( + <div + class={bem('columns')} + style={columnsStyle} + onTouchmove={preventDefault} + > + {this.genColumnItems()} + <div class={bem('mask')} style={maskStyle} /> + <div + class={[BORDER_UNSET_TOP_BOTTOM, bem('frame')]} + style={frameStyle} + /> + </div> + ); + }, + + genColumnItems() { return this.formattedColumns.map((item, columnIndex) => ( <PickerColumn valueKey={this.valueKey} allowHtml={this.allowHtml} className={item.className} - itemHeight={this.itemHeight} + itemHeight={this.itemPxHeight} defaultIndex={item.defaultIndex || +this.defaultIndex} swipeDuration={this.swipeDuration} visibleItemCount={this.visibleItemCount} @@ -296,38 +327,12 @@ export default createComponent({ }, render(h) { - const itemHeight = +this.itemHeight; - const wrapHeight = itemHeight * this.visibleItemCount; - - const frameStyle = { - height: `${itemHeight}px`, - }; - - const columnsStyle = { - height: `${wrapHeight}px`, - }; - - const maskStyle = { - backgroundSize: `100% ${(wrapHeight - itemHeight) / 2}px`, - }; - return ( <div class={bem()}> {this.toolbarPosition === 'top' ? this.genToolbar() : h()} {this.loading ? <Loading class={bem('loading')} /> : h()} {this.slots('columns-top')} - <div - class={bem('columns')} - style={columnsStyle} - onTouchmove={preventDefault} - > - {this.genColumns()} - <div class={bem('mask')} style={maskStyle} /> - <div - class={[BORDER_UNSET_TOP_BOTTOM, bem('frame')]} - style={frameStyle} - /> - </div> + {this.genColumns()} {this.slots('columns-bottom')} {this.toolbarPosition === 'bottom' ? this.genToolbar() : h()} </div> diff --git a/src/picker/test/__snapshots__/index.spec.js.snap b/src/picker/test/__snapshots__/index.spec.js.snap index 016a64223..2a6f8bb0d 100644 --- a/src/picker/test/__snapshots__/index.spec.js.snap +++ b/src/picker/test/__snapshots__/index.spec.js.snap @@ -103,6 +103,27 @@ exports[`render title slot 1`] = ` </div> `; +exports[`set rem item-height 1`] = ` +<div class="van-picker"> + <!----> + <div class="van-picker__columns" style="height: 800px;"> + <div class="van-picker-column"> + <ul class="van-picker-column__wrapper" style="transform: translate3d(0, 320px, 0); transition-duration: 0ms; transition-property: none;"> + <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected" style="height: 160px;"> + <div class="van-ellipsis">1990</div> + </li> + <li role="button" tabindex="0" class="van-picker-column__item" style="height: 160px;"> + <div class="van-ellipsis">1991</div> + </li> + </ul> + </div> + <div class="van-picker__mask" style="background-size: 100% 320px;"></div> + <div class="van-hairline-unset--top-bottom van-picker__frame" style="height: 160px;"></div> + </div> + <!----> +</div> +`; + exports[`toolbar-position prop 1`] = ` <div class="van-picker"> <!----> diff --git a/src/picker/test/index.spec.js b/src/picker/test/index.spec.js index bb959ea9f..f528f8017 100644 --- a/src/picker/test/index.spec.js +++ b/src/picker/test/index.spec.js @@ -261,3 +261,21 @@ test('should not reset index when columns unchanged', () => { wrapper.find('.van-picker__confirm').trigger('click'); expect(wrapper.emitted('confirm')[0]).toEqual(['2', 1]); }); + +test('set rem item-height', async () => { + const originGetComputedStyle = window.getComputedStyle; + + window.getComputedStyle = () => ({ fontSize: '16px' }); + + const wrapper = mount(Picker, { + propsData: { + columns: simpleColumn.slice(0, 2), + itemHeight: '10rem', + }, + }); + + await later(); + expect(wrapper).toMatchSnapshot(); + + window.getComputedStyle = originGetComputedStyle; +}); diff --git a/src/utils/format/unit.ts b/src/utils/format/unit.ts index 613882285..7f422c6af 100644 --- a/src/utils/format/unit.ts +++ b/src/utils/format/unit.ts @@ -9,3 +9,24 @@ export function addUnit(value?: string | number): string | undefined { value = String(value); return isNumeric(value) ? `${value}px` : value; } + +function convertRem(value: string) { + const rootStyle = window.getComputedStyle(document.documentElement); + const rootFontSize = parseFloat(rootStyle.fontSize); + + value = value.replace(/rem/g, ''); + + return +value * rootFontSize; +} + +export function unitToPx(value: string | number): number { + if (typeof value === 'number') { + return value; + } + + if (value.indexOf('rem') !== -1) { + return convertRem(value); + } + + return parseFloat(value); +} diff --git a/src/utils/test/index.spec.js b/src/utils/test/index.spec.js index 281c07dc9..a9d6bea10 100644 --- a/src/utils/test/index.spec.js +++ b/src/utils/test/index.spec.js @@ -9,6 +9,7 @@ import { isNumeric } from '../validate/number'; import { isAndroid } from '../validate/system'; import { camelize } from '../format/string'; import { formatNumber } from '../format/number'; +import { addUnit, unitToPx } from '../format/unit'; test('deepClone', () => { const a = { foo: 0 }; @@ -115,3 +116,27 @@ test('formatNumber', () => { expect(formatNumber('-1.2-', true)).toEqual('-1.2'); expect(formatNumber('123-')).toEqual('123'); }); + +test('addUnit', () => { + expect(addUnit(0)).toEqual('0px'); + expect(addUnit(10)).toEqual('10px'); + expect(addUnit('1%')).toEqual('1%'); + expect(addUnit('1px')).toEqual('1px'); + expect(addUnit('1vw')).toEqual('1vw'); + expect(addUnit('1vh')).toEqual('1vh'); + expect(addUnit('1rem')).toEqual('1rem'); +}); + +test('unitToPx', () => { + const originGetComputedStyle = window.getComputedStyle; + + window.getComputedStyle = () => ({ fontSize: '16px' }); + + expect(unitToPx(0)).toEqual(0); + expect(unitToPx(10)).toEqual(10); + expect(unitToPx('10px')).toEqual(10); + expect(unitToPx('0rem')).toEqual(0); + expect(unitToPx('10rem')).toEqual(160); + + window.getComputedStyle = originGetComputedStyle; +}); From df69c2d56eb26c04789f85b65c65b5f137dbaaa3 Mon Sep 17 00:00:00 2001 From: chenjiahan <chenjiahan@youzan.com> Date: Fri, 5 Jun 2020 22:05:51 +0800 Subject: [PATCH 24/58] chore: remove test.only --- src/calendar/test/prop.spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calendar/test/prop.spec.js b/src/calendar/test/prop.spec.js index 6d8ec8ec7..726e7dfef 100644 --- a/src/calendar/test/prop.spec.js +++ b/src/calendar/test/prop.spec.js @@ -181,7 +181,7 @@ test('lazy-render prop', () => { expect(wrapper).toMatchSnapshot(); }); -test.only('month-show event', async () => { +test('month-show event', async () => { const wrapper = mount(Calendar, { propsData: { value: true, From e194d8bb310d52af566b51e2fdc0d773678f4a9d Mon Sep 17 00:00:00 2001 From: chenjiahan <chenjiahan@youzan.com> Date: Fri, 5 Jun 2020 22:07:33 +0800 Subject: [PATCH 25/58] test(Calendar): update snapshot --- src/calendar/test/__snapshots__/prop.spec.js.snap | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/calendar/test/__snapshots__/prop.spec.js.snap b/src/calendar/test/__snapshots__/prop.spec.js.snap index b38b269f9..1d8862afe 100644 --- a/src/calendar/test/__snapshots__/prop.spec.js.snap +++ b/src/calendar/test/__snapshots__/prop.spec.js.snap @@ -47,6 +47,8 @@ exports[`lazy-render prop 1`] = ` </div> </div> </div> - <div class="van-calendar__footer"><button type="button" class="van-button van-button--danger van-button--normal van-button--block van-button--round van-calendar__confirm"><span class="van-button__text">确定</span></button></div> + <div class="van-calendar__footer"><button type="button" class="van-button van-button--danger van-button--normal van-button--block van-button--round van-calendar__confirm"> + <div class="van-button__content"><span class="van-button__text">确定</span></div> + </button></div> </div> `; From 92c3819a03a7354e45c4e06454c1ac06ab0eb5e1 Mon Sep 17 00:00:00 2001 From: neverland <chenjiahan@youzan.com> Date: Sat, 6 Jun 2020 20:00:15 +0800 Subject: [PATCH 26/58] fix(Picker): cursor.defaultIndex may be 0 (#6473) --- src/picker/index.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/picker/index.js b/src/picker/index.js index 927f4faf2..638ded36a 100644 --- a/src/picker/index.js +++ b/src/picker/index.js @@ -1,5 +1,5 @@ // Utils -import { createNamespace, isObject } from '../utils'; +import { createNamespace, isDef, isObject } from '../utils'; import { preventDefault } from '../utils/dom/event'; import { BORDER_UNSET_TOP_BOTTOM } from '../utils/constant'; import { pickerProps } from './shared'; @@ -86,7 +86,9 @@ export default createComponent({ let cursor = { children: this.columns }; while (cursor && cursor.children) { - const defaultIndex = cursor.defaultIndex || +this.defaultIndex; + const defaultIndex = isDef(cursor.defaultIndex) + ? cursor.defaultIndex + : +this.defaultIndex; formatted.push({ values: cursor.children.map((item) => item[this.valueKey]), From 97dc684f9b86aefc5bf2ec86b6e47187339246ae Mon Sep 17 00:00:00 2001 From: neverland <chenjiahan@youzan.com> Date: Sat, 6 Jun 2020 20:20:42 +0800 Subject: [PATCH 27/58] fix(Tabbar): avoid redundant navigation error (#6474) * fix(Tabbar): avoid redundant navigation error * chore: robust --- src/utils/router.ts | 11 +++++++++-- yarn.lock | 6 +++--- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/src/utils/router.ts b/src/utils/router.ts index ff11d11b9..7a005e4e9 100644 --- a/src/utils/router.ts +++ b/src/utils/router.ts @@ -11,6 +11,14 @@ export type RouteConfig = { replace?: boolean; }; +function isRedundantNavigation(err: Error) { + return ( + err.name === 'NavigationDuplicated' || + // compatible with vue-router@3.3 + (err.message && err.message.indexOf('redundant navigation') !== -1) + ); +} + export function route(router: VueRouter, config: RouteConfig) { const { to, url, replace } = config; if (to && router) { @@ -19,8 +27,7 @@ export function route(router: VueRouter, config: RouteConfig) { /* istanbul ignore else */ if (promise && promise.catch) { promise.catch((err) => { - /* istanbul ignore if */ - if (err && err.name !== 'NavigationDuplicated') { + if (err && !isRedundantNavigation(err)) { throw err; } }); diff --git a/yarn.lock b/yarn.lock index f1e6628cd..7ec2a8faf 100644 --- a/yarn.lock +++ b/yarn.lock @@ -11609,9 +11609,9 @@ vue-loader@^15.9.2: vue-style-loader "^4.1.0" vue-router@^3.1.6: - version "3.1.6" - resolved "https://registry.yarnpkg.com/vue-router/-/vue-router-3.1.6.tgz#45f5a3a3843e31702c061dd829393554e4328f89" - integrity sha512-GYhn2ynaZlysZMkFE5oCHRUTqE8BWs/a9YbKpNLi0i7xD6KG1EzDqpHQmv1F5gXjr8kL5iIVS8EOtRaVUEXTqA== + version "3.3.2" + resolved "https://registry.npm.taobao.org/vue-router/download/vue-router-3.3.2.tgz?cache=0&sync_timestamp=1590759571191&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fvue-router%2Fdownload%2Fvue-router-3.3.2.tgz#0099de402edb2fe92f9711053ab5a2156f239cad" + integrity sha1-AJneQC7bL+kvlxEFOrWiFW8jnK0= vue-style-loader@^4.1.0: version "4.1.2" From 9424195685a8788237cdec309da993fd6fff906c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 7 Jun 2020 14:59:13 +0800 Subject: [PATCH 28/58] build(deps): bump websocket-extensions from 0.1.3 to 0.1.4 (#6475) Bumps [websocket-extensions](https://github.com/faye/websocket-extensions-node) from 0.1.3 to 0.1.4. - [Release notes](https://github.com/faye/websocket-extensions-node/releases) - [Changelog](https://github.com/faye/websocket-extensions-node/blob/master/CHANGELOG.md) - [Commits](https://github.com/faye/websocket-extensions-node/compare/0.1.3...0.1.4) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- yarn.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yarn.lock b/yarn.lock index 7ec2a8faf..5179d88ed 100644 --- a/yarn.lock +++ b/yarn.lock @@ -11816,9 +11816,9 @@ websocket-driver@>=0.5.1: websocket-extensions ">=0.1.1" websocket-extensions@>=0.1.1: - version "0.1.3" - resolved "https://registry.yarnpkg.com/websocket-extensions/-/websocket-extensions-0.1.3.tgz#5d2ff22977003ec687a4b87073dfbbac146ccf29" - integrity sha512-nqHUnMXmBzT0w570r2JpJxfiSD1IzoI+HGVdd3aZ0yNi3ngvQ4jv1dtHt5VGxfI2yj5yqImPhOK4vmIh2xMbGg== + version "0.1.4" + resolved "https://registry.yarnpkg.com/websocket-extensions/-/websocket-extensions-0.1.4.tgz#7f8473bc839dfd87608adb95d7eb075211578a42" + integrity sha512-OqedPIGOfsDlo31UNwYbCFMSaO9m9G/0faIHj5/dZFDMFqPTcx6UwqyOy3COEaEOg/9VsGIpdqn62W5KhoKSpg== whatwg-encoding@^1.0.1, whatwg-encoding@^1.0.5: version "1.0.5" From 1e2085b6c0b5f54f84dea78e6ff85e65fa03aae5 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 8 Jun 2020 19:10:39 +0800 Subject: [PATCH 29/58] build(deps): bump websocket-extensions in /packages/vant-cli (#6478) Bumps [websocket-extensions](https://github.com/faye/websocket-extensions-node) from 0.1.3 to 0.1.4. - [Release notes](https://github.com/faye/websocket-extensions-node/releases) - [Changelog](https://github.com/faye/websocket-extensions-node/blob/master/CHANGELOG.md) - [Commits](https://github.com/faye/websocket-extensions-node/compare/0.1.3...0.1.4) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- packages/vant-cli/yarn.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/vant-cli/yarn.lock b/packages/vant-cli/yarn.lock index 0f3b0b1aa..893bcf088 100644 --- a/packages/vant-cli/yarn.lock +++ b/packages/vant-cli/yarn.lock @@ -12255,9 +12255,9 @@ websocket-driver@>=0.5.1: websocket-extensions ">=0.1.1" websocket-extensions@>=0.1.1: - version "0.1.3" - resolved "https://registry.yarnpkg.com/websocket-extensions/-/websocket-extensions-0.1.3.tgz#5d2ff22977003ec687a4b87073dfbbac146ccf29" - integrity sha512-nqHUnMXmBzT0w570r2JpJxfiSD1IzoI+HGVdd3aZ0yNi3ngvQ4jv1dtHt5VGxfI2yj5yqImPhOK4vmIh2xMbGg== + version "0.1.4" + resolved "https://registry.yarnpkg.com/websocket-extensions/-/websocket-extensions-0.1.4.tgz#7f8473bc839dfd87608adb95d7eb075211578a42" + integrity sha512-OqedPIGOfsDlo31UNwYbCFMSaO9m9G/0faIHj5/dZFDMFqPTcx6UwqyOy3COEaEOg/9VsGIpdqn62W5KhoKSpg== whatwg-encoding@^1.0.1, whatwg-encoding@^1.0.5: version "1.0.5" From ab84662ecf011520f39fff8cced644f701a23c3b Mon Sep 17 00:00:00 2001 From: neverland <chenjiahan@youzan.com> Date: Mon, 8 Jun 2020 19:42:20 +0800 Subject: [PATCH 30/58] chore(Area): rename variable (#6487) --- src/area/index.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/area/index.js b/src/area/index.js index 9a4ac930c..293cf549c 100644 --- a/src/area/index.js +++ b/src/area/index.js @@ -185,10 +185,8 @@ export default createComponent({ this.code = values[index].code; this.setValues(); - let getValues = picker.getValues(); - getValues = this.parseOutputValues(getValues); - - this.$emit('change', picker, getValues, index); + const parsedValues = this.parseOutputValues(picker.getValues()); + this.$emit('change', picker, parsedValues, index); }, onConfirm(values, index) { From 713c8e010131f56402729a52ec6d8a367426a682 Mon Sep 17 00:00:00 2001 From: neverland <chenjiahan@youzan.com> Date: Mon, 8 Jun 2020 19:44:27 +0800 Subject: [PATCH 31/58] chore(Tab): rename onShow to init (#6488) --- src/tabs/index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/tabs/index.js b/src/tabs/index.js index 2c0f1f48f..3123d4b04 100644 --- a/src/tabs/index.js +++ b/src/tabs/index.js @@ -166,11 +166,11 @@ export default createComponent({ }, mounted() { - this.onShow(); + this.init(); }, activated() { - this.onShow(); + this.init(); this.setLine(); }, @@ -180,7 +180,7 @@ export default createComponent({ this.setLine(); }, - onShow() { + init() { this.$nextTick(() => { this.inited = true; this.tabHeight = getVisibleHeight(this.$refs.wrap); From 9adbfcb26ca43139ef6a243e8c603a9bca688d83 Mon Sep 17 00:00:00 2001 From: neverland <chenjiahan@youzan.com> Date: Mon, 8 Jun 2020 19:57:25 +0800 Subject: [PATCH 32/58] perf(Field): reduce input value assignment (#6489) --- src/field/index.js | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/src/field/index.js b/src/field/index.js index 61fa5f82f..16ceb8003 100644 --- a/src/field/index.js +++ b/src/field/index.js @@ -276,33 +276,25 @@ export default createComponent({ } let { value } = target; - const { maxlength } = this; + const originValue = value; // native maxlength not work when type is number + const { maxlength } = this; if (isDef(maxlength) && value.length > maxlength) { value = value.slice(0, maxlength); - target.value = value; } if (this.type === 'number' || this.type === 'digit') { - const originValue = value; const allowDot = this.type === 'number'; - value = formatNumber(value, allowDot); - - if (value !== originValue) { - target.value = value; - } } if (this.formatter) { - const originValue = value; - value = this.formatter(value); + } - if (value !== originValue) { - target.value = value; - } + if (value !== originValue) { + target.value = value; } return value; From 1035503d659c840f13aac74742bad6c30aa6f767 Mon Sep 17 00:00:00 2001 From: neverland <chenjiahan@youzan.com> Date: Mon, 8 Jun 2020 20:41:19 +0800 Subject: [PATCH 33/58] fix(Field): formatter not work when v-model changed (#6490) --- src/field/index.js | 37 ++++++++++++++++++++++-------------- src/field/test/index.spec.js | 4 +--- 2 files changed, 24 insertions(+), 17 deletions(-) diff --git a/src/field/index.js b/src/field/index.js index 16ceb8003..fd7bcc1fd 100644 --- a/src/field/index.js +++ b/src/field/index.js @@ -1,14 +1,14 @@ // Utils -import { preventDefault } from '../utils/dom/event'; -import { formatNumber } from '../utils/format/number'; import { resetScroll } from '../utils/dom/reset-scroll'; +import { formatNumber } from '../utils/format/number'; +import { preventDefault } from '../utils/dom/event'; import { - createNamespace, - isObject, isDef, addUnit, + isObject, isPromise, isFunction, + createNamespace, } from '../utils'; // Components @@ -53,6 +53,10 @@ export default createComponent({ errorMessage: String, errorMessageAlign: String, showWordLimit: Boolean, + value: { + type: [String, Number], + default: '', + }, type: { type: String, default: 'text', @@ -76,6 +80,7 @@ export default createComponent({ watch: { value() { + this.updateValue(this.value); this.resetValidation(); this.validateWithTrigger('onChange'); this.$nextTick(this.adjustSize); @@ -83,7 +88,7 @@ export default createComponent({ }, mounted() { - this.format(); + this.updateValue(this.value); this.$nextTick(this.adjustSize); if (this.vanForm) { @@ -270,14 +275,13 @@ export default createComponent({ } }, - format(target = this.$refs.input) { - if (!target) { + updateValue(value) { + value = String(value); + + if (value === this.currentValue) { return; } - let { value } = target; - const originValue = value; - // native maxlength not work when type is number const { maxlength } = this; if (isDef(maxlength) && value.length > maxlength) { @@ -293,11 +297,16 @@ export default createComponent({ value = this.formatter(value); } - if (value !== originValue) { - target.value = value; + const { input } = this.$refs; + if (input && value !== input.value) { + input.value = value; } - return value; + if (value !== this.value) { + this.$emit('input', value); + } + + this.currentValue = value; }, onInput(event) { @@ -306,7 +315,7 @@ export default createComponent({ return; } - this.$emit('input', this.format(event.target)); + this.updateValue(event.target.value); }, onFocus(event) { diff --git a/src/field/test/index.spec.js b/src/field/test/index.spec.js index d3050f98f..dde38f045 100644 --- a/src/field/test/index.spec.js +++ b/src/field/test/index.spec.js @@ -289,11 +289,9 @@ test('formatter prop', () => { }, }); - const input = wrapper.find('input'); - - input.trigger('input'); expect(wrapper.emitted('input')[0][0]).toEqual('abc'); + const input = wrapper.find('input'); input.element.value = '123efg'; input.trigger('input'); expect(wrapper.emitted('input')[1][0]).toEqual('efg'); From 29857d7ac8b855b9fa5d7ecc903f0928028feb8b Mon Sep 17 00:00:00 2001 From: Mikasa33 <mikasa33@qq.com> Date: Tue, 9 Jun 2020 20:46:41 +0800 Subject: [PATCH 34/58] docs: fix month-day in datetime-picker (#6493) --- src/datetime-picker/README.zh-CN.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/datetime-picker/README.zh-CN.md b/src/datetime-picker/README.zh-CN.md index 15e5155b5..5d40c1ace 100644 --- a/src/datetime-picker/README.zh-CN.md +++ b/src/datetime-picker/README.zh-CN.md @@ -78,7 +78,7 @@ export default { }; ``` -### 选择年月 +### 选择月日 将 type 设置为 `month-day` 即可选择月份和日期(从 2.8.4 版本开始支持) From c9f9e364942e117901587685be2d53052d369667 Mon Sep 17 00:00:00 2001 From: neverland <chenjiahan@youzan.com> Date: Tue, 9 Jun 2020 21:03:39 +0800 Subject: [PATCH 35/58] docs(DatetimePicker): hide month-day demo in weapp (#6495) --- src/datetime-picker/demo/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/datetime-picker/demo/index.vue b/src/datetime-picker/demo/index.vue index 9e8fbf613..eca14d67a 100644 --- a/src/datetime-picker/demo/index.vue +++ b/src/datetime-picker/demo/index.vue @@ -21,7 +21,7 @@ /> </demo-block> - <demo-block :title="t('monthDayType')"> + <demo-block v-if="!isWeapp" :title="t('monthDayType')"> <van-datetime-picker v-model="value.monthDayType" type="month-day" From e01699a74b5c30d94eb2091ce18b2e8cdc3e07a2 Mon Sep 17 00:00:00 2001 From: neverland <chenjiahan@youzan.com> Date: Tue, 9 Jun 2020 22:42:16 +0800 Subject: [PATCH 36/58] fix(ImagePreview): image blurred after scale on iOS (#6496) --- src/image-preview/ImagePreview.js | 2 +- src/image-preview/test/__snapshots__/index.spec.js.snap | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/image-preview/ImagePreview.js b/src/image-preview/ImagePreview.js index 41bdcc286..a09f58c3f 100644 --- a/src/image-preview/ImagePreview.js +++ b/src/image-preview/ImagePreview.js @@ -103,7 +103,7 @@ export default createComponent({ }; if (scale !== 1) { - style.transform = `scale3d(${scale}, ${scale}, 1) translate(${ + style.transform = `scale(${scale}, ${scale}) translate(${ this.moveX / scale }px, ${this.moveY / scale}px)`; } diff --git a/src/image-preview/test/__snapshots__/index.spec.js.snap b/src/image-preview/test/__snapshots__/index.spec.js.snap index b4c5692e2..828a38b64 100644 --- a/src/image-preview/test/__snapshots__/index.spec.js.snap +++ b/src/image-preview/test/__snapshots__/index.spec.js.snap @@ -61,7 +61,7 @@ exports[`set show-index prop to false 1`] = ` `; exports[`zoom 1`] = ` -<div class="van-image van-image-preview__image" style="transition-duration: 0s; transform: scale3d(2, 2, 1) translate(0px, NaNpx);"><img src="https://img.yzcdn.cn/1.png" class="van-image__img" style="object-fit: contain;"> +<div class="van-image van-image-preview__image" style="transition-duration: 0s; transform: scale(2, 2) translate(0px, NaNpx);"><img src="https://img.yzcdn.cn/1.png" class="van-image__img" style="object-fit: contain;"> <div class="van-image__loading"> <div class="van-loading van-loading--spinner"><span class="van-loading__spinner van-loading__spinner--spinner"><i></i><i></i><i></i><i></i><i></i><i></i><i></i><i></i><i></i><i></i><i></i><i></i></span></div> </div> From 8c995f6320a3b5ccb5c280e3f5a0bc6ef626fa94 Mon Sep 17 00:00:00 2001 From: neverland <chenjiahan@youzan.com> Date: Wed, 10 Jun 2020 16:59:59 +0800 Subject: [PATCH 37/58] fix(Calendar): quick select not work when select same day (#6504) --- src/calendar/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calendar/index.js b/src/calendar/index.js index 67d601fc9..1fa30530e 100644 --- a/src/calendar/index.js +++ b/src/calendar/index.js @@ -285,7 +285,7 @@ export default createComponent({ } else if (compareToStart === -1) { this.select([date, null]); } else if (this.allowSameDay) { - this.select([date, date]); + this.select([date, date], true); } } else { this.select([date, null]); From ba4344f98090e971f9348caabfea99cc52b660fb Mon Sep 17 00:00:00 2001 From: chenjiahan <chenjiahan@youzan.com> Date: Wed, 10 Jun 2020 19:29:44 +0800 Subject: [PATCH 38/58] chore(icon): bump deps --- packages/vant-icons/package.json | 10 +- packages/vant-icons/yarn.lock | 1157 ++++++++++++++++++------------ 2 files changed, 719 insertions(+), 448 deletions(-) diff --git a/packages/vant-icons/package.json b/packages/vant-icons/package.json index dad124cb7..7ac31a6d3 100644 --- a/packages/vant-icons/package.json +++ b/packages/vant-icons/package.json @@ -17,14 +17,14 @@ "license": "MIT", "repository": "https://github.com/youzan/vant/tree/dev/packages/vant-icons", "devDependencies": { - "fast-glob": "^3.1.1", - "fs-extra": "^8.1.0", + "fast-glob": "^3.2.2", + "fs-extra": "^9.0.1", "gulp": "^4.0.2", "gulp-iconfont": "^10.0.3", "gulp-iconfont-css": "^3.0.0", - "md5-file": "^4.0.0", - "release-it": "^12.4.3", - "shelljs": "^0.8.3", + "md5-file": "^5.0.0", + "release-it": "^13.6.2", + "shelljs": "^0.8.4", "svgo": "1.2.2" }, "release-it": { diff --git a/packages/vant-icons/yarn.lock b/packages/vant-icons/yarn.lock index 9d4d97041..d4c1007ec 100644 --- a/packages/vant-icons/yarn.lock +++ b/packages/vant-icons/yarn.lock @@ -2,10 +2,31 @@ # yarn lockfile v1 -"@iarna/toml@2.2.3": - version "2.2.3" - resolved "https://registry.yarnpkg.com/@iarna/toml/-/toml-2.2.3.tgz#f060bf6eaafae4d56a7dac618980838b0696e2ab" - integrity sha512-FmuxfCuolpLl0AnQ2NHSzoUKWEJDFl63qXjzdoWBVyFCXzMGm1spBzk7LeHNoVCiWCF7mRVms9e6jEV9+MoPbg== +"@babel/code-frame@^7.0.0": + version "7.10.1" + resolved "https://registry.npm.taobao.org/@babel/code-frame/download/@babel/code-frame-7.10.1.tgz?cache=0&sync_timestamp=1590618966220&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fcode-frame%2Fdownload%2F%40babel%2Fcode-frame-7.10.1.tgz#d5481c5095daa1c57e16e54c6f9198443afb49ff" + integrity sha1-1UgcUJXaocV+FuVMb5GYRDr7Sf8= + dependencies: + "@babel/highlight" "^7.10.1" + +"@babel/helper-validator-identifier@^7.10.1": + version "7.10.1" + resolved "https://registry.npm.taobao.org/@babel/helper-validator-identifier/download/@babel/helper-validator-identifier-7.10.1.tgz?cache=0&sync_timestamp=1590617249345&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fhelper-validator-identifier%2Fdownload%2F%40babel%2Fhelper-validator-identifier-7.10.1.tgz#5770b0c1a826c4f53f5ede5e153163e0318e94b5" + integrity sha1-V3CwwagmxPU/Xt5eFTFj4DGOlLU= + +"@babel/highlight@^7.10.1": + version "7.10.1" + resolved "https://registry.npm.taobao.org/@babel/highlight/download/@babel/highlight-7.10.1.tgz?cache=0&sync_timestamp=1590617371316&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fhighlight%2Fdownload%2F%40babel%2Fhighlight-7.10.1.tgz#841d098ba613ba1a427a2b383d79e35552c38ae0" + integrity sha1-hB0Ji6YTuhpCeis4PXnjVVLDiuA= + dependencies: + "@babel/helper-validator-identifier" "^7.10.1" + chalk "^2.0.0" + js-tokens "^4.0.0" + +"@iarna/toml@2.2.5": + version "2.2.5" + resolved "https://registry.npm.taobao.org/@iarna/toml/download/@iarna/toml-2.2.5.tgz#b32366c89b43c6f8cefbdefac778b9c828e3ba8c" + integrity sha1-syNmyJtDxvjO+976x3i5yCjjuow= "@nodelib/fs.scandir@2.1.3": version "2.1.3" @@ -28,60 +49,107 @@ "@nodelib/fs.scandir" "2.1.3" fastq "^1.6.0" -"@octokit/endpoint@^5.5.0": - version "5.5.1" - resolved "https://registry.yarnpkg.com/@octokit/endpoint/-/endpoint-5.5.1.tgz#2eea81e110ca754ff2de11c79154ccab4ae16b3f" - integrity sha512-nBFhRUb5YzVTCX/iAK1MgQ4uWo89Gu0TH00qQHoYRCsE12dWcG1OiLd7v2EIo2+tpUKPMOQ62QFy9hy9Vg2ULg== +"@octokit/auth-token@^2.4.0": + version "2.4.1" + resolved "https://registry.npm.taobao.org/@octokit/auth-token/download/@octokit/auth-token-2.4.1.tgz#375d79eebd03750e6a9b0299e80b8167c7c85655" + integrity sha1-N1157r0DdQ5qmwKZ6AuBZ8fIVlU= dependencies: - "@octokit/types" "^2.0.0" - is-plain-object "^3.0.0" - universal-user-agent "^4.0.0" + "@octokit/types" "^4.0.1" -"@octokit/request-error@^1.0.1", "@octokit/request-error@^1.0.2": - version "1.2.0" - resolved "https://registry.yarnpkg.com/@octokit/request-error/-/request-error-1.2.0.tgz#a64d2a9d7a13555570cd79722de4a4d76371baaa" - integrity sha512-DNBhROBYjjV/I9n7A8kVkmQNkqFAMem90dSxqvPq57e2hBr7mNTX98y3R2zDpqMQHVRpBDjsvsfIGgBzy+4PAg== +"@octokit/core@^2.4.3": + version "2.5.3" + resolved "https://registry.npm.taobao.org/@octokit/core/download/@octokit/core-2.5.3.tgz#dd754e6f5ad9b15631e9b276ae4f00ac2ea2cf9b" + integrity sha1-3XVOb1rZsVYx6bJ2rk8ArC6iz5s= dependencies: - "@octokit/types" "^2.0.0" + "@octokit/auth-token" "^2.4.0" + "@octokit/graphql" "^4.3.1" + "@octokit/request" "^5.4.0" + "@octokit/types" "^4.0.1" + before-after-hook "^2.1.0" + universal-user-agent "^5.0.0" + +"@octokit/endpoint@^6.0.1": + version "6.0.2" + resolved "https://registry.npm.taobao.org/@octokit/endpoint/download/@octokit/endpoint-6.0.2.tgz#e876aafe68d7f9b6c6d80bf29458403f9afe7b2b" + integrity sha1-6Haq/mjX+bbG2AvylFhAP5r+eys= + dependencies: + "@octokit/types" "^4.0.1" + is-plain-object "^3.0.0" + universal-user-agent "^5.0.0" + +"@octokit/graphql@^4.3.1": + version "4.5.0" + resolved "https://registry.npm.taobao.org/@octokit/graphql/download/@octokit/graphql-4.5.0.tgz#e111f841bc15722b1e9887f447fccab700cacdad" + integrity sha1-4RH4QbwVcisemIf0R/zKtwDKza0= + dependencies: + "@octokit/request" "^5.3.0" + "@octokit/types" "^4.0.1" + universal-user-agent "^5.0.0" + +"@octokit/plugin-paginate-rest@^2.2.0": + version "2.2.1" + resolved "https://registry.npm.taobao.org/@octokit/plugin-paginate-rest/download/@octokit/plugin-paginate-rest-2.2.1.tgz#b95ec46c841d51e5e625f383c579d132ab216d05" + integrity sha1-uV7EbIQdUeXmJfODxXnRMqshbQU= + dependencies: + "@octokit/types" "^4.0.1" + +"@octokit/plugin-request-log@^1.0.0": + version "1.0.0" + resolved "https://registry.npm.taobao.org/@octokit/plugin-request-log/download/@octokit/plugin-request-log-1.0.0.tgz#eef87a431300f6148c39a7f75f8cfeb218b2547e" + integrity sha1-7vh6QxMA9hSMOaf3X4z+shiyVH4= + +"@octokit/plugin-rest-endpoint-methods@3.11.0": + version "3.11.0" + resolved "https://registry.npm.taobao.org/@octokit/plugin-rest-endpoint-methods/download/@octokit/plugin-rest-endpoint-methods-3.11.0.tgz#96e69d7904bcbb6172be2bc1c70757ff1377fbfe" + integrity sha1-luadeQS8u2FyvivBxwdX/xN3+/4= + dependencies: + "@octokit/types" "^2.16.0" + deprecation "^2.3.1" + +"@octokit/request-error@^2.0.0": + version "2.0.1" + resolved "https://registry.npm.taobao.org/@octokit/request-error/download/@octokit/request-error-2.0.1.tgz#49bd71e811daffd5bdd06ef514ca47b5039682d1" + integrity sha1-Sb1x6BHa/9W90G71FMpHtQOWgtE= + dependencies: + "@octokit/types" "^4.0.1" deprecation "^2.0.0" once "^1.4.0" -"@octokit/request@^5.0.0": - version "5.3.1" - resolved "https://registry.yarnpkg.com/@octokit/request/-/request-5.3.1.tgz#3a1ace45e6f88b1be4749c5da963b3a3b4a2f120" - integrity sha512-5/X0AL1ZgoU32fAepTfEoggFinO3rxsMLtzhlUX+RctLrusn/CApJuGFCd0v7GMFhF+8UiCsTTfsu7Fh1HnEJg== +"@octokit/request@^5.3.0", "@octokit/request@^5.4.0": + version "5.4.4" + resolved "https://registry.npm.taobao.org/@octokit/request/download/@octokit/request-5.4.4.tgz#dc57e85e86284fa016d0c1a2701a70a10cec4ff2" + integrity sha1-3FfoXoYoT6AW0MGicBpwoQzsT/I= dependencies: - "@octokit/endpoint" "^5.5.0" - "@octokit/request-error" "^1.0.1" - "@octokit/types" "^2.0.0" + "@octokit/endpoint" "^6.0.1" + "@octokit/request-error" "^2.0.0" + "@octokit/types" "^4.0.1" deprecation "^2.0.0" is-plain-object "^3.0.0" node-fetch "^2.3.0" once "^1.4.0" - universal-user-agent "^4.0.0" + universal-user-agent "^5.0.0" -"@octokit/rest@16.33.0": - version "16.33.0" - resolved "https://registry.yarnpkg.com/@octokit/rest/-/rest-16.33.0.tgz#13c1404b24c9871419eb31029de177e82f3eb851" - integrity sha512-t4jMR+odsfooQwmHiREoTQixVTX2DfdbSaO+lKrW9R5XBuk0DW+5T/JdfwtxAGUAHgvDDpWY/NVVDfEPTzxD6g== +"@octokit/rest@17.9.0": + version "17.9.0" + resolved "https://registry.npm.taobao.org/@octokit/rest/download/@octokit/rest-17.9.0.tgz#48d20196eb3dbe1cb507d0e46e01d17c24cc3d0e" + integrity sha1-SNIBlus9vhy1B9DkbgHRfCTMPQ4= dependencies: - "@octokit/request" "^5.0.0" - "@octokit/request-error" "^1.0.2" - atob-lite "^2.0.0" - before-after-hook "^2.0.0" - btoa-lite "^1.0.0" - deprecation "^2.0.0" - lodash.get "^4.4.2" - lodash.set "^4.3.2" - lodash.uniq "^4.5.0" - octokit-pagination-methods "^1.1.0" - once "^1.4.0" - universal-user-agent "^4.0.0" + "@octokit/core" "^2.4.3" + "@octokit/plugin-paginate-rest" "^2.2.0" + "@octokit/plugin-request-log" "^1.0.0" + "@octokit/plugin-rest-endpoint-methods" "3.11.0" -"@octokit/types@^2.0.0": - version "2.0.2" - resolved "https://registry.yarnpkg.com/@octokit/types/-/types-2.0.2.tgz#0888497f5a664e28b0449731d5e88e19b2a74f90" - integrity sha512-StASIL2lgT3TRjxv17z9pAqbnI7HGu9DrJlg3sEBFfCLaMEqp+O3IQPUF6EZtQ4xkAu2ml6kMBBCtGxjvmtmuQ== +"@octokit/types@^2.16.0": + version "2.16.2" + resolved "https://registry.npm.taobao.org/@octokit/types/download/@octokit/types-2.16.2.tgz#4c5f8da3c6fecf3da1811aef678fda03edac35d2" + integrity sha1-TF+No8b+zz2hgRrvZ4/aA+2sNdI= + dependencies: + "@types/node" ">= 8" + +"@octokit/types@^4.0.1": + version "4.1.10" + resolved "https://registry.npm.taobao.org/@octokit/types/download/@octokit/types-4.1.10.tgz#e4029c11e2cc1335051775bc1600e7e740e4aca4" + integrity sha1-5AKcEeLMEzUFF3W8FgDn50DkrKQ= dependencies: "@types/node" ">= 8" @@ -90,6 +158,11 @@ resolved "https://registry.yarnpkg.com/@sindresorhus/is/-/is-0.14.0.tgz#9fb3a3cf3132328151f353de4632e01e52102bea" integrity sha512-9NET910DNaIPngYnLLPeg+Ogzqsi9uM4mSboU5y6p8S5DzMTVEsJZrawi+BoDNUVBa2DhJqQYUFvMDfgU062LQ== +"@sindresorhus/is@^2.1.1": + version "2.1.1" + resolved "https://registry.npm.taobao.org/@sindresorhus/is/download/@sindresorhus/is-2.1.1.tgz#ceff6a28a5b4867c2dd4a1ba513de278ccbe8bb1" + integrity sha1-zv9qKKW0hnwt1KG6UT3ieMy+i7E= + "@szmarczak/http-timer@^1.1.2": version "1.1.2" resolved "https://registry.yarnpkg.com/@szmarczak/http-timer/-/http-timer-1.1.2.tgz#b1665e2c461a2cd92f4c1bbf50d5454de0d4b421" @@ -97,35 +170,62 @@ dependencies: defer-to-connect "^1.0.1" -"@types/events@*": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@types/events/-/events-3.0.0.tgz#2862f3f58a9a7f7c3e78d79f130dd4d71c25c2a7" - integrity sha512-EaObqwIvayI5a8dCzhFrjKzVwKLxjoG9T6Ppd5CEo07LRKfQ8Yokw54r5+Wq7FaBQ+yXRvQAYPrHwya1/UFt9g== - -"@types/glob@^7.1.1": - version "7.1.1" - resolved "https://registry.yarnpkg.com/@types/glob/-/glob-7.1.1.tgz#aa59a1c6e3fbc421e07ccd31a944c30eba521575" - integrity sha512-1Bh06cbWJUHMC97acuD6UMG29nMt0Aqz1vF3guLfG+kHHJhy3AyohZFFxYk2f7Q1SQIrNwvncxAE0N/9s70F2w== +"@szmarczak/http-timer@^4.0.5": + version "4.0.5" + resolved "https://registry.npm.taobao.org/@szmarczak/http-timer/download/@szmarczak/http-timer-4.0.5.tgz#bfbd50211e9dfa51ba07da58a14cdfd333205152" + integrity sha1-v71QIR6d+lG6B9pYoUzf0zMgUVI= dependencies: - "@types/events" "*" - "@types/minimatch" "*" - "@types/node" "*" + defer-to-connect "^2.0.0" -"@types/minimatch@*": - version "3.0.3" - resolved "https://registry.yarnpkg.com/@types/minimatch/-/minimatch-3.0.3.tgz#3dca0e3f33b200fc7d1139c0cd96c1268cadfd9d" - integrity sha512-tHq6qdbT9U1IRSGf14CL0pUlULksvY9OZ+5eEgl1N7t+OA3tGvNpxJCzuKQlsNgCVwbAs670L1vcVQi8j9HjnA== +"@types/cacheable-request@^6.0.1": + version "6.0.1" + resolved "https://registry.npm.taobao.org/@types/cacheable-request/download/@types/cacheable-request-6.0.1.tgz#5d22f3dded1fd3a84c0bbeb5039a7419c2c91976" + integrity sha1-XSLz3e0f06hMC761A5p0GcLJGXY= + dependencies: + "@types/http-cache-semantics" "*" + "@types/keyv" "*" + "@types/node" "*" + "@types/responselike" "*" + +"@types/color-name@^1.1.1": + version "1.1.1" + resolved "https://registry.npm.taobao.org/@types/color-name/download/@types/color-name-1.1.1.tgz?cache=0&sync_timestamp=1588199606687&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40types%2Fcolor-name%2Fdownload%2F%40types%2Fcolor-name-1.1.1.tgz#1c1261bbeaa10a8055bbc5d8ab84b7b2afc846a0" + integrity sha1-HBJhu+qhCoBVu8XYq4S3sq/IRqA= + +"@types/http-cache-semantics@*": + version "4.0.0" + resolved "https://registry.npm.taobao.org/@types/http-cache-semantics/download/@types/http-cache-semantics-4.0.0.tgz#9140779736aa2655635ee756e2467d787cfe8a2a" + integrity sha1-kUB3lzaqJlVjXudW4kZ9eHz+iio= + +"@types/keyv@*": + version "3.1.1" + resolved "https://registry.npm.taobao.org/@types/keyv/download/@types/keyv-3.1.1.tgz#e45a45324fca9dab716ab1230ee249c9fb52cfa7" + integrity sha1-5FpFMk/KnatxarEjDuJJyftSz6c= + dependencies: + "@types/node" "*" "@types/node@*", "@types/node@>= 8": version "13.1.8" resolved "https://registry.yarnpkg.com/@types/node/-/node-13.1.8.tgz#1d590429fe8187a02707720ecf38a6fe46ce294b" integrity sha512-6XzyyNM9EKQW4HKuzbo/CkOIjn/evtCmsU+MUM1xDfJ+3/rNjBttM1NgN7AOQvN6tP1Sl1D1PIKMreTArnxM9A== +"@types/parse-json@^4.0.0": + version "4.0.0" + resolved "https://registry.npm.taobao.org/@types/parse-json/download/@types/parse-json-4.0.0.tgz#2f8bb441434d163b35fb8ffdccd7138927ffb8c0" + integrity sha1-L4u0QUNNFjs1+4/9zNcTiSf/uMA= + "@types/q@^1.5.1": version "1.5.2" resolved "https://registry.yarnpkg.com/@types/q/-/q-1.5.2.tgz#690a1475b84f2a884fd07cd797c00f5f31356ea8" integrity sha512-ce5d3q03Ex0sy4R14722Rmt6MT07Ua+k4FwDfdcToYJcMKNtRVQvJ6JCAPdAmAnbRb6CsX6aYb9m96NGod9uTw== +"@types/responselike@*", "@types/responselike@^1.0.0": + version "1.0.0" + resolved "https://registry.npm.taobao.org/@types/responselike/download/@types/responselike-1.0.0.tgz#251f4fe7d154d2bad125abe1b429b23afd262e29" + integrity sha1-JR9P59FU0rrRJavhtCmyOv0mLik= + dependencies: + "@types/node" "*" + abbrev@1: version "1.1.1" resolved "https://registry.yarnpkg.com/abbrev/-/abbrev-1.1.1.tgz#f8f2c887ad10bf67f634f005b6987fed3179aac8" @@ -201,6 +301,14 @@ ansi-styles@^3.2.1: dependencies: color-convert "^1.9.0" +ansi-styles@^4.1.0: + version "4.2.1" + resolved "https://registry.npm.taobao.org/ansi-styles/download/ansi-styles-4.2.1.tgz#90ae75c424d008d2624c5bf29ead3177ebfcf359" + integrity sha1-kK51xCTQCNJiTFvynq0xd+v881k= + dependencies: + "@types/color-name" "^1.1.1" + color-convert "^2.0.1" + ansi-wrap@0.1.0, ansi-wrap@^0.1.0: version "0.1.0" resolved "https://registry.yarnpkg.com/ansi-wrap/-/ansi-wrap-0.1.0.tgz#a82250ddb0015e9a27ca82e82ea603bbfa45efaf" @@ -361,10 +469,10 @@ async-each@^1.0.1: resolved "https://registry.yarnpkg.com/async-each/-/async-each-1.0.2.tgz#8b8a7ca2a658f927e9f307d6d1a42f4199f0f735" integrity sha512-6xrbvN0MOBKSJDdonmSSz2OwFSgxRaVtBDes26mj9KIGtDo+g9xosFRSC+i1gQh2oAN/tQ62AI/pGZGQjVOiRg== -async-retry@1.2.3: - version "1.2.3" - resolved "https://registry.yarnpkg.com/async-retry/-/async-retry-1.2.3.tgz#a6521f338358d322b1a0012b79030c6f411d1ce0" - integrity sha512-tfDb02Th6CE6pJUF2gjW5ZVjsgwlucVXOEQMvEX9JgSJMs9gAX+Nz3xRuJBKuUYjTSYORqvDBORdAQ3LU59g7Q== +async-retry@1.3.1: + version "1.3.1" + resolved "https://registry.npm.taobao.org/async-retry/download/async-retry-1.3.1.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fasync-retry%2Fdownload%2Fasync-retry-1.3.1.tgz#139f31f8ddce50c0870b0ba558a6079684aaed55" + integrity sha1-E58x+N3OUMCHCwulWKYHloSq7VU= dependencies: retry "0.12.0" @@ -380,10 +488,10 @@ asynckit@^0.4.0: resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79" integrity sha1-x57Zf380y48robyXkLzDZkdLS3k= -atob-lite@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/atob-lite/-/atob-lite-2.0.0.tgz#0fef5ad46f1bd7a8502c65727f0367d5ee43d696" - integrity sha1-D+9a1G8b16hQLGVyfwNn1e5D1pY= +at-least-node@^1.0.0: + version "1.0.0" + resolved "https://registry.npm.taobao.org/at-least-node/download/at-least-node-1.0.0.tgz#602cd4b46e844ad4effc92a8011a3c46e0238dc2" + integrity sha1-YCzUtG6EStTv/JKoARo8RuAjjcI= atob@^2.1.1: version "2.1.2" @@ -445,10 +553,10 @@ beeper@^1.0.0: resolved "https://registry.yarnpkg.com/beeper/-/beeper-1.1.1.tgz#e6d5ea8c5dad001304a70b22638447f69cb2f809" integrity sha1-5tXqjF2tABMEpwsiY4RH9pyy+Ak= -before-after-hook@^2.0.0: +before-after-hook@^2.1.0: version "2.1.0" - resolved "https://registry.yarnpkg.com/before-after-hook/-/before-after-hook-2.1.0.tgz#b6c03487f44e24200dd30ca5e6a1979c5d2fb635" - integrity sha512-IWIbu7pMqyw3EAJHzzHbWa85b6oud/yfKYg5rqB5hNE8CeMi3nX+2C2sj0HswfblST86hpVEOAb9x34NZd6P7A== + resolved "https://registry.npm.taobao.org/before-after-hook/download/before-after-hook-2.1.0.tgz#b6c03487f44e24200dd30ca5e6a1979c5d2fb635" + integrity sha1-tsA0h/ROJCAN0wyl5qGXnF0vtjU= binary-extensions@^1.0.0: version "1.13.0" @@ -472,19 +580,19 @@ boolbase@^1.0.0, boolbase@~1.0.0: resolved "https://registry.yarnpkg.com/boolbase/-/boolbase-1.0.0.tgz#68dff5fbe60c51eb37725ea9e3ed310dcc1e776e" integrity sha1-aN/1++YMUes3cl6p4+0xDcwed24= -boxen@^3.0.0: - version "3.2.0" - resolved "https://registry.yarnpkg.com/boxen/-/boxen-3.2.0.tgz#fbdff0de93636ab4450886b6ff45b92d098f45eb" - integrity sha512-cU4J/+NodM3IHdSL2yN8bqYqnmlBTidDR4RC7nJs61ZmtGz8VZzM3HLQX0zY5mrSmPtR3xWwsq2jOUQqFZN8+A== +boxen@^4.2.0: + version "4.2.0" + resolved "https://registry.npm.taobao.org/boxen/download/boxen-4.2.0.tgz#e411b62357d6d6d36587c8ac3d5d974daa070e64" + integrity sha1-5BG2I1fW1tNlh8isPV2XTaoHDmQ= dependencies: ansi-align "^3.0.0" camelcase "^5.3.1" - chalk "^2.4.2" + chalk "^3.0.0" cli-boxes "^2.2.0" - string-width "^3.0.0" - term-size "^1.2.0" - type-fest "^0.3.0" - widest-line "^2.0.0" + string-width "^4.1.0" + term-size "^2.1.0" + type-fest "^0.8.1" + widest-line "^3.1.0" brace-expansion@^1.1.7: version "1.1.11" @@ -517,11 +625,6 @@ braces@^3.0.1: dependencies: fill-range "^7.0.1" -btoa-lite@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/btoa-lite/-/btoa-lite-1.0.0.tgz#337766da15801210fdd956c22e9c6891ab9d0337" - integrity sha1-M3dm2hWAEhD92VbCLpxokaudAzc= - buffer-equal@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/buffer-equal/-/buffer-equal-1.0.0.tgz#59616b498304d556abd466966b22eeda3eca5fbe" @@ -561,6 +664,11 @@ cache-base@^1.0.1: union-value "^1.0.0" unset-value "^1.0.0" +cacheable-lookup@^5.0.3: + version "5.0.3" + resolved "https://registry.npm.taobao.org/cacheable-lookup/download/cacheable-lookup-5.0.3.tgz#049fdc59dffdd4fc285e8f4f82936591bd59fec3" + integrity sha1-BJ/cWd/91PwoXo9PgpNlkb1Z/sM= + cacheable-request@^6.0.0: version "6.1.0" resolved "https://registry.yarnpkg.com/cacheable-request/-/cacheable-request-6.1.0.tgz#20ffb8bd162ba4be11e9567d823db651052ca912" @@ -574,24 +682,23 @@ cacheable-request@^6.0.0: normalize-url "^4.1.0" responselike "^1.0.2" -caller-callsite@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/caller-callsite/-/caller-callsite-2.0.0.tgz#847e0fce0a223750a9a027c54b33731ad3154134" - integrity sha1-hH4PzgoiN1CpoCfFSzNzGtMVQTQ= +cacheable-request@^7.0.1: + version "7.0.1" + resolved "https://registry.npm.taobao.org/cacheable-request/download/cacheable-request-7.0.1.tgz#062031c2856232782ed694a257fa35da93942a58" + integrity sha1-BiAxwoViMngu1pSiV/o12pOUKlg= dependencies: - callsites "^2.0.0" + clone-response "^1.0.2" + get-stream "^5.1.0" + http-cache-semantics "^4.0.0" + keyv "^4.0.0" + lowercase-keys "^2.0.0" + normalize-url "^4.1.0" + responselike "^2.0.0" -caller-path@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/caller-path/-/caller-path-2.0.0.tgz#468f83044e369ab2010fac5f06ceee15bb2cb1f4" - integrity sha1-Ro+DBE42mrIBD6xfBs7uFbsssfQ= - dependencies: - caller-callsite "^2.0.0" - -callsites@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/callsites/-/callsites-2.0.0.tgz#06eb84f00eea413da86affefacbffb36093b3c50" - integrity sha1-BuuE8A7qQT2oav/vrL/7Ngk7PFA= +callsites@^3.0.0: + version "3.1.0" + resolved "https://registry.npm.taobao.org/callsites/download/callsites-3.1.0.tgz#b3630abd8943432f54b3f0519238e33cd7df2f73" + integrity sha1-s2MKvYlDQy9Us/BRkjjjPNffL3M= camelcase@^3.0.0: version "3.0.0" @@ -608,14 +715,13 @@ caseless@~0.12.0: resolved "https://registry.yarnpkg.com/caseless/-/caseless-0.12.0.tgz#1b681c21ff84033c826543090689420d187151dc" integrity sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw= -chalk@2.4.2, chalk@^2.0.1, chalk@^2.4.1, chalk@^2.4.2: - version "2.4.2" - resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424" - integrity sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ== +chalk@4.0.0: + version "4.0.0" + resolved "https://registry.npm.taobao.org/chalk/download/chalk-4.0.0.tgz?cache=0&sync_timestamp=1591687183344&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fchalk%2Fdownload%2Fchalk-4.0.0.tgz#6e98081ed2d17faab615eb52ac66ec1fe6209e72" + integrity sha1-bpgIHtLRf6q2FetSrGbsH+YgnnI= dependencies: - ansi-styles "^3.2.1" - escape-string-regexp "^1.0.5" - supports-color "^5.3.0" + ansi-styles "^4.1.0" + supports-color "^7.1.0" chalk@^1.0.0: version "1.1.3" @@ -628,6 +734,23 @@ chalk@^1.0.0: strip-ansi "^3.0.0" supports-color "^2.0.0" +chalk@^2.0.0, chalk@^2.4.1, chalk@^2.4.2: + version "2.4.2" + resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424" + integrity sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ== + dependencies: + ansi-styles "^3.2.1" + escape-string-regexp "^1.0.5" + supports-color "^5.3.0" + +chalk@^3.0.0: + version "3.0.0" + resolved "https://registry.npm.taobao.org/chalk/download/chalk-3.0.0.tgz?cache=0&sync_timestamp=1591687183344&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fchalk%2Fdownload%2Fchalk-3.0.0.tgz#3f73c2bf526591f574cc492c51e2456349f844e4" + integrity sha1-P3PCv1JlkfV0zEksUeJFY0n4ROQ= + dependencies: + ansi-styles "^4.1.0" + supports-color "^7.1.0" + changelog-filename-regex@^1.1.0: version "1.1.2" resolved "https://registry.yarnpkg.com/changelog-filename-regex/-/changelog-filename-regex-1.1.2.tgz#19e98e38248cff0c1cf3ae3bf51bfb22c48592d6" @@ -787,11 +910,23 @@ color-convert@^1.9.0: dependencies: color-name "1.1.3" +color-convert@^2.0.1: + version "2.0.1" + resolved "https://registry.npm.taobao.org/color-convert/download/color-convert-2.0.1.tgz#72d3a68d598c9bdb3af2ad1e84f21d896abd4de3" + integrity sha1-ctOmjVmMm9s68q0ehPIdiWq9TeM= + dependencies: + color-name "~1.1.4" + color-name@1.1.3: version "1.1.3" resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.3.tgz#a7d0558bd89c42f795dd42328f740831ca53bc25" integrity sha1-p9BVi9icQveV3UIyj3QIMcpTvCU= +color-name@~1.1.4: + version "1.1.4" + resolved "https://registry.npm.taobao.org/color-name/download/color-name-1.1.4.tgz#c2a09a87acbde69543de6f63fa3995c826c536a2" + integrity sha1-wqCah6y95pVD3m9j+jmVyCbFNqI= + color-support@^1.1.3: version "1.1.3" resolved "https://registry.yarnpkg.com/color-support/-/color-support-1.1.3.tgz#93834379a1cc9a0c61f82f52f0d04322251bd5a2" @@ -804,6 +939,13 @@ combined-stream@^1.0.6, combined-stream@~1.0.6: dependencies: delayed-stream "~1.0.0" +combined-stream@^1.0.8: + version "1.0.8" + resolved "https://registry.npm.taobao.org/combined-stream/download/combined-stream-1.0.8.tgz#c3d45a8b34fd730631a110a8a2520682b31d5a7f" + integrity sha1-w9RaizT9cwYxoRCoolIGgrMdWn8= + dependencies: + delayed-stream "~1.0.0" + commander@^2.12.2: version "2.19.0" resolved "https://registry.yarnpkg.com/commander/-/commander-2.19.0.tgz#f6198aa84e5b83c46054b94ddedbfed5ee9ff12a" @@ -829,17 +971,17 @@ concat-stream@^1.6.0: readable-stream "^2.2.2" typedarray "^0.0.6" -configstore@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/configstore/-/configstore-4.0.0.tgz#5933311e95d3687efb592c528b922d9262d227e7" - integrity sha512-CmquAXFBocrzaSM8mtGPMM/HiWmyIpr4CcJl/rgY2uCObZ/S7cKU0silxslqJejl+t/T9HS8E0PUNQD81JGUEQ== +configstore@^5.0.1: + version "5.0.1" + resolved "https://registry.npm.taobao.org/configstore/download/configstore-5.0.1.tgz?cache=0&sync_timestamp=1581616804286&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fconfigstore%2Fdownload%2Fconfigstore-5.0.1.tgz#d365021b5df4b98cdd187d6a3b0e3f6a7cc5ed96" + integrity sha1-02UCG130uYzdGH1qOw4/anzF7ZY= dependencies: - dot-prop "^4.1.0" + dot-prop "^5.2.0" graceful-fs "^4.1.2" - make-dir "^1.0.0" - unique-string "^1.0.0" - write-file-atomic "^2.0.0" - xdg-basedir "^3.0.0" + make-dir "^3.0.0" + unique-string "^2.0.0" + write-file-atomic "^3.0.0" + xdg-basedir "^4.0.0" console-control-strings@^1.0.0, console-control-strings@~1.1.0: version "1.1.0" @@ -878,24 +1020,16 @@ core-util-is@1.0.2, core-util-is@~1.0.0: resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.2.tgz#b5fd54220aa2bc5ab57aab7140c940754503c1a7" integrity sha1-tf1UIgqivFq1eqtxQMlAdUUDwac= -cosmiconfig@5.2.1: - version "5.2.1" - resolved "https://registry.yarnpkg.com/cosmiconfig/-/cosmiconfig-5.2.1.tgz#040f726809c591e77a17c0a3626ca45b4f168b1a" - integrity sha512-H65gsXo1SKjf8zmrJ67eJk8aIRKV5ff2D4uKZIBZShbhGSpEmsQOPW/SKMKYhSTrqR7ufy6RP69rPogdaPh/kA== +cosmiconfig@6.0.0: + version "6.0.0" + resolved "https://registry.npm.taobao.org/cosmiconfig/download/cosmiconfig-6.0.0.tgz#da4fee853c52f6b1e6935f41c1a2fc50bd4a9982" + integrity sha1-2k/uhTxS9rHmk19BwaL8UL1KmYI= dependencies: - import-fresh "^2.0.0" - is-directory "^0.3.1" - js-yaml "^3.13.1" - parse-json "^4.0.0" - -cross-spawn@^5.0.1: - version "5.1.0" - resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-5.1.0.tgz#e8bd0efee58fcff6f8f94510a0a554bbfa235449" - integrity sha1-6L0O/uWPz/b4+UUQoKVUu/ojVEk= - dependencies: - lru-cache "^4.0.1" - shebang-command "^1.2.0" - which "^1.2.9" + "@types/parse-json" "^4.0.0" + import-fresh "^3.1.0" + parse-json "^5.0.0" + path-type "^4.0.0" + yaml "^1.7.2" cross-spawn@^6.0.0: version "6.0.5" @@ -908,10 +1042,19 @@ cross-spawn@^6.0.0: shebang-command "^1.2.0" which "^1.2.9" -crypto-random-string@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/crypto-random-string/-/crypto-random-string-1.0.0.tgz#a230f64f568310e1498009940790ec99545bca7e" - integrity sha1-ojD2T1aDEOFJgAmUB5DsmVRbyn4= +cross-spawn@^7.0.0: + version "7.0.3" + resolved "https://registry.npm.taobao.org/cross-spawn/download/cross-spawn-7.0.3.tgz#f73a85b9d5d41d045551c177e2882d4ac85728a6" + integrity sha1-9zqFudXUHQRVUcF34ogtSshXKKY= + dependencies: + path-key "^3.1.0" + shebang-command "^2.0.0" + which "^2.0.1" + +crypto-random-string@^2.0.0: + version "2.0.0" + resolved "https://registry.npm.taobao.org/crypto-random-string/download/crypto-random-string-2.0.0.tgz#ef2a7a966ec11083388369baa02ebead229b30d5" + integrity sha1-7yp6lm7BEIM4g2m6oC6+rSKbMNU= css-select-base-adapter@^0.1.1: version "0.1.1" @@ -930,23 +1073,23 @@ css-select@^2.0.0: css-tree@1.0.0-alpha.28: version "1.0.0-alpha.28" - resolved "https://registry.yarnpkg.com/css-tree/-/css-tree-1.0.0-alpha.28.tgz#8e8968190d886c9477bc8d61e96f61af3f7ffa7f" - integrity sha512-joNNW1gCp3qFFzj4St6zk+Wh/NBv0vM5YbEreZk0SD4S23S+1xBKb6cLDg2uj4P4k/GUMlIm6cKIDqIG+vdt0w== + resolved "https://registry.npm.taobao.org/css-tree/download/css-tree-1.0.0-alpha.28.tgz#8e8968190d886c9477bc8d61e96f61af3f7ffa7f" + integrity sha1-joloGQ2IbJR3vI1h6W9hrz9/+n8= dependencies: mdn-data "~1.1.0" source-map "^0.5.3" css-tree@1.0.0-alpha.29: version "1.0.0-alpha.29" - resolved "https://registry.yarnpkg.com/css-tree/-/css-tree-1.0.0-alpha.29.tgz#3fa9d4ef3142cbd1c301e7664c1f352bd82f5a39" - integrity sha512-sRNb1XydwkW9IOci6iB2xmy8IGCj6r/fr+JWitvJ2JxQRPzN3T4AGGVWCMlVmVwM1gtgALJRmGIlWv5ppnGGkg== + resolved "https://registry.npm.taobao.org/css-tree/download/css-tree-1.0.0-alpha.29.tgz#3fa9d4ef3142cbd1c301e7664c1f352bd82f5a39" + integrity sha1-P6nU7zFCy9HDAedmTB81K9gvWjk= dependencies: mdn-data "~1.1.0" source-map "^0.5.3" css-url-regex@^1.1.0: version "1.1.0" - resolved "https://registry.yarnpkg.com/css-url-regex/-/css-url-regex-1.1.0.tgz#83834230cc9f74c457de59eebd1543feeb83b7ec" + resolved "https://registry.npm.taobao.org/css-url-regex/download/css-url-regex-1.1.0.tgz#83834230cc9f74c457de59eebd1543feeb83b7ec" integrity sha1-g4NCMMyfdMRX3lnuvRVD/uuDt+w= css-what@^2.1.2: @@ -956,8 +1099,8 @@ css-what@^2.1.2: csso@^3.5.1: version "3.5.1" - resolved "https://registry.yarnpkg.com/csso/-/csso-3.5.1.tgz#7b9eb8be61628973c1b261e169d2f024008e758b" - integrity sha512-vrqULLffYU1Q2tLdJvaCYbONStnfkfimRxXNaGjxMldI0C7JPBC4rB1RyjhfdZ4m1frm8pM9uRPKH3d2knZ8gg== + resolved "https://registry.npm.taobao.org/csso/download/csso-3.5.1.tgz?cache=0&sync_timestamp=1585052807583&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fcsso%2Fdownload%2Fcsso-3.5.1.tgz#7b9eb8be61628973c1b261e169d2f024008e758b" + integrity sha1-e564vmFiiXPBsmHhadLwJACOdYs= dependencies: css-tree "1.0.0-alpha.29" @@ -1023,6 +1166,13 @@ decompress-response@^3.3.0: dependencies: mimic-response "^1.0.0" +decompress-response@^6.0.0: + version "6.0.0" + resolved "https://registry.npm.taobao.org/decompress-response/download/decompress-response-6.0.0.tgz#ca387612ddb7e104bd16d85aab00d5ecf09c66fc" + integrity sha1-yjh2Et234QS9FthaqwDV7PCcZvw= + dependencies: + mimic-response "^3.1.0" + deep-extend@^0.6.0: version "0.6.0" resolved "https://registry.yarnpkg.com/deep-extend/-/deep-extend-0.6.0.tgz#c4fa7c95404a17a9c3e8ca7e1537312b736330ac" @@ -1052,6 +1202,11 @@ defer-to-connect@^1.0.1: resolved "https://registry.yarnpkg.com/defer-to-connect/-/defer-to-connect-1.1.1.tgz#88ae694b93f67b81815a2c8c769aef6574ac8f2f" integrity sha512-J7thop4u3mRTkYRQ+Vpfwy2G5Ehoy82I14+14W4YMDLKdWloI9gSzRbV30s/NckQGVJtPkWNcW4oMAUigTdqiQ== +defer-to-connect@^2.0.0: + version "2.0.0" + resolved "https://registry.npm.taobao.org/defer-to-connect/download/defer-to-connect-2.0.0.tgz#83d6b199db041593ac84d781b5222308ccf4c2c1" + integrity sha1-g9axmdsEFZOshNeBtSIjCMz0wsE= + define-properties@^1.1.2, define-properties@^1.1.3: version "1.1.3" resolved "https://registry.yarnpkg.com/define-properties/-/define-properties-1.1.3.tgz#cf88da6cbee26fe6db7094f61d870cbd84cee9f1" @@ -1099,7 +1254,7 @@ deprecated-obj@1.0.1: flat "^4.1.0" lodash "^4.17.11" -deprecation@^2.0.0: +deprecation@^2.0.0, deprecation@^2.3.1: version "2.3.1" resolved "https://registry.yarnpkg.com/deprecation/-/deprecation-2.3.1.tgz#6368cbdb40abf3373b525ac87e4a260c3a700919" integrity sha512-xmHIy4F3scKVwMsQ4WnVaS8bHOx0DmVwRywosKhaILI0ywMDWPtBSku2HNxRvF7jtwDRsoEwYQSfbxj8b7RlJQ== @@ -1147,12 +1302,12 @@ domutils@^1.7.0: dom-serializer "0" domelementtype "1" -dot-prop@^4.1.0: - version "4.2.0" - resolved "https://registry.yarnpkg.com/dot-prop/-/dot-prop-4.2.0.tgz#1f19e0c2e1aa0e32797c49799f2837ac6af69c57" - integrity sha512-tUMXrxlExSW6U2EXiiKGSBVdYgtV8qlHL+C10TsW4PURY/ic+eaysnSkwB4kA/mBlCyy/IKDJ+Lc3wbWeaXtuQ== +dot-prop@^5.2.0: + version "5.2.0" + resolved "https://registry.npm.taobao.org/dot-prop/download/dot-prop-5.2.0.tgz#c34ecc29556dc45f1f4c22697b6f4904e0cc4fcb" + integrity sha1-w07MKVVtxF8fTCJpe29JBODMT8s= dependencies: - is-obj "^1.0.0" + is-obj "^2.0.0" duplexer2@0.0.2: version "0.0.2" @@ -1285,6 +1440,11 @@ es6-weak-map@^2.0.1: es6-iterator "^2.0.1" es6-symbol "^3.1.1" +escape-goat@^2.0.0: + version "2.1.1" + resolved "https://registry.npm.taobao.org/escape-goat/download/escape-goat-2.1.1.tgz#1b2dc77003676c457ec760b2dc68edb648188675" + integrity sha1-Gy3HcANnbEV+x2Cy3GjttkgYhnU= + escape-string-regexp@^1.0.2, escape-string-regexp@^1.0.5: version "1.0.5" resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4" @@ -1295,18 +1455,20 @@ esprima@^4.0.0: resolved "https://registry.yarnpkg.com/esprima/-/esprima-4.0.1.tgz#13b04cdb3e6c5d19df91ab6987a8695619b0aa71" integrity sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A== -execa@^0.7.0: - version "0.7.0" - resolved "https://registry.yarnpkg.com/execa/-/execa-0.7.0.tgz#944becd34cc41ee32a63a9faf27ad5a65fc59777" - integrity sha1-lEvs00zEHuMqY6n68nrVpl/Fl3c= +execa@4.0.1: + version "4.0.1" + resolved "https://registry.npm.taobao.org/execa/download/execa-4.0.1.tgz?cache=0&sync_timestamp=1590156825648&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fexeca%2Fdownload%2Fexeca-4.0.1.tgz#988488781f1f0238cd156f7aaede11c3e853b4c1" + integrity sha1-mISIeB8fAjjNFW96rt4Rw+hTtME= dependencies: - cross-spawn "^5.0.1" - get-stream "^3.0.0" - is-stream "^1.1.0" - npm-run-path "^2.0.0" - p-finally "^1.0.0" - signal-exit "^3.0.0" - strip-eof "^1.0.0" + cross-spawn "^7.0.0" + get-stream "^5.0.0" + human-signals "^1.1.1" + is-stream "^2.0.0" + merge-stream "^2.0.0" + npm-run-path "^4.0.0" + onetime "^5.1.0" + signal-exit "^3.0.2" + strip-final-newline "^2.0.0" execa@^1.0.0: version "1.0.0" @@ -1409,7 +1571,7 @@ fast-deep-equal@^2.0.1: resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-2.0.1.tgz#7b05218ddf9667bf7f370bf7fdb2cb15fdd0aa49" integrity sha1-ewUhjd+WZ79/Nwv3/bLLFf3Qqkk= -fast-glob@^3.0.3, fast-glob@^3.1.1: +fast-glob@^3.1.1: version "3.1.1" resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.1.1.tgz#87ee30e9e9f3eb40d6f254a7997655da753d7c82" integrity sha512-nTCREpBY8w8r+boyFYAx21iL6faSsQynliPHM4Uf56SbkyohCNxpVPEH9xrF5TXKy+IsjkPUHDKiUkzBVRXn9g== @@ -1420,6 +1582,18 @@ fast-glob@^3.0.3, fast-glob@^3.1.1: merge2 "^1.3.0" micromatch "^4.0.2" +fast-glob@^3.2.2: + version "3.2.2" + resolved "https://registry.npm.taobao.org/fast-glob/download/fast-glob-3.2.2.tgz?cache=0&sync_timestamp=1582318841178&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Ffast-glob%2Fdownload%2Ffast-glob-3.2.2.tgz#ade1a9d91148965d4bf7c51f72e1ca662d32e63d" + integrity sha1-reGp2RFIll1L98UfcuHKZi0y5j0= + dependencies: + "@nodelib/fs.stat" "^2.0.2" + "@nodelib/fs.walk" "^1.2.3" + glob-parent "^5.1.0" + merge2 "^1.3.0" + micromatch "^4.0.2" + picomatch "^2.2.1" + fast-json-stable-stringify@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/fast-json-stable-stringify/-/fast-json-stable-stringify-2.0.0.tgz#d5142c0caee6b1189f87d3a76111064f86c8bbf2" @@ -1545,13 +1719,13 @@ forever-agent@~0.6.1: resolved "https://registry.yarnpkg.com/forever-agent/-/forever-agent-0.6.1.tgz#fbc71f0c41adeb37f96c577ad1ed42d8fdacca91" integrity sha1-+8cfDEGt6zf5bFd60e1C2P2sypE= -form-data@2.5.1: - version "2.5.1" - resolved "https://registry.yarnpkg.com/form-data/-/form-data-2.5.1.tgz#f2cbec57b5e59e23716e128fe44d4e5dd23895f4" - integrity sha512-m21N3WOmEEURgk6B9GLOE4RuWOFf28Lhh9qGYeNlGq4VDXUlJy2th2slBNU8Gp8EzloYZOibZJ7t5ecIrFSjVA== +form-data@3.0.0: + version "3.0.0" + resolved "https://registry.npm.taobao.org/form-data/download/form-data-3.0.0.tgz#31b7e39c85f1355b7139ee0c647cf0de7f83c682" + integrity sha1-MbfjnIXxNVtxOe4MZHzw3n+DxoI= dependencies: asynckit "^0.4.0" - combined-stream "^1.0.6" + combined-stream "^1.0.8" mime-types "^2.1.12" form-data@~2.3.2: @@ -1570,14 +1744,15 @@ fragment-cache@^0.2.1: dependencies: map-cache "^0.2.2" -fs-extra@^8.1.0: - version "8.1.0" - resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-8.1.0.tgz#49d43c45a88cd9677668cb7be1b46efdb8d2e1c0" - integrity sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g== +fs-extra@^9.0.1: + version "9.0.1" + resolved "https://registry.npm.taobao.org/fs-extra/download/fs-extra-9.0.1.tgz#910da0062437ba4c39fedd863f1675ccfefcb9fc" + integrity sha1-kQ2gBiQ3ukw5/t2GPxZ1zP78ufw= dependencies: + at-least-node "^1.0.0" graceful-fs "^4.2.0" - jsonfile "^4.0.0" - universalify "^0.1.0" + jsonfile "^6.0.1" + universalify "^1.0.0" fs-minipass@^1.2.5: version "1.2.5" @@ -1636,11 +1811,6 @@ get-caller-file@^1.0.1: resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-1.0.3.tgz#f978fa4c90d1dfe7ff2d6beda2a515e713bdcf4a" integrity sha512-3t6rVToeoZfYSGd8YoLFR2DJkiQrIiUrGcjvFX2mDw3bn6k2OtwHN0TNCLbBO+w8qTvimhDkv+LSscbJY1vE6w== -get-stream@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-3.0.0.tgz#8e943d1358dc37555054ecbe2edb05aa174ede14" - integrity sha1-jpQ9E1jcN1VQVOy+LtsFqhdO3hQ= - get-stream@^4.0.0, get-stream@^4.1.0: version "4.1.0" resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-4.1.0.tgz#c1b255575f3dc21d59bfc79cd3d2b46b1c3a54b5" @@ -1648,7 +1818,7 @@ get-stream@^4.0.0, get-stream@^4.1.0: dependencies: pump "^3.0.0" -get-stream@^5.1.0: +get-stream@^5.0.0, get-stream@^5.1.0: version "5.1.0" resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-5.1.0.tgz#01203cdc92597f9b909067c3e656cc1f4d3c4dc9" integrity sha512-EXr1FOzrzTfGeL0gQdeFEvOMm2mzMOglyiOXSTpPC+iAjAKftbr3jpCMWynogwYnM+eSj9sHGc6wjIcDvYiygw== @@ -1737,12 +1907,12 @@ glob@^7.0.0, glob@^7.0.3, glob@^7.1.1, glob@^7.1.2, glob@^7.1.3: once "^1.3.0" path-is-absolute "^1.0.0" -global-dirs@^0.1.0: - version "0.1.1" - resolved "https://registry.yarnpkg.com/global-dirs/-/global-dirs-0.1.1.tgz#b319c0dd4607f353f3be9cca4c72fc148c49f445" - integrity sha1-sxnA3UYH81PzvpzKTHL8FIxJ9EU= +global-dirs@^2.0.1: + version "2.0.1" + resolved "https://registry.npm.taobao.org/global-dirs/download/global-dirs-2.0.1.tgz#acdf3bb6685bcd55cb35e8a052266569e9469201" + integrity sha1-rN87tmhbzVXLNeigUiZlaelGkgE= dependencies: - ini "^1.3.4" + ini "^1.3.5" global-modules@^1.0.0: version "1.0.0" @@ -1764,18 +1934,16 @@ global-prefix@^1.0.1: is-windows "^1.0.1" which "^1.2.14" -globby@10.0.1: - version "10.0.1" - resolved "https://registry.yarnpkg.com/globby/-/globby-10.0.1.tgz#4782c34cb75dd683351335c5829cc3420e606b22" - integrity sha512-sSs4inE1FB2YQiymcmTv6NWENryABjUNPeWhOvmn4SjtKybglsyPZxFB3U1/+L1bYi0rNZDqCLlHyLYDl1Pq5A== +globby@11.0.0: + version "11.0.0" + resolved "https://registry.npm.taobao.org/globby/download/globby-11.0.0.tgz#56fd0e9f0d4f8fb0c456f1ab0dee96e1380bc154" + integrity sha1-Vv0Onw1Pj7DEVvGrDe6W4TgLwVQ= dependencies: - "@types/glob" "^7.1.1" array-union "^2.1.0" dir-glob "^3.0.1" - fast-glob "^3.0.3" - glob "^7.1.3" - ignore "^5.1.1" - merge2 "^1.2.3" + fast-glob "^3.1.1" + ignore "^5.1.4" + merge2 "^1.3.0" slash "^3.0.0" glogg@^1.0.0: @@ -1785,7 +1953,25 @@ glogg@^1.0.0: dependencies: sparkles "^1.0.0" -got@9.6.0, got@^9.6.0: +got@11.1.4: + version "11.1.4" + resolved "https://registry.npm.taobao.org/got/download/got-11.1.4.tgz?cache=0&sync_timestamp=1591374735170&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fgot%2Fdownload%2Fgot-11.1.4.tgz#ecf0064aab26ae4b2989ab52aadd31a17e7bad63" + integrity sha1-7PAGSqsmrkspiatSqt0xoX57rWM= + dependencies: + "@sindresorhus/is" "^2.1.1" + "@szmarczak/http-timer" "^4.0.5" + "@types/cacheable-request" "^6.0.1" + "@types/responselike" "^1.0.0" + cacheable-lookup "^5.0.3" + cacheable-request "^7.0.1" + decompress-response "^6.0.0" + get-stream "^5.1.0" + http2-wrapper "^1.0.0-beta.4.5" + lowercase-keys "^2.0.0" + p-cancelable "^2.0.0" + responselike "^2.0.0" + +got@^9.6.0: version "9.6.0" resolved "https://registry.yarnpkg.com/got/-/got-9.6.0.tgz#edf45e7d67f99545705de1f7bbeeeb121765ed85" integrity sha512-R7eWptXuGYxwijs0eV+v3o6+XH1IqVK8dJOEecQfTmkncw9AV4dcw/Dhxi8MdlqPthxxpZyizMzyg8RTmEsG+Q== @@ -2079,6 +2265,19 @@ http-signature@~1.2.0: jsprim "^1.2.2" sshpk "^1.7.0" +http2-wrapper@^1.0.0-beta.4.5: + version "1.0.0-beta.4.6" + resolved "https://registry.npm.taobao.org/http2-wrapper/download/http2-wrapper-1.0.0-beta.4.6.tgz#9438f0fceb946c8cbd365076c228a4d3bd4d0143" + integrity sha1-lDjw/OuUbIy9NlB2wiik071NAUM= + dependencies: + quick-lru "^5.0.0" + resolve-alpn "^1.0.0" + +human-signals@^1.1.1: + version "1.1.1" + resolved "https://registry.npm.taobao.org/human-signals/download/human-signals-1.1.1.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fhuman-signals%2Fdownload%2Fhuman-signals-1.1.1.tgz#c5b1cd14f50aeae09ab6c59fe63ba3395fe4dfa3" + integrity sha1-xbHNFPUK6uCatsWf5jujOV/k36M= + iconv-lite@^0.4.24: version "0.4.24" resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.24.tgz#2022b4b25fbddc21d2f524974a474aafe733908b" @@ -2086,10 +2285,10 @@ iconv-lite@^0.4.24: dependencies: safer-buffer ">= 2.1.2 < 3" -ignore@^5.1.1: - version "5.1.4" - resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.1.4.tgz#84b7b3dbe64552b6ef0eca99f6743dbec6d97adf" - integrity sha512-MzbUSahkTW1u7JpKKjY7LCARd1fU5W2rLdxlM4kdkayuCwZImjkpluF9CM1aLewYJguPDqewLam18Y6AU69A8A== +ignore@^5.1.4: + version "5.1.8" + resolved "https://registry.npm.taobao.org/ignore/download/ignore-5.1.8.tgz?cache=0&sync_timestamp=1590809430681&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fignore%2Fdownload%2Fignore-5.1.8.tgz#f150a8b50a34289b33e22f5889abd4d8016f0e57" + integrity sha1-8VCotQo0KJsz4i9YiavU2AFvDlc= import-cwd@3.0.0: version "3.0.0" @@ -2098,13 +2297,13 @@ import-cwd@3.0.0: dependencies: import-from "^3.0.0" -import-fresh@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/import-fresh/-/import-fresh-2.0.0.tgz#d81355c15612d386c61f9ddd3922d4304822a546" - integrity sha1-2BNVwVYS04bGH53dOSLUMEgipUY= +import-fresh@^3.1.0: + version "3.2.1" + resolved "https://registry.npm.taobao.org/import-fresh/download/import-fresh-3.2.1.tgz#633ff618506e793af5ac91bf48b72677e15cbe66" + integrity sha1-Yz/2GFBueTr1rJG/SLcmd+FcvmY= dependencies: - caller-path "^2.0.0" - resolve-from "^3.0.0" + parent-module "^1.0.0" + resolve-from "^4.0.0" import-from@^3.0.0: version "3.0.0" @@ -2136,28 +2335,28 @@ inherits@2, inherits@^2.0.1, inherits@^2.0.3, inherits@~2.0.1, inherits@~2.0.3: resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.3.tgz#633c2c83e3da42a502f52466022480f4208261de" integrity sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4= -ini@^1.3.4, ini@~1.3.0: +ini@^1.3.4, ini@^1.3.5, ini@~1.3.0: version "1.3.5" resolved "https://registry.yarnpkg.com/ini/-/ini-1.3.5.tgz#eee25f56db1c9ec6085e0c22778083f596abf927" integrity sha512-RZY5huIKCMRWDUqZlEi72f/lmXKMvuszcMBduliQ3nnWbx9X/ZBQO7DijMEYS9EhHBb2qacRUMtC7svLwe0lcw== -inquirer@7.0.0: - version "7.0.0" - resolved "https://registry.yarnpkg.com/inquirer/-/inquirer-7.0.0.tgz#9e2b032dde77da1db5db804758b8fea3a970519a" - integrity sha512-rSdC7zelHdRQFkWnhsMu2+2SO41mpv2oF2zy4tMhmiLWkcKbOAs87fWAJhVXttKVwhdZvymvnuM95EyEXg2/tQ== +inquirer@7.1.0: + version "7.1.0" + resolved "https://registry.npm.taobao.org/inquirer/download/inquirer-7.1.0.tgz?cache=0&sync_timestamp=1583819732252&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Finquirer%2Fdownload%2Finquirer-7.1.0.tgz#1298a01859883e17c7264b82870ae1034f92dd29" + integrity sha1-EpigGFmIPhfHJkuChwrhA0+S3Sk= dependencies: ansi-escapes "^4.2.1" - chalk "^2.4.2" + chalk "^3.0.0" cli-cursor "^3.1.0" cli-width "^2.0.0" external-editor "^3.0.3" figures "^3.0.0" lodash "^4.17.15" mute-stream "0.0.8" - run-async "^2.2.0" - rxjs "^6.4.0" + run-async "^2.4.0" + rxjs "^6.5.3" string-width "^4.1.0" - strip-ansi "^5.1.0" + strip-ansi "^6.0.0" through "^2.3.6" interpret@^1.0.0, interpret@^1.1.0: @@ -2263,11 +2462,6 @@ is-descriptor@^1.0.0, is-descriptor@^1.0.2: is-data-descriptor "^1.0.0" kind-of "^6.0.2" -is-directory@^0.3.1: - version "0.3.1" - resolved "https://registry.yarnpkg.com/is-directory/-/is-directory-0.3.1.tgz#61339b6f2475fc772fd9c9d83f5c8575dc154ae1" - integrity sha1-YTObbyR1/Hcv2cnYP1yFddwVSuE= - is-extendable@^0.1.0, is-extendable@^0.1.1: version "0.1.1" resolved "https://registry.yarnpkg.com/is-extendable/-/is-extendable-0.1.1.tgz#62b110e289a471418e3ec36a617d472e301dfc89" @@ -2323,13 +2517,13 @@ is-glob@^4.0.1: dependencies: is-extglob "^2.1.1" -is-installed-globally@^0.1.0: - version "0.1.0" - resolved "https://registry.yarnpkg.com/is-installed-globally/-/is-installed-globally-0.1.0.tgz#0dfd98f5a9111716dd535dda6492f67bf3d25a80" - integrity sha1-Df2Y9akRFxbdU13aZJL2e/PSWoA= +is-installed-globally@^0.3.1: + version "0.3.2" + resolved "https://registry.npm.taobao.org/is-installed-globally/download/is-installed-globally-0.3.2.tgz#fd3efa79ee670d1187233182d5b0a1dd00313141" + integrity sha1-/T76ee5nDRGHIzGC1bCh3QAxMUE= dependencies: - global-dirs "^0.1.0" - is-path-inside "^1.0.0" + global-dirs "^2.0.1" + is-path-inside "^3.0.1" is-interactive@^1.0.0: version "1.0.0" @@ -2341,10 +2535,10 @@ is-negated-glob@^1.0.0: resolved "https://registry.yarnpkg.com/is-negated-glob/-/is-negated-glob-1.0.0.tgz#6910bca5da8c95e784b5751b976cf5a10fee36d2" integrity sha1-aRC8pdqMleeEtXUbl2z1oQ/uNtI= -is-npm@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/is-npm/-/is-npm-3.0.0.tgz#ec9147bfb629c43f494cf67936a961edec7e8053" - integrity sha512-wsigDr1Kkschp2opC4G3yA6r9EgVA6NjRpWzIi9axXqeIaAATPRJc4uLujXe3Nd9uO8KoDyA4MD6aZSeXTADhA== +is-npm@^4.0.0: + version "4.0.0" + resolved "https://registry.npm.taobao.org/is-npm/download/is-npm-4.0.0.tgz?cache=0&sync_timestamp=1589568159066&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fis-npm%2Fdownload%2Fis-npm-4.0.0.tgz#c90dd8380696df87a7a6d823c20d0b12bbe3c84d" + integrity sha1-yQ3YOAaW34enptgjwg0LErvjyE0= is-number@^3.0.0: version "3.0.0" @@ -2363,17 +2557,15 @@ is-number@^7.0.0: resolved "https://registry.yarnpkg.com/is-number/-/is-number-7.0.0.tgz#7535345b896734d5f80c4d06c50955527a14f12b" integrity sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng== -is-obj@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/is-obj/-/is-obj-1.0.1.tgz#3e4729ac1f5fde025cd7d83a896dab9f4f67db0f" - integrity sha1-PkcprB9f3gJc19g6iW2rn09n2w8= +is-obj@^2.0.0: + version "2.0.0" + resolved "https://registry.npm.taobao.org/is-obj/download/is-obj-2.0.0.tgz#473fb05d973705e3fd9620545018ca8e22ef4982" + integrity sha1-Rz+wXZc3BeP9liBUUBjKjiLvSYI= -is-path-inside@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/is-path-inside/-/is-path-inside-1.0.1.tgz#8ef5b7de50437a3fdca6b4e865ef7aa55cb48036" - integrity sha1-jvW33lBDej/cprToZe96pVy0gDY= - dependencies: - path-is-inside "^1.0.1" +is-path-inside@^3.0.1: + version "3.0.2" + resolved "https://registry.npm.taobao.org/is-path-inside/download/is-path-inside-3.0.2.tgz#f5220fc82a3e233757291dddc9c5877f2a1f3017" + integrity sha1-9SIPyCo+IzdXKR3dycWHfyofMBc= is-plain-object@^2.0.1, is-plain-object@^2.0.3, is-plain-object@^2.0.4: version "2.0.4" @@ -2389,11 +2581,6 @@ is-plain-object@^3.0.0: dependencies: isobject "^4.0.0" -is-promise@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/is-promise/-/is-promise-2.1.0.tgz#79a2a9ece7f096e80f36d2b2f3bc16c1ff4bf3fa" - integrity sha1-eaKp7OfwlugPNtKy87wWwf9L8/o= - is-regex@^1.0.4: version "1.0.4" resolved "https://registry.yarnpkg.com/is-regex/-/is-regex-1.0.4.tgz#5517489b547091b0930e095654ced25ee97e9491" @@ -2425,6 +2612,11 @@ is-stream@^1.1.0: resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-1.1.0.tgz#12d4a3dd4e68e0b79ceb8dbc84173ae80d91ca44" integrity sha1-EtSj3U5o4Lec6428hBc66A2RykQ= +is-stream@^2.0.0: + version "2.0.0" + resolved "https://registry.npm.taobao.org/is-stream/download/is-stream-2.0.0.tgz#bde9c32680d6fae04129d6ac9d921ce7815f78e3" + integrity sha1-venDJoDW+uBBKdasnZIc54FfeOM= + is-symbol@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/is-symbol/-/is-symbol-1.0.2.tgz#a055f6ae57192caee329e7a860118b497a950f38" @@ -2432,7 +2624,7 @@ is-symbol@^1.0.2: dependencies: has-symbols "^1.0.0" -is-typedarray@~1.0.0: +is-typedarray@^1.0.0, is-typedarray@~1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/is-typedarray/-/is-typedarray-1.0.0.tgz#e479c80858df0c1b11ddda6940f96011fcda4a9a" integrity sha1-5HnICFjfDBsR3dppQPlgEfzaSpo= @@ -2501,6 +2693,11 @@ isstream@^0.1.2, isstream@~0.1.2: resolved "https://registry.yarnpkg.com/isstream/-/isstream-0.1.2.tgz#47e63f7af55afa6f92e1500e690eb8b8529c099a" integrity sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo= +js-tokens@^4.0.0: + version "4.0.0" + resolved "https://registry.npm.taobao.org/js-tokens/download/js-tokens-4.0.0.tgz?cache=0&sync_timestamp=1586796305651&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fjs-tokens%2Fdownload%2Fjs-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499" + integrity sha1-GSA/tZmR35jjoocFDUZHzerzJJk= + js-yaml@^3.13.1: version "3.13.1" resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.13.1.tgz#aff151b30bfdfa8e49e05da22e7415e9dfa37847" @@ -2519,6 +2716,11 @@ json-buffer@3.0.0: resolved "https://registry.yarnpkg.com/json-buffer/-/json-buffer-3.0.0.tgz#5b1f397afc75d677bde8bcfc0e47e1f9a3d9a898" integrity sha1-Wx85evx11ne96Lz8Dkfh+aPZqJg= +json-buffer@3.0.1: + version "3.0.1" + resolved "https://registry.npm.taobao.org/json-buffer/download/json-buffer-3.0.1.tgz#9338802a30d3b6605fbe0613e094008ca8c05a13" + integrity sha1-kziAKjDTtmBfvgYT4JQAjKjAWhM= + json-parse-better-errors@^1.0.1: version "1.0.2" resolved "https://registry.yarnpkg.com/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz#bb867cfb3450e69107c131d1c514bab3dc8bcaa9" @@ -2544,10 +2746,12 @@ json-stringify-safe@~5.0.1: resolved "https://registry.yarnpkg.com/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz#1296a2d58fd45f19a0f6ce01d65701e2c735b6eb" integrity sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus= -jsonfile@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/jsonfile/-/jsonfile-4.0.0.tgz#8771aae0799b64076b76640fca058f9c10e33ecb" - integrity sha1-h3Gq4HmbZAdrdmQPygWPnBDjPss= +jsonfile@^6.0.1: + version "6.0.1" + resolved "https://registry.npm.taobao.org/jsonfile/download/jsonfile-6.0.1.tgz#98966cba214378c8c84b82e085907b40bf614179" + integrity sha1-mJZsuiFDeMjIS4LghZB7QL9hQXk= + dependencies: + universalify "^1.0.0" optionalDependencies: graceful-fs "^4.1.6" @@ -2573,6 +2777,13 @@ keyv@^3.0.0: dependencies: json-buffer "3.0.0" +keyv@^4.0.0: + version "4.0.1" + resolved "https://registry.npm.taobao.org/keyv/download/keyv-4.0.1.tgz#9fe703cb4a94d6d11729d320af033307efd02ee6" + integrity sha1-n+cDy0qU1tEXKdMgrwMzB+/QLuY= + dependencies: + json-buffer "3.0.1" + kind-of@^3.0.2, kind-of@^3.0.3, kind-of@^3.2.0: version "3.2.2" resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-3.2.2.tgz#31ea21a734bab9bbb0f32466d893aea51e4a3c64" @@ -2647,6 +2858,11 @@ liftoff@^3.1.0: rechoir "^0.6.2" resolve "^1.1.7" +lines-and-columns@^1.1.6: + version "1.1.6" + resolved "https://registry.npm.taobao.org/lines-and-columns/download/lines-and-columns-1.1.6.tgz#1c00c743b433cd0a4e80758f7b64a57440d9ff00" + integrity sha1-HADHQ7QzzQpOgHWPe2SldEDZ/wA= + load-json-file@^1.0.0: version "1.1.0" resolved "https://registry.yarnpkg.com/load-json-file/-/load-json-file-1.1.0.tgz#956905708d58b4bab4c2261b04f59f31c99374c0" @@ -2722,11 +2938,6 @@ lodash.find@^4.6.0: resolved "https://registry.yarnpkg.com/lodash.find/-/lodash.find-4.6.0.tgz#cb0704d47ab71789ffa0de8b97dd926fb88b13b1" integrity sha1-ywcE1Hq3F4n/oN6Ll92Sb7iLE7E= -lodash.get@^4.4.2: - version "4.4.2" - resolved "https://registry.yarnpkg.com/lodash.get/-/lodash.get-4.4.2.tgz#2d177f652fa31e939b4438d5341499dfa3825e99" - integrity sha1-LRd/ZS+jHpObRDjVNBSZ36OCXpk= - lodash.isarguments@^3.0.0: version "3.1.0" resolved "https://registry.yarnpkg.com/lodash.isarguments/-/lodash.isarguments-3.1.0.tgz#2f573d85c6a24289ff00663b491c1d338ff3458a" @@ -2751,11 +2962,6 @@ lodash.restparam@^3.0.0: resolved "https://registry.yarnpkg.com/lodash.restparam/-/lodash.restparam-3.6.1.tgz#936a4e309ef330a7645ed4145986c85ae5b20805" integrity sha1-k2pOMJ7zMKdkXtQUWYbIWuWyCAU= -lodash.set@^4.3.2: - version "4.3.2" - resolved "https://registry.yarnpkg.com/lodash.set/-/lodash.set-4.3.2.tgz#d8757b1da807dde24816b0d6a84bea1a76230b23" - integrity sha1-2HV7HagH3eJIFrDWqEvqGnYjCyM= - lodash.template@^3.0.0: version "3.6.2" resolved "https://registry.yarnpkg.com/lodash.template/-/lodash.template-3.6.2.tgz#f8cdecc6169a255be9098ae8b0c53d378931d14f" @@ -2779,11 +2985,6 @@ lodash.templatesettings@^3.0.0: lodash._reinterpolate "^3.0.0" lodash.escape "^3.0.0" -lodash.uniq@^4.5.0: - version "4.5.0" - resolved "https://registry.yarnpkg.com/lodash.uniq/-/lodash.uniq-4.5.0.tgz#d0225373aeb652adc1bc82e4945339a842754773" - integrity sha1-0CJTc662Uq3BvILklFM5qEJ1R3M= - lodash@4.17.15, lodash@^4.17.10, lodash@^4.17.11, lodash@^4.17.15: version "4.17.15" resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.15.tgz#b447f6670a0455bbfeedd11392eff330ea097548" @@ -2806,25 +3007,17 @@ lowercase-keys@^2.0.0: resolved "https://registry.yarnpkg.com/lowercase-keys/-/lowercase-keys-2.0.0.tgz#2603e78b7b4b0006cbca2fbcc8a3202558ac9479" integrity sha512-tqNXrS78oMOE73NMxK4EMLQsQowWf8jKooH9g7xPavRT706R6bkQJ6DY2Te7QukaZsulxa30wQ7bk0pm4XiHmA== -lru-cache@^4.0.1: - version "4.1.5" - resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-4.1.5.tgz#8bbe50ea85bed59bc9e33dcab8235ee9bcf443cd" - integrity sha512-sWZlbEP2OsHNkXrMl5GYk/jKk70MBng6UU4YI/qGDYbgf6YbP4EvmqISbXCoJiRKs+1bSpFHVgQxvJ17F2li5g== - dependencies: - pseudomap "^1.0.2" - yallist "^2.1.2" - macos-release@^2.2.0: version "2.3.0" resolved "https://registry.yarnpkg.com/macos-release/-/macos-release-2.3.0.tgz#eb1930b036c0800adebccd5f17bc4c12de8bb71f" integrity sha512-OHhSbtcviqMPt7yfw5ef5aghS2jzFVKEFyCJndQt2YpSQ9qRVSEv2axSJI1paVThEu+FFGs584h/1YhxjVqajA== -make-dir@^1.0.0: - version "1.3.0" - resolved "https://registry.yarnpkg.com/make-dir/-/make-dir-1.3.0.tgz#79c1033b80515bd6d24ec9933e860ca75ee27f0c" - integrity sha512-2w31R7SJtieJJnQtGc7RVL2StM2vGYVfqUOvUDxH6bC6aJTxPxTF0GnIgCyu7tjockiUWAYQRbxa7vKn34s5sQ== +make-dir@^3.0.0: + version "3.1.0" + resolved "https://registry.npm.taobao.org/make-dir/download/make-dir-3.1.0.tgz?cache=0&sync_timestamp=1587567407163&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fmake-dir%2Fdownload%2Fmake-dir-3.1.0.tgz#415e967046b3a7f1d185277d84aa58203726a13f" + integrity sha1-QV6WcEazp/HRhSd9hKpYIDcmoT8= dependencies: - pify "^3.0.0" + semver "^6.0.0" make-iterator@^1.0.0: version "1.0.1" @@ -2855,17 +3048,22 @@ matchdep@^2.0.0: resolve "^1.4.0" stack-trace "0.0.10" -md5-file@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/md5-file/-/md5-file-4.0.0.tgz#f3f7ba1e2dd1144d5bf1de698d0e5f44a4409584" - integrity sha512-UC0qFwyAjn4YdPpKaDNw6gNxRf7Mcx7jC1UGCY4boCzgvU2Aoc1mOGzTtrjjLKhM5ivsnhoKpQVxKPp+1j1qwg== +md5-file@^5.0.0: + version "5.0.0" + resolved "https://registry.npm.taobao.org/md5-file/download/md5-file-5.0.0.tgz#e519f631feca9c39e7f9ea1780b63c4745012e20" + integrity sha1-5Rn2Mf7KnDnn+eoXgLY8R0UBLiA= mdn-data@~1.1.0: version "1.1.4" - resolved "https://registry.yarnpkg.com/mdn-data/-/mdn-data-1.1.4.tgz#50b5d4ffc4575276573c4eedb8780812a8419f01" - integrity sha512-FSYbp3lyKjyj3E7fMl6rYvUdX0FBXaluGqlFoYESWQlyUTq8R+wp0rkFxoYFqZlHCvsUXGjyJmLQSnXToYhOSA== + resolved "https://registry.npm.taobao.org/mdn-data/download/mdn-data-1.1.4.tgz?cache=0&sync_timestamp=1590573030215&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fmdn-data%2Fdownload%2Fmdn-data-1.1.4.tgz#50b5d4ffc4575276573c4eedb8780812a8419f01" + integrity sha1-ULXU/8RXUnZXPE7tuHgIEqhBnwE= -merge2@^1.2.3, merge2@^1.3.0: +merge-stream@^2.0.0: + version "2.0.0" + resolved "https://registry.npm.taobao.org/merge-stream/download/merge-stream-2.0.0.tgz#52823629a14dd00c9770fb6ad47dc6310f2c1f60" + integrity sha1-UoI2KaFN0AyXcPtq1H3GMQ8sH2A= + +merge2@^1.3.0: version "1.3.0" resolved "https://registry.yarnpkg.com/merge2/-/merge2-1.3.0.tgz#5b366ee83b2f1582c48f87e47cf1a9352103ca81" integrity sha512-2j4DAdlBOkiSZIsaXk4mTE3sRS02yBHAtfy127xRV3bQUFqXkjHCHLW6Scv7DwNRbIWNHH8zpnz9zMaKXIdvYw== @@ -2902,22 +3100,22 @@ micromatch@^4.0.2: braces "^3.0.1" picomatch "^2.0.5" -mime-db@1.40.0: - version "1.40.0" - resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.40.0.tgz#a65057e998db090f732a68f6c276d387d4126c32" - integrity sha512-jYdeOMPy9vnxEqFRRo6ZvTZ8d9oPb+k18PKoYNYUe2stVEBPPwsln/qWzdbmaIvnhZ9v2P+CuecK+fpUfsV2mA== +mime-db@1.44.0: + version "1.44.0" + resolved "https://registry.npm.taobao.org/mime-db/download/mime-db-1.44.0.tgz#fa11c5eb0aca1334b4233cb4d52f10c5a6272f92" + integrity sha1-+hHF6wrKEzS0Izy01S8QxaYnL5I= mime-db@~1.38.0: version "1.38.0" resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.38.0.tgz#1a2aab16da9eb167b49c6e4df2d9c68d63d8e2ad" integrity sha512-bqVioMFFzc2awcdJZIzR3HjZFX20QhilVS7hytkKrv7xFAn8bM1gzc/FOX2awLISvWe0PV8ptFKcon+wZ5qYkg== -mime-types@2.1.24: - version "2.1.24" - resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.24.tgz#b6f8d0b3e951efb77dedeca194cff6d16f676f81" - integrity sha512-WaFHS3MCl5fapm3oLxU4eYDw77IQM2ACcxQ9RIxfaC3ooc6PFuBMGZZsYpvoXS5D5QTWPieo1jjLdAm3TBP3cQ== +mime-types@2.1.27: + version "2.1.27" + resolved "https://registry.npm.taobao.org/mime-types/download/mime-types-2.1.27.tgz#47949f98e279ea53119f5722e0f34e529bec009f" + integrity sha1-R5SfmOJ56lMRn1ci4PNOUpvsAJ8= dependencies: - mime-db "1.40.0" + mime-db "1.44.0" mime-types@^2.1.12, mime-types@~2.1.19: version "2.1.22" @@ -2936,6 +3134,11 @@ mimic-response@^1.0.0, mimic-response@^1.0.1: resolved "https://registry.yarnpkg.com/mimic-response/-/mimic-response-1.0.1.tgz#4923538878eef42063cb8a3e3b0798781487ab1b" integrity sha512-j5EctnkH7amfV/q5Hgmoal1g2QHFJRraOtmx0JpIqkxhBhI/lJSl1nMpQ45hVarwNETOoWEimndZ4QK0RHxuxQ== +mimic-response@^3.1.0: + version "3.1.0" + resolved "https://registry.npm.taobao.org/mimic-response/download/mimic-response-3.1.0.tgz#2d1d59af9c1b129815accc2c46a022a5ce1fa3c9" + integrity sha1-LR1Zr5wbEpgVrMwsRqAipc4fo8k= + minimatch@^3.0.4: version "3.0.4" resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.4.tgz#5166e286457f03306064be5497e8dbb0c3d32083" @@ -3137,6 +3340,13 @@ npm-run-path@^2.0.0: dependencies: path-key "^2.0.0" +npm-run-path@^4.0.0: + version "4.0.1" + resolved "https://registry.npm.taobao.org/npm-run-path/download/npm-run-path-4.0.1.tgz#b7ecd1e5ed53da8e37a55e1c2269e0b97ed748ea" + integrity sha1-t+zR5e1T2o43pV4cImnguX7XSOo= + dependencies: + path-key "^3.0.0" + "npmlog@0 || 1 || 2 || 3 || 4": version "4.1.2" resolved "https://registry.yarnpkg.com/npmlog/-/npmlog-4.1.2.tgz#08a7f2a8bf734604779a9efa4ad5cc717abb954b" @@ -3256,11 +3466,6 @@ object.values@^1.1.0: function-bind "^1.1.1" has "^1.0.3" -octokit-pagination-methods@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/octokit-pagination-methods/-/octokit-pagination-methods-1.1.0.tgz#cf472edc9d551055f9ef73f6e42b4dbb4c80bea4" - integrity sha512-fZ4qZdQ2nxJvtcasX7Ghl+WlWS/d9IgnBIwFZXVNNZUmzpno91SX5bc5vuxiuKoCtK78XxGGNuSCrDC7xYB3OQ== - once@^1.3.0, once@^1.3.1, once@^1.3.2, once@^1.4.0: version "1.4.0" resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1" @@ -3275,17 +3480,18 @@ onetime@^5.1.0: dependencies: mimic-fn "^2.1.0" -ora@4.0.2: - version "4.0.2" - resolved "https://registry.yarnpkg.com/ora/-/ora-4.0.2.tgz#0e1e68fd45b135d28648b27cf08081fa6e8a297d" - integrity sha512-YUOZbamht5mfLxPmk4M35CD/5DuOkAacxlEUbStVXpBAt4fyhBf+vZHI/HRkI++QUp3sNoeA2Gw4C+hi4eGSig== +ora@4.0.4: + version "4.0.4" + resolved "https://registry.npm.taobao.org/ora/download/ora-4.0.4.tgz?cache=0&sync_timestamp=1587481470351&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fora%2Fdownload%2Fora-4.0.4.tgz#e8da697cc5b6a47266655bf68e0fb588d29a545d" + integrity sha1-6NppfMW2pHJmZVv2jg+1iNKaVF0= dependencies: - chalk "^2.4.2" + chalk "^3.0.0" cli-cursor "^3.1.0" cli-spinners "^2.2.0" is-interactive "^1.0.0" log-symbols "^3.0.0" - strip-ansi "^5.2.0" + mute-stream "0.0.8" + strip-ansi "^6.0.0" wcwidth "^1.0.1" ordered-read-streams@^1.0.0: @@ -3333,6 +3539,11 @@ p-cancelable@^1.0.0: resolved "https://registry.yarnpkg.com/p-cancelable/-/p-cancelable-1.1.0.tgz#d078d15a3af409220c886f1d9a0ca2e441ab26cc" integrity sha512-s73XxOZ4zpt1edZYZzvhqFa6uvQc1vwUa0K0BdtIZgQMAJj9IbebH+JkgKZc9h+B05PKHLOTl4ajG1BmNrVZlw== +p-cancelable@^2.0.0: + version "2.0.0" + resolved "https://registry.npm.taobao.org/p-cancelable/download/p-cancelable-2.0.0.tgz#4a3740f5bdaf5ed5d7c3e34882c6fb5d6b266a6e" + integrity sha1-SjdA9b2vXtXXw+NIgsb7XWsmam4= + p-finally@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/p-finally/-/p-finally-1.0.0.tgz#3fbcfb15b899a44123b34b6dcc18b724336a2cae" @@ -3372,6 +3583,13 @@ pako@^1.0.0: resolved "https://registry.yarnpkg.com/pako/-/pako-1.0.10.tgz#4328badb5086a426aa90f541977d4955da5c9732" integrity sha512-0DTvPVU3ed8+HNXOu5Bs+o//Mbdj9VNQMUOe9oKCwh8l0GNwpTDMKCWbRjgtD291AWnkAgkqA/LOnQS8AmS1tw== +parent-module@^1.0.0: + version "1.0.1" + resolved "https://registry.npm.taobao.org/parent-module/download/parent-module-1.0.1.tgz#691d2709e78c79fae3a156622452d00762caaaa2" + integrity sha1-aR0nCeeMefrjoVZiJFLQB2LKqqI= + dependencies: + callsites "^3.0.0" + parse-filepath@^1.0.1: version "1.0.2" resolved "https://registry.yarnpkg.com/parse-filepath/-/parse-filepath-1.0.2.tgz#a632127f53aaf3d15876f5872f3ffac763d6c891" @@ -3381,6 +3599,16 @@ parse-filepath@^1.0.1: map-cache "^0.2.0" path-root "^0.1.1" +parse-json@5.0.0, parse-json@^5.0.0: + version "5.0.0" + resolved "https://registry.npm.taobao.org/parse-json/download/parse-json-5.0.0.tgz#73e5114c986d143efa3712d4ea24db9a4266f60f" + integrity sha1-c+URTJhtFD76NxLU6iTbmkJm9g8= + dependencies: + "@babel/code-frame" "^7.0.0" + error-ex "^1.3.1" + json-parse-better-errors "^1.0.1" + lines-and-columns "^1.1.6" + parse-json@^2.2.0: version "2.2.0" resolved "https://registry.yarnpkg.com/parse-json/-/parse-json-2.2.0.tgz#f480f40434ef80741f8469099f8dea18f55a4dc9" @@ -3388,14 +3616,6 @@ parse-json@^2.2.0: dependencies: error-ex "^1.2.0" -parse-json@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/parse-json/-/parse-json-4.0.0.tgz#be35f5425be1f7f6c747184f98a788cb99477ee0" - integrity sha1-vjX1Qlvh9/bHRxhPmKeIy5lHfuA= - dependencies: - error-ex "^1.3.1" - json-parse-better-errors "^1.0.1" - parse-node-version@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/parse-node-version/-/parse-node-version-1.0.1.tgz#e2b5dbede00e7fa9bc363607f53327e8b073189b" @@ -3451,16 +3671,16 @@ path-is-absolute@^1.0.0: resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f" integrity sha1-F0uSaHNVNP+8es5r9TpanhtcX18= -path-is-inside@^1.0.1: - version "1.0.2" - resolved "https://registry.yarnpkg.com/path-is-inside/-/path-is-inside-1.0.2.tgz#365417dede44430d1c11af61027facf074bdfc53" - integrity sha1-NlQX3t5EQw0cEa9hAn+s8HS9/FM= - path-key@^2.0.0, path-key@^2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/path-key/-/path-key-2.0.1.tgz#411cadb574c5a140d3a4b1910d40d80cc9f40b40" integrity sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A= +path-key@^3.0.0, path-key@^3.1.0: + version "3.1.1" + resolved "https://registry.npm.taobao.org/path-key/download/path-key-3.1.1.tgz#581f6ade658cbba65a0d3380de7753295054f375" + integrity sha1-WB9q3mWMu6ZaDTOA3ndTKVBU83U= + path-parse@^1.0.6: version "1.0.6" resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.6.tgz#d62dbb5679405d72c4737ec58600e9ddcf06d24c" @@ -3502,16 +3722,16 @@ picomatch@^2.0.5: resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.0.7.tgz#514169d8c7cd0bdbeecc8a2609e34a7163de69f6" integrity sha512-oLHIdio3tZ0qH76NybpeneBhYVj0QFTfXEFTc/B3zKQspYfYYkWYgFsmzo+4kvId/bQRcNkVeguI3y+CD22BtA== +picomatch@^2.2.1: + version "2.2.2" + resolved "https://registry.npm.taobao.org/picomatch/download/picomatch-2.2.2.tgz?cache=0&sync_timestamp=1584791322335&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fpicomatch%2Fdownload%2Fpicomatch-2.2.2.tgz#21f333e9b6b8eaff02468f5146ea406d345f4dad" + integrity sha1-IfMz6ba46v8CRo9RRupAbTRfTa0= + pify@^2.0.0, pify@^2.3.0: version "2.3.0" resolved "https://registry.yarnpkg.com/pify/-/pify-2.3.0.tgz#ed141a6ac043a849ea588498e7dca8b15330e90c" integrity sha1-7RQaasBDqEnqWISY59yosVMw6Qw= -pify@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/pify/-/pify-3.0.0.tgz#e5a4acd2c101fdf3d9a4d07f0dbc4db49dd28176" - integrity sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY= - pinkie-promise@^2.0.0: version "2.0.1" resolved "https://registry.yarnpkg.com/pinkie-promise/-/pinkie-promise-2.0.1.tgz#2135d6dfa7a358c069ac9b178776288228450ffa" @@ -3573,11 +3793,6 @@ protocols@^1.1.0, protocols@^1.4.0: resolved "https://registry.yarnpkg.com/protocols/-/protocols-1.4.7.tgz#95f788a4f0e979b291ffefcf5636ad113d037d32" integrity sha512-Fx65lf9/YDn3hUX08XUc0J8rSux36rEsyiv21ZGUC1mOyeM3lTRpZLcrm8aAolzS4itwVfm7TAPyxC2E5zd6xg== -pseudomap@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/pseudomap/-/pseudomap-1.0.2.tgz#f052a28da70e618917ef0a8ac34c1ae5a68286b3" - integrity sha1-8FKijacOYYkX7wqKw0wa5aaChrM= - psl@^1.1.24: version "1.1.31" resolved "https://registry.yarnpkg.com/psl/-/psl-1.1.31.tgz#e9aa86d0101b5b105cbe93ac6b784cd547276184" @@ -3618,6 +3833,13 @@ punycode@^2.1.0: resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.1.1.tgz#b58b010ac40c22c5657616c8d2c2c02c7bf479ec" integrity sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A== +pupa@^2.0.1: + version "2.0.1" + resolved "https://registry.npm.taobao.org/pupa/download/pupa-2.0.1.tgz#dbdc9ff48ffbea4a26a069b6f9f7abb051008726" + integrity sha1-29yf9I/76komoGm2+fersFEAhyY= + dependencies: + escape-goat "^2.0.0" + q@^1.1.2: version "1.5.1" resolved "https://registry.yarnpkg.com/q/-/q-1.5.1.tgz#7e32f75b41381291d04611f1bf14109ac00651d7" @@ -3628,6 +3850,11 @@ qs@~6.5.2: resolved "https://registry.yarnpkg.com/qs/-/qs-6.5.2.tgz#cb3ae806e8740444584ef154ce8ee98d403f3e36" integrity sha512-N5ZAX4/LxJmF+7wN74pUD6qAh9/wnvdQcjq9TZjevvXzSUo7bfmw91saqMjzGS2xq91/odN2dW/WOl7qQHNDGA== +quick-lru@^5.0.0: + version "5.1.1" + resolved "https://registry.npm.taobao.org/quick-lru/download/quick-lru-5.1.1.tgz#366493e6b3e42a3a6885e2e99d18f80fb7a8c932" + integrity sha1-NmST5rPkKjpoheLpnRj4D7eoyTI= + rc@^1.2.8: version "1.2.8" resolved "https://registry.yarnpkg.com/rc/-/rc-1.2.8.tgz#cd924bf5200a075b83c188cd6b9e211b7fc0d3ed" @@ -3717,39 +3944,42 @@ registry-url@^5.0.0: dependencies: rc "^1.2.8" -release-it@^12.4.3: - version "12.4.3" - resolved "https://registry.yarnpkg.com/release-it/-/release-it-12.4.3.tgz#c99a72cd1c812bcde3b532ecfee8b22c652b36f8" - integrity sha512-nQMzrAhlNg7LM7c9+4QkDtwzU/cOZeWmqsevzkp/FILSGIu3wjmQ63iSeBuZi1gpscjvJJy8/cCxhnHKczy1RQ== +release-it@^13.6.2: + version "13.6.2" + resolved "https://registry.npm.taobao.org/release-it/download/release-it-13.6.2.tgz#9a4f4607201836bbc4e3533c5f61006fc1bc9dcd" + integrity sha1-mk9GByAYNrvE41M8X2EAb8G8nc0= dependencies: - "@iarna/toml" "2.2.3" - "@octokit/rest" "16.33.0" - async-retry "1.2.3" - chalk "2.4.2" - cosmiconfig "5.2.1" + "@iarna/toml" "2.2.5" + "@octokit/rest" "17.9.0" + async-retry "1.3.1" + chalk "4.0.0" + cosmiconfig "6.0.0" debug "4.1.1" deprecated-obj "1.0.1" detect-repo-changelog "1.0.1" + execa "4.0.1" find-up "4.1.0" - form-data "2.5.1" + form-data "3.0.0" git-url-parse "11.1.2" - globby "10.0.1" - got "9.6.0" + globby "11.0.0" + got "11.1.4" import-cwd "3.0.0" - inquirer "7.0.0" + inquirer "7.1.0" is-ci "2.0.0" lodash "4.17.15" - mime-types "2.1.24" - ora "4.0.2" + mime-types "2.1.27" + ora "4.0.4" os-name "3.1.0" - semver "6.3.0" - shelljs "0.8.3" + parse-json "5.0.0" + semver "7.3.2" + shelljs "0.8.4" supports-color "7.1.0" - update-notifier "3.0.1" + update-notifier "4.1.0" url-join "4.0.1" - uuid "3.3.3" + uuid "8.0.0" window-size "1.1.1" - yargs-parser "15.0.0" + yaml "1.10.0" + yargs-parser "18.1.3" remove-bom-buffer@^3.0.0: version "3.0.0" @@ -3838,6 +4068,11 @@ require-main-filename@^1.0.1: resolved "https://registry.yarnpkg.com/require-main-filename/-/require-main-filename-1.0.1.tgz#97f717b69d48784f5f526a6c5aa8ffdda055a4d1" integrity sha1-l/cXtp1IeE9fUmpsWqj/3aBVpNE= +resolve-alpn@^1.0.0: + version "1.0.0" + resolved "https://registry.npm.taobao.org/resolve-alpn/download/resolve-alpn-1.0.0.tgz#745ad60b3d6aff4b4a48e01b8c0bdc70959e0e8c" + integrity sha1-dFrWCz1q/0tKSOAbjAvccJWeDow= + resolve-dir@^1.0.0, resolve-dir@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/resolve-dir/-/resolve-dir-1.0.1.tgz#79a40644c362be82f26effe739c9bb5382046f43" @@ -3846,10 +4081,10 @@ resolve-dir@^1.0.0, resolve-dir@^1.0.1: expand-tilde "^2.0.0" global-modules "^1.0.0" -resolve-from@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-3.0.0.tgz#b22c7af7d9d6881bc8b6e653335eebcb0a188748" - integrity sha1-six699nWiBvItuZTM17rywoYh0g= +resolve-from@^4.0.0: + version "4.0.0" + resolved "https://registry.npm.taobao.org/resolve-from/download/resolve-from-4.0.0.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fresolve-from%2Fdownload%2Fresolve-from-4.0.0.tgz#4abcd852ad32dd7baabfe9b40e00a36db5f392e6" + integrity sha1-SrzYUq0y3Xuqv+m0DgCjbbXzkuY= resolve-from@^5.0.0: version "5.0.0" @@ -3882,6 +4117,13 @@ responselike@^1.0.2: dependencies: lowercase-keys "^1.0.0" +responselike@^2.0.0: + version "2.0.0" + resolved "https://registry.npm.taobao.org/responselike/download/responselike-2.0.0.tgz#26391bcc3174f750f9a79eacc40a12a5c42d7723" + integrity sha1-JjkbzDF091D5p56sxAoSpcQtdyM= + dependencies: + lowercase-keys "^2.0.0" + restore-cursor@^3.1.0: version "3.1.0" resolved "https://registry.yarnpkg.com/restore-cursor/-/restore-cursor-3.1.0.tgz#39f67c54b3a7a58cea5236d95cf0034239631f7e" @@ -3912,22 +4154,20 @@ rimraf@2: dependencies: glob "^7.1.3" -run-async@^2.2.0: - version "2.3.0" - resolved "https://registry.yarnpkg.com/run-async/-/run-async-2.3.0.tgz#0371ab4ae0bdd720d4166d7dfda64ff7a445a6c0" - integrity sha1-A3GrSuC91yDUFm19/aZP96RFpsA= - dependencies: - is-promise "^2.1.0" +run-async@^2.4.0: + version "2.4.1" + resolved "https://registry.npm.taobao.org/run-async/download/run-async-2.4.1.tgz#8440eccf99ea3e70bd409d49aab88e10c189a455" + integrity sha1-hEDsz5nqPnC9QJ1JqriOEMGJpFU= run-parallel@^1.1.9: version "1.1.9" resolved "https://registry.yarnpkg.com/run-parallel/-/run-parallel-1.1.9.tgz#c9dd3a7cf9f4b2c4b6244e173a6ed866e61dd679" integrity sha512-DEqnSRTDw/Tc3FXf49zedI638Z9onwUotBMiUFKmrO2sdFKIbXamXGQ3Axd4qgphxKB4kw/qP1w5kTxnfU1B9Q== -rxjs@^6.4.0: - version "6.5.4" - resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-6.5.4.tgz#e0777fe0d184cec7872df147f303572d414e211c" - integrity sha512-naMQXcgEo3csAEGvw/NydRA0fuS2nDZJiw1YUWFKU7aPPAPGZEsD4Iimit96qwCieH6y614MCLYwdkrWx7z/7Q== +rxjs@^6.5.3: + version "6.5.5" + resolved "https://registry.npm.taobao.org/rxjs/download/rxjs-6.5.5.tgz#c5c884e3094c8cfee31bf27eb87e54ccfc87f9ec" + integrity sha1-xciE4wlMjP7jG/J+uH5UzPyH+ew= dependencies: tslib "^1.9.0" @@ -3953,12 +4193,12 @@ sax@^1.2.4, sax@~1.2.4: resolved "https://registry.yarnpkg.com/sax/-/sax-1.2.4.tgz#2816234e2378bddc4e5354fab5caa895df7100d9" integrity sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw== -semver-diff@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/semver-diff/-/semver-diff-2.1.0.tgz#4bbb8437c8d37e4b0cf1a68fd726ec6d645d6d36" - integrity sha1-S7uEN8jTfksM8aaP1ybsbWRdbTY= +semver-diff@^3.1.1: + version "3.1.1" + resolved "https://registry.npm.taobao.org/semver-diff/download/semver-diff-3.1.1.tgz#05f77ce59f325e00e2706afd67bb506ddb1ca32b" + integrity sha1-Bfd85Z8yXgDicGr9Z7tQbdscoys= dependencies: - semver "^5.0.3" + semver "^6.3.0" semver-greatest-satisfied-range@^1.1.0: version "1.1.0" @@ -3972,16 +4212,21 @@ semver-greatest-satisfied-range@^1.1.0: resolved "https://registry.yarnpkg.com/semver/-/semver-5.6.0.tgz#7e74256fbaa49c75aa7c7a205cc22799cac80004" integrity sha512-RS9R6R35NYgQn++fkDWaOmqGoj4Ek9gGs+DPxNUZKuwE183xjJroKvyo1IzVFeXvUrvmALy6FWD5xrdJT25gMg== -semver@6.3.0, semver@^6.2.0: - version "6.3.0" - resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.0.tgz#ee0a64c8af5e8ceea67687b133761e1becbd1d3d" - integrity sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw== +semver@7.3.2: + version "7.3.2" + resolved "https://registry.npm.taobao.org/semver/download/semver-7.3.2.tgz#604962b052b81ed0786aae84389ffba70ffd3938" + integrity sha1-YElisFK4HtB4aq6EOJ/7pw/9OTg= -semver@^5.0.3, semver@^5.5.0: +semver@^5.5.0: version "5.7.1" resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.1.tgz#a954f931aeba508d307bbf069eff0c01c96116f7" integrity sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ== +semver@^6.0.0, semver@^6.2.0, semver@^6.3.0: + version "6.3.0" + resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.0.tgz#ee0a64c8af5e8ceea67687b133761e1becbd1d3d" + integrity sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw== + semver@~5.3.0: version "5.3.0" resolved "https://registry.yarnpkg.com/semver/-/semver-5.3.0.tgz#9b2ce5d3de02d17c6012ad326aa6b4d0cf54f94f" @@ -4019,15 +4264,27 @@ shebang-command@^1.2.0: dependencies: shebang-regex "^1.0.0" +shebang-command@^2.0.0: + version "2.0.0" + resolved "https://registry.npm.taobao.org/shebang-command/download/shebang-command-2.0.0.tgz#ccd0af4f8835fbdc265b82461aaf0c36663f34ea" + integrity sha1-zNCvT4g1+9wmW4JGGq8MNmY/NOo= + dependencies: + shebang-regex "^3.0.0" + shebang-regex@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-1.0.0.tgz#da42f49740c0b42db2ca9728571cb190c98efea3" integrity sha1-2kL0l0DAtC2yypcoVxyxkMmO/qM= -shelljs@0.8.3, shelljs@^0.8.3: - version "0.8.3" - resolved "https://registry.yarnpkg.com/shelljs/-/shelljs-0.8.3.tgz#a7f3319520ebf09ee81275b2368adb286659b097" - integrity sha512-fc0BKlAWiLpwZljmOvAOTE/gXawtCoNrP5oaY7KIaQbbyHeQVg01pSEuEGvGh3HEdBU4baCD7wQBwADmM/7f7A== +shebang-regex@^3.0.0: + version "3.0.0" + resolved "https://registry.npm.taobao.org/shebang-regex/download/shebang-regex-3.0.0.tgz#ae16f1644d873ecad843b0307b143362d4c42172" + integrity sha1-rhbxZE2HPsrYQ7AwexQzYtTEIXI= + +shelljs@0.8.4, shelljs@^0.8.4: + version "0.8.4" + resolved "https://registry.npm.taobao.org/shelljs/download/shelljs-0.8.4.tgz?cache=0&sync_timestamp=1587787497223&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fshelljs%2Fdownload%2Fshelljs-0.8.4.tgz#de7684feeb767f8716b326078a8a00875890e3c2" + integrity sha1-3naE/ut2f4cWsyYHiooAh1iQ48I= dependencies: glob "^7.0.0" interpret "^1.0.0" @@ -4201,7 +4458,7 @@ string-width@^1.0.1, string-width@^1.0.2: is-fullwidth-code-point "^1.0.0" strip-ansi "^3.0.0" -"string-width@^1.0.2 || 2", string-width@^2.1.1: +"string-width@^1.0.2 || 2": version "2.1.1" resolved "https://registry.yarnpkg.com/string-width/-/string-width-2.1.1.tgz#ab93f27a8dc13d28cac815c462143a6d9012ae9e" integrity sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw== @@ -4218,7 +4475,7 @@ string-width@^3.0.0: is-fullwidth-code-point "^2.0.0" strip-ansi "^5.1.0" -string-width@^4.1.0: +string-width@^4.0.0, string-width@^4.1.0: version "4.2.0" resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.0.tgz#952182c46cc7b2c313d1596e623992bd163b72b5" integrity sha512-zUz5JD+tgqtuDjMhwIg5uFVV3dtqZ9yQJlZVfq4I01/K5Paj5UHj7VyrQOJvzawSVlKpObApbfD0Ed6yJc+1eg== @@ -4263,7 +4520,7 @@ strip-ansi@^4.0.0: dependencies: ansi-regex "^3.0.0" -strip-ansi@^5.1.0, strip-ansi@^5.2.0: +strip-ansi@^5.1.0: version "5.2.0" resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-5.2.0.tgz#8c9a536feb6afc962bdfa5b104a5091c1ad9c0ae" integrity sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA== @@ -4289,12 +4546,17 @@ strip-eof@^1.0.0: resolved "https://registry.yarnpkg.com/strip-eof/-/strip-eof-1.0.0.tgz#bb43ff5598a6eb05d89b59fcd129c983313606bf" integrity sha1-u0P/VZim6wXYm1n80SnJgzE2Br8= +strip-final-newline@^2.0.0: + version "2.0.0" + resolved "https://registry.npm.taobao.org/strip-final-newline/download/strip-final-newline-2.0.0.tgz#89b852fb2fcbe936f6f4b3187afb0a12c1ab58ad" + integrity sha1-ibhS+y/L6Tb29LMYevsKEsGrWK0= + strip-json-comments@~2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-2.0.1.tgz#3c531942e908c2697c0ec344858c286c7ca0a60a" integrity sha1-PFMZQukIwml8DsNEhYwobHygpgo= -supports-color@7.1.0: +supports-color@7.1.0, supports-color@^7.1.0: version "7.1.0" resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-7.1.0.tgz#68e32591df73e25ad1c4b49108a2ec507962bfd1" integrity sha512-oRSIpR8pxT1Wr2FquTNnGet79b3BWljqOuoW/h4oBhxJ/HUbX5nX6JSruTkvXDCFMwDPvsaTTbvMLKZWSy0R5g== @@ -4356,8 +4618,8 @@ svgicons2svgfont@^9.0.3: svgo@1.2.2: version "1.2.2" - resolved "https://registry.yarnpkg.com/svgo/-/svgo-1.2.2.tgz#0253d34eccf2aed4ad4f283e11ee75198f9d7316" - integrity sha512-rAfulcwp2D9jjdGu+0CuqlrAUin6bBWrpoqXWwKDZZZJfXcUXQSxLJOFJCQCSA0x0pP2U0TxSlJu2ROq5Bq6qA== + resolved "https://registry.npm.taobao.org/svgo/download/svgo-1.2.2.tgz#0253d34eccf2aed4ad4f283e11ee75198f9d7316" + integrity sha1-AlPTTszyrtStTyg+Ee51GY+dcxY= dependencies: chalk "^2.4.1" coa "^2.0.2" @@ -4392,12 +4654,10 @@ tar@^4.4.8: safe-buffer "^5.1.2" yallist "^3.0.3" -term-size@^1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/term-size/-/term-size-1.2.0.tgz#458b83887f288fc56d6fffbfad262e26638efa69" - integrity sha1-RYuDiH8oj8Vtb/+/rSYuJmOO+mk= - dependencies: - execa "^0.7.0" +term-size@^2.1.0: + version "2.2.0" + resolved "https://registry.npm.taobao.org/term-size/download/term-size-2.2.0.tgz#1f16adedfe9bdc18800e1776821734086fcc6753" + integrity sha1-Hxat7f6b3BiADhd2ghc0CG/MZ1M= through2-filter@^3.0.0: version "3.0.0" @@ -4541,16 +4801,18 @@ tweetnacl@^0.14.3, tweetnacl@~0.14.0: resolved "https://registry.yarnpkg.com/tweetnacl/-/tweetnacl-0.14.5.tgz#5ae68177f192d4456269d108afa93ff8743f4f64" integrity sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q= -type-fest@^0.3.0: - version "0.3.1" - resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.3.1.tgz#63d00d204e059474fe5e1b7c011112bbd1dc29e1" - integrity sha512-cUGJnCdr4STbePCgqNFbpVNCepa+kAVohJs1sLhxzdH+gnEoOd8VhbYa7pD3zZYGiURWM2xzEII3fQcRizDkYQ== - type-fest@^0.8.1: version "0.8.1" resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.8.1.tgz#09e249ebde851d3b1e48d27c105444667f17b83d" integrity sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA== +typedarray-to-buffer@^3.1.5: + version "3.1.5" + resolved "https://registry.npm.taobao.org/typedarray-to-buffer/download/typedarray-to-buffer-3.1.5.tgz#a97ee7a9ff42691b9f783ff1bc5112fe3fca9080" + integrity sha1-qX7nqf9CaRufeD/xvFES/j/KkIA= + dependencies: + is-typedarray "^1.0.0" + typedarray@^0.0.6: version "0.0.6" resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777" @@ -4599,24 +4861,24 @@ unique-stream@^2.0.2: json-stable-stringify-without-jsonify "^1.0.1" through2-filter "^3.0.0" -unique-string@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/unique-string/-/unique-string-1.0.0.tgz#9e1057cca851abb93398f8b33ae187b99caec11a" - integrity sha1-nhBXzKhRq7kzmPizOuGHuZyuwRo= +unique-string@^2.0.0: + version "2.0.0" + resolved "https://registry.npm.taobao.org/unique-string/download/unique-string-2.0.0.tgz#39c6451f81afb2749de2b233e3f7c5e8843bd89d" + integrity sha1-OcZFH4GvsnSd4rIz4/fF6IQ72J0= dependencies: - crypto-random-string "^1.0.0" + crypto-random-string "^2.0.0" -universal-user-agent@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/universal-user-agent/-/universal-user-agent-4.0.0.tgz#27da2ec87e32769619f68a14996465ea1cb9df16" - integrity sha512-eM8knLpev67iBDizr/YtqkJsF3GK8gzDc6st/WKzrTuPtcsOKW/0IdL4cnMBsU69pOx0otavLWBDGTwg+dB0aA== +universal-user-agent@^5.0.0: + version "5.0.0" + resolved "https://registry.npm.taobao.org/universal-user-agent/download/universal-user-agent-5.0.0.tgz#a3182aa758069bf0e79952570ca757de3579c1d9" + integrity sha1-oxgqp1gGm/DnmVJXDKdX3jV5wdk= dependencies: os-name "^3.1.0" -universalify@^0.1.0: - version "0.1.2" - resolved "https://registry.yarnpkg.com/universalify/-/universalify-0.1.2.tgz#b646f69be3942dabcecc9d6639c80dc105efaa66" - integrity sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg== +universalify@^1.0.0: + version "1.0.0" + resolved "https://registry.npm.taobao.org/universalify/download/universalify-1.0.0.tgz#b61a1da173e8435b2fe3c67d29b9adf8594bd16d" + integrity sha1-thodoXPoQ1sv48Z9Kbmt+FlL0W0= unquote@~1.1.1: version "1.1.1" @@ -4636,23 +4898,24 @@ upath@^1.1.1: resolved "https://registry.yarnpkg.com/upath/-/upath-1.1.2.tgz#3db658600edaeeccbe6db5e684d67ee8c2acd068" integrity sha512-kXpym8nmDmlCBr7nKdIx8P2jNBa+pBpIUFRnKJ4dr8htyYGJFokkr2ZvERRtUN+9SY+JqXouNgUPtv6JQva/2Q== -update-notifier@3.0.1: - version "3.0.1" - resolved "https://registry.yarnpkg.com/update-notifier/-/update-notifier-3.0.1.tgz#78ecb68b915e2fd1be9f767f6e298ce87b736250" - integrity sha512-grrmrB6Zb8DUiyDIaeRTBCkgISYUgETNe7NglEbVsrLWXeESnlCSP50WfRSj/GmzMPl6Uchj24S/p80nP/ZQrQ== +update-notifier@4.1.0: + version "4.1.0" + resolved "https://registry.npm.taobao.org/update-notifier/download/update-notifier-4.1.0.tgz?cache=0&sync_timestamp=1581694921303&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fupdate-notifier%2Fdownload%2Fupdate-notifier-4.1.0.tgz#4866b98c3bc5b5473c020b1250583628f9a328f3" + integrity sha1-SGa5jDvFtUc8AgsSUFg2KPmjKPM= dependencies: - boxen "^3.0.0" - chalk "^2.0.1" - configstore "^4.0.0" + boxen "^4.2.0" + chalk "^3.0.0" + configstore "^5.0.1" has-yarn "^2.1.0" import-lazy "^2.1.0" is-ci "^2.0.0" - is-installed-globally "^0.1.0" - is-npm "^3.0.0" + is-installed-globally "^0.3.1" + is-npm "^4.0.0" is-yarn-global "^0.3.0" latest-version "^5.0.0" - semver-diff "^2.0.0" - xdg-basedir "^3.0.0" + pupa "^2.0.1" + semver-diff "^3.1.1" + xdg-basedir "^4.0.0" uri-js@^4.2.2: version "4.2.2" @@ -4696,10 +4959,10 @@ util.promisify@~1.0.0: define-properties "^1.1.2" object.getownpropertydescriptors "^2.0.3" -uuid@3.3.3: - version "3.3.3" - resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.3.3.tgz#4568f0216e78760ee1dbf3a4d2cf53e224112866" - integrity sha512-pW0No1RGHgzlpHJO1nsVrHKpOEIxkGg1xB+v0ZmdNH5OAeAwzAVrCnI2/6Mtx+Uys6iaylxa+D3g4j63IKKjSQ== +uuid@8.0.0: + version "8.0.0" + resolved "https://registry.npm.taobao.org/uuid/download/uuid-8.0.0.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fuuid%2Fdownload%2Fuuid-8.0.0.tgz#bc6ccf91b5ff0ac07bbcdbf1c7c4e150db4dbb6c" + integrity sha1-vGzPkbX/CsB7vNvxx8ThUNtNu2w= uuid@^3.3.2: version "3.3.2" @@ -4818,6 +5081,13 @@ which@1, which@^1.2.14, which@^1.2.9: dependencies: isexe "^2.0.0" +which@^2.0.1: + version "2.0.2" + resolved "https://registry.npm.taobao.org/which/download/which-2.0.2.tgz#7c6a8dd0a636a0327e10b59c9286eee93f3f51b1" + integrity sha1-fGqN0KY2oDJ+ELWckobu6T8/UbE= + dependencies: + isexe "^2.0.0" + wide-align@^1.1.0: version "1.1.3" resolved "https://registry.yarnpkg.com/wide-align/-/wide-align-1.1.3.tgz#ae074e6bdc0c14a431e804e624549c633b000457" @@ -4825,12 +5095,12 @@ wide-align@^1.1.0: dependencies: string-width "^1.0.2 || 2" -widest-line@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/widest-line/-/widest-line-2.0.1.tgz#7438764730ec7ef4381ce4df82fb98a53142a3fc" - integrity sha512-Ba5m9/Fa4Xt9eb2ELXt77JxVDV8w7qQrH0zS/TWSJdLyAwQjWoOzpzj5lwVftDz6n/EOu3tNACS84v509qwnJA== +widest-line@^3.1.0: + version "3.1.0" + resolved "https://registry.npm.taobao.org/widest-line/download/widest-line-3.1.0.tgz#8292333bbf66cb45ff0de1603b136b7ae1496eca" + integrity sha1-gpIzO79my0X/DeFgOxNreuFJbso= dependencies: - string-width "^2.1.1" + string-width "^4.0.0" window-size@1.1.1: version "1.1.1" @@ -4860,19 +5130,20 @@ wrappy@1: resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f" integrity sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8= -write-file-atomic@^2.0.0: - version "2.4.3" - resolved "https://registry.yarnpkg.com/write-file-atomic/-/write-file-atomic-2.4.3.tgz#1fd2e9ae1df3e75b8d8c367443c692d4ca81f481" - integrity sha512-GaETH5wwsX+GcnzhPgKcKjJ6M2Cq3/iZp1WyY/X1CSqrW+jVNM9Y7D8EC2sM4ZG/V8wZlSniJnCKWPmBYAucRQ== +write-file-atomic@^3.0.0: + version "3.0.3" + resolved "https://registry.npm.taobao.org/write-file-atomic/download/write-file-atomic-3.0.3.tgz#56bd5c5a5c70481cd19c571bd39ab965a5de56e8" + integrity sha1-Vr1cWlxwSBzRnFcb05q5ZaXeVug= dependencies: - graceful-fs "^4.1.11" imurmurhash "^0.1.4" + is-typedarray "^1.0.0" signal-exit "^3.0.2" + typedarray-to-buffer "^3.1.5" -xdg-basedir@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/xdg-basedir/-/xdg-basedir-3.0.0.tgz#496b2cc109eca8dbacfe2dc72b603c17c5870ad4" - integrity sha1-SWsswQnsqNus/i3HK2A8F8WHCtQ= +xdg-basedir@^4.0.0: + version "4.0.0" + resolved "https://registry.npm.taobao.org/xdg-basedir/download/xdg-basedir-4.0.0.tgz#4bc8d9984403696225ef83a1573cbbcb4e79db13" + integrity sha1-S8jZmEQDaWIl74OhVzy7y0552xM= xmldom@~0.1.22: version "0.1.27" @@ -4889,20 +5160,20 @@ y18n@^3.2.1: resolved "https://registry.yarnpkg.com/y18n/-/y18n-3.2.1.tgz#6d15fba884c08679c0d77e88e7759e811e07fa41" integrity sha1-bRX7qITAhnnA136I53WegR4H+kE= -yallist@^2.1.2: - version "2.1.2" - resolved "https://registry.yarnpkg.com/yallist/-/yallist-2.1.2.tgz#1c11f9218f076089a47dd512f93c6699a6a81d52" - integrity sha1-HBH5IY8HYImkfdUS+TxmmaaoHVI= - yallist@^3.0.0, yallist@^3.0.3: version "3.0.3" resolved "https://registry.yarnpkg.com/yallist/-/yallist-3.0.3.tgz#b4b049e314be545e3ce802236d6cd22cd91c3de9" integrity sha512-S+Zk8DEWE6oKpV+vI3qWkaK+jSbIK86pCwe2IF/xwIpQ8jEuxpw9NyaGjmp9+BoJv5FV2piqCDcoCtStppiq2A== -yargs-parser@15.0.0: - version "15.0.0" - resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-15.0.0.tgz#cdd7a97490ec836195f59f3f4dbe5ea9e8f75f08" - integrity sha512-xLTUnCMc4JhxrPEPUYD5IBR1mWCK/aT6+RJ/K29JY2y1vD+FhtgKK0AXRWvI262q3QSffAQuTouFIKUuHX89wQ== +yaml@1.10.0, yaml@^1.7.2: + version "1.10.0" + resolved "https://registry.npm.taobao.org/yaml/download/yaml-1.10.0.tgz#3b593add944876077d4d683fee01081bd9fff31e" + integrity sha1-O1k63ZRIdgd9TWg/7gEIG9n/8x4= + +yargs-parser@18.1.3: + version "18.1.3" + resolved "https://registry.npm.taobao.org/yargs-parser/download/yargs-parser-18.1.3.tgz?cache=0&sync_timestamp=1590107887089&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fyargs-parser%2Fdownload%2Fyargs-parser-18.1.3.tgz#be68c4975c6b2abf469236b0c870362fab09a7b0" + integrity sha1-vmjEl1xrKr9GkjawyHA2L6sJp7A= dependencies: camelcase "^5.0.0" decamelize "^1.2.0" From dcdc680f535a0e999e0c691427dc49d587825b80 Mon Sep 17 00:00:00 2001 From: chenjiahan <chenjiahan@youzan.com> Date: Wed, 10 Jun 2020 19:30:21 +0800 Subject: [PATCH 39/58] build(icon): fixed codepoints --- packages/vant-icons/build/build-iconfont.js | 11 +- packages/vant-icons/build/codepoints.js | 239 ++++++++++++++++++++ 2 files changed, 246 insertions(+), 4 deletions(-) create mode 100644 packages/vant-icons/build/codepoints.js diff --git a/packages/vant-icons/build/build-iconfont.js b/packages/vant-icons/build/build-iconfont.js index a85368ccd..1ffc5346a 100644 --- a/packages/vant-icons/build/build-iconfont.js +++ b/packages/vant-icons/build/build-iconfont.js @@ -11,6 +11,7 @@ const md5File = require('md5-file'); const iconfont = require('gulp-iconfont'); const iconfontCss = require('gulp-iconfont-css'); const config = require('../src/config'); +const codepoints = require('./codepoints'); const srcDir = path.join(__dirname, '../src'); const svgDir = path.join(__dirname, '../assets/svg'); @@ -23,8 +24,10 @@ const md5 = md5File.sync(sketch).slice(0, 6); const fontName = `${config.name}-${md5}`; // remove previous fonts -const prevFonts = glob.sync(formats.map(ext => path.join(srcDir, '*.' + ext))); -prevFonts.forEach(font => fs.removeSync(font)); +const prevFonts = glob.sync( + formats.map((ext) => path.join(srcDir, '*.' + ext)) +); +prevFonts.forEach((font) => fs.removeSync(font)); // generate font from svg && build index.less function font() { @@ -35,7 +38,7 @@ function font() { path: template, targetPath: '../src/index.less', normalize: true, - firstGlyph: 0xf000, + fixedCodepoints: codepoints, cssClass: fontName, // this is a trick to pass fontName to template }) ) @@ -53,7 +56,7 @@ function upload(done) { encode(fontName, srcDir); // upload font to cdn - formats.forEach(ext => { + formats.forEach((ext) => { shell.exec(`superman-cdn /vant ${path.join(srcDir, fontName + '.' + ext)}`); }); diff --git a/packages/vant-icons/build/codepoints.js b/packages/vant-icons/build/codepoints.js new file mode 100644 index 000000000..71758a316 --- /dev/null +++ b/packages/vant-icons/build/codepoints.js @@ -0,0 +1,239 @@ +/* eslint-disable no-useless-escape */ +const map = { + F000: 'add-o', + F001: 'add-square', + F002: 'add', + F003: 'after-sale', + F004: 'aim', + F005: 'alipay', + F006: 'apps-o', + F007: 'arrow-down', + F008: 'arrow-left', + F009: 'arrow-up', + F00A: 'arrow', + F00B: 'ascending', + F00C: 'audio', + F00D: 'award-o', + F00E: 'award', + F00F: 'bag-o', + F010: 'bag', + F011: 'balance-list-o', + F012: 'balance-list', + F013: 'balance-o', + F014: 'balance-pay', + F015: 'bar-chart-o', + F016: 'bars', + F017: 'bell', + F018: 'bill-o', + F019: 'bill', + F01A: 'birthday-cake-o', + F01B: 'bookmark-o', + F01C: 'bookmark', + F01D: 'browsing-history-o', + F01E: 'browsing-history', + F01F: 'brush-o', + F020: 'bulb-o', + F021: 'bullhorn-o', + F022: 'calender-o', + F023: 'card', + F024: 'cart-circle-o', + F025: 'cart-circle', + F026: 'cart-o', + F027: 'cart', + F028: 'cash-back-record', + F029: 'cash-on-deliver', + F02A: 'cashier-o', + F02B: 'certificate', + F02C: 'chart-trending-o', + F02D: 'chat-o', + F02E: 'chat', + F02F: 'checked', + F030: 'circle', + F031: 'clear', + F032: 'clock-o', + F033: 'clock', + F034: 'close', + F035: 'closed-eye', + F036: 'cluster-o', + F037: 'cluster', + F038: 'column', + F039: 'comment-circle-o', + F03A: 'comment-circle', + F03B: 'comment-o', + F03C: 'comment', + F03D: 'completed', + F03E: 'contact', + F03F: 'coupon-o', + F040: 'coupon', + F041: 'credit-pay', + F042: 'cross', + F043: 'debit-pay', + F044: 'delete', + F045: 'descending', + F046: 'description', + F047: 'desktop-o', + F048: 'diamond-o', + F049: 'diamond', + F04A: 'discount', + F04B: 'down', + F04C: 'ecard-pay', + F04D: 'edit', + F04E: 'ellipsis', + F04F: 'empty', + F050: 'envelop-o', + F051: 'exchange', + F052: 'expand-o', + F053: 'expand', + F054: 'eye-o', + F055: 'eye', + F056: 'fail', + F057: 'failure', + F058: 'filter-o', + F059: 'fire-o', + F05A: 'fire', + F05B: 'flag-o', + F05C: 'flower-o', + F05D: 'free-postage', + F05E: 'friends-o', + F05F: 'friends', + F060: 'gem-o', + F061: 'gem', + F062: 'gift-card-o', + F063: 'gift-card', + F064: 'gift-o', + F065: 'gift', + F066: 'gold-coin-o', + F067: 'gold-coin', + F068: 'good-job-o', + F069: 'good-job', + F06A: 'goods-collect-o', + F06B: 'goods-collect', + F06C: 'graphic', + F06D: 'home-o', + F06E: 'hot-o', + F06F: 'hot-sale-o', + F070: 'hot-sale', + F071: 'hot', + F072: 'hotel-o', + F073: 'idcard', + F074: 'info-o', + F075: 'info', + F076: 'invition', + F077: 'label-o', + F078: 'label', + F079: 'like-o', + F07A: 'like', + F07B: 'live', + F07C: 'location-o', + F07D: 'location', + F07E: 'lock', + F07F: 'logistics', + F080: 'manager-o', + F081: 'manager', + F082: 'map-marked', + F083: 'medal-o', + F084: 'medal', + F085: 'more-o', + F086: 'more', + F087: 'music-o', + F088: 'music', + F089: 'new-arrival-o', + F08A: 'new-arrival', + F08B: 'new-o', + F08C: 'new', + F08D: 'newspaper-o', + F08E: 'notes-o', + F08F: 'orders-o', + F090: 'other-pay', + F091: 'paid', + F092: 'passed', + F093: 'pause-circle-o', + F094: 'pause-circle', + F095: 'pause', + F096: 'peer-pay', + F097: 'pending-payment', + F098: 'phone-circle-o', + F099: 'phone-circle', + F09A: 'phone-o', + F09B: 'phone', + F09C: 'photo-o', + F09D: 'photo', + F09E: 'photograph', + F09F: 'play-circle-o', + F0A0: 'play-circle', + F0A1: 'play', + F0A2: 'plus', + F0A3: 'point-gift-o', + F0A4: 'point-gift', + F0A5: 'points', + F0A6: 'printer', + F0A7: 'qr-invalid', + F0A8: 'qr', + F0A9: 'question-o', + F0AA: 'question', + F0AB: 'records', + F0AC: 'refund-o', + F0AD: 'replay', + F0AE: 'scan', + F0AF: 'search', + F0B0: 'send-gift-o', + F0B1: 'send-gift', + F0B2: 'service-o', + F0B3: 'service', + F0B4: 'setting-o', + F0B5: 'setting', + F0B6: 'share', + F0B7: 'shop-collect-o', + F0B8: 'shop-collect', + F0B9: 'shop-o', + F0BA: 'shop', + F0BB: 'shopping-cart-o', + F0BC: 'shopping-cart', + F0BD: 'shrink', + F0BE: 'sign', + F0BF: 'smile-comment-o', + F0C0: 'smile-comment', + F0C1: 'smile-o', + F0C2: 'smile', + F0C3: 'star-o', + F0C4: 'star', + F0C5: 'stop-circle-o', + F0C6: 'stop-circle', + F0C7: 'stop', + F0C8: 'success', + F0C9: 'thumb-circle-o', + F0CA: 'thumb-circle', + F0CB: 'todo-list-o', + F0CC: 'todo-list', + F0CD: 'tosend', + F0CE: 'tv-o', + F0CF: 'umbrella-circle', + F0D0: 'underway-o', + F0D1: 'underway', + F0D2: 'upgrade', + F0D3: 'user-circle-o', + F0D4: 'user-o', + F0D5: 'video-o', + F0D6: 'video', + F0D7: 'vip-card-o', + F0D8: 'vip-card', + F0D9: 'volume-o', + F0DA: 'volume', + F0DB: 'wap-home-o', + F0DC: 'wap-home', + F0DD: 'wap-nav', + F0DE: 'warn-o', + F0DF: 'warning-o', + F0E0: 'warning', + F0E1: 'weapp-nav', + F0E2: 'wechat', + F0E3: 'youzan-shield', +}; + +const reversedMap = {}; + +Object.keys(map).forEach((key) => { + reversedMap[map[key]] = key; +}); + +module.exports = reversedMap; From e49fe84afb2458a082dc6c57b15b23fb18675a72 Mon Sep 17 00:00:00 2001 From: chenjiahan <chenjiahan@youzan.com> Date: Wed, 10 Jun 2020 19:31:31 +0800 Subject: [PATCH 40/58] docs(icon): update contribution --- packages/vant-icons/README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/vant-icons/README.md b/packages/vant-icons/README.md index a50e28550..052e2ec96 100644 --- a/packages/vant-icons/README.md +++ b/packages/vant-icons/README.md @@ -30,4 +30,5 @@ yarn add @vant/icons 1. Add new icon to assets/icons.sketch 2. Add icon name to src/config.js -3. Make a Pull Request +3. Add icon codepoints to build/codepoints.js +4. Make a Pull Request From 7b0546dbba7425988ae2b4d1765fe20e907c893f Mon Sep 17 00:00:00 2001 From: chenjiahan <chenjiahan@youzan.com> Date: Thu, 11 Jun 2020 16:33:48 +0800 Subject: [PATCH 41/58] feat(NoticeBar): allow to force scrolling --- src/notice-bar/README.md | 15 ++++--- src/notice-bar/README.zh-CN.md | 42 ++++++++++++------- src/notice-bar/demo/index.vue | 23 +++++----- src/notice-bar/index.js | 6 +-- .../test/__snapshots__/demo.spec.js.snap | 17 +++++--- .../test/__snapshots__/index.spec.js.snap | 6 +-- 6 files changed, 66 insertions(+), 43 deletions(-) diff --git a/src/notice-bar/README.md b/src/notice-bar/README.md index 14efc979a..d7dc29137 100644 --- a/src/notice-bar/README.md +++ b/src/notice-bar/README.md @@ -17,12 +17,17 @@ Vue.use(NoticeBar); <van-notice-bar text="Notice Content" left-icon="volume-o" /> ``` -### Disable scroll +### Scrollable ```html -<van-notice-bar :scrollable="false"> - Notice Content -</van-notice-bar> +<!-- Enable scroll when text is short --> +<van-notice-bar scrollable text="Notice Content" /> + +<!-- Disable scroll when text is long --> +<van-notice-bar + :scrollable="false" + text="Technology is the common soul of the people who developed it." +/> ``` ### Wrapable @@ -90,7 +95,7 @@ Vue.use(NoticeBar); | left-icon | Left Icon | _string_ | - | | delay | Animation delay (s) | _number \| string_ | `1` | | speed | Scroll speed (px/s) | _number \| string_ | `50` | -| scrollable | Whether to scroll content | _boolean_ | `true` | +| scrollable | Whether to scroll content | _boolean_ | - | | wrapable | Whether to enable text wrap | _boolean_ | `false` | - | ### Events diff --git a/src/notice-bar/README.zh-CN.md b/src/notice-bar/README.zh-CN.md index 5b83d26ae..eb5fc8cb7 100644 --- a/src/notice-bar/README.zh-CN.md +++ b/src/notice-bar/README.zh-CN.md @@ -13,43 +13,55 @@ Vue.use(NoticeBar); ### 基础用法 +通过 `text` 属性设置通知栏的内容,通过 `left-icon` 属性设置通知栏左侧的图标。 + ```html -<van-notice-bar text="通知内容" left-icon="volume-o" /> +<van-notice-bar + left-icon="volume-o" + text="在代码阅读过程中人们说脏话的频率是衡量代码质量的唯一标准。" +/> ``` -### 禁用滚动 +### 滚动播放 -文字内容多于一行时,可通过 `scrollable` 参数控制是否开启滚动。 +通知栏的内容长度溢出时会自动开启滚动播放,通过 `scrollable` 属性可以控制该行为。 ```html -<van-notice-bar :scrollable="false"> - 通知内容 -</van-notice-bar> +<!-- 文字较短时,通过设置 scrollable 属性开启滚动播放 --> +<van-notice-bar scrollable text="技术是开发它的人的共同灵魂。" /> + +<!-- 文字较长时,通过禁用 scrollable 属性关闭滚动播放 --> +<van-notice-bar + :scrollable="false" + text="在代码阅读过程中人们说脏话的频率是衡量代码质量的唯一标准。" +/> ``` ### 多行展示 -禁用滚动时,可以设置 `wrapable` 来开启多行展示。 +文字较长时,可以通过设置 `wrapable` 属性来开启多行展示。 ```html -<van-notice-bar wrapable :scrollable="false"> - 通知内容 -</van-notice-bar> +<van-notice-bar + wrapable + :scrollable="false" + text="在代码阅读过程中人们说脏话的频率是衡量代码质量的唯一标准。" +/> ``` ### 通知栏模式 -默认模式为空,支持 `closeable` 和 `link` 两种模式。 +通知栏支持 `closeable` 和 `link` 两种模式。 ```html <!-- closeable 模式,在右侧显示关闭按钮 --> <van-notice-bar mode="closeable"> - 通知内容 + 技术是开发它的人的共同灵魂。 </van-notice-bar> <!-- link 模式,在右侧显示链接箭头 --> <van-notice-bar mode="link"> - 通知内容 + 技术是开发它的人的共同灵魂。 </van-notice-bar> ``` @@ -59,7 +71,7 @@ Vue.use(NoticeBar); ```html <van-notice-bar color="#1989fa" background="#ecf9ff" left-icon="info-o"> - 通知内容 + 技术是开发它的人的共同灵魂。 </van-notice-bar> ``` @@ -102,7 +114,7 @@ Vue.use(NoticeBar); | left-icon | 左侧[图标名称](#/zh-CN/icon)或图片链接 | _string_ | - | | delay | 动画延迟时间 (s) | _number \| string_ | `1` | | speed | 滚动速率 (px/s) | _number \| string_ | `50` | -| scrollable | 是否在长度溢出时滚动播放 | _boolean_ | `true` | +| scrollable | 是否开启滚动播放,内容长度溢出时默认开启 | _boolean_ | - | | wrapable | 是否开启文本换行,只在禁用滚动时生效 | _boolean_ | `false` | ### Events diff --git a/src/notice-bar/demo/index.vue b/src/notice-bar/demo/index.vue index 683516d08..2e9c385a2 100644 --- a/src/notice-bar/demo/index.vue +++ b/src/notice-bar/demo/index.vue @@ -1,10 +1,11 @@ <template> <demo-section> <demo-block :title="t('basicUsage')"> - <van-notice-bar :text="t('text')" left-icon="volume-o" /> + <van-notice-bar :text="t('text')" scrollable left-icon="volume-o" /> </demo-block> - <demo-block :title="t('unscrollable')"> + <demo-block :title="t('scrollable')"> + <van-notice-bar scrollable :text="t('shortText')" /> <van-notice-bar :scrollable="false" :text="t('text')" /> </demo-block> @@ -13,13 +14,13 @@ </demo-block> <demo-block :title="t('mode')"> - <van-notice-bar mode="closeable" :text="t('text')" /> - <van-notice-bar mode="link" :text="t('text')" /> + <van-notice-bar mode="closeable" :text="t('shortText')" /> + <van-notice-bar mode="link" :text="t('shortText')" /> </demo-block> <demo-block :title="t('customStyle')"> <van-notice-bar - :text="t('text')" + :text="t('shortText')" color="#1989fa" background="#ecf9ff" left-icon="info-o" @@ -47,23 +48,23 @@ export default { i18n: { 'zh-CN': { - text: - '足协杯战线连续第2年上演广州德比战,上赛季半决赛上恒大以两回合5-3的总比分淘汰富力。', + text: '在代码阅读过程中人们说脏话的频率是衡量代码质量的唯一标准。', mode: '通知栏模式', content: '内容', wrapable: '多行展示', - unscrollable: '禁用滚动', + shortText: '技术是开发它的人的共同灵魂。', + scrollable: '滚动播放', customStyle: '自定义样式', verticalScroll: '垂直滚动', }, 'en-US': { - text: - 'Only those who have the patience to do simple things perfectly ever acquire the skill to do difficult things easily.', + text: 'Technology is the common soul of the people who developed it.', mode: 'Mode', content: 'Content', wrapable: 'Wrapable', + shortText: 'Some short text.', customStyle: 'Custom Style', - unscrollable: 'Disable scroll', + scrollable: 'Scrollable', verticalScroll: 'Vertical Scroll', }, }, diff --git a/src/notice-bar/index.js b/src/notice-bar/index.js index 968ccb61e..122377c52 100644 --- a/src/notice-bar/index.js +++ b/src/notice-bar/index.js @@ -14,7 +14,7 @@ export default createComponent({ background: String, scrollable: { type: Boolean, - default: true, + default: null, }, delay: { type: [Number, String], @@ -81,14 +81,14 @@ export default createComponent({ setTimeout(() => { const { wrap, content } = this.$refs; - if (!wrap || !content) { + if (!wrap || !content || this.scrollable === false) { return; } const wrapWidth = wrap.getBoundingClientRect().width; const contentWidth = content.getBoundingClientRect().width; - if (this.scrollable && contentWidth > wrapWidth) { + if (this.scrollable || contentWidth > wrapWidth) { doubleRaf(() => { this.offset = -contentWidth; this.duration = contentWidth / this.speed; diff --git a/src/notice-bar/test/__snapshots__/demo.spec.js.snap b/src/notice-bar/test/__snapshots__/demo.spec.js.snap index c2cf6cbff..99bc1d903 100644 --- a/src/notice-bar/test/__snapshots__/demo.spec.js.snap +++ b/src/notice-bar/test/__snapshots__/demo.spec.js.snap @@ -6,34 +6,39 @@ exports[`renders demo correctly 1`] = ` <div role="alert" class="van-notice-bar"><i class="van-icon van-icon-volume-o van-notice-bar__left-icon"> <!----></i> <div role="marquee" class="van-notice-bar__wrap"> - <div class="van-notice-bar__content" style="transition-duration: 0s;">足协杯战线连续第2年上演广州德比战,上赛季半决赛上恒大以两回合5-3的总比分淘汰富力。</div> + <div class="van-notice-bar__content" style="transition-duration: 0s;">在代码阅读过程中人们说脏话的频率是衡量代码质量的唯一标准。</div> </div> </div> </div> <div> <div role="alert" class="van-notice-bar"> <div role="marquee" class="van-notice-bar__wrap"> - <div class="van-notice-bar__content van-ellipsis" style="transition-duration: 0s;">足协杯战线连续第2年上演广州德比战,上赛季半决赛上恒大以两回合5-3的总比分淘汰富力。</div> + <div class="van-notice-bar__content" style="transition-duration: 0s;">技术是开发它的人的共同灵魂。</div> + </div> + </div> + <div role="alert" class="van-notice-bar"> + <div role="marquee" class="van-notice-bar__wrap"> + <div class="van-notice-bar__content van-ellipsis" style="transition-duration: 0s;">在代码阅读过程中人们说脏话的频率是衡量代码质量的唯一标准。</div> </div> </div> </div> <div> <div role="alert" class="van-notice-bar van-notice-bar--wrapable"> <div role="marquee" class="van-notice-bar__wrap"> - <div class="van-notice-bar__content" style="transition-duration: 0s;">足协杯战线连续第2年上演广州德比战,上赛季半决赛上恒大以两回合5-3的总比分淘汰富力。</div> + <div class="van-notice-bar__content" style="transition-duration: 0s;">在代码阅读过程中人们说脏话的频率是衡量代码质量的唯一标准。</div> </div> </div> </div> <div> <div role="alert" class="van-notice-bar"> <div role="marquee" class="van-notice-bar__wrap"> - <div class="van-notice-bar__content" style="transition-duration: 0s;">足协杯战线连续第2年上演广州德比战,上赛季半决赛上恒大以两回合5-3的总比分淘汰富力。</div> + <div class="van-notice-bar__content van-ellipsis" style="transition-duration: 0s;">技术是开发它的人的共同灵魂。</div> </div><i class="van-icon van-icon-cross van-notice-bar__right-icon"> <!----></i> </div> <div role="alert" class="van-notice-bar"> <div role="marquee" class="van-notice-bar__wrap"> - <div class="van-notice-bar__content" style="transition-duration: 0s;">足协杯战线连续第2年上演广州德比战,上赛季半决赛上恒大以两回合5-3的总比分淘汰富力。</div> + <div class="van-notice-bar__content van-ellipsis" style="transition-duration: 0s;">技术是开发它的人的共同灵魂。</div> </div><i class="van-icon van-icon-arrow van-notice-bar__right-icon"> <!----></i> </div> @@ -42,7 +47,7 @@ exports[`renders demo correctly 1`] = ` <div role="alert" class="van-notice-bar" style="color: rgb(25, 137, 250); background: rgb(236, 249, 255);"><i class="van-icon van-icon-info-o van-notice-bar__left-icon"> <!----></i> <div role="marquee" class="van-notice-bar__wrap"> - <div class="van-notice-bar__content" style="transition-duration: 0s;">足协杯战线连续第2年上演广州德比战,上赛季半决赛上恒大以两回合5-3的总比分淘汰富力。</div> + <div class="van-notice-bar__content van-ellipsis" style="transition-duration: 0s;">技术是开发它的人的共同灵魂。</div> </div> </div> </div> diff --git a/src/notice-bar/test/__snapshots__/index.spec.js.snap b/src/notice-bar/test/__snapshots__/index.spec.js.snap index 97f9e8e95..1c2915a0f 100644 --- a/src/notice-bar/test/__snapshots__/index.spec.js.snap +++ b/src/notice-bar/test/__snapshots__/index.spec.js.snap @@ -2,7 +2,7 @@ exports[`icon slot 1`] = ` <div role="alert" class="van-notice-bar">Custom Left Icon<div role="marquee" class="van-notice-bar__wrap"> - <div class="van-notice-bar__content" style="transition-duration: 0s;"> + <div class="van-notice-bar__content van-ellipsis" style="transition-duration: 0s;"> Content </div> </div>Custom Right Icon</div> @@ -11,7 +11,7 @@ exports[`icon slot 1`] = ` exports[`should not scroll when content width > wrap width 1`] = ` <div role="alert" class="van-notice-bar"> <div role="marquee" class="van-notice-bar__wrap"> - <div class="van-notice-bar__content" style="transition-duration: 0s;">foo</div> + <div class="van-notice-bar__content van-ellipsis" style="transition-duration: 0s;">foo</div> </div> </div> `; @@ -19,7 +19,7 @@ exports[`should not scroll when content width > wrap width 1`] = ` exports[`should scroll when content width > wrap width 1`] = ` <div role="alert" class="van-notice-bar"> <div role="marquee" class="van-notice-bar__wrap"> - <div class="van-notice-bar__content" style="transition-duration: 2s; transform: translateX(-100px);">foo</div> + <div class="van-notice-bar__content van-ellipsis" style="transition-duration: 2s; transform: translateX(-100px);">foo</div> </div> </div> `; From febf17e5460a8a76830727b254c7120a00aa0c09 Mon Sep 17 00:00:00 2001 From: chenjiahan <chenjiahan@youzan.com> Date: Thu, 11 Jun 2020 16:39:46 +0800 Subject: [PATCH 42/58] fix(NoticeBar): incorrect ellipsis --- src/notice-bar/index.js | 2 +- src/notice-bar/test/__snapshots__/demo.spec.js.snap | 6 +++--- src/notice-bar/test/__snapshots__/index.spec.js.snap | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/notice-bar/index.js b/src/notice-bar/index.js index 122377c52..e6d7167b2 100644 --- a/src/notice-bar/index.js +++ b/src/notice-bar/index.js @@ -166,7 +166,7 @@ export default createComponent({ ref="content" class={[ bem('content'), - { 'van-ellipsis': !this.scrollable && !this.wrapable }, + { 'van-ellipsis': this.scrollable === false && !this.wrapable }, ]} style={contentStyle} onTransitionend={this.onTransitionEnd} diff --git a/src/notice-bar/test/__snapshots__/demo.spec.js.snap b/src/notice-bar/test/__snapshots__/demo.spec.js.snap index 99bc1d903..f28b3b021 100644 --- a/src/notice-bar/test/__snapshots__/demo.spec.js.snap +++ b/src/notice-bar/test/__snapshots__/demo.spec.js.snap @@ -32,13 +32,13 @@ exports[`renders demo correctly 1`] = ` <div> <div role="alert" class="van-notice-bar"> <div role="marquee" class="van-notice-bar__wrap"> - <div class="van-notice-bar__content van-ellipsis" style="transition-duration: 0s;">技术是开发它的人的共同灵魂。</div> + <div class="van-notice-bar__content" style="transition-duration: 0s;">技术是开发它的人的共同灵魂。</div> </div><i class="van-icon van-icon-cross van-notice-bar__right-icon"> <!----></i> </div> <div role="alert" class="van-notice-bar"> <div role="marquee" class="van-notice-bar__wrap"> - <div class="van-notice-bar__content van-ellipsis" style="transition-duration: 0s;">技术是开发它的人的共同灵魂。</div> + <div class="van-notice-bar__content" style="transition-duration: 0s;">技术是开发它的人的共同灵魂。</div> </div><i class="van-icon van-icon-arrow van-notice-bar__right-icon"> <!----></i> </div> @@ -47,7 +47,7 @@ exports[`renders demo correctly 1`] = ` <div role="alert" class="van-notice-bar" style="color: rgb(25, 137, 250); background: rgb(236, 249, 255);"><i class="van-icon van-icon-info-o van-notice-bar__left-icon"> <!----></i> <div role="marquee" class="van-notice-bar__wrap"> - <div class="van-notice-bar__content van-ellipsis" style="transition-duration: 0s;">技术是开发它的人的共同灵魂。</div> + <div class="van-notice-bar__content" style="transition-duration: 0s;">技术是开发它的人的共同灵魂。</div> </div> </div> </div> diff --git a/src/notice-bar/test/__snapshots__/index.spec.js.snap b/src/notice-bar/test/__snapshots__/index.spec.js.snap index 1c2915a0f..97f9e8e95 100644 --- a/src/notice-bar/test/__snapshots__/index.spec.js.snap +++ b/src/notice-bar/test/__snapshots__/index.spec.js.snap @@ -2,7 +2,7 @@ exports[`icon slot 1`] = ` <div role="alert" class="van-notice-bar">Custom Left Icon<div role="marquee" class="van-notice-bar__wrap"> - <div class="van-notice-bar__content van-ellipsis" style="transition-duration: 0s;"> + <div class="van-notice-bar__content" style="transition-duration: 0s;"> Content </div> </div>Custom Right Icon</div> @@ -11,7 +11,7 @@ exports[`icon slot 1`] = ` exports[`should not scroll when content width > wrap width 1`] = ` <div role="alert" class="van-notice-bar"> <div role="marquee" class="van-notice-bar__wrap"> - <div class="van-notice-bar__content van-ellipsis" style="transition-duration: 0s;">foo</div> + <div class="van-notice-bar__content" style="transition-duration: 0s;">foo</div> </div> </div> `; @@ -19,7 +19,7 @@ exports[`should not scroll when content width > wrap width 1`] = ` exports[`should scroll when content width > wrap width 1`] = ` <div role="alert" class="van-notice-bar"> <div role="marquee" class="van-notice-bar__wrap"> - <div class="van-notice-bar__content van-ellipsis" style="transition-duration: 2s; transform: translateX(-100px);">foo</div> + <div class="van-notice-bar__content" style="transition-duration: 2s; transform: translateX(-100px);">foo</div> </div> </div> `; From 6de66e0455421b4fd0a9579aaeea968028490c58 Mon Sep 17 00:00:00 2001 From: neverland <chenjiahan@youzan.com> Date: Thu, 11 Jun 2020 16:54:41 +0800 Subject: [PATCH 43/58] feat(Stepper): add placeholder prop (#6519) --- src/field/README.md | 2 +- src/field/README.zh-CN.md | 2 +- src/stepper/README.md | 3 ++- src/stepper/README.zh-CN.md | 1 + src/stepper/index.js | 2 ++ src/stepper/test/__snapshots__/index.spec.js.snap | 2 ++ src/stepper/test/index.spec.js | 9 +++++++++ 7 files changed, 18 insertions(+), 3 deletions(-) diff --git a/src/field/README.md b/src/field/README.md index 4441842ef..4dc692ebc 100644 --- a/src/field/README.md +++ b/src/field/README.md @@ -216,7 +216,7 @@ Use `input-align` prop to align the input value | type | Input type, can be set to `tel` `digit`<br>`number` `textarea` `password` | _string_ | `text` | | size | Size,can be set to `large` | _string_ | - | | maxlength | Max length of value | _number \| string_ | - | -| placeholder | Placeholder | _string_ | - | +| placeholder | Input placeholder | _string_ | - | | border | Whether to show inner border | _boolean_ | `true` | | disabled | Whether to disable field | _boolean_ | `false` | | readonly | Whether to be readonly | _boolean_ | `false` | diff --git a/src/field/README.zh-CN.md b/src/field/README.zh-CN.md index c281ccd0b..30381f5f6 100644 --- a/src/field/README.zh-CN.md +++ b/src/field/README.zh-CN.md @@ -241,7 +241,7 @@ export default { | type | 输入框类型, 可选值为 `tel` `digit`<br>`number` `textarea` `password` 等 | _string_ | `text` | | size | 大小,可选值为 `large` | _string_ | - | | maxlength | 输入的最大字符数 | _number \| string_ | - | -| placeholder | 占位提示文字 | _string_ | - | +| placeholder | 输入框占位提示文字 | _string_ | - | | border | 是否显示内边框 | _boolean_ | `true` | | disabled | 是否禁用输入框 | _boolean_ | `false` | | readonly | 是否只读 | _boolean_ | `false` | diff --git a/src/stepper/README.md b/src/stepper/README.md index a4559c679..61e98680d 100644 --- a/src/stepper/README.md +++ b/src/stepper/README.md @@ -119,8 +119,9 @@ export default { | button-size `v2.0.5` | Button size | _number \| string_ | `28px` | | decimal-length `v2.2.1` | Decimal length | _number \| string_ | - | | theme `v2.8.2` | Theme, can be set to `round` | _string_ | - | +| placeholder `v2.8.6` | Input placeholder | _string_ | - | | integer | Whether to allow only integers | _boolean_ | `false` | -| disabled | Disable value change | _boolean_ | `false` | +| disabled | Whether to disable value change | _boolean_ | `false` | | disable-plus `v2.2.16` | Whether to disable plus button | _boolean_ | `false` | | disable-minus `v2.2.16` | Whether to disable minus button | _boolean_ | `false` | | disable-input | Whether to disable input | _boolean_ | `false` | diff --git a/src/stepper/README.zh-CN.md b/src/stepper/README.zh-CN.md index 57d5f9650..2cd2f4b1c 100644 --- a/src/stepper/README.zh-CN.md +++ b/src/stepper/README.zh-CN.md @@ -145,6 +145,7 @@ export default { | button-size `v2.0.5` | 按钮大小以及输入框高度,默认单位为`px` | _number \| string_ | `28px` | | decimal-length `v2.2.1` | 固定显示的小数位数 | _number \| string_ | - | | theme `v2.8.2` | 样式风格,可选值为 `round` | _string_ | - | +| placeholder `v2.8.6` | 输入框占位提示文字 | _string_ | - | | integer | 是否只允许输入整数 | _boolean_ | `false` | | disabled | 是否禁用步进器 | _boolean_ | `false` | | disable-plus `v2.2.16` | 是否禁用增加按钮 | _boolean_ | `false` | diff --git a/src/stepper/index.js b/src/stepper/index.js index 7e0794a5d..2943a000f 100644 --- a/src/stepper/index.js +++ b/src/stepper/index.js @@ -31,6 +31,7 @@ export default createComponent({ inputWidth: [Number, String], buttonSize: [Number, String], asyncChange: Boolean, + placeholder: String, disablePlus: Boolean, disableMinus: Boolean, disableInput: Boolean, @@ -298,6 +299,7 @@ export default createComponent({ readonly={this.disableInput} // set keyboard in mordern browers inputmode={this.integer ? 'numeric' : 'decimal'} + placeholder={this.placeholder} aria-valuemax={this.max} aria-valuemin={this.min} aria-valuenow={this.currentValue} diff --git a/src/stepper/test/__snapshots__/index.spec.js.snap b/src/stepper/test/__snapshots__/index.spec.js.snap index 74e6df5e0..00ace123a 100644 --- a/src/stepper/test/__snapshots__/index.spec.js.snap +++ b/src/stepper/test/__snapshots__/index.spec.js.snap @@ -8,4 +8,6 @@ exports[`disabled stepper 1`] = `<div class="van-stepper"><button type="button" exports[`input-width prop 1`] = `<div class="van-stepper"><button type="button" class="van-stepper__minus van-stepper__minus--disabled"></button><input type="text" role="spinbutton" inputmode="decimal" aria-valuemax="Infinity" aria-valuemin="1" aria-valuenow="1" class="van-stepper__input" style="width: 10rem;"><button type="button" class="van-stepper__plus"></button></div>`; +exports[`placeholder prop 1`] = `<input type="text" role="spinbutton" inputmode="decimal" placeholder="foo" aria-valuemax="Infinity" aria-valuemin="1" aria-valuenow="1" class="van-stepper__input">`; + exports[`show-plus & show-minus props 1`] = `<div class="van-stepper"><button type="button" class="van-stepper__minus van-stepper__minus--disabled" style="display: none;"></button><input type="text" role="spinbutton" inputmode="decimal" aria-valuemax="Infinity" aria-valuemin="1" aria-valuenow="1" class="van-stepper__input"><button type="button" class="van-stepper__plus" style="display: none;"></button></div>`; diff --git a/src/stepper/test/index.spec.js b/src/stepper/test/index.spec.js index 960aa76eb..d591d4741 100644 --- a/src/stepper/test/index.spec.js +++ b/src/stepper/test/index.spec.js @@ -378,3 +378,12 @@ test('change integer', async () => { expect(wrapper.emitted('input')[0][0]).toEqual(1); }); + +test('placeholder prop', () => { + const wrapper = mount(Stepper, { + propsData: { + placeholder: 'foo', + }, + }); + expect(wrapper.find('.van-stepper__input')).toMatchSnapshot(); +}); From 8a016e64cb464a2b7237fb14a03321f684c630de Mon Sep 17 00:00:00 2001 From: FishPlusOrange <email@fishplusorange.com> Date: Fri, 12 Jun 2020 15:27:31 +0800 Subject: [PATCH 44/58] docs(Field): optimize docs (#6527) --- src/field/README.md | 4 ++-- src/field/README.zh-CN.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/field/README.md b/src/field/README.md index 4dc692ebc..76815940b 100644 --- a/src/field/README.md +++ b/src/field/README.md @@ -198,8 +198,8 @@ Use `input-align` prop to align the input value ```html <van-field v-model="value" - :label="Text" - :placeholder="Input Align Right" + label="Text" + placeholder="Input Align Right" input-align="right" /> ``` diff --git a/src/field/README.zh-CN.md b/src/field/README.zh-CN.md index 30381f5f6..8868a6786 100644 --- a/src/field/README.zh-CN.md +++ b/src/field/README.zh-CN.md @@ -223,8 +223,8 @@ export default { ```html <van-field v-model="value" - :label="文本" - :placeholder="输入框内容右对齐" + label="文本" + placeholder="输入框内容右对齐" input-align="right" /> ``` From 7788822dba0412681a0dde87655de57e0540fc87 Mon Sep 17 00:00:00 2001 From: neverland <chenjiahan@youzan.com> Date: Fri, 12 Jun 2020 22:37:38 +0800 Subject: [PATCH 45/58] fix(CollapseItem): can't hide border (#6533) --- src/collapse-item/index.js | 6 +++--- src/collapse-item/index.less | 6 ++++++ 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/src/collapse-item/index.js b/src/collapse-item/index.js index 3bf08382d..d70bf0b01 100644 --- a/src/collapse-item/index.js +++ b/src/collapse-item/index.js @@ -125,7 +125,7 @@ export default createComponent({ }, genTitle() { - const { disabled, expanded } = this; + const { border, disabled, expanded } = this; const titleSlots = CELL_SLOTS.reduce((slots, name) => { if (this.slots(name)) { @@ -142,7 +142,7 @@ export default createComponent({ return ( <Cell role="button" - class={bem('title', { disabled, expanded })} + class={bem('title', { disabled, expanded, borderless: !border })} onClick={this.onClick} scopedSlots={titleSlots} tabindex={disabled ? -1 : 0} @@ -172,7 +172,7 @@ export default createComponent({ render() { return ( - <div class={[bem({ border: this.index })]}> + <div class={[bem({ border: this.index && this.border })]}> {this.genTitle()} {this.genContent()} </div> diff --git a/src/collapse-item/index.less b/src/collapse-item/index.less index b94951ebe..3d08a0b7a 100644 --- a/src/collapse-item/index.less +++ b/src/collapse-item/index.less @@ -31,6 +31,12 @@ } } + &--borderless { + &::after { + display: none; + } + } + &--disabled { cursor: not-allowed; From f545a47047d9df6bd8d5b18e8cd207da06119397 Mon Sep 17 00:00:00 2001 From: neverland <chenjiahan@youzan.com> Date: Sat, 13 Jun 2020 13:23:15 +0800 Subject: [PATCH 46/58] style(Field): update disabled color (#6534) --- src/field/index.js | 1 + src/field/index.less | 4 ++++ src/field/test/__snapshots__/demo.spec.js.snap | 2 +- src/search/test/__snapshots__/demo.spec.js.snap | 2 +- src/style/var.less | 3 ++- 5 files changed, 9 insertions(+), 3 deletions(-) diff --git a/src/field/index.js b/src/field/index.js index fd7bcc1fd..bba232839 100644 --- a/src/field/index.js +++ b/src/field/index.js @@ -577,6 +577,7 @@ export default createComponent({ arrowDirection={this.arrowDirection} class={bem({ error: this.showError, + disabled: this.disabled, [`label-${labelAlign}`]: labelAlign, 'min-height': this.type === 'textarea' && !this.autosize, })} diff --git a/src/field/index.less b/src/field/index.less index 64801761d..26da899f0 100644 --- a/src/field/index.less +++ b/src/field/index.less @@ -1,6 +1,10 @@ @import '../style/var'; .van-field { + &--disabled { + color: @field-disabled-text-color; + } + &__label { flex: none; box-sizing: border-box; diff --git a/src/field/test/__snapshots__/demo.spec.js.snap b/src/field/test/__snapshots__/demo.spec.js.snap index 794067c85..508c4b48b 100644 --- a/src/field/test/__snapshots__/demo.spec.js.snap +++ b/src/field/test/__snapshots__/demo.spec.js.snap @@ -51,7 +51,7 @@ exports[`renders demo correctly 1`] = ` <div class="van-field__body"><input type="text" readonly="readonly" class="van-field__control"></div> </div> </div> - <div class="van-cell van-field"> + <div class="van-cell van-field van-field--disabled"> <div class="van-cell__title van-field__label"><span>文本</span></div> <div class="van-cell__value van-field__value"> <div class="van-field__body"><input type="text" disabled="disabled" class="van-field__control"></div> diff --git a/src/search/test/__snapshots__/demo.spec.js.snap b/src/search/test/__snapshots__/demo.spec.js.snap index 3f710586e..8254c31ba 100644 --- a/src/search/test/__snapshots__/demo.spec.js.snap +++ b/src/search/test/__snapshots__/demo.spec.js.snap @@ -47,7 +47,7 @@ exports[`renders demo correctly 1`] = ` <div> <div class="van-search"> <div class="van-search__content van-search__content--square"> - <div class="van-cell van-cell--borderless van-field"> + <div class="van-cell van-cell--borderless van-field van-field--disabled"> <div class="van-field__left-icon"><i class="van-icon van-icon-search"> <!----></i></div> <div class="van-cell__value van-cell__value--alone van-field__value"> diff --git a/src/style/var.less b/src/style/var.less index 559a09297..12883b4fa 100644 --- a/src/style/var.less +++ b/src/style/var.less @@ -348,7 +348,7 @@ @field-label-width: 90px; @field-input-text-color: @text-color; @field-input-error-text-color: @red; -@field-input-disabled-text-color: @gray-6; +@field-input-disabled-text-color: @gray-5; @field-placeholder-text-color: @gray-5; @field-icon-size: 16px; @field-clear-icon-size: 16px; @@ -361,6 +361,7 @@ @field-word-limit-font-size: @font-size-sm; @field-word-limit-line-height: 16px; @field-word-num-full-color: @red; +@field-disabled-text-color: @gray-5; // GridItem @grid-item-content-padding: @padding-md @padding-xs; From db2a30df539d6cd0add1f94a1889ab4de8f60bcf Mon Sep 17 00:00:00 2001 From: chenjiahan <chenjiahan@youzan.com> Date: Sat, 13 Jun 2020 16:30:30 +0800 Subject: [PATCH 47/58] chore: release 2.8.6 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 27ee67d38..52c76a79b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "vant", - "version": "2.8.5", + "version": "2.8.6", "description": "Mobile UI Components built on Vue", "main": "lib/index.js", "module": "es/index.js", From 42768fe577ea4ba8dd561fa766c3d72828cccef3 Mon Sep 17 00:00:00 2001 From: chenjiahan <chenjiahan@youzan.com> Date: Sat, 13 Jun 2020 16:42:33 +0800 Subject: [PATCH 48/58] docs(changelog): 2.8.6 --- docs/markdown/changelog.en-US.md | 23 +++++++++++++++++++++++ docs/markdown/changelog.zh-CN.md | 23 +++++++++++++++++++++++ 2 files changed, 46 insertions(+) diff --git a/docs/markdown/changelog.en-US.md b/docs/markdown/changelog.en-US.md index 7a8936f29..ef6b8b24c 100644 --- a/docs/markdown/changelog.en-US.md +++ b/docs/markdown/changelog.en-US.md @@ -10,6 +10,29 @@ Vant follows [Semantic Versioning 2.0.0](https://semver.org/lang/zh-CN/). - Minor version:released every one to two months, including backwards compatible features. - Major version:including breaking changes and new features. +### [v2.8.6](https://github.com/youzan/vant/compare/v2.8.5...v2.8.6) + +`2020-06-13` + +**Feature** + +- NoticeBar: allow to force scrolling [7b0546](https://github.com/youzan/vant/commit/7b0546dbba7425988ae2b4d1765fe20e907c893f) +- Picker: item-height support rem unit [#6462](https://github.com/youzan/vant/issues/6462) +- Stepper: add placeholder prop [#6519](https://github.com/youzan/vant/issues/6519) + +**style** + +- Field: update disabled color [#6534](https://github.com/youzan/vant/issues/6534) + +**Bug Fixes** + +- Calendar: quick select not work when select same day [#6504](https://github.com/youzan/vant/issues/6504) +- CollapseItem: can't hide border [#6533](https://github.com/youzan/vant/issues/6533) +- Field: formatter not work when v-model changed [#6490](https://github.com/youzan/vant/issues/6490) +- ImagePreview: image blurred after scale on iOS [#6496](https://github.com/youzan/vant/issues/6496) +- Picker: cursor.defaultIndex may be 0 [#6473](https://github.com/youzan/vant/issues/6473) +- Tabbar: avoid redundant navigation error [#6474](https://github.com/youzan/vant/issues/6474) + ### [v2.8.5](https://github.com/youzan/vant/compare/v2.8.4...v2.8.5) `2020-06-04` diff --git a/docs/markdown/changelog.zh-CN.md b/docs/markdown/changelog.zh-CN.md index d353a589a..e7804915a 100644 --- a/docs/markdown/changelog.zh-CN.md +++ b/docs/markdown/changelog.zh-CN.md @@ -10,6 +10,29 @@ Vant 遵循 [Semver](https://semver.org/lang/zh-CN/) 语义化版本规范。 - 次版本号:每隔一至二个月发布,包含新特性和较大的功能更新,向下兼容。 - 主版本号:发布时间不定,包含不兼容更新,预计下一个主版本会与 Vue 3.0 同期发布。 +### [v2.8.6](https://github.com/youzan/vant/compare/v2.8.5...v2.8.6) + +`2020-06-13` + +**Feature** + +- Stepper: 新增 placeholder 属性 [#6519](https://github.com/youzan/vant/issues/6519) +- Picker: 选项高度支持配置 rem 单位 [#6462](https://github.com/youzan/vant/issues/6462) +- NoticeBar: 支持在内容较短时开启滚动播放 [7b0546](https://github.com/youzan/vant/commit/7b0546dbba7425988ae2b4d1765fe20e907c893f) + +**style** + +- Field: 更新禁用状态下的文本颜色 [#6534](https://github.com/youzan/vant/issues/6534) + +**Bug Fixes** + +- Calendar: 修复范围选择时无法快捷选择同一天的问题 [#6504](https://github.com/youzan/vant/issues/6504) +- CollapseItem: 修复无法通过 border 属性隐藏内边框的问题 [#6533](https://github.com/youzan/vant/issues/6533) +- Field: 修复 v-model 绑定值变化时 formatter 函数没生效的问题 [#6490](https://github.com/youzan/vant/issues/6490) +- ImagePreview: 修复在 iOS 上放大后图片变模糊的问题 [#6496](https://github.com/youzan/vant/issues/6496) +- Picker: 修复级联选择时 defaultIndex 在个别情况下取值错误的问题 [#6473](https://github.com/youzan/vant/issues/6473) +- Tabbar: 修复使用 vue-router 3.3 以上版本时出现重复路由提示的问题 [#6474](https://github.com/youzan/vant/issues/6474) + ### [v2.8.5](https://github.com/youzan/vant/compare/v2.8.4...v2.8.5) `2020-06-04` From 4b786cdba3369ca68be9c1ffa12a46e07c4fa4c4 Mon Sep 17 00:00:00 2001 From: neverland <chenjiahan@youzan.com> Date: Sun, 14 Jun 2020 20:49:53 +0800 Subject: [PATCH 49/58] feat(Form): rule message can be empty (#6536) --- src/field/index.js | 10 +++++++--- src/form/test/events.spec.js | 27 +++++++++++++++++++++++++++ 2 files changed, 34 insertions(+), 3 deletions(-) diff --git a/src/field/index.js b/src/field/index.js index bba232839..539d0ad59 100644 --- a/src/field/index.js +++ b/src/field/index.js @@ -74,6 +74,7 @@ export default createComponent({ data() { return { focused: false, + validateFailed: false, validateMessage: '', }; }, @@ -117,7 +118,7 @@ export default createComponent({ if (this.error !== null) { return this.error; } - if (this.vanForm && this.vanForm.showError && this.validateMessage) { + if (this.vanForm && this.vanForm.showError && this.validateFailed) { return true; } }, @@ -208,7 +209,7 @@ export default createComponent({ return rules.reduce( (promise, rule) => promise.then(() => { - if (this.validateMessage) { + if (this.validateFailed) { return; } @@ -219,6 +220,7 @@ export default createComponent({ } if (!this.runSyncRule(value, rule)) { + this.validateFailed = true; this.validateMessage = this.getRuleMessage(value, rule); return; } @@ -226,6 +228,7 @@ export default createComponent({ if (rule.validator) { return this.runValidator(value, rule).then((result) => { if (result === false) { + this.validateFailed = true; this.validateMessage = this.getRuleMessage(value, rule); } }); @@ -242,7 +245,7 @@ export default createComponent({ } this.runRules(rules).then(() => { - if (this.validateMessage) { + if (this.validateFailed) { resolve({ name: this.name, message: this.validateMessage, @@ -271,6 +274,7 @@ export default createComponent({ resetValidation() { if (this.validateMessage) { + this.validateFailed = false; this.validateMessage = ''; } }, diff --git a/src/form/test/events.spec.js b/src/form/test/events.spec.js index 9c28e69f0..a97beb100 100644 --- a/src/form/test/events.spec.js +++ b/src/form/test/events.spec.js @@ -38,3 +38,30 @@ test('failed event', async () => { values: { A: '', B: '' }, }); }); + +test('failed event when rule message is empty', async () => { + const onFailed = jest.fn(); + const wrapper = mountForm({ + template: ` + <van-form ref="form" @failed="onFailed"> + <van-field name="A" :rules="rulesA" value="" /> + <van-button native-type="submit" /> + </van-form> + `, + data() { + return { + rulesA: [{ required: true }], + }; + }, + methods: { + onFailed, + }, + }); + + await submitForm(wrapper); + + expect(onFailed).toHaveBeenCalledWith({ + errors: [{ name: 'A' }], + values: { A: '' }, + }); +}); From 700a0f23f78662253a1f5300d083d18f41bb74d0 Mon Sep 17 00:00:00 2001 From: neverland <chenjiahan@youzan.com> Date: Mon, 15 Jun 2020 17:42:21 +0800 Subject: [PATCH 50/58] fix(Field): should not display null (#6542) --- src/field/index.js | 2 +- src/field/test/index.spec.js | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/src/field/index.js b/src/field/index.js index 539d0ad59..5ec101d93 100644 --- a/src/field/index.js +++ b/src/field/index.js @@ -280,7 +280,7 @@ export default createComponent({ }, updateValue(value) { - value = String(value); + value = isDef(value) ? String(value) : ''; if (value === this.currentValue) { return; diff --git a/src/field/test/index.spec.js b/src/field/test/index.spec.js index dde38f045..9867377e4 100644 --- a/src/field/test/index.spec.js +++ b/src/field/test/index.spec.js @@ -380,3 +380,14 @@ test('should blur search input on enter', () => { wrapper.find('input').trigger('keypress.enter'); expect(wrapper.emitted('blur')).toBeTruthy(); }); + +test('value is null', () => { + const wrapper = mount(Field, { + propsData: { + value: null, + }, + }); + + expect(wrapper.find('input').element.value).toEqual(''); + expect(wrapper.emitted('input')[0][0]).toEqual(''); +}); From 35a4b95ef2e405837b1dbf678984ec247a39e458 Mon Sep 17 00:00:00 2001 From: neverland <chenjiahan@youzan.com> Date: Mon, 15 Jun 2020 21:02:29 +0800 Subject: [PATCH 51/58] style(Field): remove word num full color (#6545) --- src/field/index.js | 4 +--- src/field/index.less | 6 ------ src/field/test/__snapshots__/index.spec.js.snap | 2 +- src/style/var.less | 1 - 4 files changed, 2 insertions(+), 11 deletions(-) diff --git a/src/field/index.js b/src/field/index.js index 5ec101d93..cea638edf 100644 --- a/src/field/index.js +++ b/src/field/index.js @@ -497,12 +497,10 @@ export default createComponent({ genWordLimit() { if (this.showWordLimit && this.maxlength) { const count = (this.value || '').length; - const full = count >= this.maxlength; return ( <div class={bem('word-limit')}> - <span class={bem('word-num', { full })}>{count}</span>/ - {this.maxlength} + <span class={bem('word-num')}>{count}</span>/{this.maxlength} </div> ); } diff --git a/src/field/index.less b/src/field/index.less index 26da899f0..118f4267e 100644 --- a/src/field/index.less +++ b/src/field/index.less @@ -151,12 +151,6 @@ text-align: right; } - &__word-num { - &--full { - color: @field-word-num-full-color; - } - } - &--error { .van-field__control { &, diff --git a/src/field/test/__snapshots__/index.spec.js.snap b/src/field/test/__snapshots__/index.spec.js.snap index 0c1a0458e..3ef7f9596 100644 --- a/src/field/test/__snapshots__/index.spec.js.snap +++ b/src/field/test/__snapshots__/index.spec.js.snap @@ -74,7 +74,7 @@ exports[`reach max word-limit 1`] = ` <div class="van-cell van-field"> <div class="van-cell__value van-cell__value--alone van-field__value"> <div class="van-field__body"><input type="text" class="van-field__control"></div> - <div class="van-field__word-limit"><span class="van-field__word-num van-field__word-num--full">3</span>/3</div> + <div class="van-field__word-limit"><span class="van-field__word-num">3</span>/3</div> </div> </div> `; diff --git a/src/style/var.less b/src/style/var.less index 12883b4fa..028adfd49 100644 --- a/src/style/var.less +++ b/src/style/var.less @@ -360,7 +360,6 @@ @field-word-limit-color: @gray-7; @field-word-limit-font-size: @font-size-sm; @field-word-limit-line-height: 16px; -@field-word-num-full-color: @red; @field-disabled-text-color: @gray-5; // GridItem From fd388d04759f2b092283af2e0786672f08357bf1 Mon Sep 17 00:00:00 2001 From: neverland <chenjiahan@youzan.com> Date: Tue, 16 Jun 2020 22:59:07 +0800 Subject: [PATCH 52/58] perf: use inline style instead of getComputedStyle (#6550) --- src/utils/format/unit.ts | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/src/utils/format/unit.ts b/src/utils/format/unit.ts index 7f422c6af..b50167e7c 100644 --- a/src/utils/format/unit.ts +++ b/src/utils/format/unit.ts @@ -10,13 +10,24 @@ export function addUnit(value?: string | number): string | undefined { return isNumeric(value) ? `${value}px` : value; } +// cache +let rootFontSize: number; + +function getRootFontSize() { + if (!rootFontSize) { + const doc = document.documentElement; + const fontSize = + doc.style.fontSize || window.getComputedStyle(doc).fontSize; + + rootFontSize = parseFloat(fontSize); + } + + return rootFontSize; +} + function convertRem(value: string) { - const rootStyle = window.getComputedStyle(document.documentElement); - const rootFontSize = parseFloat(rootStyle.fontSize); - value = value.replace(/rem/g, ''); - - return +value * rootFontSize; + return +value * getRootFontSize(); } export function unitToPx(value: string | number): number { From f2543b5dfa4007036e4d7e803de83f10cdb5ad90 Mon Sep 17 00:00:00 2001 From: neverland <chenjiahan@youzan.com> Date: Wed, 17 Jun 2020 18:10:07 +0800 Subject: [PATCH 53/58] feat(Sticky): offset-top support rem unit (#6556) --- src/sticky/README.md | 10 +++++----- src/sticky/README.zh-CN.md | 10 +++++----- src/sticky/index.js | 18 ++++++++++------- .../test/__snapshots__/index.spec.js.snap | 8 ++++++++ src/sticky/test/index.spec.js | 20 +++++++++++++++++++ 5 files changed, 49 insertions(+), 17 deletions(-) diff --git a/src/sticky/README.md b/src/sticky/README.md index c7896501e..fcb804a05 100644 --- a/src/sticky/README.md +++ b/src/sticky/README.md @@ -54,11 +54,11 @@ export default { ### Props -| Attribute | Description | Type | Default | -| ---------- | ------------------- | ------------------ | ------- | -| offset-top | Offset top | _number \| string_ | `0` | -| z-index | z-index when sticky | _number \| string_ | `99` | -| container | Container DOM | _Element_ | - | +| Attribute | Description | Type | Default | +| --- | --- | --- | --- | +| offset-top `v2.8.7` | Offset top, supports `px` ans `rem` unit, default `px` | _number \| string_ | `0` | +| z-index | z-index when sticky | _number \| string_ | `99` | +| container | Container DOM | _Element_ | - | ### Events diff --git a/src/sticky/README.zh-CN.md b/src/sticky/README.zh-CN.md index 52f6b44e1..e26650d6f 100644 --- a/src/sticky/README.zh-CN.md +++ b/src/sticky/README.zh-CN.md @@ -64,11 +64,11 @@ export default { ### Props -| 参数 | 说明 | 类型 | 默认值 | -| ---------- | ---------------------------- | ------------------ | ------ | -| offset-top | 吸顶时与顶部的距离,单位`px` | _number \| string_ | `0` | -| z-index | 吸顶时的 z-index | _number \| string_ | `99` | -| container | 容器对应的 HTML 节点 | _Element_ | - | +| 参数 | 说明 | 类型 | 默认值 | +| --- | --- | --- | --- | +| offset-top `v2.8.7` | 吸顶时与顶部的距离,支持 `px` 和 `rem` 单位,默认 `px` | _number \| string_ | `0` | +| z-index | 吸顶时的 z-index | _number \| string_ | `99` | +| container | 容器对应的 HTML 节点 | _Element_ | - | ### Events diff --git a/src/sticky/index.js b/src/sticky/index.js index fb9b3be37..8dcba9e1e 100644 --- a/src/sticky/index.js +++ b/src/sticky/index.js @@ -1,4 +1,5 @@ import { isHidden } from '../utils/dom/style'; +import { unitToPx } from '../utils/format/unit'; import { createNamespace, isDef, isServer } from '../utils'; import { getScrollTop, getElementTop, getScroller } from '../utils/dom/scroll'; import { BindEventMixin } from '../mixins/bind-event'; @@ -40,6 +41,10 @@ export default createComponent({ }, computed: { + offsetTopPx() { + return unitToPx(this.offsetTop); + }, + style() { if (!this.fixed) { return; @@ -51,8 +56,8 @@ export default createComponent({ style.zIndex = this.zIndex; } - if (this.offsetTop && this.fixed) { - style.top = `${this.offsetTop}px`; + if (this.offsetTopPx && this.fixed) { + style.top = `${this.offsetTopPx}px`; } if (this.transform) { @@ -86,8 +91,7 @@ export default createComponent({ this.height = this.$el.offsetHeight; - const { container } = this; - const offsetTop = +this.offsetTop; + const { container, offsetTopPx } = this; const scrollTop = getScrollTop(window); const topToPageTop = getElementTop(this.$el); @@ -102,12 +106,12 @@ export default createComponent({ if (container) { const bottomToPageTop = topToPageTop + container.offsetHeight; - if (scrollTop + offsetTop + this.height > bottomToPageTop) { + if (scrollTop + offsetTopPx + this.height > bottomToPageTop) { const distanceToBottom = this.height + scrollTop - bottomToPageTop; if (distanceToBottom < this.height) { this.fixed = true; - this.transform = -(distanceToBottom + offsetTop); + this.transform = -(distanceToBottom + offsetTopPx); } else { this.fixed = false; } @@ -117,7 +121,7 @@ export default createComponent({ } } - if (scrollTop + offsetTop > topToPageTop) { + if (scrollTop + offsetTopPx > topToPageTop) { this.fixed = true; this.transform = 0; } else { diff --git a/src/sticky/test/__snapshots__/index.spec.js.snap b/src/sticky/test/__snapshots__/index.spec.js.snap index b76533137..be6374a1d 100644 --- a/src/sticky/test/__snapshots__/index.spec.js.snap +++ b/src/sticky/test/__snapshots__/index.spec.js.snap @@ -28,6 +28,14 @@ exports[`offset-top prop 1`] = ` </div> `; +exports[`offset-top with rem unit 1`] = ` +<div style="height: 10px;"> + <div class="van-sticky van-sticky--fixed" style="top: 16px;"> + Content + </div> +</div> +`; + exports[`sticky to top 1`] = ` <div style="height: 10px;"> <div class="van-sticky"> diff --git a/src/sticky/test/index.spec.js b/src/sticky/test/index.spec.js index 0e23111db..7fb2de770 100644 --- a/src/sticky/test/index.spec.js +++ b/src/sticky/test/index.spec.js @@ -43,6 +43,26 @@ test('offset-top prop', () => { mockScrollTop(0); }); +test('offset-top with rem unit', () => { + const originGetComputedStyle = window.getComputedStyle; + + window.getComputedStyle = () => ({ fontSize: '16px' }); + + const wrapper = mount({ + template: ` + <van-sticky style="height: 10px;" offset-top="1rem"> + Content + </van-sticky> + `, + }); + + mockScrollTop(100); + expect(wrapper).toMatchSnapshot(); + mockScrollTop(0); + + window.getComputedStyle = originGetComputedStyle; +}); + test('should not trigger scroll event when hidden', () => { const scroll = jest.fn(); mount({ From 95313ef45920ae0c4c9d9e13020ad3001c68f022 Mon Sep 17 00:00:00 2001 From: neverland <chenjiahan@youzan.com> Date: Thu, 18 Jun 2020 20:57:42 +0800 Subject: [PATCH 54/58] feat(Field): add format-trigger prop (#6566) --- src/field/README.md | 15 ++++++-- src/field/README.zh-CN.md | 35 ++++++++++++------- src/field/demo/FormatValue.vue | 18 ++++++++-- src/field/index.js | 15 ++++---- .../test/__snapshots__/demo.spec.js.snap | 8 ++++- src/field/test/index.spec.js | 23 ++++++++++++ 6 files changed, 87 insertions(+), 27 deletions(-) diff --git a/src/field/README.md b/src/field/README.md index 76815940b..6f3fa2e84 100644 --- a/src/field/README.md +++ b/src/field/README.md @@ -139,10 +139,17 @@ Use `formatter` prop to format the input value ```html <van-field - v-model="value" + v-model="value1" label="Text" :formatter="formatter" - placeholder="Format Value" + placeholder="Format On Change" +/> +<van-field + v-model="value2" + label="Text" + :formatter="formatter" + format-trigger="onBlur" + placeholder="Format On Blur" /> ``` @@ -150,7 +157,8 @@ Use `formatter` prop to format the input value export default { data() { return { - value: '', + value1: '', + value2: '', }; }, methods: { @@ -230,6 +238,7 @@ Use `input-align` prop to align the input value | error | Whether to show error info | _boolean_ | `false` | | error-message | Error message | _string_ | - | | formatter `v2.4.2` | Input value formatter | _Function_ | - | +| format-trigger `v2.8.7` | When to format value,can be set to `onBlur` | _string_ | `onChange` | | arrow-direction `v2.0.4` | Can be set to `left` `up` `down` | _string_ | `right` | | label-class | Label className | _any_ | - | | label-width | Label width | _number \| string_ | `90px` | diff --git a/src/field/README.zh-CN.md b/src/field/README.zh-CN.md index 8868a6786..e783b24b7 100644 --- a/src/field/README.zh-CN.md +++ b/src/field/README.zh-CN.md @@ -17,7 +17,7 @@ Vue.use(Field); ### 基础用法 -可以通过`v-model`双向绑定输入框的值,通过`placeholder`设置占位提示文字 +可以通过 `v-model` 双向绑定输入框的值,通过 `placeholder` 设置占位提示文字。 ```html <!-- Field 是基于 Cell 实现的,可以使用 CellGroup 作为容器来提供外边框。 --> @@ -38,7 +38,7 @@ export default { ### 自定义类型 -根据`type`属性定义不同类型的输入框,默认值为`text` +根据 `type` 属性定义不同类型的输入框,默认值为 `text`。 ```html <!-- 输入任意文本 --> @@ -71,7 +71,7 @@ export default { ### 禁用输入框 -通过`readonly`将输入框设置为只读状态,通过`disabled`将输入框设置为禁用状态 +通过 `readonly` 将输入框设置为只读状态,通过 `disabled` 将输入框设置为禁用状态。 ```html <van-cell-group> @@ -82,7 +82,7 @@ export default { ### 显示图标 -通过`left-icon`和`right-icon`配置输入框两侧的图标,通过设置`clearable`在输入过程中展示清除图标 +通过 `left-icon` 和 `right-icon` 配置输入框两侧的图标,通过设置 `clearable` 在输入过程中展示清除图标。 ```html <van-cell-group> @@ -116,7 +116,7 @@ export default { ### 错误提示 -设置`required`属性表示这是一个必填项,可以配合`error`或`error-message`属性显示对应的错误提示 +设置 `required` 属性表示这是一个必填项,可以配合 `error` 或 `error-message` 属性显示对应的错误提示。 ```html <van-cell-group> @@ -139,7 +139,7 @@ export default { ### 插入按钮 -通过 button 插槽可以在输入框尾部插入按钮 +通过 button 插槽可以在输入框尾部插入按钮。 ```html <van-field @@ -157,14 +157,21 @@ export default { ### 格式化输入内容 -通过`formatter`属性可以对输入的内容进行格式化 +通过 `formatter` 属性可以对输入的内容进行格式化,通过 `format-trigger` 属性可以指定执行格式化的时机,默认在输入时进行格式化。 ```html <van-field - v-model="value" + v-model="value1" label="文本" :formatter="formatter" - placeholder="格式化输入内容" + placeholder="在输入时执行格式化" +/> +<van-field + v-model="value2" + label="文本" + :formatter="formatter" + format-trigger="onBlur" + placeholder="在失焦时执行格式化" /> ``` @@ -172,7 +179,8 @@ export default { export default { data() { return { - value: '', + value1: '', + value2: '', }; }, methods: { @@ -186,7 +194,7 @@ export default { ### 高度自适应 -对于 textarea,可以通过`autosize`属性设置高度自适应 +对于 textarea,可以通过 `autosize` 属性设置高度自适应。 ```html <van-field @@ -201,7 +209,7 @@ export default { ### 显示字数统计 -设置`maxlength`和`show-word-limit`属性后会在底部显示字数统计 +设置 `maxlength` 和 `show-word-limit` 属性后会在底部显示字数统计。 ```html <van-field @@ -218,7 +226,7 @@ export default { ### 输入框内容对齐 -通过`input-align`属性可以设置输入框内容的对齐方式,可选值为`center`、`right` +通过 `input-align` 属性可以设置输入框内容的对齐方式,可选值为 `center`、`right`。 ```html <van-field @@ -255,6 +263,7 @@ export default { | error | 是否将输入内容标红 | _boolean_ | `false` | | error-message | 底部错误提示文案,为空时不展示 | _string_ | - | | formatter `v2.4.2` | 输入内容格式化函数 | _Function_ | - | +| format-trigger `v2.8.7` | 格式化函数触发的时机,可选值为 `onBlur` | _string_ | `onChange` | | arrow-direction `v2.0.4` | 箭头方向,可选值为 `left` `up` `down` | _string_ | `right` | | label-class | 左侧文本额外类名 | _any_ | - | | label-width | 左侧文本宽度,默认单位为`px` | _number \| string_ | `90px` | diff --git a/src/field/demo/FormatValue.vue b/src/field/demo/FormatValue.vue index b750607b4..20c10269f 100644 --- a/src/field/demo/FormatValue.vue +++ b/src/field/demo/FormatValue.vue @@ -1,10 +1,17 @@ <template> <demo-block v-if="!isWeapp" :title="t('formatValue')"> <van-field - v-model="formatValue" + v-model="value1" :label="t('text')" :formatter="formatter" - :placeholder="t('formatValue')" + :placeholder="t('formatOnChange')" + /> + <van-field + v-model="value2" + :label="t('text')" + :formatter="formatter" + format-trigger="onBlur" + :placeholder="t('formatOnBlur')" /> </demo-block> </template> @@ -15,16 +22,21 @@ export default { 'zh-CN': { text: '文本', formatValue: '格式化输入内容', + formatOnBlur: '在失焦时执行格式化', + formatOnChange: '在输入时执行格式化', }, 'en-US': { text: 'Text', formatValue: 'Format Value', + formatOnBlur: 'Format On Blur', + formatOnChange: 'Format On Change', }, }, data() { return { - formatValue: '', + value1: '', + value2: '', }; }, diff --git a/src/field/index.js b/src/field/index.js index cea638edf..e09db69b2 100644 --- a/src/field/index.js +++ b/src/field/index.js @@ -69,6 +69,10 @@ export default createComponent({ type: Boolean, default: null, }, + formatTrigger: { + type: String, + default: 'onChange', + }, }, data() { @@ -89,7 +93,7 @@ export default createComponent({ }, mounted() { - this.updateValue(this.value); + this.updateValue(this.value, this.formatTrigger); this.$nextTick(this.adjustSize); if (this.vanForm) { @@ -279,13 +283,9 @@ export default createComponent({ } }, - updateValue(value) { + updateValue(value, trigger = 'onChange') { value = isDef(value) ? String(value) : ''; - if (value === this.currentValue) { - return; - } - // native maxlength not work when type is number const { maxlength } = this; if (isDef(maxlength) && value.length > maxlength) { @@ -297,7 +297,7 @@ export default createComponent({ value = formatNumber(value, allowDot); } - if (this.formatter) { + if (this.formatter && trigger === this.formatTrigger) { value = this.formatter(value); } @@ -335,6 +335,7 @@ export default createComponent({ onBlur(event) { this.focused = false; + this.updateValue(this.value, 'onBlur'); this.$emit('blur', event); this.validateWithTrigger('onBlur'); resetScroll(); diff --git a/src/field/test/__snapshots__/demo.spec.js.snap b/src/field/test/__snapshots__/demo.spec.js.snap index 508c4b48b..3bb3a66f1 100644 --- a/src/field/test/__snapshots__/demo.spec.js.snap +++ b/src/field/test/__snapshots__/demo.spec.js.snap @@ -112,7 +112,13 @@ exports[`renders demo correctly 1`] = ` <div class="van-cell van-field"> <div class="van-cell__title van-field__label"><span>文本</span></div> <div class="van-cell__value van-field__value"> - <div class="van-field__body"><input type="text" placeholder="格式化输入内容" class="van-field__control"></div> + <div class="van-field__body"><input type="text" placeholder="在输入时执行格式化" class="van-field__control"></div> + </div> + </div> + <div class="van-cell van-field"> + <div class="van-cell__title van-field__label"><span>文本</span></div> + <div class="van-cell__value van-field__value"> + <div class="van-field__body"><input type="text" placeholder="在失焦时执行格式化" class="van-field__control"></div> </div> </div> </div> diff --git a/src/field/test/index.spec.js b/src/field/test/index.spec.js index 9867377e4..8f3a087c8 100644 --- a/src/field/test/index.spec.js +++ b/src/field/test/index.spec.js @@ -297,6 +297,29 @@ test('formatter prop', () => { expect(wrapper.emitted('input')[1][0]).toEqual('efg'); }); +test('format-trigger prop', () => { + const wrapper = mount(Field, { + propsData: { + value: 'abc123', + formatTrigger: 'onBlur', + formatter: (value) => value.replace(/\d/g, ''), + }, + }); + + wrapper.vm.$on('input', (value) => { + wrapper.setProps({ value }); + }); + + expect(wrapper.emitted('input')[0][0]).toEqual('abc'); + + const input = wrapper.find('input'); + input.element.value = '123efg'; + input.trigger('input'); + expect(wrapper.emitted('input')[1][0]).toEqual('123efg'); + input.trigger('blur'); + expect(wrapper.emitted('input')[2][0]).toEqual('efg'); +}); + test('reach max word-limit', () => { const wrapper = mount(Field, { propsData: { From 9b0f23e2da1a5a59697607e57ee90f93974578d5 Mon Sep 17 00:00:00 2001 From: neverland <chenjiahan@youzan.com> Date: Fri, 19 Jun 2020 06:13:46 +0800 Subject: [PATCH 55/58] feat(Dialog): add allow-html prop (#6568) --- src/dialog/Dialog.js | 48 ++++++++++++------- src/dialog/index.js | 1 + .../test/__snapshots__/index.spec.js.snap | 2 + src/dialog/test/index.spec.js | 11 +++++ types/dialog.d.ts | 1 + 5 files changed, 46 insertions(+), 17 deletions(-) diff --git a/src/dialog/Dialog.js b/src/dialog/Dialog.js index cb109e82f..7c341c609 100644 --- a/src/dialog/Dialog.js +++ b/src/dialog/Dialog.js @@ -37,6 +37,10 @@ export default createComponent({ type: Boolean, default: false, }, + allowHtml: { + type: Boolean, + default: true, + }, }, data() { @@ -124,6 +128,31 @@ export default createComponent({ </div> ); }, + + genContent(hasTitle, messageSlot) { + if (messageSlot) { + return <div class={bem('content')}>{messageSlot}</div>; + } + + const { message, messageAlign } = this; + if (message) { + const data = { + class: bem('message', { + 'has-title': hasTitle, + [messageAlign]: messageAlign, + }), + domProps: { + [this.allowHtml ? 'innerHTML' : 'textContent']: message, + }, + }; + + return ( + <div class={bem('content')}> + <div {...data} /> + </div> + ); + } + }, }, render() { @@ -131,30 +160,15 @@ export default createComponent({ return; } - const { message, messageAlign } = this; + const { message } = this; const messageSlot = this.slots(); const title = this.slots('title') || this.title; - const Title = title && ( <div class={bem('header', { isolated: !message && !messageSlot })}> {title} </div> ); - const Content = (messageSlot || message) && ( - <div class={bem('content')}> - {messageSlot || ( - <div - domPropsInnerHTML={message} - class={bem('message', { - 'has-title': title, - [messageAlign]: messageAlign, - })} - /> - )} - </div> - ); - return ( <transition name={this.transition} @@ -169,7 +183,7 @@ export default createComponent({ style={{ width: addUnit(this.width) }} > {Title} - {Content} + {this.genContent(title, messageSlot)} {this.genButtons()} </div> </transition> diff --git a/src/dialog/index.js b/src/dialog/index.js index 855ebce8a..474273ab8 100644 --- a/src/dialog/index.js +++ b/src/dialog/index.js @@ -51,6 +51,7 @@ Dialog.defaultOptions = { message: '', overlay: true, className: '', + allowHtml: true, lockScroll: true, transition: 'van-dialog-bounce', beforeClose: null, diff --git a/src/dialog/test/__snapshots__/index.spec.js.snap b/src/dialog/test/__snapshots__/index.spec.js.snap index 09ae657df..192952907 100644 --- a/src/dialog/test/__snapshots__/index.spec.js.snap +++ b/src/dialog/test/__snapshots__/index.spec.js.snap @@ -1,5 +1,7 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP +exports[`allow-html prop 1`] = `<div class="van-dialog__message"><span>text</span></div>`; + exports[`button color 1`] = ` <div role="dialog" class="van-dialog" name="van-dialog-bounce"> <div class="van-hairline--top van-dialog__footer van-dialog__footer--buttons"><button class="van-button van-button--default van-button--large van-dialog__cancel" style="color: white;"> diff --git a/src/dialog/test/index.spec.js b/src/dialog/test/index.spec.js index 476433ad4..a64bc5116 100644 --- a/src/dialog/test/index.spec.js +++ b/src/dialog/test/index.spec.js @@ -127,6 +127,17 @@ test('title slot', () => { expect(wrapper).toMatchSnapshot(); }); +test('allow-html prop', () => { + const wrapper = mount(DialogComponent, { + propsData: { + value: true, + message: '<span>text</span>', + allowHtml: false, + }, + }); + expect(wrapper.find('.van-dialog__message')).toMatchSnapshot(); +}); + test('open & close event', () => { const wrapper = mount(DialogComponent); wrapper.vm.value = true; diff --git a/types/dialog.d.ts b/types/dialog.d.ts index b7a81ec5b..3ff765f1c 100644 --- a/types/dialog.d.ts +++ b/types/dialog.d.ts @@ -9,6 +9,7 @@ export type DialogOptions = { message?: string; overlay?: boolean; className?: any; + allowHtml?: boolean; lockScroll?: boolean; transition?: string; messageAlign?: string; From fe1ba1318b2bdc3f0aa945a1965084ced72f0ea3 Mon Sep 17 00:00:00 2001 From: neverland <chenjiahan@youzan.com> Date: Fri, 19 Jun 2020 06:16:56 +0800 Subject: [PATCH 56/58] chore(Picker): prefer using textContent (#6569) --- src/picker/PickerColumn.js | 2 +- .../test/__snapshots__/index.spec.js.snap | 30 +++++++++---------- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/src/picker/PickerColumn.js b/src/picker/PickerColumn.js index bc3ee03df..e6a91317e 100644 --- a/src/picker/PickerColumn.js +++ b/src/picker/PickerColumn.js @@ -285,7 +285,7 @@ export default createComponent({ const childData = { class: 'van-ellipsis', domProps: { - [this.allowHtml ? 'innerHTML' : 'innerText']: text, + [this.allowHtml ? 'innerHTML' : 'textContent']: text, }, }; diff --git a/src/picker/test/__snapshots__/index.spec.js.snap b/src/picker/test/__snapshots__/index.spec.js.snap index 2a6f8bb0d..fe9515293 100644 --- a/src/picker/test/__snapshots__/index.spec.js.snap +++ b/src/picker/test/__snapshots__/index.spec.js.snap @@ -4,25 +4,25 @@ exports[`column watch default index 1`] = ` <div class="van-picker-column"> <ul class="van-picker-column__wrapper" style="transform: translate3d(0, 100px, 0); transition-duration: 0ms; transition-property: none;"> <li role="button" tabindex="-1" class="van-picker-column__item van-picker-column__item--disabled van-picker-column__item--selected" style="height: 50px;"> - <div class="van-ellipsis"></div> + <div class="van-ellipsis">1</div> </li> <li role="button" tabindex="0" class="van-picker-column__item" style="height: 50px;"> - <div class="van-ellipsis"></div> + <div class="van-ellipsis">1990</div> </li> <li role="button" tabindex="0" class="van-picker-column__item" style="height: 50px;"> - <div class="van-ellipsis"></div> + <div class="van-ellipsis">1991</div> </li> <li role="button" tabindex="0" class="van-picker-column__item" style="height: 50px;"> - <div class="van-ellipsis"></div> + <div class="van-ellipsis">1992</div> </li> <li role="button" tabindex="0" class="van-picker-column__item" style="height: 50px;"> - <div class="van-ellipsis"></div> + <div class="van-ellipsis">1993</div> </li> <li role="button" tabindex="0" class="van-picker-column__item" style="height: 50px;"> - <div class="van-ellipsis"></div> + <div class="van-ellipsis">1994</div> </li> <li role="button" tabindex="0" class="van-picker-column__item" style="height: 50px;"> - <div class="van-ellipsis"></div> + <div class="van-ellipsis">1995</div> </li> </ul> </div> @@ -32,25 +32,25 @@ exports[`column watch default index 2`] = ` <div class="van-picker-column"> <ul class="van-picker-column__wrapper" style="transform: translate3d(0, 0px, 0); transition-duration: 0ms; transition-property: none;"> <li role="button" tabindex="-1" class="van-picker-column__item van-picker-column__item--disabled" style="height: 50px;"> - <div class="van-ellipsis"></div> + <div class="van-ellipsis">1</div> </li> <li role="button" tabindex="0" class="van-picker-column__item" style="height: 50px;"> - <div class="van-ellipsis"></div> + <div class="van-ellipsis">1990</div> </li> <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected" style="height: 50px;"> - <div class="van-ellipsis"></div> + <div class="van-ellipsis">1991</div> </li> <li role="button" tabindex="0" class="van-picker-column__item" style="height: 50px;"> - <div class="van-ellipsis"></div> + <div class="van-ellipsis">1992</div> </li> <li role="button" tabindex="0" class="van-picker-column__item" style="height: 50px;"> - <div class="van-ellipsis"></div> + <div class="van-ellipsis">1993</div> </li> <li role="button" tabindex="0" class="van-picker-column__item" style="height: 50px;"> - <div class="van-ellipsis"></div> + <div class="van-ellipsis">1994</div> </li> <li role="button" tabindex="0" class="van-picker-column__item" style="height: 50px;"> - <div class="van-ellipsis"></div> + <div class="van-ellipsis">1995</div> </li> </ul> </div> @@ -77,7 +77,7 @@ exports[`not allow html 1`] = ` <div class="van-picker-column"> <ul class="van-picker-column__wrapper" style="transform: translate3d(0, 88px, 0); transition-duration: 0ms; transition-property: none;"> <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected" style="height: 44px;"> - <div class="van-ellipsis"></div> + <div class="van-ellipsis"><div>option</div></div> </li> </ul> </div> From 717352b4537cf6206b0b00896f7baa595c4e1a7d Mon Sep 17 00:00:00 2001 From: neverland <chenjiahan@youzan.com> Date: Fri, 19 Jun 2020 06:21:18 +0800 Subject: [PATCH 57/58] docs(Tab): add offset-top rem unit desc (#6570) --- src/tab/README.md | 2 +- src/tab/README.zh-CN.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tab/README.md b/src/tab/README.md index 98e48b913..ef80688fb 100644 --- a/src/tab/README.md +++ b/src/tab/README.md @@ -205,7 +205,7 @@ In scrollspy mode, the list of content will be tiled | swipeable | Whether to switch tabs with swipe gestrue in the content | _boolean_ | `false` | | lazy-render | Whether to enable tab content lazy render | _boolean_ | `true` | | scrollspy `v2.3.0` | Whether to use scrollspy mode | _boolean_ | `false` | -| offset-top | Offset top when use sticky mode | _number \| string_ | `0` | +| offset-top `v2.8.7` | Sticky offset top , supports `px` ans `rem` unit, default `px` | _number \| string_ | `0` | | swipe-threshold | Set swipe tabs threshold | _number \| string_ | `4` | - | | title-active-color | Title active color | _string_ | - | | title-inactive-color | Title inactive color | _string_ | - | diff --git a/src/tab/README.zh-CN.md b/src/tab/README.zh-CN.md index d7601af9e..db16f8397 100644 --- a/src/tab/README.zh-CN.md +++ b/src/tab/README.zh-CN.md @@ -209,7 +209,7 @@ export default { | swipeable | 是否开启手势滑动切换 | _boolean_ | `false` | | lazy-render | 是否开启延迟渲染(首次切换到标签时才触发内容渲染) | _boolean_ | `true` | | scrollspy `v2.3.0` | 是否开启滚动导航 | _boolean_ | `false` | -| offset-top | 粘性定位布局下与顶部的最小距离,单位`px` | _number \| string_ | `0` | +| offset-top `v2.8.7` | 粘性定位布局下与顶部的最小距离,支持 `px` 和 `rem` 单位,默认 `px` | _number \| string_ | `0` | | swipe-threshold | 滚动阈值,标签数量超过阈值时开始横向滚动 | _number \| string_ | `4` | | title-active-color | 标题选中态颜色 | _string_ | - | | title-inactive-color | 标题默认态颜色 | _string_ | - | From 99db42372c3491e7cfb7729a60fecfce5f48c34c Mon Sep 17 00:00:00 2001 From: neverland <chenjiahan@youzan.com> Date: Fri, 19 Jun 2020 06:36:23 +0800 Subject: [PATCH 58/58] style(Picker): add @picker-option-height less var (#6571) --- src/area/test/__snapshots__/demo.spec.js.snap | 362 ++++----- .../test/__snapshots__/index.spec.js.snap | 102 +-- .../__snapshots__/date-picker.spec.js.snap | 106 +-- .../datetime-picker.spec.js.snap | 8 +- .../test/__snapshots__/demo.spec.js.snap | 700 +++++++++--------- .../__snapshots__/time-picker.spec.js.snap | 64 +- src/picker/PickerColumn.js | 9 +- src/picker/index.js | 4 +- src/picker/index.less | 1 + src/picker/shared.ts | 9 +- .../test/__snapshots__/demo.spec.js.snap | 82 +- .../test/__snapshots__/index.spec.js.snap | 2 +- src/style/var.less | 1 + 13 files changed, 727 insertions(+), 723 deletions(-) diff --git a/src/area/test/__snapshots__/demo.spec.js.snap b/src/area/test/__snapshots__/demo.spec.js.snap index 1853af53c..365eedbdf 100644 --- a/src/area/test/__snapshots__/demo.spec.js.snap +++ b/src/area/test/__snapshots__/demo.spec.js.snap @@ -11,168 +11,168 @@ exports[`renders demo correctly 1`] = ` <div class="van-picker__columns" style="height: 220px;"> <div class="van-picker-column"> <ul class="van-picker-column__wrapper" style="transform: translate3d(0, 88px, 0); transition-duration: 0ms; transition-property: none;"> - <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected"> <div class="van-ellipsis">北京市</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">天津市</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">河北省</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">山西省</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">内蒙古自治区</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">辽宁省</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">吉林省</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">黑龙江省</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">上海市</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">江苏省</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">浙江省</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">安徽省</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">福建省</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">江西省</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">山东省</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">河南省</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">湖北省</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">湖南省</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">广东省</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">广西壮族自治区</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">海南省</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">重庆市</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">四川省</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">贵州省</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">云南省</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">西藏自治区</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">陕西省</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">甘肃省</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">青海省</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">宁夏回族自治区</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">新疆维吾尔自治区</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">台湾省</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">香港特别行政区</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">澳门特别行政区</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">海外</div> </li> </ul> </div> <div class="van-picker-column"> <ul class="van-picker-column__wrapper" style="transform: translate3d(0, 88px, 0); transition-duration: 0ms; transition-property: none;"> - <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected"> <div class="van-ellipsis">北京市</div> </li> </ul> </div> <div class="van-picker-column"> <ul class="van-picker-column__wrapper" style="transform: translate3d(0, 88px, 0); transition-duration: 0ms; transition-property: none;"> - <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected"> <div class="van-ellipsis">东城区</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">西城区</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">朝阳区</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">丰台区</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">石景山区</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">海淀区</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">门头沟区</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">房山区</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">通州区</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">顺义区</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">昌平区</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">大兴区</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">怀柔区</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">平谷区</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">密云区</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">延庆区</div> </li> </ul> @@ -192,183 +192,183 @@ exports[`renders demo correctly 1`] = ` <div class="van-picker__columns" style="height: 220px;"> <div class="van-picker-column"> <ul class="van-picker-column__wrapper" style="transform: translate3d(0, -352px, 0); transition-duration: 0ms; transition-property: none;"> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">北京市</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">天津市</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">河北省</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">山西省</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">内蒙古自治区</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">辽宁省</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">吉林省</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">黑龙江省</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">上海市</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">江苏省</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected"> <div class="van-ellipsis">浙江省</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">安徽省</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">福建省</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">江西省</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">山东省</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">河南省</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">湖北省</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">湖南省</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">广东省</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">广西壮族自治区</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">海南省</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">重庆市</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">四川省</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">贵州省</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">云南省</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">西藏自治区</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">陕西省</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">甘肃省</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">青海省</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">宁夏回族自治区</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">新疆维吾尔自治区</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">台湾省</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">香港特别行政区</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">澳门特别行政区</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">海外</div> </li> </ul> </div> <div class="van-picker-column"> <ul class="van-picker-column__wrapper" style="transform: translate3d(0, 0px, 0); transition-duration: 0ms; transition-property: none;"> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">杭州市</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">宁波市</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected"> <div class="van-ellipsis">温州市</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">嘉兴市</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">湖州市</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">绍兴市</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">金华市</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">衢州市</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">舟山市</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">台州市</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">丽水市</div> </li> </ul> </div> <div class="van-picker-column"> <ul class="van-picker-column__wrapper" style="transform: translate3d(0, 88px, 0); transition-duration: 0ms; transition-property: none;"> - <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected"> <div class="van-ellipsis">鹿城区</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">龙湾区</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">瓯海区</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">洞头区</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">永嘉县</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">平阳县</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">苍南县</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">文成县</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">泰顺县</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">瑞安市</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">乐清市</div> </li> </ul> @@ -388,116 +388,116 @@ exports[`renders demo correctly 1`] = ` <div class="van-picker__columns" style="height: 220px;"> <div class="van-picker-column"> <ul class="van-picker-column__wrapper" style="transform: translate3d(0, 88px, 0); transition-duration: 0ms; transition-property: none;"> - <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected"> <div class="van-ellipsis">北京市</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">天津市</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">河北省</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">山西省</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">内蒙古自治区</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">辽宁省</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">吉林省</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">黑龙江省</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">上海市</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">江苏省</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">浙江省</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">安徽省</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">福建省</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">江西省</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">山东省</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">河南省</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">湖北省</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">湖南省</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">广东省</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">广西壮族自治区</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">海南省</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">重庆市</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">四川省</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">贵州省</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">云南省</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">西藏自治区</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">陕西省</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">甘肃省</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">青海省</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">宁夏回族自治区</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">新疆维吾尔自治区</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">台湾省</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">香港特别行政区</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">澳门特别行政区</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">海外</div> </li> </ul> </div> <div class="van-picker-column"> <ul class="van-picker-column__wrapper" style="transform: translate3d(0, 88px, 0); transition-duration: 0ms; transition-property: none;"> - <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected"> <div class="van-ellipsis">北京市</div> </li> </ul> @@ -517,112 +517,112 @@ exports[`renders demo correctly 1`] = ` <div class="van-picker__columns" style="height: 220px;"> <div class="van-picker-column"> <ul class="van-picker-column__wrapper" style="transform: translate3d(0, 88px, 0); transition-duration: 0ms; transition-property: none;"> - <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected"> <div class="van-ellipsis">请选择</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">北京市</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">天津市</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">河北省</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">山西省</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">内蒙古自治区</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">辽宁省</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">吉林省</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">黑龙江省</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">上海市</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">江苏省</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">浙江省</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">安徽省</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">福建省</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">江西省</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">山东省</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">河南省</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">湖北省</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">湖南省</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">广东省</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">广西壮族自治区</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">海南省</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">重庆市</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">四川省</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">贵州省</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">云南省</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">西藏自治区</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">陕西省</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">甘肃省</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">青海省</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">宁夏回族自治区</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">新疆维吾尔自治区</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">台湾省</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">香港特别行政区</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">澳门特别行政区</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">海外</div> </li> </ul> diff --git a/src/area/test/__snapshots__/index.spec.js.snap b/src/area/test/__snapshots__/index.spec.js.snap index 2db538023..27ae6204a 100644 --- a/src/area/test/__snapshots__/index.spec.js.snap +++ b/src/area/test/__snapshots__/index.spec.js.snap @@ -7,30 +7,30 @@ exports[`change option 1`] = ` <div class="van-picker__columns" style="height: 220px;"> <div class="van-picker-column"> <ul class="van-picker-column__wrapper" style="transform: translate3d(0, 88px, 0); transition-duration: 0ms; transition-property: none;"> - <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected"> <div class="van-ellipsis">北京市</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">天津市</div> </li> </ul> </div> <div class="van-picker-column"> <ul class="van-picker-column__wrapper" style="transform: translate3d(0, 88px, 0); transition-duration: 0ms; transition-property: none;"> - <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected"> <div class="van-ellipsis">北京市</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">县</div> </li> </ul> </div> <div class="van-picker-column"> <ul class="van-picker-column__wrapper" style="transform: translate3d(0, 88px, 0); transition-duration: 0ms; transition-property: none;"> - <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected"> <div class="van-ellipsis">东城区</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">西城区</div> </li> </ul> @@ -49,30 +49,30 @@ exports[`change option 2`] = ` <div class="van-picker__columns" style="height: 220px;"> <div class="van-picker-column"> <ul class="van-picker-column__wrapper" style="transform: translate3d(0, 44px, 0); transition-duration: 0ms; transition-property: none;"> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">北京市</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected"> <div class="van-ellipsis">天津市</div> </li> </ul> </div> <div class="van-picker-column"> <ul class="van-picker-column__wrapper" style="transform: translate3d(0, 88px, 0); transition-duration: 0ms; transition-property: none;"> - <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected"> <div class="van-ellipsis">天津市</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">县</div> </li> </ul> </div> <div class="van-picker-column"> <ul class="van-picker-column__wrapper" style="transform: translate3d(0, 88px, 0); transition-duration: 0ms; transition-property: none;"> - <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected"> <div class="van-ellipsis">和平区</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">河东区</div> </li> </ul> @@ -91,30 +91,30 @@ exports[`change option 3`] = ` <div class="van-picker__columns" style="height: 220px;"> <div class="van-picker-column"> <ul class="van-picker-column__wrapper" style="transform: translate3d(0, 44px, 0); transition-duration: 0ms; transition-property: none;"> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">北京市</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected"> <div class="van-ellipsis">天津市</div> </li> </ul> </div> <div class="van-picker-column"> <ul class="van-picker-column__wrapper" style="transform: translate3d(0, 88px, 0); transition-duration: 0ms; transition-property: none;"> - <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected"> <div class="van-ellipsis">天津市</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">县</div> </li> </ul> </div> <div class="van-picker-column"> <ul class="van-picker-column__wrapper" style="transform: translate3d(0, 44px, 0); transition-duration: 0ms; transition-property: none;"> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">和平区</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected"> <div class="van-ellipsis">河东区</div> </li> </ul> @@ -133,20 +133,20 @@ exports[`columns-num prop 1`] = ` <div class="van-picker__columns" style="height: 220px;"> <div class="van-picker-column"> <ul class="van-picker-column__wrapper" style="transform: translate3d(0, 88px, 0); transition-duration: 0ms; transition-property: none;"> - <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected"> <div class="van-ellipsis">北京市</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">天津市</div> </li> </ul> </div> <div class="van-picker-column"> <ul class="van-picker-column__wrapper" style="transform: translate3d(0, 88px, 0); transition-duration: 0ms; transition-property: none;"> - <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected"> <div class="van-ellipsis">北京市</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">县</div> </li> </ul> @@ -185,27 +185,27 @@ exports[`reset method 1`] = ` <div class="van-picker__columns" style="height: 220px;"> <div class="van-picker-column"> <ul class="van-picker-column__wrapper" style="transform: translate3d(0, 44px, 0); transition-duration: 0ms; transition-property: none;"> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">北京市</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected"> <div class="van-ellipsis">天津市</div> </li> </ul> </div> <div class="van-picker-column"> <ul class="van-picker-column__wrapper" style="transform: translate3d(0, 44px, 0); transition-duration: 0ms; transition-property: none;"> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">天津市</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected"> <div class="van-ellipsis">县</div> </li> </ul> </div> <div class="van-picker-column"> <ul class="van-picker-column__wrapper" style="transform: translate3d(0, 88px, 0); transition-duration: 0ms; transition-property: none;"> - <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected"> <div class="van-ellipsis">蓟县</div> </li> </ul> @@ -224,30 +224,30 @@ exports[`reset method 2`] = ` <div class="van-picker__columns" style="height: 220px;"> <div class="van-picker-column"> <ul class="van-picker-column__wrapper" style="transform: translate3d(0, 88px, 0); transition-duration: 0ms; transition-property: none;"> - <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected"> <div class="van-ellipsis">北京市</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">天津市</div> </li> </ul> </div> <div class="van-picker-column"> <ul class="van-picker-column__wrapper" style="transform: translate3d(0, 88px, 0); transition-duration: 0ms; transition-property: none;"> - <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected"> <div class="van-ellipsis">北京市</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">县</div> </li> </ul> </div> <div class="van-picker-column"> <ul class="van-picker-column__wrapper" style="transform: translate3d(0, 88px, 0); transition-duration: 0ms; transition-property: none;"> - <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected"> <div class="van-ellipsis">东城区</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">西城区</div> </li> </ul> @@ -287,30 +287,30 @@ exports[`watch areaList & code 1`] = ` <div class="van-picker__columns" style="height: 220px;"> <div class="van-picker-column"> <ul class="van-picker-column__wrapper" style="transform: translate3d(0, 88px, 0); transition-duration: 0ms; transition-property: none;"> - <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected"> <div class="van-ellipsis">北京市</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">天津市</div> </li> </ul> </div> <div class="van-picker-column"> <ul class="van-picker-column__wrapper" style="transform: translate3d(0, 88px, 0); transition-duration: 0ms; transition-property: none;"> - <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected"> <div class="van-ellipsis">北京市</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">县</div> </li> </ul> </div> <div class="van-picker-column"> <ul class="van-picker-column__wrapper" style="transform: translate3d(0, 88px, 0); transition-duration: 0ms; transition-property: none;"> - <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected"> <div class="van-ellipsis">东城区</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">西城区</div> </li> </ul> @@ -329,30 +329,30 @@ exports[`watch areaList & code 2`] = ` <div class="van-picker__columns" style="height: 220px;"> <div class="van-picker-column"> <ul class="van-picker-column__wrapper" style="transform: translate3d(0, 88px, 0); transition-duration: 0ms; transition-property: none;"> - <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected"> <div class="van-ellipsis">北京市</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">天津市</div> </li> </ul> </div> <div class="van-picker-column"> <ul class="van-picker-column__wrapper" style="transform: translate3d(0, 88px, 0); transition-duration: 0ms; transition-property: none;"> - <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected"> <div class="van-ellipsis">北京市</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">县</div> </li> </ul> </div> <div class="van-picker-column"> <ul class="van-picker-column__wrapper" style="transform: translate3d(0, 88px, 0); transition-duration: 0ms; transition-property: none;"> - <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected"> <div class="van-ellipsis">东城区</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">西城区</div> </li> </ul> @@ -371,30 +371,30 @@ exports[`watch areaList & code 3`] = ` <div class="van-picker__columns" style="height: 220px;"> <div class="van-picker-column"> <ul class="van-picker-column__wrapper" style="transform: translate3d(0, 88px, 0); transition-duration: 0ms; transition-property: none;"> - <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected"> <div class="van-ellipsis">北京市</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">天津市</div> </li> </ul> </div> <div class="van-picker-column"> <ul class="van-picker-column__wrapper" style="transform: translate3d(0, 88px, 0); transition-duration: 0ms; transition-property: none;"> - <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected"> <div class="van-ellipsis">北京市</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">县</div> </li> </ul> </div> <div class="van-picker-column"> <ul class="van-picker-column__wrapper" style="transform: translate3d(0, 88px, 0); transition-duration: 0ms; transition-property: none;"> - <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected"> <div class="van-ellipsis">东城区</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">西城区</div> </li> </ul> diff --git a/src/datetime-picker/test/__snapshots__/date-picker.spec.js.snap b/src/datetime-picker/test/__snapshots__/date-picker.spec.js.snap index 1489ea5bc..63bec6352 100644 --- a/src/datetime-picker/test/__snapshots__/date-picker.spec.js.snap +++ b/src/datetime-picker/test/__snapshots__/date-picker.spec.js.snap @@ -7,98 +7,98 @@ exports[`filter prop 1`] = ` <div class="van-picker__columns" style="height: 220px;"> <div class="van-picker-column"> <ul class="van-picker-column__wrapper" style="transform: translate3d(0, 88px, 0); transition-duration: 0ms; transition-property: none;"> - <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected"> <div class="van-ellipsis">2020</div> </li> </ul> </div> <div class="van-picker-column"> <ul class="van-picker-column__wrapper" style="transform: translate3d(0, 88px, 0); transition-duration: 0ms; transition-property: none;"> - <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected"> <div class="van-ellipsis">05</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">10</div> </li> </ul> </div> <div class="van-picker-column"> <ul class="van-picker-column__wrapper" style="transform: translate3d(0, 88px, 0); transition-duration: 0ms; transition-property: none;"> - <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected"> <div class="van-ellipsis">05</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">10</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">15</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">20</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">25</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">30</div> </li> </ul> </div> <div class="van-picker-column"> <ul class="van-picker-column__wrapper" style="transform: translate3d(0, 88px, 0); transition-duration: 0ms; transition-property: none;"> - <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected"> <div class="van-ellipsis">00</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">05</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">10</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">15</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">20</div> </li> </ul> </div> <div class="van-picker-column"> <ul class="van-picker-column__wrapper" style="transform: translate3d(0, 88px, 0); transition-duration: 0ms; transition-property: none;"> - <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected"> <div class="van-ellipsis">00</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">05</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">10</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">15</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">20</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">25</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">30</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">35</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">40</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">45</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">50</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">55</div> </li> </ul> @@ -117,101 +117,101 @@ exports[`formatter prop 1`] = ` <div class="van-picker__columns" style="height: 220px;"> <div class="van-picker-column"> <ul class="van-picker-column__wrapper" style="transform: translate3d(0, 88px, 0); transition-duration: 0ms; transition-property: none;"> - <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected"> <div class="van-ellipsis">2010 year</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">2020 year</div> </li> </ul> </div> <div class="van-picker-column"> <ul class="van-picker-column__wrapper" style="transform: translate3d(0, 88px, 0); transition-duration: 0ms; transition-property: none;"> - <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected"> <div class="van-ellipsis">05 month</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">10 month</div> </li> </ul> </div> <div class="van-picker-column"> <ul class="van-picker-column__wrapper" style="transform: translate3d(0, 88px, 0); transition-duration: 0ms; transition-property: none;"> - <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected"> <div class="van-ellipsis">05 day</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">10 day</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">15 day</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">20 day</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">25 day</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">30 day</div> </li> </ul> </div> <div class="van-picker-column"> <ul class="van-picker-column__wrapper" style="transform: translate3d(0, 88px, 0); transition-duration: 0ms; transition-property: none;"> - <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected"> <div class="van-ellipsis">00 hour</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">05 hour</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">10 hour</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">15 hour</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">20 hour</div> </li> </ul> </div> <div class="van-picker-column"> <ul class="van-picker-column__wrapper" style="transform: translate3d(0, 88px, 0); transition-duration: 0ms; transition-property: none;"> - <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected"> <div class="van-ellipsis">00 minute</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">05 minute</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">10 minute</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">15 minute</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">20 minute</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">25 minute</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">30 minute</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">35 minute</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">40 minute</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">45 minute</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">50 minute</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">55 minute</div> </li> </ul> diff --git a/src/datetime-picker/test/__snapshots__/datetime-picker.spec.js.snap b/src/datetime-picker/test/__snapshots__/datetime-picker.spec.js.snap index 93186057a..4de4a262d 100644 --- a/src/datetime-picker/test/__snapshots__/datetime-picker.spec.js.snap +++ b/src/datetime-picker/test/__snapshots__/datetime-picker.spec.js.snap @@ -7,20 +7,20 @@ exports[`time type 1`] = ` <div class="van-picker__columns" style="height: 220px;"> <div class="van-picker-column"> <ul class="van-picker-column__wrapper" style="transform: translate3d(0, 88px, 0); transition-duration: 0ms; transition-property: none;"> - <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected"> <div class="van-ellipsis">22</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">23</div> </li> </ul> </div> <div class="van-picker-column"> <ul class="van-picker-column__wrapper" style="transform: translate3d(0, 88px, 0); transition-duration: 0ms; transition-property: none;"> - <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected"> <div class="van-ellipsis">58</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">59</div> </li> </ul> diff --git a/src/datetime-picker/test/__snapshots__/demo.spec.js.snap b/src/datetime-picker/test/__snapshots__/demo.spec.js.snap index 27f96fe12..410de92c6 100644 --- a/src/datetime-picker/test/__snapshots__/demo.spec.js.snap +++ b/src/datetime-picker/test/__snapshots__/demo.spec.js.snap @@ -11,159 +11,159 @@ exports[`renders demo correctly 1`] = ` <div class="van-picker__columns" style="height: 220px;"> <div class="van-picker-column"> <ul class="van-picker-column__wrapper" style="transform: translate3d(0, 88px, 0); transition-duration: 0ms; transition-property: none;"> - <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected"> <div class="van-ellipsis">2020</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">2021</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">2022</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">2023</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">2024</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">2025</div> </li> </ul> </div> <div class="van-picker-column"> <ul class="van-picker-column__wrapper" style="transform: translate3d(0, 88px, 0); transition-duration: 0ms; transition-property: none;"> - <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected"> <div class="van-ellipsis">01</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">02</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">03</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">04</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">05</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">06</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">07</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">08</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">09</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">10</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">11</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">12</div> </li> </ul> </div> <div class="van-picker-column"> <ul class="van-picker-column__wrapper" style="transform: translate3d(0, 88px, 0); transition-duration: 0ms; transition-property: none;"> - <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected"> <div class="van-ellipsis">01</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">02</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">03</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">04</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">05</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">06</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">07</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">08</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">09</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">10</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">11</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">12</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">13</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">14</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">15</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">16</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">17</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">18</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">19</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">20</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">21</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">22</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">23</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">24</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">25</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">26</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">27</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">28</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">29</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">30</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">31</div> </li> </ul> @@ -183,62 +183,62 @@ exports[`renders demo correctly 1`] = ` <div class="van-picker__columns" style="height: 220px;"> <div class="van-picker-column"> <ul class="van-picker-column__wrapper" style="transform: translate3d(0, 88px, 0); transition-duration: 0ms; transition-property: none;"> - <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected"> <div class="van-ellipsis">2020年</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">2021年</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">2022年</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">2023年</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">2024年</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">2025年</div> </li> </ul> </div> <div class="van-picker-column"> <ul class="van-picker-column__wrapper" style="transform: translate3d(0, 88px, 0); transition-duration: 0ms; transition-property: none;"> - <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected"> <div class="van-ellipsis">01月</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">02月</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">03月</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">04月</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">05月</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">06月</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">07月</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">08月</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">09月</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">10月</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">11月</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">12月</div> </li> </ul> @@ -258,137 +258,137 @@ exports[`renders demo correctly 1`] = ` <div class="van-picker__columns" style="height: 220px;"> <div class="van-picker-column"> <ul class="van-picker-column__wrapper" style="transform: translate3d(0, 88px, 0); transition-duration: 0ms; transition-property: none;"> - <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected"> <div class="van-ellipsis">01月</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">02月</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">03月</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">04月</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">05月</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">06月</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">07月</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">08月</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">09月</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">10月</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">11月</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">12月</div> </li> </ul> </div> <div class="van-picker-column"> <ul class="van-picker-column__wrapper" style="transform: translate3d(0, 88px, 0); transition-duration: 0ms; transition-property: none;"> - <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected"> <div class="van-ellipsis">01日</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">02日</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">03日</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">04日</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">05日</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">06日</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">07日</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">08日</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">09日</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">10日</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">11日</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">12日</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">13日</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">14日</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">15日</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">16日</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">17日</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">18日</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">19日</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">20日</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">21日</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">22日</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">23日</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">24日</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">25日</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">26日</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">27日</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">28日</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">29日</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">30日</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">31日</div> </li> </ul> @@ -408,221 +408,221 @@ exports[`renders demo correctly 1`] = ` <div class="van-picker__columns" style="height: 220px;"> <div class="van-picker-column"> <ul class="van-picker-column__wrapper" style="transform: translate3d(0, 0px, 0); transition-duration: 0ms; transition-property: none;"> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">10</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">11</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected"> <div class="van-ellipsis">12</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">13</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">14</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">15</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">16</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">17</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">18</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">19</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">20</div> </li> </ul> </div> <div class="van-picker-column"> <ul class="van-picker-column__wrapper" style="transform: translate3d(0, 88px, 0); transition-duration: 0ms; transition-property: none;"> - <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected"> <div class="van-ellipsis">00</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">01</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">02</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">03</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">04</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">05</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">06</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">07</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">08</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">09</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">10</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">11</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">12</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">13</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">14</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">15</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">16</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">17</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">18</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">19</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">20</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">21</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">22</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">23</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">24</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">25</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">26</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">27</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">28</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">29</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">30</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">31</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">32</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">33</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">34</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">35</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">36</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">37</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">38</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">39</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">40</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">41</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">42</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">43</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">44</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">45</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">46</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">47</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">48</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">49</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">50</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">51</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">52</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">53</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">54</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">55</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">56</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">57</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">58</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">59</div> </li> </ul> @@ -642,419 +642,419 @@ exports[`renders demo correctly 1`] = ` <div class="van-picker__columns" style="height: 220px;"> <div class="van-picker-column"> <ul class="van-picker-column__wrapper" style="transform: translate3d(0, 88px, 0); transition-duration: 0ms; transition-property: none;"> - <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected"> <div class="van-ellipsis">2020</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">2021</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">2022</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">2023</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">2024</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">2025</div> </li> </ul> </div> <div class="van-picker-column"> <ul class="van-picker-column__wrapper" style="transform: translate3d(0, 88px, 0); transition-duration: 0ms; transition-property: none;"> - <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected"> <div class="van-ellipsis">01</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">02</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">03</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">04</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">05</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">06</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">07</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">08</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">09</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">10</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">11</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">12</div> </li> </ul> </div> <div class="van-picker-column"> <ul class="van-picker-column__wrapper" style="transform: translate3d(0, 88px, 0); transition-duration: 0ms; transition-property: none;"> - <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected"> <div class="van-ellipsis">01</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">02</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">03</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">04</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">05</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">06</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">07</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">08</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">09</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">10</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">11</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">12</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">13</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">14</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">15</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">16</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">17</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">18</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">19</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">20</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">21</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">22</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">23</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">24</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">25</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">26</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">27</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">28</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">29</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">30</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">31</div> </li> </ul> </div> <div class="van-picker-column"> <ul class="van-picker-column__wrapper" style="transform: translate3d(0, 88px, 0); transition-duration: 0ms; transition-property: none;"> - <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected"> <div class="van-ellipsis">00</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">01</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">02</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">03</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">04</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">05</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">06</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">07</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">08</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">09</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">10</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">11</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">12</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">13</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">14</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">15</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">16</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">17</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">18</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">19</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">20</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">21</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">22</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">23</div> </li> </ul> </div> <div class="van-picker-column"> <ul class="van-picker-column__wrapper" style="transform: translate3d(0, 88px, 0); transition-duration: 0ms; transition-property: none;"> - <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected"> <div class="van-ellipsis">00</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">01</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">02</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">03</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">04</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">05</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">06</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">07</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">08</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">09</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">10</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">11</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">12</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">13</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">14</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">15</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">16</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">17</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">18</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">19</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">20</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">21</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">22</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">23</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">24</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">25</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">26</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">27</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">28</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">29</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">30</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">31</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">32</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">33</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">34</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">35</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">36</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">37</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">38</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">39</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">40</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">41</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">42</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">43</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">44</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">45</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">46</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">47</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">48</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">49</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">50</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">51</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">52</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">53</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">54</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">55</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">56</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">57</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">58</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">59</div> </li> </ul> @@ -1074,116 +1074,116 @@ exports[`renders demo correctly 1`] = ` <div class="van-picker__columns" style="height: 220px;"> <div class="van-picker-column"> <ul class="van-picker-column__wrapper" style="transform: translate3d(0, -440px, 0); transition-duration: 0ms; transition-property: none;"> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">00</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">01</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">02</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">03</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">04</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">05</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">06</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">07</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">08</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">09</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">10</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">11</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected"> <div class="van-ellipsis">12</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">13</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">14</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">15</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">16</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">17</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">18</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">19</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">20</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">21</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">22</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">23</div> </li> </ul> </div> <div class="van-picker-column"> <ul class="van-picker-column__wrapper" style="transform: translate3d(0, 88px, 0); transition-duration: 0ms; transition-property: none;"> - <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected"> <div class="van-ellipsis">00</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">05</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">10</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">15</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">20</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">25</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">30</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">35</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">40</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">45</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">50</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">55</div> </li> </ul> diff --git a/src/datetime-picker/test/__snapshots__/time-picker.spec.js.snap b/src/datetime-picker/test/__snapshots__/time-picker.spec.js.snap index ec25eb174..2bbdad980 100644 --- a/src/datetime-picker/test/__snapshots__/time-picker.spec.js.snap +++ b/src/datetime-picker/test/__snapshots__/time-picker.spec.js.snap @@ -7,41 +7,41 @@ exports[`filter prop 1`] = ` <div class="van-picker__columns" style="height: 220px;"> <div class="van-picker-column"> <ul class="van-picker-column__wrapper" style="transform: translate3d(0, 88px, 0); transition-duration: 0ms; transition-property: none;"> - <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected"> <div class="van-ellipsis">00</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">05</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">10</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">15</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">20</div> </li> </ul> </div> <div class="van-picker-column"> <ul class="van-picker-column__wrapper" style="transform: translate3d(0, 88px, 0); transition-duration: 0ms; transition-property: none;"> - <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected"> <div class="van-ellipsis">00</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">10</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">20</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">30</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">40</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">50</div> </li> </ul> @@ -60,20 +60,20 @@ exports[`format initial value 1`] = ` <div class="van-picker__columns" style="height: 220px;"> <div class="van-picker-column"> <ul class="van-picker-column__wrapper" style="transform: translate3d(0, 88px, 0); transition-duration: 0ms; transition-property: none;"> - <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected"> <div class="van-ellipsis">22</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">23</div> </li> </ul> </div> <div class="van-picker-column"> <ul class="van-picker-column__wrapper" style="transform: translate3d(0, 88px, 0); transition-duration: 0ms; transition-property: none;"> - <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected"> <div class="van-ellipsis">58</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">59</div> </li> </ul> @@ -92,41 +92,41 @@ exports[`formatter prop 1`] = ` <div class="van-picker__columns" style="height: 220px;"> <div class="van-picker-column"> <ul class="van-picker-column__wrapper" style="transform: translate3d(0, 88px, 0); transition-duration: 0ms; transition-property: none;"> - <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected"> <div class="van-ellipsis">00 hour</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">05 hour</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">10 hour</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">15 hour</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">20 hour</div> </li> </ul> </div> <div class="van-picker-column"> <ul class="van-picker-column__wrapper" style="transform: translate3d(0, 88px, 0); transition-duration: 0ms; transition-property: none;"> - <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected"> <div class="van-ellipsis">00 minute</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">10 minute</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">20 minute</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">30 minute</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">40 minute</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">50 minute</div> </li> </ul> @@ -145,26 +145,26 @@ exports[`max-hour & max-minute 1`] = ` <div class="van-picker__columns" style="height: 220px;"> <div class="van-picker-column"> <ul class="van-picker-column__wrapper" style="transform: translate3d(0, 88px, 0); transition-duration: 0ms; transition-property: none;"> - <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected"> <div class="van-ellipsis">00</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">01</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">02</div> </li> </ul> </div> <div class="van-picker-column"> <ul class="van-picker-column__wrapper" style="transform: translate3d(0, 88px, 0); transition-duration: 0ms; transition-property: none;"> - <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected"> <div class="van-ellipsis">00</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">01</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">02</div> </li> </ul> diff --git a/src/picker/PickerColumn.js b/src/picker/PickerColumn.js index e6a91317e..36cb892e5 100644 --- a/src/picker/PickerColumn.js +++ b/src/picker/PickerColumn.js @@ -3,6 +3,7 @@ import { createNamespace, isObject } from '../utils'; import { range } from '../utils/format/number'; import { preventDefault } from '../utils/dom/event'; import { TouchMixin } from '../mixins/touch'; +import { DEFAULT_ITEM_HEIGHT } from './shared'; const DEFAULT_DURATION = 200; @@ -255,9 +256,11 @@ export default createComponent({ }, genOptions() { - const optionStyle = { - height: `${this.itemHeight}px`, - }; + const optionStyle = {}; + + if (this.itemHeight !== DEFAULT_ITEM_HEIGHT) { + optionStyle.height = `${this.itemHeight}px`; + } return this.options.map((option, index) => { const text = this.getOptionText(option); diff --git a/src/picker/index.js b/src/picker/index.js index 638ded36a..59456f353 100644 --- a/src/picker/index.js +++ b/src/picker/index.js @@ -2,7 +2,7 @@ import { createNamespace, isDef, isObject } from '../utils'; import { preventDefault } from '../utils/dom/event'; import { BORDER_UNSET_TOP_BOTTOM } from '../utils/constant'; -import { pickerProps } from './shared'; +import { pickerProps, DEFAULT_ITEM_HEIGHT } from './shared'; import { unitToPx } from '../utils/format/unit'; // Components @@ -41,7 +41,7 @@ export default createComponent({ computed: { itemPxHeight() { - return unitToPx(this.itemHeight); + return this.itemHeight ? unitToPx(this.itemHeight) : DEFAULT_ITEM_HEIGHT; }, dataType() { diff --git a/src/picker/index.less b/src/picker/index.less index d845596af..02b88da46 100644 --- a/src/picker/index.less +++ b/src/picker/index.less @@ -104,6 +104,7 @@ display: flex; align-items: center; justify-content: center; + height: @picker-option-height; padding: 0 @padding-base; color: @picker-option-text-color; diff --git a/src/picker/shared.ts b/src/picker/shared.ts index 7e8e619e5..9df9467d7 100644 --- a/src/picker/shared.ts +++ b/src/picker/shared.ts @@ -1,16 +1,19 @@ export type SharedPickerProps = { title?: string; loading?: boolean; - itemHeight: number; + itemHeight?: number; showToolbar?: boolean; visibleItemCount: number | string; cancelButtonText?: string; confirmButtonText?: string; }; +export const DEFAULT_ITEM_HEIGHT = 44; + export const pickerProps = { title: String, loading: Boolean, + itemHeight: [Number, String], showToolbar: Boolean, cancelButtonText: String, confirmButtonText: String, @@ -22,10 +25,6 @@ export const pickerProps = { type: [Number, String], default: 5, }, - itemHeight: { - type: [Number, String], - default: 44, - }, swipeDuration: { type: [Number, String], default: 1000, diff --git a/src/picker/test/__snapshots__/demo.spec.js.snap b/src/picker/test/__snapshots__/demo.spec.js.snap index ef31702d1..bdcb22726 100644 --- a/src/picker/test/__snapshots__/demo.spec.js.snap +++ b/src/picker/test/__snapshots__/demo.spec.js.snap @@ -11,19 +11,19 @@ exports[`renders demo correctly 1`] = ` <div class="van-picker__columns" style="height: 220px;"> <div class="van-picker-column"> <ul class="van-picker-column__wrapper" style="transform: translate3d(0, 88px, 0); transition-duration: 0ms; transition-property: none;"> - <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected"> <div class="van-ellipsis">杭州</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">宁波</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">温州</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">嘉兴</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">湖州</div> </li> </ul> @@ -43,19 +43,19 @@ exports[`renders demo correctly 1`] = ` <div class="van-picker__columns" style="height: 220px;"> <div class="van-picker-column"> <ul class="van-picker-column__wrapper" style="transform: translate3d(0, 0px, 0); transition-duration: 0ms; transition-property: none;"> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">杭州</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">宁波</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected"> <div class="van-ellipsis">温州</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">嘉兴</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">湖州</div> </li> </ul> @@ -75,32 +75,32 @@ exports[`renders demo correctly 1`] = ` <div class="van-picker__columns" style="height: 220px;"> <div class="van-picker-column"> <ul class="van-picker-column__wrapper" style="transform: translate3d(0, 0px, 0); transition-duration: 0ms; transition-property: none;"> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">周一</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">周二</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected"> <div class="van-ellipsis">周三</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">周四</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">周五</div> </li> </ul> </div> <div class="van-picker-column"> <ul class="van-picker-column__wrapper" style="transform: translate3d(0, 44px, 0); transition-duration: 0ms; transition-property: none;"> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">上午</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected"> <div class="van-ellipsis">下午</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">晚上</div> </li> </ul> @@ -120,30 +120,30 @@ exports[`renders demo correctly 1`] = ` <div class="van-picker__columns" style="height: 220px;"> <div class="van-picker-column"> <ul class="van-picker-column__wrapper" style="transform: translate3d(0, 88px, 0); transition-duration: 0ms; transition-property: none;"> - <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected"> <div class="van-ellipsis">浙江</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">福建</div> </li> </ul> </div> <div class="van-picker-column"> <ul class="van-picker-column__wrapper" style="transform: translate3d(0, 88px, 0); transition-duration: 0ms; transition-property: none;"> - <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected"> <div class="van-ellipsis">杭州</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">温州</div> </li> </ul> </div> <div class="van-picker-column"> <ul class="van-picker-column__wrapper" style="transform: translate3d(0, 88px, 0); transition-duration: 0ms; transition-property: none;"> - <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected"> <div class="van-ellipsis">西湖区</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">余杭区</div> </li> </ul> @@ -163,13 +163,13 @@ exports[`renders demo correctly 1`] = ` <div class="van-picker__columns" style="height: 220px;"> <div class="van-picker-column"> <ul class="van-picker-column__wrapper" style="transform: translate3d(0, 44px, 0); transition-duration: 0ms; transition-property: none;"> - <li role="button" tabindex="-1" class="van-picker-column__item van-picker-column__item--disabled" style="height: 44px;"> + <li role="button" tabindex="-1" class="van-picker-column__item van-picker-column__item--disabled"> <div class="van-ellipsis">杭州</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected"> <div class="van-ellipsis">宁波</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">温州</div> </li> </ul> @@ -189,29 +189,29 @@ exports[`renders demo correctly 1`] = ` <div class="van-picker__columns" style="height: 220px;"> <div class="van-picker-column column1"> <ul class="van-picker-column__wrapper" style="transform: translate3d(0, 88px, 0); transition-duration: 0ms; transition-property: none;"> - <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected"> <div class="van-ellipsis">浙江</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">福建</div> </li> </ul> </div> <div class="van-picker-column column2"> <ul class="van-picker-column__wrapper" style="transform: translate3d(0, 0px, 0); transition-duration: 0ms; transition-property: none;"> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">杭州</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">宁波</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected"> <div class="van-ellipsis">温州</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">嘉兴</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">湖州</div> </li> </ul> @@ -231,29 +231,29 @@ exports[`renders demo correctly 1`] = ` <div class="van-picker__columns" style="height: 220px;"> <div class="van-picker-column column1"> <ul class="van-picker-column__wrapper" style="transform: translate3d(0, 88px, 0); transition-duration: 0ms; transition-property: none;"> - <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected"> <div class="van-ellipsis">浙江</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">福建</div> </li> </ul> </div> <div class="van-picker-column column2"> <ul class="van-picker-column__wrapper" style="transform: translate3d(0, 0px, 0); transition-duration: 0ms; transition-property: none;"> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">杭州</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">宁波</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected"> <div class="van-ellipsis">温州</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">嘉兴</div> </li> - <li role="button" tabindex="0" class="van-picker-column__item" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item"> <div class="van-ellipsis">湖州</div> </li> </ul> diff --git a/src/picker/test/__snapshots__/index.spec.js.snap b/src/picker/test/__snapshots__/index.spec.js.snap index fe9515293..65d2fb39e 100644 --- a/src/picker/test/__snapshots__/index.spec.js.snap +++ b/src/picker/test/__snapshots__/index.spec.js.snap @@ -76,7 +76,7 @@ exports[`not allow html 1`] = ` <div class="van-picker__columns" style="height: 220px;"> <div class="van-picker-column"> <ul class="van-picker-column__wrapper" style="transform: translate3d(0, 88px, 0); transition-duration: 0ms; transition-property: none;"> - <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected" style="height: 44px;"> + <li role="button" tabindex="0" class="van-picker-column__item van-picker-column__item--selected"> <div class="van-ellipsis"><div>option</div></div> </li> </ul> diff --git a/src/style/var.less b/src/style/var.less index 028adfd49..cfe9ecaec 100644 --- a/src/style/var.less +++ b/src/style/var.less @@ -536,6 +536,7 @@ @picker-action-font-size: @font-size-md; @picker-confirm-action-color: @text-link-color; @picker-cancel-action-color: @gray-6; +@picker-option-height: 44px; @picker-option-font-size: @font-size-lg; @picker-option-text-color: @black; @picker-option-disabled-opacity: 0.3;