From 8d9bc34a602eb98db1d186bc10e49af9ffb360ee Mon Sep 17 00:00:00 2001 From: chenjiahan Date: Thu, 28 Oct 2021 19:35:08 +0800 Subject: [PATCH] feat(@vant/cli): vant config become esm --- packages/vant-cli/changelog.md | 18 + packages/vant-cli/cjs/shared.cjs | 2 +- packages/vant-cli/docs/config.md | 8 +- packages/vant-cli/docs/directory.md | 2 +- packages/vant-cli/package.json | 4 +- packages/vant-cli/src/common/constant.ts | 14 +- .../src/compiler/gen-site-desktop-shared.ts | 4 +- packages/vant-stylelint-config/package.json | 2 +- .../vant/docs/markdown/contribution.zh-CN.md | 4 +- packages/vant/tsconfig.json | 2 +- .../vant/{vant.config.js => vant.config.mjs} | 2 +- yarn.lock | 316 ++++++++++++++++-- 12 files changed, 323 insertions(+), 55 deletions(-) rename packages/vant/{vant.config.js => vant.config.mjs} (99%) diff --git a/packages/vant-cli/changelog.md b/packages/vant-cli/changelog.md index 57118d6db..6ff316523 100644 --- a/packages/vant-cli/changelog.md +++ b/packages/vant-cli/changelog.md @@ -1,5 +1,23 @@ # 更新日志 +## v4.0.0-rc.3 + +### 不兼容更新 + +- 支持的 node 版本范围提升到 `^14.16.0 || >=16.0.0` +- babel preset 添加了 `cjs` 后缀,现在需要通过 `@vant/cli/preset.cjs` 引入 +- vant.config.js 重命名为 `vant.config.mjs`,由 commonJs 变更为 ESModule 格式 + +### Features + +- 新增 build.configureWebpack 配置项 + +### 依赖升级 + +对以下依赖进行了大版本升级: + +- eslint v8 + ## v4.0.0-beta.6 ### 不兼容更新 diff --git a/packages/vant-cli/cjs/shared.cjs b/packages/vant-cli/cjs/shared.cjs index a07ed8e78..6e101fe73 100644 --- a/packages/vant-cli/cjs/shared.cjs +++ b/packages/vant-cli/cjs/shared.cjs @@ -2,7 +2,7 @@ const { join, dirname } = require('path'); const { existsSync } = require('fs'); function findRootDir(dir) { - if (existsSync(join(dir, 'vant.config.js'))) { + if (existsSync(join(dir, 'vant.config.mjs'))) { return dir; } diff --git a/packages/vant-cli/docs/config.md b/packages/vant-cli/docs/config.md index 35b78c705..6649503f4 100644 --- a/packages/vant-cli/docs/config.md +++ b/packages/vant-cli/docs/config.md @@ -1,7 +1,7 @@ # 配置指南 - [配置指南](#) - - [vant.config.js](#vantconfigjs) + - [vant.config.mjs](#vantconfigmjs) - [name](#name) - [build.css](#buildcss) - [build.site.publicPath](#buildsitepublicpath) @@ -25,12 +25,12 @@ - [默认配置](#-3) - [browserslist](#browserslist) -## vant.config.js +## vant.config.mjs -`vant.config.js`中包含了`vant-cli`的打包配置和文档站点配置,请创建此文件并置于项目根目录下。下面是一份基本配置的示例: +`vant.config.mjs` 中包含了 `vant-cli` 的打包配置和文档站点配置,请创建此文件并置于项目根目录下。下面是一份基本配置的示例: ```js -module.exports = { +export default { // 组件库名称 name: 'demo-ui', // 构建配置 diff --git a/packages/vant-cli/docs/directory.md b/packages/vant-cli/docs/directory.md index 70fbe0e8c..44ddd517e 100644 --- a/packages/vant-cli/docs/directory.md +++ b/packages/vant-cli/docs/directory.md @@ -15,7 +15,7 @@ project │ └─ changelog.md # 更新日志 │ ├─ babel.config.js # Babel 配置文件 -├─ vant.config.js # Vant Cli 配置文件 +├─ vant.config.mjs # Vant Cli 配置文件 ├─ package.json └─ README.md ``` diff --git a/packages/vant-cli/package.json b/packages/vant-cli/package.json index 11c333462..513011ef8 100644 --- a/packages/vant-cli/package.json +++ b/packages/vant-cli/package.json @@ -8,7 +8,7 @@ "vant-cli": "./bin.js" }, "engines": { - "node": "^12.20.0 || ^14.17.0 || >=16.0.0" + "node": "^14.16.0 || >=16.0.0" }, "publishConfig": { "access": "public", @@ -81,7 +81,7 @@ "postcss-load-config": "^3.1.0", "prettier": "^2.4.1", "release-it": "^14.11.6", - "stylelint": "^14.0.1", + "stylelint": "^13.0.0", "transliteration": "^2.2.0", "ts-jest": "^27.0.7", "typescript": "^4.4.4", diff --git a/packages/vant-cli/src/common/constant.ts b/packages/vant-cli/src/common/constant.ts index 85b0b4e5b..c46587f57 100644 --- a/packages/vant-cli/src/common/constant.ts +++ b/packages/vant-cli/src/common/constant.ts @@ -5,7 +5,7 @@ import { fileURLToPath } from 'url'; import { join, dirname, isAbsolute } from 'path'; function findRootDir(dir: string): string { - if (existsSync(join(dir, 'vant.config.js'))) { + if (existsSync(join(dir, 'vant.config.mjs'))) { return dir; } @@ -25,7 +25,7 @@ export const LIB_DIR = join(ROOT, 'lib'); export const DOCS_DIR = join(ROOT, 'docs'); export const VETUR_DIR = join(ROOT, 'vetur'); export const SITE_DIST_DIR = join(ROOT, 'site-dist'); -export const VANT_CONFIG_FILE = join(ROOT, 'vant.config.js'); +export const VANT_CONFIG_FILE = join(ROOT, 'vant.config.mjs'); export const PACKAGE_JSON_FILE = join(ROOT, 'package.json'); // Relative paths @@ -57,17 +57,23 @@ export function getPackageJson() { return JSON.parse(rawJson); } -export function getVantConfig() { +async function getVantConfigAsync() { const require = createRequire(import.meta.url); delete require.cache[VANT_CONFIG_FILE]; try { - return require(VANT_CONFIG_FILE); + return (await import(VANT_CONFIG_FILE)).default; } catch (err) { return {}; } } +const vantConfig = await getVantConfigAsync(); + +export function getVantConfig() { + return vantConfig; +} + function getSrcDir() { const vantConfig = getVantConfig(); const srcDir = get(vantConfig, 'build.srcDir'); diff --git a/packages/vant-cli/src/compiler/gen-site-desktop-shared.ts b/packages/vant-cli/src/compiler/gen-site-desktop-shared.ts index 614f497f6..11f1c370b 100644 --- a/packages/vant-cli/src/compiler/gen-site-desktop-shared.ts +++ b/packages/vant-cli/src/compiler/gen-site-desktop-shared.ts @@ -2,11 +2,11 @@ import glob from 'fast-glob'; import { join, parse } from 'path'; import { existsSync, readFileSync, readdirSync } from 'fs'; import { + isDev, pascalize, getVantConfig, smartOutputFile, normalizePath, - isDev, } from '../common/index.js'; import { SRC_DIR, @@ -98,7 +98,7 @@ function genExportDocuments(items: DocumentItem[]) { function genVantConfigContent() { const content = readFileSync(VANT_CONFIG_FILE, 'utf-8'); - return content.replace('module.exports', 'const config'); + return content.replace('export default', 'const config ='); } function genExportConfig() { diff --git a/packages/vant-stylelint-config/package.json b/packages/vant-stylelint-config/package.json index 361063c07..810fbce35 100644 --- a/packages/vant-stylelint-config/package.json +++ b/packages/vant-stylelint-config/package.json @@ -14,6 +14,6 @@ "stylelint-config-standard": "^22.0.0" }, "devDependencies": { - "stylelint": "^14.0.0" + "stylelint": "^13.0.0" } } diff --git a/packages/vant/docs/markdown/contribution.zh-CN.md b/packages/vant/docs/markdown/contribution.zh-CN.md index 3b0d8d0ea..18a6dd0c9 100644 --- a/packages/vant/docs/markdown/contribution.zh-CN.md +++ b/packages/vant/docs/markdown/contribution.zh-CN.md @@ -40,14 +40,14 @@ vant ├─ packages # 基础包 ├─ src # 组件源代码 ├─ test # 单测工具类 -└─ vant.config.js # 文档网站配置 +└─ vant.config.mjs # 文档网站配置 ``` 组件代码位于 src 目录下,每个组件一个独立的文件夹。 ### 组件目录结构 -添加新组件时,请按照下面的目录结构组织文件,并在 `vant.config.js` 中配置组件名称。 +添加新组件时,请按照下面的目录结构组织文件,并在 `vant.config.mjs` 中配置组件名称。 ``` src diff --git a/packages/vant/tsconfig.json b/packages/vant/tsconfig.json index 2c59f54fd..b21270cc4 100644 --- a/packages/vant/tsconfig.json +++ b/packages/vant/tsconfig.json @@ -11,5 +11,5 @@ "esModuleInterop": true, "moduleResolution": "node" }, - "include": ["src/**/*", "types/**/*", "docs/**/*", "test/**/*"] + "include": ["src/**/*", "docs/**/*", "test/**/*"] } diff --git a/packages/vant/vant.config.js b/packages/vant/vant.config.mjs similarity index 99% rename from packages/vant/vant.config.js rename to packages/vant/vant.config.mjs index 56f722e33..70e77c023 100644 --- a/packages/vant/vant.config.js +++ b/packages/vant/vant.config.mjs @@ -1,4 +1,4 @@ -module.exports = { +export default { name: 'vant', build: { srcDir: 'src', diff --git a/yarn.lock b/yarn.lock index 7c9e7f19d..e1c7d2cb9 100644 --- a/yarn.lock +++ b/yarn.lock @@ -144,7 +144,7 @@ resolved "https://registry.nlark.com/@babel/compat-data/download/@babel/compat-data-7.15.0.tgz#2dbaf8b85334796cafbb0f5793a90a2fc010b176" integrity sha1-Lbr4uFM0eWyvuw9Xk6kKL8AQsXY= -"@babel/core@^7.1.0", "@babel/core@^7.15.5", "@babel/core@^7.15.8", "@babel/core@^7.7.2", "@babel/core@^7.7.5": +"@babel/core@>=7.9.0", "@babel/core@^7.1.0", "@babel/core@^7.15.5", "@babel/core@^7.15.8", "@babel/core@^7.7.2", "@babel/core@^7.7.5": version "7.15.8" resolved "https://registry.npmmirror.com/@babel/core/download/@babel/core-7.15.8.tgz?cache=0&sync_timestamp=1633553719287&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2F%40babel%2Fcore%2Fdownload%2F%40babel%2Fcore-7.15.8.tgz#195b9f2bffe995d2c6c159e72fe525b4114e8c10" integrity sha1-GVufK//pldLGwVnnL+UltBFOjBA= @@ -1479,6 +1479,21 @@ dependencies: "@sinonjs/commons" "^1.7.0" +"@stylelint/postcss-css-in-js@^0.37.2": + version "0.37.2" + resolved "https://registry.npm.taobao.org/@stylelint/postcss-css-in-js/download/@stylelint/postcss-css-in-js-0.37.2.tgz#7e5a84ad181f4234a2480803422a47b8749af3d2" + integrity sha1-flqErRgfQjSiSAgDQipHuHSa89I= + dependencies: + "@babel/core" ">=7.9.0" + +"@stylelint/postcss-markdown@^0.36.2": + version "0.36.2" + resolved "https://registry.npm.taobao.org/@stylelint/postcss-markdown/download/@stylelint/postcss-markdown-0.36.2.tgz?cache=0&sync_timestamp=1605623337607&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40stylelint%2Fpostcss-markdown%2Fdownload%2F%40stylelint%2Fpostcss-markdown-0.36.2.tgz#0a540c4692f8dcdfc13c8e352c17e7bfee2bb391" + integrity sha1-ClQMRpL43N/BPI41LBfnv+4rs5E= + dependencies: + remark "^13.0.0" + unist-util-find-all-after "^3.0.2" + "@szmarczak/http-timer@^1.1.2": version "1.1.2" resolved "https://registry.nlark.com/@szmarczak/http-timer/download/@szmarczak/http-timer-1.1.2.tgz#b1665e2c461a2cd92f4c1bbf50d5454de0d4b421" @@ -1700,7 +1715,7 @@ resolved "https://registry.nlark.com/@types/strip-json-comments/download/@types/strip-json-comments-0.0.30.tgz#9aa30c04db212a9a0649d6ae6fd50accc40748a1" integrity sha1-mqMMBNshKpoGSdaub9UKzMQHSKE= -"@types/unist@*", "@types/unist@^2.0.2": +"@types/unist@*", "@types/unist@^2.0.0", "@types/unist@^2.0.2": version "2.0.6" resolved "https://registry.nlark.com/@types/unist/download/@types/unist-2.0.6.tgz?cache=0&sync_timestamp=1629709633346&other_urls=https%3A%2F%2Fregistry.nlark.com%2F%40types%2Funist%2Fdownload%2F%40types%2Funist-2.0.6.tgz#250a7b16c3b91f672a24552ec64678eeb1d3a08d" integrity sha1-JQp7FsO5H2cqJFUuxkZ47rHToI0= @@ -2330,6 +2345,19 @@ autoprefixer@^10.3.7: picocolors "^0.2.1" postcss-value-parser "^4.1.0" +autoprefixer@^9.8.6: + version "9.8.8" + resolved "https://registry.npmmirror.com/autoprefixer/download/autoprefixer-9.8.8.tgz?cache=0&sync_timestamp=1633379219980&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2Fautoprefixer%2Fdownload%2Fautoprefixer-9.8.8.tgz#fd4bd4595385fa6f06599de749a4d5f7a474957a" + integrity sha1-/UvUWVOF+m8GWZ3nSaTV96R0lXo= + dependencies: + browserslist "^4.12.0" + caniuse-lite "^1.0.30001109" + normalize-range "^0.1.2" + num2fraction "^1.2.2" + picocolors "^0.2.1" + postcss "^7.0.32" + postcss-value-parser "^4.1.0" + babel-jest@^27.3.1: version "27.3.1" resolved "https://registry.npmjs.org/babel-jest/-/babel-jest-27.3.1.tgz#0636a3404c68e07001e434ac4956d82da8a80022" @@ -2422,6 +2450,11 @@ babel-preset-jest@^27.2.0: babel-plugin-jest-hoist "^27.2.0" babel-preset-current-node-syntax "^1.0.0" +bail@^1.0.0: + version "1.0.5" + resolved "https://registry.nlark.com/bail/download/bail-1.0.5.tgz?cache=0&sync_timestamp=1621397637411&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fbail%2Fdownload%2Fbail-1.0.5.tgz#b6fa133404a392cbc1f8c4bf63f5953351e7a776" + integrity sha1-tvoTNASjksvB+MS/Y/WVM1Hnp3Y= + balanced-match@^1.0.0: version "1.0.2" resolved "https://registry.npm.taobao.org/balanced-match/download/balanced-match-1.0.2.tgz?cache=0&sync_timestamp=1617714233441&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fbalanced-match%2Fdownload%2Fbalanced-match-1.0.2.tgz#e83e3a7e3f300b34cb9d87f615fa0cbf357690ee" @@ -2494,6 +2527,17 @@ browser-process-hrtime@^1.0.0: resolved "https://registry.nlark.com/browser-process-hrtime/download/browser-process-hrtime-1.0.0.tgz#3c9b4b7d782c8121e56f10106d84c0d0ffc94626" integrity sha1-PJtLfXgsgSHlbxAQbYTA0P/JRiY= +browserslist@^4.12.0: + version "4.17.5" + resolved "https://registry.npmmirror.com/browserslist/download/browserslist-4.17.5.tgz#c827bbe172a4c22b123f5e337533ceebadfdd559" + integrity sha1-yCe74XKkwisSP14zdTPO66391Vk= + dependencies: + caniuse-lite "^1.0.30001271" + electron-to-chromium "^1.3.878" + escalade "^3.1.1" + node-releases "^2.0.1" + picocolors "^1.0.0" + browserslist@^4.16.6, browserslist@^4.17.3: version "4.17.3" resolved "https://registry.npmmirror.com/browserslist/download/browserslist-4.17.3.tgz#2844cd6eebe14d12384b0122d217550160d2d624" @@ -2611,6 +2655,11 @@ camelcase@^6.0.0, camelcase@^6.2.0: resolved "https://registry.npm.taobao.org/camelcase/download/camelcase-6.2.0.tgz?cache=0&sync_timestamp=1603921787305&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fcamelcase%2Fdownload%2Fcamelcase-6.2.0.tgz#924af881c9d525ac9d87f40d964e5cea982a1809" integrity sha1-kkr4gcnVJaydh/QNlk5c6pgqGAk= +caniuse-lite@^1.0.30001109, caniuse-lite@^1.0.30001271: + version "1.0.30001272" + resolved "https://registry.npmmirror.com/caniuse-lite/download/caniuse-lite-1.0.30001272.tgz?cache=0&sync_timestamp=1635415134696&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2Fcaniuse-lite%2Fdownload%2Fcaniuse-lite-1.0.30001272.tgz#8e9790ff995e9eb6e1f4c45cd07ddaa87cddbb14" + integrity sha1-jpeQ/5lenrbh9MRc0H3aqHzduxQ= + caniuse-lite@^1.0.30001264: version "1.0.30001265" resolved "https://registry.npmmirror.com/caniuse-lite/download/caniuse-lite-1.0.30001265.tgz?cache=0&sync_timestamp=1633496161326&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2Fcaniuse-lite%2Fdownload%2Fcaniuse-lite-1.0.30001265.tgz#0613c9e6c922e422792e6fcefdf9a3afeee4f8c3" @@ -3030,7 +3079,7 @@ core-util-is@~1.0.0: resolved "https://registry.nlark.com/core-util-is/download/core-util-is-1.0.3.tgz#a6042d3634c2b27e9328f837b965fac83808db85" integrity sha1-pgQtNjTCsn6TKPg3uWX6yDgI24U= -cosmiconfig@7.0.1, cosmiconfig@^7.0.1: +cosmiconfig@7.0.1, cosmiconfig@^7.0.0, cosmiconfig@^7.0.1: version "7.0.1" resolved "https://registry.nlark.com/cosmiconfig/download/cosmiconfig-7.0.1.tgz?cache=0&sync_timestamp=1629586699851&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fcosmiconfig%2Fdownload%2Fcosmiconfig-7.0.1.tgz#714d756522cace867867ccb4474c5d01bbae5d6d" integrity sha1-cU11ZSLKzoZ4Z8y0R0xdAbuuXW0= @@ -3356,6 +3405,11 @@ electron-to-chromium@^1.3.857: resolved "https://registry.npmmirror.com/electron-to-chromium/download/electron-to-chromium-1.3.862.tgz?cache=0&sync_timestamp=1633644261746&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2Felectron-to-chromium%2Fdownload%2Felectron-to-chromium-1.3.862.tgz#c1c5d4382449e2c9b0e67fe1652f4fc451d6d8c0" integrity sha1-wcXUOCRJ4smw5n/hZS9PxFHW2MA= +electron-to-chromium@^1.3.878: + version "1.3.883" + resolved "https://registry.npmmirror.com/electron-to-chromium/download/electron-to-chromium-1.3.883.tgz?cache=0&sync_timestamp=1635419730265&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2Felectron-to-chromium%2Fdownload%2Felectron-to-chromium-1.3.883.tgz#cc409921469b3aa6ab6efd65cc2a4375128bb703" + integrity sha1-zECZIUabOqarbv1lzCpDdRKLtwM= + email-addresses@^3.0.1: version "3.1.0" resolved "https://registry.nlark.com/email-addresses/download/email-addresses-3.1.0.tgz#cabf7e085cbdb63008a70319a74e6136188812fb" @@ -3920,6 +3974,11 @@ extend-shallow@^2.0.1: dependencies: is-extendable "^0.1.0" +extend@^3.0.0: + version "3.0.2" + resolved "https://registry.npm.taobao.org/extend/download/extend-3.0.2.tgz#f8b1136b4071fbd8eb140aff858b1019ec2915fa" + integrity sha1-+LETa0Bx+9jrFAr/hYsQGewpFfo= + external-editor@^3.0.3: version "3.1.0" resolved "https://registry.npm.taobao.org/external-editor/download/external-editor-3.1.0.tgz#cb03f740befae03ea4d283caed2741a83f335495" @@ -3941,7 +4000,7 @@ fast-deep-equal@^3.1.1, fast-deep-equal@^3.1.3: resolved "https://registry.nlark.com/fast-deep-equal/download/fast-deep-equal-3.1.3.tgz#3a7d56b559d6cbc3eb512325244e619a65c6c525" integrity sha1-On1WtVnWy8PrUSMlJE5hmmXGxSU= -fast-glob@^3.1.1, fast-glob@^3.2.2, fast-glob@^3.2.7: +fast-glob@^3.1.1, fast-glob@^3.2.2, fast-glob@^3.2.5, fast-glob@^3.2.7: version "3.2.7" resolved "https://registry.nlark.com/fast-glob/download/fast-glob-3.2.7.tgz#fd6cb7a2d7e9aa7a7846111e85a196d6b2f766a1" integrity sha1-/Wy3otfpqnp4RhEehaGW1rL3ZqE= @@ -4327,7 +4386,7 @@ globals@^13.6.0, globals@^13.9.0: dependencies: type-fest "^0.20.2" -globby@11.0.4, globby@^11.0.3, globby@^11.0.4: +globby@11.0.4, globby@^11.0.3: version "11.0.4" resolved "https://registry.nlark.com/globby/download/globby-11.0.4.tgz#2cbaff77c2f2a62e71e9b2813a67b97a3a3001a5" integrity sha1-LLr/d8Lypi5x6bKBOme5ejowAaU= @@ -4355,6 +4414,13 @@ globjoin@^0.1.4: resolved "https://registry.npm.taobao.org/globjoin/download/globjoin-0.1.4.tgz#2f4494ac8919e3767c5cbb691e9f463324285d43" integrity sha1-L0SUrIkZ43Z8XLtpHp9GMyQoXUM= +gonzales-pe@^4.3.0: + version "4.3.0" + resolved "https://registry.npm.taobao.org/gonzales-pe/download/gonzales-pe-4.3.0.tgz#fe9dec5f3c557eead09ff868c65826be54d067b3" + integrity sha1-/p3sXzxVfurQn/hoxlgmvlTQZ7M= + dependencies: + minimist "^1.2.5" + got@11.8.2: version "11.8.2" resolved "https://registry.nlark.com/got/download/got-11.8.2.tgz?cache=0&sync_timestamp=1628752531824&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fgot%2Fdownload%2Fgot-11.8.2.tgz#7abb3959ea28c31f3576f1576c1effce23f33599" @@ -4517,7 +4583,7 @@ html-tags@^3.1.0: resolved "https://registry.npm.taobao.org/html-tags/download/html-tags-3.1.0.tgz#7b5e6f7e665e9fb41f30007ed9e0d41e97fb2140" integrity sha1-e15vfmZen7QfMAB+2eDUHpf7IUA= -htmlparser2@^3.9.2: +htmlparser2@^3.10.0, htmlparser2@^3.9.2: version "3.10.1" resolved "https://registry.nlark.com/htmlparser2/download/htmlparser2-3.10.1.tgz#bd679dc3f59897b6a34bb10749c855bb53a9392f" integrity sha1-vWedw/WYl7ajS7EHSchVu1OpOS8= @@ -4741,6 +4807,11 @@ is-boolean-object@^1.1.0: call-bind "^1.0.2" has-tostringtag "^1.0.0" +is-buffer@^2.0.0: + version "2.0.5" + resolved "https://registry.nlark.com/is-buffer/download/is-buffer-2.0.5.tgz#ebc252e400d22ff8d77fa09888821a24a658c191" + integrity sha1-68JS5ADSL/jXf6CYiIIaJKZYwZE= + is-callable@^1.1.4, is-callable@^1.2.3: version "1.2.4" resolved "https://registry.nlark.com/is-callable/download/is-callable-1.2.4.tgz#47301d58dd0259407865547853df6d61fe471945" @@ -4881,6 +4952,11 @@ is-plain-obj@^1.1.0: resolved "https://registry.nlark.com/is-plain-obj/download/is-plain-obj-1.1.0.tgz#71a50c8429dfca773c92a390a4a03b39fcd51d3e" integrity sha1-caUMhCnfync8kqOQpKA7OfzVHT4= +is-plain-obj@^2.0.0: + version "2.1.0" + resolved "https://registry.nlark.com/is-plain-obj/download/is-plain-obj-2.1.0.tgz#45e42e37fccf1f40da8e5f76ee21515840c09287" + integrity sha1-ReQuN/zPH0Dajl927iFRWEDAkoc= + is-plain-object@^5.0.0: version "5.0.0" resolved "https://registry.nlark.com/is-plain-object/download/is-plain-object-5.0.0.tgz#4427f50ab3429e9025ea7d52e9043a9ef4159344" @@ -5622,10 +5698,10 @@ kleur@^3.0.3: resolved "https://registry.npm.taobao.org/kleur/download/kleur-3.0.3.tgz?cache=0&sync_timestamp=1611346710846&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fkleur%2Fdownload%2Fkleur-3.0.3.tgz#a79c9ecc86ee1ce3fa6206d1216c501f147fc07e" integrity sha1-p5yezIbuHOP6YgbRIWxQHxR/wH4= -known-css-properties@^0.23.0: - version "0.23.0" - resolved "https://registry.npmjs.org/known-css-properties/-/known-css-properties-0.23.0.tgz#e643e1bab2b1f8ba292eea9557121cc02e9846a0" - integrity sha512-h9ivI88e1lFNmTT4HovBN33Ysn0OIJG7IPG2mkpx2uniQXFWqo35QdiX7w0TovlUFXfW8aPFblP5/q0jlOr2sA== +known-css-properties@^0.21.0: + version "0.21.0" + resolved "https://registry.nlark.com/known-css-properties/download/known-css-properties-0.21.0.tgz#15fbd0bbb83447f3ce09d8af247ed47c68ede80d" + integrity sha1-FfvQu7g0R/POCdivJH7UfGjt6A0= latest-version@^5.1.0: version "5.1.0" @@ -5813,6 +5889,11 @@ log-update@^4.0.0: slice-ansi "^4.0.0" wrap-ansi "^6.2.0" +longest-streak@^2.0.0: + version "2.0.4" + resolved "https://registry.npm.taobao.org/longest-streak/download/longest-streak-2.0.4.tgz?cache=0&sync_timestamp=1615193347799&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Flongest-streak%2Fdownload%2Flongest-streak-2.0.4.tgz#b8599957da5b5dab64dee3fe316fa774597d90e4" + integrity sha1-uFmZV9pbXatk3uP+MW+ndFl9kOQ= + lower-case@^2.0.2: version "2.0.2" resolved "https://registry.npm.taobao.org/lower-case/download/lower-case-2.0.2.tgz?cache=0&sync_timestamp=1606867304538&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Flower-case%2Fdownload%2Flower-case-2.0.2.tgz#6fa237c63dbdc4a82ca0fd882e4722dc5e634e28" @@ -5907,7 +5988,7 @@ mathml-tag-names@^2.1.3: resolved "https://registry.npm.taobao.org/mathml-tag-names/download/mathml-tag-names-2.1.3.tgz#4ddadd67308e780cf16a47685878ee27b736a0a3" integrity sha1-TdrdZzCOeAzxakdoWHjuJ7c2oKM= -mdast-util-from-markdown@^0.8.5: +mdast-util-from-markdown@^0.8.0, mdast-util-from-markdown@^0.8.5: version "0.8.5" resolved "https://registry.nlark.com/mdast-util-from-markdown/download/mdast-util-from-markdown-0.8.5.tgz#d1ef2ca42bc377ecb0463a987910dae89bd9a28c" integrity sha1-0e8spCvDd+ywRjqYeRDa6JvZoow= @@ -5918,6 +5999,18 @@ mdast-util-from-markdown@^0.8.5: parse-entities "^2.0.0" unist-util-stringify-position "^2.0.0" +mdast-util-to-markdown@^0.6.0: + version "0.6.5" + resolved "https://registry.nlark.com/mdast-util-to-markdown/download/mdast-util-to-markdown-0.6.5.tgz#b33f67ca820d69e6cc527a93d4039249b504bebe" + integrity sha1-sz9nyoINaebMUnqT1AOSSbUEvr4= + dependencies: + "@types/unist" "^2.0.0" + longest-streak "^2.0.0" + mdast-util-to-string "^2.0.0" + parse-entities "^2.0.0" + repeat-string "^1.0.0" + zwitch "^1.0.0" + mdast-util-to-string@^2.0.0: version "2.0.0" resolved "https://registry.nlark.com/mdast-util-to-string/download/mdast-util-to-string-2.0.0.tgz?cache=0&sync_timestamp=1619426258259&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fmdast-util-to-string%2Fdownload%2Fmdast-util-to-string-2.0.0.tgz#b8cfe6a713e1091cb5b728fc48885a4767f8b97b" @@ -6138,6 +6231,11 @@ node-releases@^1.1.77: resolved "https://registry.npmmirror.com/node-releases/download/node-releases-1.1.77.tgz?cache=0&sync_timestamp=1633167899075&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2Fnode-releases%2Fdownload%2Fnode-releases-1.1.77.tgz#50b0cfede855dd374e7585bf228ff34e57c1c32e" integrity sha1-ULDP7ehV3TdOdYW/Io/zTlfBwy4= +node-releases@^2.0.1: + version "2.0.1" + resolved "https://registry.npmmirror.com/node-releases/download/node-releases-2.0.1.tgz#3d1d395f204f1f2f29a54358b9fb678765ad2fc5" + integrity sha1-PR05XyBPHy8ppUNYuftnh2WtL8U= + normalize-package-data@^2.3.2, normalize-package-data@^2.5.0: version "2.5.0" resolved "https://registry.nlark.com/normalize-package-data/download/normalize-package-data-2.5.0.tgz?cache=0&sync_timestamp=1629301872905&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fnormalize-package-data%2Fdownload%2Fnormalize-package-data-2.5.0.tgz#e66db1838b200c1dfc233225d12cb36520e234a8" @@ -6190,6 +6288,11 @@ npm-run-path@^4.0.0, npm-run-path@^4.0.1: dependencies: path-key "^3.0.0" +num2fraction@^1.2.2: + version "1.2.2" + resolved "https://registry.npm.taobao.org/num2fraction/download/num2fraction-1.2.2.tgz#6f682b6a027a4e9ddfa4564cd2589d1d4e669ede" + integrity sha1-b2gragJ6Tp3fpFZM0lidHU5mnt4= + nwsapi@^2.2.0: version "2.2.0" resolved "https://registry.nlark.com/nwsapi/download/nwsapi-2.2.0.tgz#204879a9e3d068ff2a55139c2c772780681a38b7" @@ -6589,6 +6692,20 @@ please-upgrade-node@^3.2.0: dependencies: semver-compare "^1.0.0" +postcss-html@^0.36.0: + version "0.36.0" + resolved "https://registry.npmmirror.com/postcss-html/download/postcss-html-0.36.0.tgz#b40913f94eaacc2453fd30a1327ad6ee1f88b204" + integrity sha1-tAkT+U6qzCRT/TChMnrW7h+IsgQ= + dependencies: + htmlparser2 "^3.10.0" + +postcss-less@^3.1.4: + version "3.1.4" + resolved "https://registry.nlark.com/postcss-less/download/postcss-less-3.1.4.tgz?cache=0&sync_timestamp=1627346502477&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fpostcss-less%2Fdownload%2Fpostcss-less-3.1.4.tgz#369f58642b5928ef898ffbc1a6e93c958304c5ad" + integrity sha1-Np9YZCtZKO+Jj/vBpuk8lYMExa0= + dependencies: + postcss "^7.0.14" + postcss-load-config@*, postcss-load-config@^3.1.0: version "3.1.0" resolved "https://registry.nlark.com/postcss-load-config/download/postcss-load-config-3.1.0.tgz?cache=0&sync_timestamp=1623669810818&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fpostcss-load-config%2Fdownload%2Fpostcss-load-config-3.1.0.tgz#d39c47091c4aec37f50272373a6a648ef5e97829" @@ -6608,12 +6725,29 @@ postcss-resolve-nested-selector@^0.1.1: resolved "https://registry.npm.taobao.org/postcss-resolve-nested-selector/download/postcss-resolve-nested-selector-0.1.1.tgz#29ccbc7c37dedfac304e9fff0bf1596b3f6a0e4e" integrity sha1-Kcy8fDfe36wwTp//C/FZaz9qDk4= -postcss-safe-parser@^6.0.0: - version "6.0.0" - resolved "https://registry.npmjs.org/postcss-safe-parser/-/postcss-safe-parser-6.0.0.tgz#bb4c29894171a94bc5c996b9a30317ef402adaa1" - integrity sha512-FARHN8pwH+WiS2OPCxJI8FuRJpTVnn6ZNFiqAM2aeW2LwTHWWmWgIyKC6cUo0L8aeKiF/14MNvnpls6R2PBeMQ== +postcss-safe-parser@^4.0.2: + version "4.0.2" + resolved "https://registry.nlark.com/postcss-safe-parser/download/postcss-safe-parser-4.0.2.tgz#a6d4e48f0f37d9f7c11b2a581bf00f8ba4870b96" + integrity sha1-ptTkjw832ffBGypYG/APi6SHC5Y= + dependencies: + postcss "^7.0.26" -postcss-selector-parser@^6.0.6: +postcss-sass@^0.4.4: + version "0.4.4" + resolved "https://registry.nlark.com/postcss-sass/download/postcss-sass-0.4.4.tgz#91f0f3447b45ce373227a98b61f8d8f0785285a3" + integrity sha1-kfDzRHtFzjcyJ6mLYfjY8HhShaM= + dependencies: + gonzales-pe "^4.3.0" + postcss "^7.0.21" + +postcss-scss@^2.1.1: + version "2.1.1" + resolved "https://registry.npmmirror.com/postcss-scss/download/postcss-scss-2.1.1.tgz?cache=0&sync_timestamp=1632906188139&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2Fpostcss-scss%2Fdownload%2Fpostcss-scss-2.1.1.tgz#ec3a75fa29a55e016b90bf3269026c53c1d2b383" + integrity sha1-7Dp1+imlXgFrkL8yaQJsU8HSs4M= + dependencies: + postcss "^7.0.6" + +postcss-selector-parser@^6.0.5: version "6.0.6" resolved "https://registry.nlark.com/postcss-selector-parser/download/postcss-selector-parser-6.0.6.tgz?cache=0&sync_timestamp=1620752924836&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fpostcss-selector-parser%2Fdownload%2Fpostcss-selector-parser-6.0.6.tgz#2c5bba8174ac2f6981ab631a42ab0ee54af332ea" integrity sha1-LFu6gXSsL2mBq2MaQqsO5UrzMuo= @@ -6621,11 +6755,24 @@ postcss-selector-parser@^6.0.6: cssesc "^3.0.0" util-deprecate "^1.0.2" +postcss-syntax@^0.36.2: + version "0.36.2" + resolved "https://registry.npm.taobao.org/postcss-syntax/download/postcss-syntax-0.36.2.tgz#f08578c7d95834574e5593a82dfbfa8afae3b51c" + integrity sha1-8IV4x9lYNFdOVZOoLfv6ivrjtRw= + postcss-value-parser@^4.1.0: version "4.1.0" resolved "https://registry.nlark.com/postcss-value-parser/download/postcss-value-parser-4.1.0.tgz?cache=0&sync_timestamp=1618846900347&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fpostcss-value-parser%2Fdownload%2Fpostcss-value-parser-4.1.0.tgz#443f6a20ced6481a2bda4fa8532a6e55d789a2cb" integrity sha1-RD9qIM7WSBor2k+oUypuVdeJoss= +postcss@^7.0.14, postcss@^7.0.2, postcss@^7.0.21, postcss@^7.0.26, postcss@^7.0.32, postcss@^7.0.35, postcss@^7.0.6: + version "7.0.39" + resolved "https://registry.npmmirror.com/postcss/download/postcss-7.0.39.tgz#9624375d965630e2e1f2c02a935c82a59cb48309" + integrity sha1-liQ3XZZWMOLh8sAqk1yCpZy0gwk= + dependencies: + picocolors "^0.2.1" + source-map "^0.6.1" + postcss@^8.1.10, postcss@^8.3.11, postcss@^8.3.8: version "8.3.11" resolved "https://registry.npmjs.org/postcss/-/postcss-8.3.11.tgz#c3beca7ea811cd5e1c4a3ec6d2e7599ef1f8f858" @@ -6955,6 +7102,34 @@ release-it@^14.11.6: yaml "1.10.2" yargs-parser "20.2.9" +remark-parse@^9.0.0: + version "9.0.0" + resolved "https://registry.nlark.com/remark-parse/download/remark-parse-9.0.0.tgz?cache=0&sync_timestamp=1627989796888&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fremark-parse%2Fdownload%2Fremark-parse-9.0.0.tgz#4d20a299665880e4f4af5d90b7c7b8a935853640" + integrity sha1-TSCimWZYgOT0r12Qt8e4qTWFNkA= + dependencies: + mdast-util-from-markdown "^0.8.0" + +remark-stringify@^9.0.0: + version "9.0.1" + resolved "https://registry.npmmirror.com/remark-stringify/download/remark-stringify-9.0.1.tgz#576d06e910548b0a7191a71f27b33f1218862894" + integrity sha1-V20G6RBUiwpxkacfJ7M/EhiGKJQ= + dependencies: + mdast-util-to-markdown "^0.6.0" + +remark@^13.0.0: + version "13.0.0" + resolved "https://registry.nlark.com/remark/download/remark-13.0.0.tgz?cache=0&sync_timestamp=1628001517141&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fremark%2Fdownload%2Fremark-13.0.0.tgz#d15d9bf71a402f40287ebe36067b66d54868e425" + integrity sha1-0V2b9xpAL0Aofr42Bntm1Uho5CU= + dependencies: + remark-parse "^9.0.0" + remark-stringify "^9.0.0" + unified "^9.1.0" + +repeat-string@^1.0.0: + version "1.6.1" + resolved "https://registry.npm.taobao.org/repeat-string/download/repeat-string-1.6.1.tgz#8dcae470e1c88abc2d600fff4a776286da75e637" + integrity sha1-jcrkcOHIirwtYA//Sndihtp15jc= + require-directory@^2.1.1: version "2.1.1" resolved "https://registry.nlark.com/require-directory/download/require-directory-2.1.1.tgz#8c64ad5fd30dab1c976e2344ffe7f792a6a6df42" @@ -7360,7 +7535,7 @@ string-width@^3.0.0: is-fullwidth-code-point "^2.0.0" strip-ansi "^5.1.0" -string-width@^4.0.0, string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3: +string-width@^4.0.0, string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.2, string-width@^4.2.3: version "4.2.3" resolved "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== @@ -7495,50 +7670,67 @@ stylelint-config-standard@^22.0.0: dependencies: stylelint-config-recommended "^5.0.0" -stylelint@^14.0.0, stylelint@^14.0.1: - version "14.0.1" - resolved "https://registry.npmjs.org/stylelint/-/stylelint-14.0.1.tgz#88e6c8bd3be61e666225ddb871826321f16661f6" - integrity sha512-ZcAkmFLVCultmwkQUjxKzxW/o5+CzNmDk6TPJj/d4Y7ipTGGrewIWmNm+InjdSr04PR5/yynsAJeYJY/wisdMg== +stylelint@^13.0.0: + version "13.13.1" + resolved "https://registry.npmmirror.com/stylelint/download/stylelint-13.13.1.tgz?cache=0&sync_timestamp=1635313398897&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2Fstylelint%2Fdownload%2Fstylelint-13.13.1.tgz#fca9c9f5de7990ab26a00f167b8978f083a18f3c" + integrity sha1-/KnJ9d55kKsmoA8We4l48IOhjzw= dependencies: + "@stylelint/postcss-css-in-js" "^0.37.2" + "@stylelint/postcss-markdown" "^0.36.2" + autoprefixer "^9.8.6" balanced-match "^2.0.0" - cosmiconfig "^7.0.1" - debug "^4.3.2" + chalk "^4.1.1" + cosmiconfig "^7.0.0" + debug "^4.3.1" execall "^2.0.0" - fast-glob "^3.2.7" + fast-glob "^3.2.5" fastest-levenshtein "^1.0.12" file-entry-cache "^6.0.1" get-stdin "^8.0.0" global-modules "^2.0.0" - globby "^11.0.4" + globby "^11.0.3" globjoin "^0.1.4" html-tags "^3.1.0" ignore "^5.1.8" import-lazy "^4.0.0" imurmurhash "^0.1.4" - is-plain-object "^5.0.0" - known-css-properties "^0.23.0" + known-css-properties "^0.21.0" + lodash "^4.17.21" + log-symbols "^4.1.0" mathml-tag-names "^2.1.3" meow "^9.0.0" micromatch "^4.0.4" - normalize-path "^3.0.0" normalize-selector "^0.2.0" - picocolors "^1.0.0" - postcss "^8.3.11" + postcss "^7.0.35" + postcss-html "^0.36.0" + postcss-less "^3.1.4" postcss-media-query-parser "^0.2.3" postcss-resolve-nested-selector "^0.1.1" - postcss-safe-parser "^6.0.0" - postcss-selector-parser "^6.0.6" + postcss-safe-parser "^4.0.2" + postcss-sass "^0.4.4" + postcss-scss "^2.1.1" + postcss-selector-parser "^6.0.5" + postcss-syntax "^0.36.2" postcss-value-parser "^4.1.0" resolve-from "^5.0.0" + slash "^3.0.0" specificity "^0.4.1" - string-width "^4.2.3" - strip-ansi "^6.0.1" + string-width "^4.2.2" + strip-ansi "^6.0.0" style-search "^0.1.0" + sugarss "^2.0.0" svg-tags "^1.0.0" - table "^6.7.2" + table "^6.6.0" v8-compile-cache "^2.3.0" write-file-atomic "^3.0.3" +sugarss@^2.0.0: + version "2.0.0" + resolved "https://registry.nlark.com/sugarss/download/sugarss-2.0.0.tgz?cache=0&sync_timestamp=1623651869315&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fsugarss%2Fdownload%2Fsugarss-2.0.0.tgz#ddd76e0124b297d40bf3cca31c8b22ecb43bc61d" + integrity sha1-3dduASSyl9QL88yjHIsi7LQ7xh0= + dependencies: + postcss "^7.0.2" + supports-color@8.1.1, supports-color@^8.0.0: version "8.1.1" resolved "https://registry.nlark.com/supports-color/download/supports-color-8.1.1.tgz#cd6fc17e28500cff56c1b86c0a7fd4a54a73005c" @@ -7578,7 +7770,7 @@ symbol-tree@^3.2.4: resolved "https://registry.nlark.com/symbol-tree/download/symbol-tree-3.2.4.tgz#430637d248ba77e078883951fb9aa0eed7c63fa2" integrity sha1-QwY30ki6d+B4iDlR+5qg7tfGP6I= -table@^6.0.9, table@^6.7.2: +table@^6.0.9, table@^6.6.0: version "6.7.2" resolved "https://registry.npmjs.org/table/-/table-6.7.2.tgz#a8d39b9f5966693ca8b0feba270a78722cbaf3b0" integrity sha512-UFZK67uvyNivLeQbVtkiUs8Uuuxv24aSL4/Vil2PJVtMgU8Lx0CYkP12uCGa3kjyQzOSgV1+z9Wkb82fCGsO0g== @@ -7720,6 +7912,11 @@ trim-repeated@^1.0.0: dependencies: escape-string-regexp "^1.0.2" +trough@^1.0.0: + version "1.0.5" + resolved "https://registry.nlark.com/trough/download/trough-1.0.5.tgz?cache=0&sync_timestamp=1625400622069&other_urls=https%3A%2F%2Fregistry.nlark.com%2Ftrough%2Fdownload%2Ftrough-1.0.5.tgz#b8b639cefad7d0bb2abd37d433ff8293efa5f406" + integrity sha1-uLY5zvrX0LsqvTfUM/+Ck++l9AY= + ts-jest@^27.0.7: version "27.0.7" resolved "https://registry.npmjs.org/ts-jest/-/ts-jest-27.0.7.tgz#fb7c8c8cb5526ab371bc1b23d06e745652cca2d0" @@ -7880,6 +8077,18 @@ unicode-property-aliases-ecmascript@^1.0.4: resolved "https://registry.npm.taobao.org/unicode-property-aliases-ecmascript/download/unicode-property-aliases-ecmascript-1.1.0.tgz#dd57a99f6207bedff4628abefb94c50db941c8f4" integrity sha1-3Vepn2IHvt/0Yoq++5TFDblByPQ= +unified@^9.1.0: + version "9.2.2" + resolved "https://registry.nlark.com/unified/download/unified-9.2.2.tgz?cache=0&sync_timestamp=1627639621063&other_urls=https%3A%2F%2Fregistry.nlark.com%2Funified%2Fdownload%2Funified-9.2.2.tgz#67649a1abfc3ab85d2969502902775eb03146975" + integrity sha1-Z2SaGr/Dq4XSlpUCkCd16wMUaXU= + dependencies: + bail "^1.0.0" + extend "^3.0.0" + is-buffer "^2.0.0" + is-plain-obj "^2.0.0" + trough "^1.0.0" + vfile "^4.0.0" + 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" @@ -7887,6 +8096,18 @@ unique-string@^2.0.0: dependencies: crypto-random-string "^2.0.0" +unist-util-find-all-after@^3.0.2: + version "3.0.2" + resolved "https://registry.nlark.com/unist-util-find-all-after/download/unist-util-find-all-after-3.0.2.tgz?cache=0&sync_timestamp=1618851881165&other_urls=https%3A%2F%2Fregistry.nlark.com%2Funist-util-find-all-after%2Fdownload%2Funist-util-find-all-after-3.0.2.tgz#fdfecd14c5b7aea5e9ef38d5e0d5f774eeb561f6" + integrity sha1-/f7NFMW3rqXp7zjV4NX3dO61YfY= + dependencies: + unist-util-is "^4.0.0" + +unist-util-is@^4.0.0: + version "4.1.0" + resolved "https://registry.nlark.com/unist-util-is/download/unist-util-is-4.1.0.tgz?cache=0&sync_timestamp=1626874922677&other_urls=https%3A%2F%2Fregistry.nlark.com%2Funist-util-is%2Fdownload%2Funist-util-is-4.1.0.tgz#976e5f462a7a5de73d94b706bac1b90671b57797" + integrity sha1-l25fRip6Xec9lLcGusG5BnG1d5c= + unist-util-stringify-position@^2.0.0: version "2.0.3" resolved "https://registry.npm.taobao.org/unist-util-stringify-position/download/unist-util-stringify-position-2.0.3.tgz?cache=0&sync_timestamp=1618328441973&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Funist-util-stringify-position%2Fdownload%2Funist-util-stringify-position-2.0.3.tgz#cce3bfa1cdf85ba7375d1d5b17bdc4cada9bd9da" @@ -7985,6 +8206,24 @@ validate-npm-package-license@^3.0.1: spdx-correct "^3.0.0" spdx-expression-parse "^3.0.0" +vfile-message@^2.0.0: + version "2.0.4" + resolved "https://registry.nlark.com/vfile-message/download/vfile-message-2.0.4.tgz?cache=0&sync_timestamp=1628780833868&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fvfile-message%2Fdownload%2Fvfile-message-2.0.4.tgz#5b43b88171d409eae58477d13f23dd41d52c371a" + integrity sha1-W0O4gXHUCerlhHfRPyPdQdUsNxo= + dependencies: + "@types/unist" "^2.0.0" + unist-util-stringify-position "^2.0.0" + +vfile@^4.0.0: + version "4.2.1" + resolved "https://registry.npmmirror.com/vfile/download/vfile-4.2.1.tgz?cache=0&sync_timestamp=1634134539078&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2Fvfile%2Fdownload%2Fvfile-4.2.1.tgz#03f1dce28fc625c625bc6514350fbdb00fa9e624" + integrity sha1-A/Hc4o/GJcYlvGUUNQ+9sA+p5iQ= + dependencies: + "@types/unist" "^2.0.0" + is-buffer "^2.0.0" + unist-util-stringify-position "^2.0.0" + vfile-message "^2.0.0" + vite-plugin-html@^2.1.1: version "2.1.1" resolved "https://registry.npmmirror.com/vite-plugin-html/download/vite-plugin-html-2.1.1.tgz#014b44126a72d459cd460bd156800c225d124cbe" @@ -8273,3 +8512,8 @@ yargs@^17.0.1: string-width "^4.2.0" y18n "^5.0.5" yargs-parser "^20.2.2" + +zwitch@^1.0.0: + version "1.0.5" + resolved "https://registry.npm.taobao.org/zwitch/download/zwitch-1.0.5.tgz?cache=0&sync_timestamp=1617357690164&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fzwitch%2Fdownload%2Fzwitch-1.0.5.tgz#d11d7381ffed16b742f6af7b3f223d5cd9fe9920" + integrity sha1-0R1zgf/tFrdC9q97PyI9XNn+mSA=