Merge branch 'dev' into next

This commit is contained in:
chenjiahan 2022-02-08 14:56:38 +08:00
commit 2f02f19cec
32 changed files with 570 additions and 406 deletions

View File

@ -36,4 +36,4 @@ jobs:
with:
branch: gh-pages
folder: packages/vant/site-dist
target-folder: v3
clean: false

View File

@ -45,21 +45,21 @@
Using `npm` to install:
```bash
# install Vant 2 for Vue 2 project
npm i vant@2
# install latest Vant for Vue 3 project
npm i vant
# install Vant 3 for Vue 3 project
npm i vant@3
# install Vant 2 for Vue 2 project
npm i vant@latest-v2
```
Using `yarn` or `pnpm`:
```bash
# with yarn
yarn add vant@3
yarn add vant
# with pnpm
pnpm add vant@3
pnpm add vant
```
## Quickstart

View File

@ -27,7 +27,7 @@
Vant 是**有赞前端团队**开源的移动端组件库,于 2017 年开源。Vant 对内承载了有赞所有核心业务,对外服务十多万开发者,是业界主流的移动端组件库之一。
目前 Vant 官方提供了 [Vue 2 版本](https://vant-contrib.gitee.io/vant)、[Vue 3 版本](https://vant-contrib.gitee.io/vant/v3)和[微信小程序版本](http://vant-contrib.gitee.io/vant-weapp),并由社区团队维护 [React 版本](https://github.com/mxdi9i7/vant-react)和[支付宝小程序版本](https://github.com/ant-move/Vant-Aliapp)。
目前 Vant 官方提供了 [Vue 2 版本](https://vant-contrib.gitee.io/vant/v2)、[Vue 3 版本](https://vant-contrib.gitee.io/vant)和[微信小程序版本](http://vant-contrib.gitee.io/vant-weapp),并由社区团队维护 [React 版本](https://github.com/mxdi9i7/vant-react)和[支付宝小程序版本](https://github.com/ant-move/Vant-Aliapp)。
## 特性
@ -49,21 +49,21 @@ Vant 是**有赞前端团队**开源的移动端组件库,于 2017 年开源
在现有项目中使用 Vant 时,可以通过 `npm` 进行安装:
```bash
# Vue 2 项目,安装 Vant 2
npm i vant@2
# Vue 3 项目,安装最新版 Vant
npm i vant
# Vue 3 项目,安装 Vant 3
npm i vant@3
# Vue 2 项目,安装 Vant 2
npm i vant@latest-v2
```
当然,你也可以通过 `yarn``pnpm` 进行安装:
```bash
# 通过 yarn 安装
yarn add vant@3
yarn add vant
# 通过 pnpm 安装
pnpm add vant@3
pnpm add vant
```
## 快速上手

View File

@ -1,3 +0,0 @@
module.exports = {
presets: ['@vant/cli/preset'],
};

View File

@ -3,20 +3,23 @@
"version": "1.0.0",
"description": "",
"main": "lib/<%= name %>.js",
"module": "es/index.js",
"style": "lib/index.css",
"typings": "lib/index.d.ts",
"files": [
"lib",
"es"
],
"scripts": {
"dev": "vant-cli dev",
"test": "vant-cli test",
"lint": "vant-cli lint",
"test": "vant-cli test",
"build": "vant-cli build",
"prepare": "husky install",
"release": "vant-cli release",
"test:coverage": "open test/coverage/index.html",
"build-site": "vant-cli build-site && gh-pages -d site-dist"
"build:site": "vant-cli build-site",
"release": "vant-cli release --tag next",
"release:site": "pnpm build:site && gh-pages -d site-dist",
"test:watch": "vant-cli test --watch",
"test:coverage": "open test/coverage/index.html"
},
"author": "",
"license": "MIT",
@ -30,8 +33,9 @@
"vue": "^3.0.0"
},
"devDependencies": {
"@vant/cli": "^3.9.0",
"vue": "^3.0.0"
"@vant/cli": "^4.0.0",
"vue": "^3.0.0",
"sass": "^1.49.7"
},
"eslintConfig": {
"root": true,

View File

@ -1,4 +1,4 @@
module.exports = {
export default {
name: '<%= name %>',
build: {
css: {

View File

@ -1,6 +1,6 @@
{
"name": "create-vant-cli-app",
"version": "1.1.1",
"version": "2.0.0",
"description": "Create Vant Cli App",
"main": "lib/index.js",
"bin": {

View File

@ -68,5 +68,4 @@ pnpm add @vant/cli -D
- [命令](https://github.com/youzan/vant/tree/dev/packages/vant-cli/docs/commands.md)
- [配置指南](https://github.com/youzan/vant/tree/dev/packages/vant-cli/docs/config.md)
- [目录结构](https://github.com/youzan/vant/tree/dev/packages/vant-cli/docs/directory.md)
- [桌面端组件](https://github.com/youzan/vant/tree/dev/packages/vant-cli/docs/desktop.md)
- [更新日志](https://github.com/youzan/vant/tree/dev/packages/vant-cli/changelog.md)

View File

@ -1,72 +1,57 @@
# 更新日志
## v4.0.0-rc.6
## v4.0.0
- 修复通过 pnpm 安装使用时报错的问题
## v4.0.0-rc.4
- 新增 CommonJS 格式的构建产物,分别为 `lib/[name].cjs.js``lib/[name].cjs.min.js`
- 现在 ESModule 和 CommonJS 格式的产物会自动对外部依赖进行 external 处理
- 修复 Windows 路径兼容问题
## v4.0.0-rc.3
`2022-02-07`
### 不兼容更新
- 支持的 node 版本范围提升到 `^14.16.0 || >=16.0.0`
- 使用 vite 代替 webpack 进行构建,移除了所有 webpack 相关依赖
- 使用 esbuild 进行代码转义和压缩
- 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
### 不兼容更新
- 使用 vite 代替 webpack 进行构建,移除了所有 webpack 相关依赖
- 站点构建产物的目录由 `site` 调整为 `site-dist`
- 不再支持 webpack.config.js 配置文件
- 不再支持 less import 语法中使用波浪号
- 不再在 demo 文件中自动注册组件
- 暂时不支持预览桌面端组件
- 移除 build 命令的 --watch 参数
- 移除内置的 babel-plugin-import 插件
- 由于不再使用 html-webpack-plugin, 因此移除了 site.htmlPluginOptions 配置项
- 为了避免幽灵依赖,不再默认依赖 `@vue/test-utils`,使用时需要手动安装
- 为了减少依赖数量,移除了默认安装的 sass 依赖,使用 sass 时需要手动安装:
```bash
yarn add sass
```
- 为了避免 Phantom dependency不再默认依赖 `@vue/test-utils`,使用时需要手动安装
### Features
- 新增 site.htmlMeta 配置项
- 新增 ESModule 格式的构建产物,分别为 `lib/[name].es.js``lib/[name].es.min.js`
### 依赖升级
对以下依赖进行了大版本升级:
- eslint v8
- jest v27
- husky v7
- ts-jest v27
- postcss v8
- clean-css v5
- commander v8
- babel-jest v27
- lint-staged v11
- autoprefixer v10
### Features
- 新增 site.htmlMeta 配置项
- 新增 build.configureWebpack 配置项
- 新增 ESModule 格式的构建产物,分别为 `lib/[name].es.js``lib/[name].es.min.js`
- 新增 CommonJS 格式的构建产物,分别为 `lib/[name].cjs.js``lib/[name].cjs.min.js`
- 现在 ESModule 和 CommonJS 格式的产物会自动对外部依赖进行 external 处理
### BugFixes
- 修复 Windows 路径兼容问题
- 修复通过 pnpm 安装使用时报错的问题
## v3.11.2
`2021-07-15`

View File

@ -25,7 +25,7 @@ npx vant-cli dev
运行本地开发环境。
运行 dev 命令时Vant Cli 会通过 [webpack-dev-server](https://github.com/webpack/webpack-dev-server) 启动一个本地服务器,用于在开发过程中对文档和示例进行预览。
运行 dev 命令时Vant Cli 会通过启动一个本地服务器,用于在开发过程中对文档和示例进行预览。
### build

View File

@ -1,84 +0,0 @@
## 关于桌面端组件
Vant Cli 也支持预览桌面端组件,你可以在组件的 `demo` 目录下新建一个 `.vue` 文件,并在组件的 `README` 中按如下格式声明要预览的组件:
```html
<demo-code>./demo/MyDemo.vue</demo-code>
```
`demo-code` 标签中间的文本为 `README``demo` 文件的相对路径。
```
button
├─ demo # 组件示例
│ └─ MyDemo.vue # 要预览的 demo 文件
├─ index.js # 组件入口
├─ index.less # 组件样式
└─ README.md # 组件文档
```
![image](https://user-images.githubusercontent.com/5093611/111076378-0e981a00-8527-11eb-8e3f-31f0be7e4021.png)
`demo-code` 标签支持以下属性:
| 名称 | 类型 | 描述 |
| --------- | ------- | --------------------------------------- |
| compact | boolean | 紧凑模式 |
| transform | boolean | 防止预览区内 fixed 定位的元素飞出预览区 |
| inline | boolean | 只显示组件本身,不显示预览区边框和代码 |
### `compact`
```html
<demo-code compact>./demo/MyDemo.vue</demo-code>
```
![image](https://user-images.githubusercontent.com/5093611/111076728-77cc5d00-8528-11eb-85f1-e7217344ab14.png)
### `transform`
```html
<demo-code transform>./demo/MyDemo.vue</demo-code>
```
![image](https://user-images.githubusercontent.com/5093611/111076799-d5f94000-8528-11eb-973f-c9d69f91d2a7.png)
### `inline`
```html
<demo-code inline>./demo/MyDemo.vue</demo-code>
```
![image](https://user-images.githubusercontent.com/5093611/111076845-15c02780-8529-11eb-9cfb-76c9b25dc2a2.png)
### 去除手机模拟器
对于 PC 端的组件,如果不需要右侧的手机模拟器,可以在 `vant.config.js` 文件中设置 `site.hideSimulator``true`,这样在所有页面都会隐藏手机模拟器,也可以只针对具体页面设置。
```js
module.exports = {
site: {
defaultLang: 'zh-CN',
hideSimulator: true, // 所有页面都不显示
locales: {
'zh-CN': {
title: 'Vant',
description: '轻量、可靠的移动端 Vue 组件库',
hideSimulator: true, // 中文下所有页面都不显示
nav: [
{
title: '基础组件',
items: [
{
path: 'button',
title: 'Button 按钮',
hideSimulator: true, // 只针对某个页面不显示
},
],
},
],
},
},
},
};
```

View File

@ -1,6 +1,6 @@
{
"name": "@vant/cli",
"version": "4.0.0-rc.6",
"version": "4.0.0",
"type": "module",
"main": "lib/index.js",
"typings": "lib/index.d.ts",

View File

@ -8,4 +8,31 @@ export function decamelize(str, sep = '-') {
.toLowerCase();
}
// from https://30secondsofcode.org
export function copyToClipboard(str) {
const el = document.createElement('textarea');
el.value = str;
el.setAttribute('readonly', '');
el.style.position = 'absolute';
el.style.left = '-9999px';
document.body.appendChild(el);
const selection = document.getSelection();
if (!selection) {
return;
}
const selected = selection.rangeCount > 0 ? selection.getRangeAt(0) : false;
el.select();
document.execCommand('copy');
document.body.removeChild(el);
if (selected) {
selection.removeAllRanges();
selection.addRange(selected);
}
}
export { isMobile };

View File

@ -8,6 +8,8 @@
</template>
<script>
import { copyToClipboard } from '../../common';
export default {
name: 'VanDocContent',
@ -21,6 +23,20 @@ export default {
},
},
watch: {
$route(to, from) {
if (from.path !== to.path) {
setTimeout(() => {
this.copyAction();
});
}
},
},
mounted() {
this.copyAction();
},
methods: {
onClick({ target }) {
if (['H2', 'H3', 'H4', 'H5'].includes(target.tagName)) {
@ -36,6 +52,31 @@ export default {
});
}
},
copyAction() {
const codeBoxes = document.querySelectorAll('.van-doc-card pre code');
if (!codeBoxes || !codeBoxes.length) {
return;
}
for (let i = 0; i < codeBoxes.length; i++) {
const item = codeBoxes[i];
let timer = null;
item.addEventListener('click', () => {
if (timer) return;
const content = item.innerText;
copyToClipboard(content);
item.classList.add('code-copy-success');
timer = setTimeout(() => {
item.classList.remove('code-copy-success');
timer = null;
}, 1400);
});
}
},
},
};
</script>
@ -47,6 +88,54 @@ export default {
background-color: var(--van-doc-background-2);
border-radius: var(--van-doc-border-radius);
> pre code {
position: relative;
padding-right: 30px;
pointer-events: none;
overflow: initial;
}
> pre:hover {
code::before {
position: absolute;
z-index: 9;
right: 14px;
top: 11px;
width: 20px;
height: 20px;
background-position: center;
background-size: contain;
background-image: url(data:image/png;base64,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);
cursor: pointer;
content: '';
display: block;
pointer-events: auto;
}
}
> pre .code-copy-success::after {
content: 'Copied!';
display: block;
position: absolute;
z-index: 9;
right: -4px;
top: 0;
animation: ease-out code-copy-animation 0.2s;
animation-fill-mode: forwards;
}
@keyframes code-copy-animation {
0% {
top: 0;
opacity: 0;
}
100% {
top: -20px;
opacity: 1;
}
}
> p a,
> ul a,
> table a,

View File

@ -19,7 +19,7 @@
title="Toggle source code panel"
class="action-icon"
role="source"
@click="toogleSource"
@click="toggleSource"
/>
</div>
<div
@ -33,32 +33,7 @@
</template>
<script>
// from https://30secondsofcode.org
function copyToClipboard(str) {
const el = document.createElement('textarea');
el.value = str;
el.setAttribute('readonly', '');
el.style.position = 'absolute';
el.style.left = '-9999px';
document.body.appendChild(el);
const selection = document.getSelection();
if (!selection) {
return;
}
const selected = selection.rangeCount > 0 ? selection.getRangeAt(0) : false;
el.select();
document.execCommand('copy');
document.body.removeChild(el);
if (selected) {
selection.removeAllRanges();
selection.addRange(selected);
}
}
import { copyToClipboard } from '../../common';
export default {
name: 'DemoPlayground',
@ -77,7 +52,7 @@ export default {
},
methods: {
unescape,
toogleSource() {
toggleSource() {
this.showSource = !this.showSource;
},
copySourceCode() {

View File

@ -0,0 +1,4 @@
/** @type {import('@jest/types').Config.InitialOptions} */
module.exports = {
resolver: '<rootDir>/jest.resolver.js',
};

View File

@ -0,0 +1,13 @@
// https://github.com/facebook/jest/issues/9771#issuecomment-871585234
const resolver = require('enhanced-resolve').create.sync({
conditionNames: ['require', 'node', 'default'],
extensions: ['.js', '.json', '.node', '.ts', '.tsx'],
});
module.exports = function (request, options) {
// list global module that must be resolved by defaultResolver here
if (['fs', 'http', 'path'].includes(request)) {
return options.defaultResolver(request, options);
}
return resolver(options.basedir, request);
};

View File

@ -7,6 +7,10 @@
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"scripts": {
"update:deps": "pnpm update --latest --interactive",
"test": "jest"
},
"repository": {
"type": "git",
"url": "https://github.com/youzan/vant.git",
@ -16,15 +20,19 @@
"author": "chenjiahan",
"license": "MIT",
"dependencies": {
"@typescript-eslint/eslint-plugin": "^5.3.1",
"@typescript-eslint/parser": "5.3.1",
"eslint-config-airbnb-base": "^14.2.1",
"@typescript-eslint/eslint-plugin": "^5.10.0",
"@typescript-eslint/parser": "^5.10.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.24.0",
"eslint-plugin-vue": "^7.18.0"
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-vue": "^8.4.0"
},
"devDependencies": {
"eslint": "^8.0.0",
"typescript": "~4.5.2"
"enhanced-resolve": "^5.8.3",
"eslint": "^8.7.0",
"typescript": "~4.5.5"
},
"peerDependencies": {
"eslint": "^7.32.0 || ^8.2.0"
}
}

View File

@ -20,9 +20,11 @@ async function lintProject(name) {
test('a vue project should pass lint', async () => {
const rest = await lintProject('vue');
expect([
'no-const-assign',
'@typescript-eslint/no-unused-vars',
'vue/multi-word-component-names',
'no-undef',
]).toEqual(rest);
});
@ -32,6 +34,7 @@ test('a vue-tsx project should pass lint', async () => {
expect([
'@typescript-eslint/no-unused-vars',
'vue/multi-word-component-names',
'vue/no-ref-as-operand',
'@typescript-eslint/no-empty-interface',
]).toEqual(rest);

View File

@ -8,6 +8,7 @@
const a = 1;
a = 1;
export default {
name: 'Todo',
data() {
return {
arr: [1, 2, 3],

View File

@ -2,7 +2,7 @@
### Tips
The current document is the changelog of Vant 3. If you want to view the changelog of Vant 2, please visit [Vant 2 Changelog](https://youzan.github.io/vant/#/en-US/changelog).
The current document is the changelog of Vant 3. If you want to view the changelog of Vant 2, please visit [Vant 2 Changelog](https://youzan.github.io/vant/v2/#/en-US/changelog).
### Intro
@ -16,20 +16,26 @@ Vant follows [Semantic Versioning 2.0.0](https://semver.org/lang/zh-CN/).
## Details
### [v3.4.4](https://github.com/youzan/vant/compare/v3.4.4...v3.4.3)
`2022-02-07`
- Vant 3 对应的 npm tag 切换为 `latest`
### [v3.4.3](https://github.com/compare/v3.4.2...v3.4.3)
`2022-01-26`
**Feature**
- Locale: add Hindi translation [#10248](https://github.com/issues/10248)
- Locale: add Korean translations [#10243](https://github.com/issues/10243)
- improve cursor of haptics elements [#10232](https://github.com/issues/10232)
- Locale: add Hindi translation [#10248](https://github.com/youzan/vant/issues/10248)
- Locale: add Korean translations [#10243](https://github.com/youzan/vant/issues/10243)
- improve cursor of haptics elements [#10232](https://github.com/youzan/vant/issues/10232)
**Bug Fixes**
- Icon: remove white space under image when using image URL [#10220](https://github.com/issues/10220)
- TreeSelect: click-nav event not work when clicking active item [#10239](https://github.com/issues/10239)
- Icon: remove white space under image when using image URL [#10220](https://github.com/youzan/vant/issues/10220)
- TreeSelect: click-nav event not work when clicking active item [#10239](https://github.com/youzan/vant/issues/10239)
### [v3.4.2](https://github.com/compare/v3.4.1...v3.4.2)

View File

@ -2,7 +2,7 @@
### 提示
当前文档为 Vant 3 的更新日志,如需查询 Vant 2 的更新内容,请访问 [Vant 2 更新日志](https://youzan.github.io/vant/#/zh-CN/changelog)。
当前文档为 Vant 3 的更新日志,如需查询 Vant 2 的更新内容,请访问 [Vant 2 更新日志](https://youzan.github.io/vant/v2/#/zh-CN/changelog)。
### 介绍
@ -16,20 +16,26 @@ Vant 遵循 [Semver](https://semver.org/lang/zh-CN/) 语义化版本规范。
## 更新内容
### [v3.4.4](https://github.com/youzan/vant/compare/v3.4.4...v3.4.3)
`2022-02-07`
- switch default npm tag to `latest`
### [v3.4.3](https://github.com/compare/v3.4.2...v3.4.3)
`2022-01-26`
**Feature**
- Locale: 新增 Hindi 印地语 [#10248](https://github.com/issues/10248)
- Locale: 新增 Korean 韩语 [#10243](https://github.com/issues/10243)
- 优化 cursor 样式 [#10232](https://github.com/issues/10232)
- Locale: 新增 Hindi 印地语 [#10248](https://github.com/youzan/vant/issues/10248)
- Locale: 新增 Korean 韩语 [#10243](https://github.com/youzan/vant/issues/10243)
- 优化 cursor 样式 [#10232](https://github.com/youzan/vant/issues/10232)
**Bug Fixes**
- Icon: 修复使用图片作为图标时水平未对齐的问题 [#10220](https://github.com/issues/10220)
- TreeSelect: 修复重复点击时无法触发 click-nav 事件的问题 [#10239](https://github.com/issues/10239)
- Icon: 修复使用图片作为图标时水平未对齐的问题 [#10220](https://github.com/youzan/vant/issues/10220)
- TreeSelect: 修复重复点击时无法触发 click-nav 事件的问题 [#10239](https://github.com/youzan/vant/issues/10239)
### [v3.4.2](https://github.com/compare/v3.4.1...v3.4.2)

View File

@ -10,11 +10,11 @@
Vant 是**有赞前端团队**开源的移动端组件库,于 2017 年开源。Vant 对内承载了有赞所有核心业务,对外服务十多万开发者,是业界主流的移动端组件库之一。
目前 Vant 官方提供了 [Vue 2 版本](https://vant-contrib.gitee.io/vant)、[Vue 3 版本](https://vant-contrib.gitee.io/vant/v3)和[微信小程序版本](http://vant-contrib.gitee.io/vant-weapp),并由社区团队维护 [React 版本](https://github.com/mxdi9i7/vant-react)和[支付宝小程序版本](https://github.com/ant-move/Vant-Aliapp)。
目前 Vant 官方提供了 [Vue 2 版本](https://vant-contrib.gitee.io/vant/v2)、[Vue 3 版本](https://vant-contrib.gitee.io/vant)和[微信小程序版本](http://vant-contrib.gitee.io/vant-weapp),并由社区团队维护 [React 版本](https://github.com/mxdi9i7/vant-react)和[支付宝小程序版本](https://github.com/ant-move/Vant-Aliapp)。
### 版本提示
你当前浏览的是 **Vant 3.x 版本** 的文档,适用于 Vue 3 开发。如果你在使用 Vue 2请浏览 [Vant 2 文档](https://vant-contrib.gitee.io/vant)。
你当前浏览的是 **Vant 3.x 版本** 的文档,适用于 Vue 3 开发。如果你在使用 Vue 2请浏览 [Vant 2 文档](https://vant-contrib.gitee.io/vant/v2)。
### 特性

View File

@ -7,21 +7,21 @@
Using `npm` to install:
```bash
# install Vant 2 for Vue 2 project
npm i vant@2
# install latest Vant for Vue 3 project
npm i vant
# install Vant 3 for Vue 3 project
npm i vant@3
# install Vant 2 for Vue 2 project
npm i vant@latest-v2
```
Using `yarn` or `pnpm`:
```bash
# with yarn
yarn add vant@3
yarn add vant
# with pnpm
pnpm add vant@3
pnpm add vant
```
### CDN
@ -32,12 +32,12 @@ The easiest way to use Vant is to include a CDN link in the html file, after whi
<!-- import style -->
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/vant@next/lib/index.css"
href="https://cdn.jsdelivr.net/npm/vant@3/lib/index.css"
/>
<!-- import script -->
<script src="https://cdn.jsdelivr.net/npm/vue@next"></script>
<script src="https://cdn.jsdelivr.net/npm/vant@next/lib/vant.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/vue@3"></script>
<script src="https://cdn.jsdelivr.net/npm/vant@3/lib/vant.min.js"></script>
<script>
// Render the Button component

View File

@ -11,21 +11,21 @@
在现有项目中使用 Vant 时,可以通过 `npm` 进行安装:
```bash
# Vue 2 项目,安装 Vant 2
npm i vant@2
# Vue 3 项目,安装最新版 Vant
npm i vant
# Vue 3 项目,安装 Vant 3
npm i vant@3
# Vue 2 项目,安装 Vant 2
npm i vant@latest-v2
```
当然,你也可以通过 `yarn``pnpm` 进行安装:
```bash
# 通过 yarn 安装
yarn add vant@3
yarn add vant
# 通过 pnpm 安装
pnpm add vant@3
pnpm add vant
```
### 通过 CDN 安装
@ -36,12 +36,12 @@ pnpm add vant@3
<!-- 引入样式文件 -->
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/vant@next/lib/index.css"
href="https://cdn.jsdelivr.net/npm/vant@3/lib/index.css"
/>
<!-- 引入 Vue 和 Vant 的 JS 文件 -->
<script src="https://cdn.jsdelivr.net/npm/vue@next"></script>
<script src="https://cdn.jsdelivr.net/npm/vant@next/lib/vant.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/vue@3"></script>
<script src="https://cdn.jsdelivr.net/npm/vant@3/lib/vant.min.js"></script>
<script>
// 在 #app 标签下渲染一个按钮组件

View File

@ -1,6 +1,6 @@
{
"name": "vant",
"version": "3.4.3",
"version": "3.4.4",
"description": "Mobile UI Components built on Vue",
"main": "lib/vant.cjs.js",
"module": "es/index.js",
@ -35,8 +35,8 @@
"test": "vant-cli test",
"build": "vant-cli build",
"build:site": "vant-cli build-site",
"release": "vant-cli release --tag next",
"release:site": "pnpm build:site && gh-pages -d site-dist --add --dest v3",
"release": "vant-cli release",
"release:site": "pnpm build:site && gh-pages -d site-dist --add",
"test:watch": "vant-cli test --watch",
"test:coverage": "open test/coverage/index.html"
},
@ -51,9 +51,6 @@
"bugs": "https://github.com/youzan/vant/issues",
"author": "chenjiahan",
"license": "MIT",
"npm": {
"tag": "next"
},
"keywords": [
"ui",
"vue",

View File

@ -33,7 +33,8 @@ export function runRuleValidator(value: unknown, rule: FieldRule) {
const returnVal = rule.validator!(value, rule);
if (isPromise(returnVal)) {
return returnVal.then(resolve);
returnVal.then(resolve);
return;
}
resolve(returnVal);

View File

@ -107,12 +107,17 @@ test('should support async validator in rules prop', async () => {
validator: (value, rule) => {
expect(value).toEqual('123');
expect(typeof rule).toEqual('object');
return new Promise((resolve) => resolve(true));
return new Promise((resolve) => {
resolve(true);
});
},
message: 'should pass',
},
{
validator: () => new Promise((resolve) => resolve(false)),
validator: () =>
new Promise((resolve) => {
resolve(false);
}),
message: 'should fail',
},
];

View File

@ -162,7 +162,9 @@ export default defineComponent({
}
};
const init = () => nextTick(onScroll);
const init = () => {
nextTick(onScroll);
};
useEventListener('scroll', onScroll, { target: scrollParent });

View File

@ -426,7 +426,10 @@ test('before-delete prop resolved', async () => {
const wrapper = mount(Uploader, {
props: {
modelValue: [{ url: IMAGE }],
beforeDelete: () => new Promise<boolean>((resolve) => resolve(true)),
beforeDelete: () =>
new Promise<boolean>((resolve) => {
resolve(true);
}),
},
});
@ -439,7 +442,10 @@ test('before-delete prop rejected', async () => {
const wrapper = mount(Uploader, {
props: {
modelValue: [{ url: IMAGE }],
beforeDelete: () => new Promise<boolean>((resolve, reject) => reject()),
beforeDelete: () =>
new Promise<boolean>((resolve, reject) => {
reject();
}),
},
});

View File

@ -7,8 +7,7 @@ export default {
packageManager: 'pnpm',
site: {
publicPath:
(typeof window === 'undefined' && process.env.PUBLIC_PATH) ||
'/vant/v3/',
(typeof window === 'undefined' && process.env.PUBLIC_PATH) || '/vant/',
},
vetur: {
tagPrefix: 'van-',
@ -19,7 +18,7 @@ export default {
darkModeClass: 'van-theme-dark',
versions: [
{ label: 'v1', link: '/vant/v1/' },
{ label: 'v2', link: '/vant/' },
{ label: 'v2', link: '/vant/v2/' },
],
baiduAnalytics: {
seed: 'ad6b5732c36321f2dafed737ac2da92f',

473
pnpm-lock.yaml generated
View File

@ -189,24 +189,26 @@ importers:
packages/vant-eslint-config:
specifiers:
'@typescript-eslint/eslint-plugin': ^5.3.1
'@typescript-eslint/parser': 5.3.1
eslint: ^8.0.0
eslint-config-airbnb-base: ^14.2.1
'@typescript-eslint/eslint-plugin': ^5.10.0
'@typescript-eslint/parser': ^5.10.0
enhanced-resolve: ^5.8.3
eslint: ^8.7.0
eslint-config-airbnb-base: ^15.0.0
eslint-config-prettier: ^8.3.0
eslint-plugin-import: ^2.24.0
eslint-plugin-vue: ^7.18.0
typescript: ~4.5.2
eslint-plugin-import: ^2.25.4
eslint-plugin-vue: ^8.4.0
typescript: ~4.5.5
dependencies:
'@typescript-eslint/eslint-plugin': 5.3.1_0b03015ac9d0c5d1a285585c9a5df9b9
'@typescript-eslint/parser': 5.3.1_eslint@8.2.0+typescript@4.5.2
eslint-config-airbnb-base: 14.2.1_3f013334cb52440e201498cdb6b29798
eslint-config-prettier: 8.3.0_eslint@8.2.0
eslint-plugin-import: 2.25.2_eslint@8.2.0
eslint-plugin-vue: 7.20.0_eslint@8.2.0
'@typescript-eslint/eslint-plugin': 5.10.0_706fb07ce74b1db611f19a02ad2ce784
'@typescript-eslint/parser': 5.10.0_eslint@8.7.0+typescript@4.5.5
eslint-config-airbnb-base: 15.0.0_9ff7dbcc486b497d34e34a545c49272a
eslint-config-prettier: 8.3.0_eslint@8.7.0
eslint-plugin-import: 2.25.4_eslint@8.7.0
eslint-plugin-vue: 8.4.0_eslint@8.7.0
devDependencies:
eslint: 8.2.0
typescript: 4.5.2
enhanced-resolve: 5.8.3
eslint: 8.7.0
typescript: 4.5.5
packages/vant-icons:
specifiers:
@ -1064,6 +1066,23 @@ packages:
transitivePeerDependencies:
- supports-color
/@eslint/eslintrc/1.0.5:
resolution: {integrity: sha512-BLxsnmK3KyPunz5wmCCpqy0YelEoxxGmH73Is+Z74oOTMtExcjkr3dDR6quwrjh1YspA8DH9gnX1o069KiS9AQ==, tarball: '@eslint/eslintrc/download/@eslint/eslintrc-1.0.5.tgz'}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
dependencies:
ajv: 6.12.6
debug: 4.3.2
espree: 9.3.0
globals: 13.12.0
ignore: 4.0.6
import-fresh: 3.3.0
js-yaml: 4.1.0
minimatch: 3.0.4
strip-json-comments: 3.1.1
transitivePeerDependencies:
- supports-color
dev: true
/@humanwhocodes/config-array/0.6.0:
resolution: {integrity: sha1-tWIf2zsyMJ0tFldUVsvCd/qPAho=, tarball: '@humanwhocodes/config-array/download/@humanwhocodes/config-array-0.6.0.tgz'}
engines: {node: '>=10.10.0'}
@ -1074,6 +1093,17 @@ packages:
transitivePeerDependencies:
- supports-color
/@humanwhocodes/config-array/0.9.2:
resolution: {integrity: sha1-aL5VxzcCMAnfxf4kXVEYG7ZHaRQ=, tarball: '@humanwhocodes/config-array/download/@humanwhocodes/config-array-0.9.2.tgz'}
engines: {node: '>=10.10.0'}
dependencies:
'@humanwhocodes/object-schema': 1.2.1
debug: 4.3.2
minimatch: 3.0.4
transitivePeerDependencies:
- supports-color
dev: true
/@humanwhocodes/object-schema/1.2.1:
resolution: {integrity: sha1-tSBSnsIdjllFoYUd/Rwy6U45/0U=, tarball: '@humanwhocodes/object-schema/download/@humanwhocodes/object-schema-1.2.1.tgz'}
@ -1208,7 +1238,7 @@ packages:
collect-v8-coverage: 1.0.1
exit: 0.1.2
glob: 7.2.0
graceful-fs: 4.2.8
graceful-fs: 4.2.9
istanbul-lib-coverage: 3.2.0
istanbul-lib-instrument: 4.0.3
istanbul-lib-report: 3.0.0
@ -1232,7 +1262,7 @@ packages:
engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0}
dependencies:
callsites: 3.1.0
graceful-fs: 4.2.8
graceful-fs: 4.2.9
source-map: 0.6.1
dev: false
@ -1251,7 +1281,7 @@ packages:
engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0}
dependencies:
'@jest/test-result': 27.3.1
graceful-fs: 4.2.8
graceful-fs: 4.2.9
jest-haste-map: 27.3.1
jest-runtime: 27.3.1
transitivePeerDependencies:
@ -1268,7 +1298,7 @@ packages:
chalk: 4.1.2
convert-source-map: 1.8.0
fast-json-stable-stringify: 2.1.0
graceful-fs: 4.2.8
graceful-fs: 4.2.9
jest-haste-map: 27.3.1
jest-regex-util: 27.0.6
jest-util: 27.3.1
@ -1639,8 +1669,8 @@ packages:
'@types/yargs-parser': 20.2.1
dev: false
/@typescript-eslint/eslint-plugin/5.3.1_0b03015ac9d0c5d1a285585c9a5df9b9:
resolution: {integrity: sha512-cFImaoIr5Ojj358xI/SDhjog57OK2NqlpxwdcgyxDA3bJlZcJq5CPzUXtpD7CxI2Hm6ATU7w5fQnnkVnmwpHqw==, tarball: '@typescript-eslint/eslint-plugin/download/@typescript-eslint/eslint-plugin-5.3.1.tgz'}
/@typescript-eslint/eslint-plugin/5.10.0_706fb07ce74b1db611f19a02ad2ce784:
resolution: {integrity: sha512-XXVKnMsq2fuu9K2KsIxPUGqb6xAImz8MEChClbXmE3VbveFtBUU5bzM6IPVWqzyADIgdkS2Ws/6Xo7W2TeZWjQ==, tarball: '@typescript-eslint/eslint-plugin/download/@typescript-eslint/eslint-plugin-5.10.0.tgz'}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
peerDependencies:
'@typescript-eslint/parser': ^5.0.0
@ -1650,41 +1680,24 @@ packages:
typescript:
optional: true
dependencies:
'@typescript-eslint/experimental-utils': 5.3.1_eslint@8.2.0+typescript@4.5.2
'@typescript-eslint/parser': 5.3.1_eslint@8.2.0+typescript@4.5.2
'@typescript-eslint/scope-manager': 5.3.1
'@typescript-eslint/parser': 5.10.0_eslint@8.7.0+typescript@4.5.5
'@typescript-eslint/scope-manager': 5.10.0
'@typescript-eslint/type-utils': 5.10.0_eslint@8.7.0+typescript@4.5.5
'@typescript-eslint/utils': 5.10.0_eslint@8.7.0+typescript@4.5.5
debug: 4.3.2
eslint: 8.2.0
eslint: 8.7.0
functional-red-black-tree: 1.0.1
ignore: 5.1.9
regexpp: 3.2.0
semver: 7.3.5
tsutils: 3.21.0_typescript@4.5.2
typescript: 4.5.2
tsutils: 3.21.0_typescript@4.5.5
typescript: 4.5.5
transitivePeerDependencies:
- supports-color
dev: false
/@typescript-eslint/experimental-utils/5.3.1_eslint@8.2.0+typescript@4.5.2:
resolution: {integrity: sha512-RgFn5asjZ5daUhbK5Sp0peq0SSMytqcrkNfU4pnDma2D8P3ElZ6JbYjY8IMSFfZAJ0f3x3tnO3vXHweYg0g59w==, tarball: '@typescript-eslint/experimental-utils/download/@typescript-eslint/experimental-utils-5.3.1.tgz'}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
peerDependencies:
eslint: '*'
dependencies:
'@types/json-schema': 7.0.9
'@typescript-eslint/scope-manager': 5.3.1
'@typescript-eslint/types': 5.3.1
'@typescript-eslint/typescript-estree': 5.3.1_typescript@4.5.2
eslint: 8.2.0
eslint-scope: 5.1.1
eslint-utils: 3.0.0_eslint@8.2.0
transitivePeerDependencies:
- supports-color
- typescript
dev: false
/@typescript-eslint/parser/5.3.1_eslint@8.2.0+typescript@4.5.2:
resolution: {integrity: sha512-TD+ONlx5c+Qhk21x9gsJAMRohWAUMavSOmJgv3JGy9dgPhuBd5Wok0lmMClZDyJNLLZK1JRKiATzCKZNUmoyfw==, tarball: '@typescript-eslint/parser/download/@typescript-eslint/parser-5.3.1.tgz'}
/@typescript-eslint/parser/5.10.0_eslint@8.7.0+typescript@4.5.5:
resolution: {integrity: sha512-pJB2CCeHWtwOAeIxv8CHVGJhI5FNyJAIpx5Pt72YkK3QfEzt6qAlXZuyaBmyfOdM62qU0rbxJzNToPTVeJGrQw==, tarball: '@typescript-eslint/parser/download/@typescript-eslint/parser-5.10.0.tgz'}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
peerDependencies:
eslint: ^6.0.0 || ^7.0.0 || ^8.0.0
@ -1693,31 +1706,50 @@ packages:
typescript:
optional: true
dependencies:
'@typescript-eslint/scope-manager': 5.3.1
'@typescript-eslint/types': 5.3.1
'@typescript-eslint/typescript-estree': 5.3.1_typescript@4.5.2
'@typescript-eslint/scope-manager': 5.10.0
'@typescript-eslint/types': 5.10.0
'@typescript-eslint/typescript-estree': 5.10.0_typescript@4.5.5
debug: 4.3.2
eslint: 8.2.0
typescript: 4.5.2
eslint: 8.7.0
typescript: 4.5.5
transitivePeerDependencies:
- supports-color
dev: false
/@typescript-eslint/scope-manager/5.3.1:
resolution: {integrity: sha512-XksFVBgAq0Y9H40BDbuPOTUIp7dn4u8oOuhcgGq7EoDP50eqcafkMVGrypyVGvDYHzjhdUCUwuwVUK4JhkMAMg==, tarball: '@typescript-eslint/scope-manager/download/@typescript-eslint/scope-manager-5.3.1.tgz'}
/@typescript-eslint/scope-manager/5.10.0:
resolution: {integrity: sha512-tgNgUgb4MhqK6DoKn3RBhyZ9aJga7EQrw+2/OiDk5hKf3pTVZWyqBi7ukP+Z0iEEDMF5FDa64LqODzlfE4O/Dg==, tarball: '@typescript-eslint/scope-manager/download/@typescript-eslint/scope-manager-5.10.0.tgz'}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
dependencies:
'@typescript-eslint/types': 5.3.1
'@typescript-eslint/visitor-keys': 5.3.1
'@typescript-eslint/types': 5.10.0
'@typescript-eslint/visitor-keys': 5.10.0
dev: false
/@typescript-eslint/types/5.3.1:
resolution: {integrity: sha512-bG7HeBLolxKHtdHG54Uac750eXuQQPpdJfCYuw4ZI3bZ7+GgKClMWM8jExBtp7NSP4m8PmLRM8+lhzkYnSmSxQ==, tarball: '@typescript-eslint/types/download/@typescript-eslint/types-5.3.1.tgz'}
/@typescript-eslint/type-utils/5.10.0_eslint@8.7.0+typescript@4.5.5:
resolution: {integrity: sha512-TzlyTmufJO5V886N+hTJBGIfnjQDQ32rJYxPaeiyWKdjsv2Ld5l8cbS7pxim4DeNs62fKzRSt8Q14Evs4JnZyQ==, tarball: '@typescript-eslint/type-utils/download/@typescript-eslint/type-utils-5.10.0.tgz'}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
peerDependencies:
eslint: '*'
typescript: '*'
peerDependenciesMeta:
typescript:
optional: true
dependencies:
'@typescript-eslint/utils': 5.10.0_eslint@8.7.0+typescript@4.5.5
debug: 4.3.2
eslint: 8.7.0
tsutils: 3.21.0_typescript@4.5.5
typescript: 4.5.5
transitivePeerDependencies:
- supports-color
dev: false
/@typescript-eslint/types/5.10.0:
resolution: {integrity: sha512-wUljCgkqHsMZbw60IbOqT/puLfyqqD5PquGiBo1u1IS3PLxdi3RDGlyf032IJyh+eQoGhz9kzhtZa+VC4eWTlQ==, tarball: '@typescript-eslint/types/download/@typescript-eslint/types-5.10.0.tgz'}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
dev: false
/@typescript-eslint/typescript-estree/5.3.1_typescript@4.5.2:
resolution: {integrity: sha512-PwFbh/PKDVo/Wct6N3w+E4rLZxUDgsoII/GrWM2A62ETOzJd4M6s0Mu7w4CWsZraTbaC5UQI+dLeyOIFF1PquQ==, tarball: '@typescript-eslint/typescript-estree/download/@typescript-eslint/typescript-estree-5.3.1.tgz'}
/@typescript-eslint/typescript-estree/5.10.0_typescript@4.5.5:
resolution: {integrity: sha512-x+7e5IqfwLwsxTdliHRtlIYkgdtYXzE0CkFeV6ytAqq431ZyxCFzNMNR5sr3WOlIG/ihVZr9K/y71VHTF/DUQA==, tarball: '@typescript-eslint/typescript-estree/download/@typescript-eslint/typescript-estree-5.10.0.tgz'}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
peerDependencies:
typescript: '*'
@ -1725,24 +1757,42 @@ packages:
typescript:
optional: true
dependencies:
'@typescript-eslint/types': 5.3.1
'@typescript-eslint/visitor-keys': 5.3.1
'@typescript-eslint/types': 5.10.0
'@typescript-eslint/visitor-keys': 5.10.0
debug: 4.3.2
globby: 11.0.4
is-glob: 4.0.3
semver: 7.3.5
tsutils: 3.21.0_typescript@4.5.2
typescript: 4.5.2
tsutils: 3.21.0_typescript@4.5.5
typescript: 4.5.5
transitivePeerDependencies:
- supports-color
dev: false
/@typescript-eslint/visitor-keys/5.3.1:
resolution: {integrity: sha512-3cHUzUuVTuNHx0Gjjt5pEHa87+lzyqOiHXy/Gz+SJOCW1mpw9xQHIIEwnKn+Thph1mgWyZ90nboOcSuZr/jTTQ==, tarball: '@typescript-eslint/visitor-keys/download/@typescript-eslint/visitor-keys-5.3.1.tgz'}
/@typescript-eslint/utils/5.10.0_eslint@8.7.0+typescript@4.5.5:
resolution: {integrity: sha512-IGYwlt1CVcFoE2ueW4/ioEwybR60RAdGeiJX/iDAw0t5w0wK3S7QncDwpmsM70nKgGTuVchEWB8lwZwHqPAWRg==, tarball: '@typescript-eslint/utils/download/@typescript-eslint/utils-5.10.0.tgz'}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
peerDependencies:
eslint: ^6.0.0 || ^7.0.0 || ^8.0.0
dependencies:
'@types/json-schema': 7.0.9
'@typescript-eslint/scope-manager': 5.10.0
'@typescript-eslint/types': 5.10.0
'@typescript-eslint/typescript-estree': 5.10.0_typescript@4.5.5
eslint: 8.7.0
eslint-scope: 5.1.1
eslint-utils: 3.0.0_eslint@8.7.0
transitivePeerDependencies:
- supports-color
- typescript
dev: false
/@typescript-eslint/visitor-keys/5.10.0:
resolution: {integrity: sha512-GMxj0K1uyrFLPKASLmZzCuSddmjZVbVj3Ouy5QVuIGKZopxvOr24JsS7gruz6C3GExE01mublZ3mIBOaon9zuQ==, tarball: '@typescript-eslint/visitor-keys/download/@typescript-eslint/visitor-keys-5.10.0.tgz'}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
dependencies:
'@typescript-eslint/types': 5.3.1
eslint-visitor-keys: 3.0.0
'@typescript-eslint/types': 5.10.0
eslint-visitor-keys: 3.2.0
dev: false
/@vitejs/plugin-vue-jsx/1.3.3:
@ -1902,6 +1952,12 @@ packages:
vue: 3.2.27
dev: true
/FileList/1.0.2:
resolution: {integrity: sha512-z7O0IS8Plc39rTCq6i6iHxk43duYOn8uFJiWSewIq0Bww1RNybVHSCjahmcC87ZqAm4OTvFzlzeGu3XAzG1ctQ==}
dependencies:
minimatch: 3.0.4
dev: false
/JSONStream/1.3.5:
resolution: {integrity: sha1-MgjB8I06TZkmGrZPkjArwV4RHKA=, tarball: JSONStream/download/JSONStream-1.3.5.tgz}
hasBin: true
@ -1921,21 +1977,20 @@ packages:
acorn-walk: 7.2.0
dev: false
/acorn-jsx/5.3.2_acorn@7.4.1:
resolution: {integrity: sha1-ftW7VZCLOy8bxVxq8WU7rafweTc=, tarball: acorn-jsx/download/acorn-jsx-5.3.2.tgz}
peerDependencies:
acorn: ^6.0.0 || ^7.0.0 || ^8.0.0
dependencies:
acorn: 7.4.1
dev: false
/acorn-jsx/5.3.2_acorn@8.5.0:
resolution: {integrity: sha1-ftW7VZCLOy8bxVxq8WU7rafweTc=, tarball: acorn-jsx/download/acorn-jsx-5.3.2.tgz}
resolution: {integrity: sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==, tarball: acorn-jsx/download/acorn-jsx-5.3.2.tgz}
peerDependencies:
acorn: ^6.0.0 || ^7.0.0 || ^8.0.0
dependencies:
acorn: 8.5.0
/acorn-jsx/5.3.2_acorn@8.7.0:
resolution: {integrity: sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==, tarball: acorn-jsx/download/acorn-jsx-5.3.2.tgz}
peerDependencies:
acorn: ^6.0.0 || ^7.0.0 || ^8.0.0
dependencies:
acorn: 8.7.0
/acorn-walk/7.2.0:
resolution: {integrity: sha1-DeiJpgEgOQmw++B7iTjcIdLpZ7w=, tarball: acorn-walk/download/acorn-walk-7.2.0.tgz}
engines: {node: '>=0.4.0'}
@ -1952,6 +2007,11 @@ packages:
engines: {node: '>=0.4.0'}
hasBin: true
/acorn/8.7.0:
resolution: {integrity: sha512-V/LGr1APy+PXIwKebEWrkZPwoeoF+w1jiOBUmuxuiUIaOHtob8Qc9BTrYo7VuI5fR8tqsy+buA2WFooR5olqvQ==, tarball: acorn/download/acorn-8.7.0.tgz}
engines: {node: '>=0.4.0'}
hasBin: true
/add-stream/1.0.0:
resolution: {integrity: sha1-anmQQ3ynNtXhKI25K9MmbV9csqo=, tarball: add-stream/download/add-stream-1.0.0.tgz}
dev: false
@ -2175,7 +2235,7 @@ packages:
babel-plugin-istanbul: 6.1.1
babel-preset-jest: 27.2.0_@babel+core@7.16.0
chalk: 4.1.2
graceful-fs: 4.2.8
graceful-fs: 4.2.9
slash: 3.0.0
transitivePeerDependencies:
- supports-color
@ -2822,19 +2882,19 @@ packages:
dev: false
/debug/2.6.9:
resolution: {integrity: sha1-XRKFFd8TT/Mn6QpMk/Tgd6U2NB8=, tarball: debug/download/debug-2.6.9.tgz?cache=0&sync_timestamp=1636334198444&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2Fdebug%2Fdownload%2Fdebug-2.6.9.tgz}
resolution: {integrity: sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==, tarball: debug/download/debug-2.6.9.tgz}
dependencies:
ms: 2.0.0
dev: false
/debug/3.2.7:
resolution: {integrity: sha1-clgLfpFF+zm2Z2+cXl+xALk0F5o=, tarball: debug/download/debug-3.2.7.tgz}
resolution: {integrity: sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==, tarball: debug/download/debug-3.2.7.tgz}
dependencies:
ms: 2.1.3
dev: false
/debug/4.3.2:
resolution: {integrity: sha1-8KScGKyHeeMdSgxgKd+3aHPHQos=, tarball: debug/download/debug-4.3.2.tgz?cache=0&sync_timestamp=1636334198444&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2Fdebug%2Fdownload%2Fdebug-4.3.2.tgz}
resolution: {integrity: sha512-mOp8wKcvj7XxC78zLgw/ZA+6TSgkoE2C/ienthhRD298T7UNwAg9diBpLRxC0mOezLl4B0xV7M0cCO6P/O0Xhw==, tarball: debug/download/debug-4.3.2.tgz}
engines: {node: '>=6.0'}
peerDependencies:
supports-color: '*'
@ -2845,7 +2905,7 @@ packages:
ms: 2.1.2
/debug/4.3.2_supports-color@9.2.1:
resolution: {integrity: sha1-8KScGKyHeeMdSgxgKd+3aHPHQos=, tarball: debug/download/debug-4.3.2.tgz?cache=0&sync_timestamp=1636334198444&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2Fdebug%2Fdownload%2Fdebug-4.3.2.tgz}
resolution: {integrity: sha512-mOp8wKcvj7XxC78zLgw/ZA+6TSgkoE2C/ienthhRD298T7UNwAg9diBpLRxC0mOezLl4B0xV7M0cCO6P/O0Xhw==, tarball: debug/download/debug-4.3.2.tgz}
engines: {node: '>=6.0'}
peerDependencies:
supports-color: '*'
@ -3057,6 +3117,14 @@ packages:
dependencies:
once: 1.4.0
/enhanced-resolve/5.8.3:
resolution: {integrity: sha1-bVUtRlzOBCP1s9cYUR6lOCansvA=, tarball: enhanced-resolve/download/enhanced-resolve-5.8.3.tgz}
engines: {node: '>=10.13.0'}
dependencies:
graceful-fs: 4.2.9
tapable: 2.2.1
dev: true
/enquirer/2.3.6:
resolution: {integrity: sha1-Kn/l3WNKHkElqXXsmU/1RW3Dc00=, tarball: enquirer/download/enquirer-2.3.6.tgz}
engines: {node: '>=8.6'}
@ -3074,7 +3142,7 @@ packages:
resolution: {integrity: sha1-CY3JDruD2N/6CJ1VJWs1HTTE2lU=, tarball: entities/download/entities-2.2.0.tgz}
/errno/0.1.8:
resolution: {integrity: sha1-i7Ppx9Rjvkl2/4iPdrSAnrwugR8=, tarball: errno/download/errno-0.1.8.tgz}
resolution: {integrity: sha512-dJ6oBr5SQ1VSd9qkk7ByRgb/1SH4JZjCHSW/mr63/QcXO9zLVxvJ6Oy13nio03rxpSnVDDjFor75SjVeZWPW/A==}
hasBin: true
requiresBuild: true
dependencies:
@ -3458,27 +3526,28 @@ packages:
source-map: 0.6.1
dev: false
/eslint-config-airbnb-base/14.2.1_3f013334cb52440e201498cdb6b29798:
resolution: {integrity: sha1-ii6zhFXcWjElUBk7MZza7vBCzR4=, tarball: eslint-config-airbnb-base/download/eslint-config-airbnb-base-14.2.1.tgz}
engines: {node: '>= 6'}
/eslint-config-airbnb-base/15.0.0_9ff7dbcc486b497d34e34a545c49272a:
resolution: {integrity: sha512-xaX3z4ZZIcFLvh2oUNvcX5oEofXda7giYmuplVxoOg5A7EXJMrUyqRgR+mhDhPK8LZ4PttFOBvCYDbX3sUoUig==, tarball: eslint-config-airbnb-base/download/eslint-config-airbnb-base-15.0.0.tgz?cache=0&sync_timestamp=1636610172133&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2Feslint-config-airbnb-base%2Fdownload%2Feslint-config-airbnb-base-15.0.0.tgz}
engines: {node: ^10.12.0 || >=12.0.0}
peerDependencies:
eslint: ^5.16.0 || ^6.8.0 || ^7.2.0
eslint-plugin-import: ^2.22.1
eslint: ^7.32.0 || ^8.2.0
eslint-plugin-import: ^2.25.2
dependencies:
confusing-browser-globals: 1.0.10
eslint: 8.2.0
eslint-plugin-import: 2.25.2_eslint@8.2.0
eslint: 8.7.0
eslint-plugin-import: 2.25.4_eslint@8.7.0
object.assign: 4.1.2
object.entries: 1.1.5
semver: 6.3.0
dev: false
/eslint-config-prettier/8.3.0_eslint@8.2.0:
/eslint-config-prettier/8.3.0_eslint@8.7.0:
resolution: {integrity: sha1-90cbILb+ipqSVMxoRFQgKIai3Xo=, tarball: eslint-config-prettier/download/eslint-config-prettier-8.3.0.tgz?cache=0&sync_timestamp=1632822782433&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2Feslint-config-prettier%2Fdownload%2Feslint-config-prettier-8.3.0.tgz}
hasBin: true
peerDependencies:
eslint: '>=7.0.0'
dependencies:
eslint: 8.2.0
eslint: 8.7.0
dev: false
/eslint-import-resolver-node/0.3.6:
@ -3488,17 +3557,16 @@ packages:
resolve: 1.20.0
dev: false
/eslint-module-utils/2.7.1:
resolution: {integrity: sha1-tDUAHJ+N1Kt/bQ78rkuWltTCS3w=, tarball: eslint-module-utils/download/eslint-module-utils-2.7.1.tgz}
/eslint-module-utils/2.7.2:
resolution: {integrity: sha512-zquepFnWCY2ISMFwD/DqzaM++H+7PDzOpUvotJWm/y1BAFt5R4oeULgdrTejKqLkz7MA/tgstsUMNYc7wNdTrg==, tarball: eslint-module-utils/download/eslint-module-utils-2.7.2.tgz}
engines: {node: '>=4'}
dependencies:
debug: 3.2.7
find-up: 2.1.0
pkg-dir: 2.0.0
dev: false
/eslint-plugin-import/2.25.2_eslint@8.2.0:
resolution: {integrity: sha1-s7kWDv3bcC/BY2ZZ5xuh0Qrb6ek=, tarball: eslint-plugin-import/download/eslint-plugin-import-2.25.2.tgz}
/eslint-plugin-import/2.25.4_eslint@8.7.0:
resolution: {integrity: sha512-/KJBASVFxpu0xg1kIBn9AUa8hQVnszpwgE7Ld0lKAlx7Ie87yzEzCgSkekt+le/YVhiaosO4Y14GDAOc41nfxA==, tarball: eslint-plugin-import/download/eslint-plugin-import-2.25.4.tgz}
engines: {node: '>=4'}
peerDependencies:
eslint: ^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8
@ -3507,29 +3575,29 @@ packages:
array.prototype.flat: 1.2.5
debug: 2.6.9
doctrine: 2.1.0
eslint: 8.2.0
eslint: 8.7.0
eslint-import-resolver-node: 0.3.6
eslint-module-utils: 2.7.1
eslint-module-utils: 2.7.2
has: 1.0.3
is-core-module: 2.8.0
is-glob: 4.0.3
minimatch: 3.0.4
object.values: 1.1.5
resolve: 1.20.0
tsconfig-paths: 3.11.0
tsconfig-paths: 3.12.0
dev: false
/eslint-plugin-vue/7.20.0_eslint@8.2.0:
resolution: {integrity: sha1-mMIYhaa/3wcTw6kpV6Wv6q7tklM=, tarball: eslint-plugin-vue/download/eslint-plugin-vue-7.20.0.tgz}
engines: {node: '>=8.10'}
/eslint-plugin-vue/8.4.0_eslint@8.7.0:
resolution: {integrity: sha512-Ga96QRG8GA9AyzKtEDxqYRCMt/VJM4SLkcNmm4FvUiFBE4jpaBr25unRBi9iVmHLYhA9EZ/4I+jD8n1vfWzyAA==, tarball: eslint-plugin-vue/download/eslint-plugin-vue-8.4.0.tgz}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
peerDependencies:
eslint: ^6.2.0 || ^7.0.0 || ^8.0.0
dependencies:
eslint: 8.2.0
eslint-utils: 2.1.0
eslint: 8.7.0
eslint-utils: 3.0.0_eslint@8.7.0
natural-compare: 1.4.0
semver: 6.3.0
vue-eslint-parser: 7.11.0_eslint@8.2.0
semver: 7.3.5
vue-eslint-parser: 8.1.0_eslint@8.7.0
transitivePeerDependencies:
- supports-color
dev: false
@ -3549,15 +3617,15 @@ packages:
esrecurse: 4.3.0
estraverse: 5.3.0
/eslint-utils/2.1.0:
resolution: {integrity: sha1-0t5eA0JOcH3BDHQGjd7a5wh0Gyc=, tarball: eslint-utils/download/eslint-utils-2.1.0.tgz?cache=0&sync_timestamp=1632822771335&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2Feslint-utils%2Fdownload%2Feslint-utils-2.1.0.tgz}
engines: {node: '>=6'}
/eslint-scope/7.1.0:
resolution: {integrity: sha512-aWwkhnS0qAXqNOgKOK0dJ2nvzEbhEvpy8OlJ9kZ0FeZnA6zpjv1/Vei+puGFFX7zkPCkHHXb7IDX3A+7yPrRWg==, tarball: eslint-scope/download/eslint-scope-7.1.0.tgz}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
dependencies:
eslint-visitor-keys: 1.3.0
dev: false
esrecurse: 4.3.0
estraverse: 5.3.0
/eslint-utils/3.0.0_eslint@8.2.0:
resolution: {integrity: sha1-iuuvrOc0W7M1WdsKHxOh0tSMNnI=, tarball: eslint-utils/download/eslint-utils-3.0.0.tgz?cache=0&sync_timestamp=1633171068631&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2Feslint-utils%2Fdownload%2Feslint-utils-3.0.0.tgz}
resolution: {integrity: sha1-iuuvrOc0W7M1WdsKHxOh0tSMNnI=, tarball: eslint-utils/download/eslint-utils-3.0.0.tgz}
engines: {node: ^10.0.0 || ^12.0.0 || >= 14.0.0}
peerDependencies:
eslint: '>=5'
@ -3565,10 +3633,14 @@ packages:
eslint: 8.2.0
eslint-visitor-keys: 2.1.0
/eslint-visitor-keys/1.3.0:
resolution: {integrity: sha1-MOvR73wv3/AcOk8VEESvJfqwUj4=, tarball: eslint-visitor-keys/download/eslint-visitor-keys-1.3.0.tgz?cache=0&sync_timestamp=1636381637069&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2Feslint-visitor-keys%2Fdownload%2Feslint-visitor-keys-1.3.0.tgz}
engines: {node: '>=4'}
dev: false
/eslint-utils/3.0.0_eslint@8.7.0:
resolution: {integrity: sha1-iuuvrOc0W7M1WdsKHxOh0tSMNnI=, tarball: eslint-utils/download/eslint-utils-3.0.0.tgz}
engines: {node: ^10.0.0 || ^12.0.0 || >= 14.0.0}
peerDependencies:
eslint: '>=5'
dependencies:
eslint: 8.7.0
eslint-visitor-keys: 2.1.0
/eslint-visitor-keys/2.1.0:
resolution: {integrity: sha1-9lMoJZMFknOSyTjtROsKXJsr0wM=, tarball: eslint-visitor-keys/download/eslint-visitor-keys-2.1.0.tgz}
@ -3578,6 +3650,10 @@ packages:
resolution: {integrity: sha1-4y6Zxs3C6wY/IE7aXbZ7/li7QYY=, tarball: eslint-visitor-keys/download/eslint-visitor-keys-3.0.0.tgz?cache=0&sync_timestamp=1636381637069&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2Feslint-visitor-keys%2Fdownload%2Feslint-visitor-keys-3.0.0.tgz}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
/eslint-visitor-keys/3.2.0:
resolution: {integrity: sha512-IOzT0X126zn7ALX0dwFiUQEdsfzrm4+ISsQS8nukaJXwEyYKRSnEIIDULYg1mCtGp7UUXgfGl7BIolXREQK+XQ==, tarball: eslint-visitor-keys/download/eslint-visitor-keys-3.2.0.tgz}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
/eslint/8.2.0:
resolution: {integrity: sha1-RNP7UG0PhmpQbZeg/A6Q7m0GqBU=, tarball: eslint/download/eslint-8.2.0.tgz}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
@ -3624,14 +3700,49 @@ packages:
transitivePeerDependencies:
- supports-color
/espree/6.2.1:
resolution: {integrity: sha1-d/xy4f10SiBSwg84pbV1gy6Cc0o=, tarball: espree/download/espree-6.2.1.tgz}
engines: {node: '>=6.0.0'}
/eslint/8.7.0:
resolution: {integrity: sha512-ifHYzkBGrzS2iDU7KjhCAVMGCvF6M3Xfs8X8b37cgrUlDt6bWRTpRh6T/gtSXv1HJ/BUGgmjvNvOEGu85Iif7w==, tarball: eslint/download/eslint-8.7.0.tgz}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
hasBin: true
dependencies:
acorn: 7.4.1
acorn-jsx: 5.3.2_acorn@7.4.1
eslint-visitor-keys: 1.3.0
dev: false
'@eslint/eslintrc': 1.0.5
'@humanwhocodes/config-array': 0.9.2
ajv: 6.12.6
chalk: 4.1.2
cross-spawn: 7.0.3
debug: 4.3.2
doctrine: 3.0.0
escape-string-regexp: 4.0.0
eslint-scope: 7.1.0
eslint-utils: 3.0.0_eslint@8.7.0
eslint-visitor-keys: 3.2.0
espree: 9.3.0
esquery: 1.4.0
esutils: 2.0.3
fast-deep-equal: 3.1.3
file-entry-cache: 6.0.1
functional-red-black-tree: 1.0.1
glob-parent: 6.0.2
globals: 13.12.0
ignore: 5.2.0
import-fresh: 3.3.0
imurmurhash: 0.1.4
is-glob: 4.0.3
js-yaml: 4.1.0
json-stable-stringify-without-jsonify: 1.0.1
levn: 0.4.1
lodash.merge: 4.6.2
minimatch: 3.0.4
natural-compare: 1.4.0
optionator: 0.9.1
regexpp: 3.2.0
strip-ansi: 6.0.1
strip-json-comments: 3.1.1
text-table: 0.2.0
v8-compile-cache: 2.3.0
transitivePeerDependencies:
- supports-color
dev: true
/espree/9.0.0:
resolution: {integrity: sha1-6QopZWmCKFAudxx6WEibGp0QcJA=, tarball: espree/download/espree-9.0.0.tgz}
@ -3641,6 +3752,14 @@ packages:
acorn-jsx: 5.3.2_acorn@8.5.0
eslint-visitor-keys: 3.0.0
/espree/9.3.0:
resolution: {integrity: sha512-d/5nCsb0JcqsSEeQzFZ8DH1RmxPcglRWh24EFTlUEmCKoehXGdpsx0RkHDubqUI8LSAIKMQp4r9SzQ3n+sm4HQ==, tarball: espree/download/espree-9.3.0.tgz}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
dependencies:
acorn: 8.7.0
acorn-jsx: 5.3.2_acorn@8.7.0
eslint-visitor-keys: 3.2.0
/esprima/4.0.1:
resolution: {integrity: sha1-E7BM2z5sXRnfkatph6hpVhmwqnE=, tarball: esprima/download/esprima-4.0.1.tgz}
engines: {node: '>=4'}
@ -3789,12 +3908,6 @@ packages:
dependencies:
flat-cache: 3.0.4
/filelist/1.0.2:
resolution: {integrity: sha1-gCAvIUYtTRwuIUEZsYB8G8A4Dls=, tarball: filelist/download/filelist-1.0.2.tgz}
dependencies:
minimatch: 3.0.4
dev: false
/filename-reserved-regex/2.0.0:
resolution: {integrity: sha1-q/c9+rc10EVECr/qLZHzieu/oik=, tarball: filename-reserved-regex/download/filename-reserved-regex-2.0.0.tgz}
engines: {node: '>=4'}
@ -3899,7 +4012,7 @@ packages:
resolution: {integrity: sha1-FQStJSMVjKpA20onh8sBQRmU6k8=, tarball: fs.realpath/download/fs.realpath-1.0.0.tgz}
/fsevents/2.3.2:
resolution: {integrity: sha1-ilJveLj99GI7cJ4Ll1xSwkwC/Ro=, tarball: fsevents/download/fsevents-2.3.2.tgz}
resolution: {integrity: sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==}
engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0}
os: [darwin]
requiresBuild: true
@ -4153,7 +4266,6 @@ packages:
/graceful-fs/4.2.9:
resolution: {integrity: sha512-NtNxqUcXgpW2iMrfqSfR73Glt39K+BLwWsPs94yR63v45T0Wbej7eRmL5cWfwEgqXnmjQp3zaJTshdRW/qC2ZQ==, tarball: graceful-fs/download/graceful-fs-4.2.9.tgz}
dev: false
/gray-matter/4.0.3:
resolution: {integrity: sha1-6JPAZIJd5z6h9ffYjHqfcnQoh5g=, tarball: gray-matter/download/gray-matter-4.0.3.tgz}
@ -4338,8 +4450,13 @@ packages:
resolution: {integrity: sha1-nsGly+jhRG7GDUQgBg1Dqm5zgvs=, tarball: ignore/download/ignore-5.1.9.tgz}
engines: {node: '>= 4'}
/ignore/5.2.0:
resolution: {integrity: sha512-CmxgYGiEPCLhfLnpPp1MoRmifwEIOgjcHXxOBjv7mY96c+eWScsOP9c112ZyLdWHi0FxHjI+4uVhKYp/gcdRmQ==, tarball: ignore/download/ignore-5.2.0.tgz}
engines: {node: '>= 4'}
dev: true
/image-size/0.5.5:
resolution: {integrity: sha1-Cd/Uq50g4p6xw+gLiZA3jfnjy5w=, tarball: image-size/download/image-size-0.5.5.tgz}
resolution: {integrity: sha512-6TDAlDPZxUFCv+fuOkIoXT/V/f3Qbq8e37p+YOiYrUv3v9cc3/6x78VdfPgFVaB9dZYeLUfKgHRebpkm/oP2VQ==}
engines: {node: '>=0.10.0'}
hasBin: true
requiresBuild: true
@ -4744,7 +4861,7 @@ packages:
dependencies:
async: 0.9.2
chalk: 2.4.2
filelist: 1.0.2
filelist: /FileList/1.0.2
minimatch: 3.0.4
dev: false
@ -4838,7 +4955,7 @@ packages:
ci-info: 3.2.0
deepmerge: 4.2.2
glob: 7.2.0
graceful-fs: 4.2.8
graceful-fs: 4.2.9
jest-circus: 27.3.1
jest-environment-jsdom: 27.3.1
jest-environment-node: 27.3.1
@ -4930,7 +5047,7 @@ packages:
'@types/node': 16.11.6
anymatch: 3.1.2
fb-watchman: 2.0.1
graceful-fs: 4.2.8
graceful-fs: 4.2.9
jest-regex-util: 27.0.6
jest-serializer: 27.0.6
jest-util: 27.3.1
@ -4993,7 +5110,7 @@ packages:
'@jest/types': 27.2.5
'@types/stack-utils': 2.0.1
chalk: 4.1.2
graceful-fs: 4.2.8
graceful-fs: 4.2.9
micromatch: 4.0.4
pretty-format: 27.3.1
slash: 3.0.0
@ -5042,7 +5159,7 @@ packages:
dependencies:
'@jest/types': 27.2.5
chalk: 4.1.2
graceful-fs: 4.2.8
graceful-fs: 4.2.9
jest-haste-map: 27.3.1
jest-pnp-resolver: 1.2.2_jest-resolve@27.3.1
jest-util: 27.3.1
@ -5065,7 +5182,7 @@ packages:
chalk: 4.1.2
emittery: 0.8.1
exit: 0.1.2
graceful-fs: 4.2.8
graceful-fs: 4.2.9
jest-docblock: 27.0.6
jest-environment-jsdom: 27.3.1
jest-environment-node: 27.3.1
@ -5103,7 +5220,7 @@ packages:
execa: 5.1.1
exit: 0.1.2
glob: 7.2.0
graceful-fs: 4.2.8
graceful-fs: 4.2.9
jest-haste-map: 27.3.1
jest-message-util: 27.3.1
jest-mock: 27.3.0
@ -5130,7 +5247,7 @@ packages:
engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0}
dependencies:
'@types/node': 16.11.6
graceful-fs: 4.2.8
graceful-fs: 4.2.9
dev: false
/jest-snapshot/27.3.1:
@ -5150,7 +5267,7 @@ packages:
babel-preset-current-node-syntax: 1.0.1_@babel+core@7.16.0
chalk: 4.1.2
expect: 27.3.1
graceful-fs: 4.2.8
graceful-fs: 4.2.9
jest-diff: 27.3.1
jest-get-type: 27.3.1
jest-haste-map: 27.3.1
@ -5173,7 +5290,7 @@ packages:
'@types/node': 16.11.6
chalk: 4.1.2
ci-info: 3.2.0
graceful-fs: 4.2.8
graceful-fs: 4.2.9
picomatch: 2.3.0
dev: false
@ -5323,7 +5440,7 @@ packages:
dev: false
/json5/1.0.1:
resolution: {integrity: sha1-d5+wAYYE+oVOrL9iUhgNg1Q+Pb4=, tarball: json5/download/json5-1.0.1.tgz}
resolution: {integrity: sha512-aKS4WQjPenRxiQsC93MNfjx+nbF4PAdYzmd/1JIj8HYzqfbu86beTuNgXDzPknWk0n0uARlyewZo4s++ES36Ow==, tarball: json5/download/json5-1.0.1.tgz}
hasBin: true
dependencies:
minimist: 1.2.5
@ -5339,7 +5456,7 @@ packages:
/jsonfile/4.0.0:
resolution: {integrity: sha1-h3Gq4HmbZAdrdmQPygWPnBDjPss=, tarball: jsonfile/download/jsonfile-4.0.0.tgz}
optionalDependencies:
graceful-fs: 4.2.8
graceful-fs: 4.2.9
dev: false
/jsonfile/6.1.0:
@ -5347,7 +5464,7 @@ packages:
dependencies:
universalify: 2.0.0
optionalDependencies:
graceful-fs: 4.2.8
graceful-fs: 4.2.9
dev: false
/jsonparse/1.3.1:
@ -5505,7 +5622,7 @@ packages:
resolution: {integrity: sha1-WjUNoLERO4N+z//VgSy+WNbq4ZM=, tarball: lodash.truncate/download/lodash.truncate-4.4.2.tgz}
/lodash/4.17.21:
resolution: {integrity: sha1-Z5WRxWTDv/quhFTPCz3zcMPWkRw=, tarball: lodash/download/lodash-4.17.21.tgz?cache=0&sync_timestamp=1632822706917&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2Flodash%2Fdownload%2Flodash-4.17.21.tgz}
resolution: {integrity: sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==, tarball: lodash/download/lodash-4.17.21.tgz}
/log-symbols/4.1.0:
resolution: {integrity: sha1-P727lbRoOsn8eFER55LlWNSr1QM=, tarball: log-symbols/download/log-symbols-4.1.0.tgz}
@ -5565,7 +5682,7 @@ packages:
dev: true
/make-dir/2.1.0:
resolution: {integrity: sha1-XwMQ4YuL6JjMBwCSlaMK5B6R5vU=, tarball: make-dir/download/make-dir-2.1.0.tgz}
resolution: {integrity: sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA==}
engines: {node: '>=6'}
requiresBuild: true
dependencies:
@ -5723,7 +5840,7 @@ packages:
mime-db: 1.50.0
/mime/1.6.0:
resolution: {integrity: sha1-Ms2eXGRVO9WNGaVor0Uqz/BJgbE=, tarball: mime/download/mime-1.6.0.tgz}
resolution: {integrity: sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==}
engines: {node: '>=4'}
hasBin: true
requiresBuild: true
@ -5774,14 +5891,14 @@ packages:
dev: false
/ms/2.0.0:
resolution: {integrity: sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=, tarball: ms/download/ms-2.0.0.tgz?cache=0&sync_timestamp=1632822734970&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2Fms%2Fdownload%2Fms-2.0.0.tgz}
resolution: {integrity: sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=, tarball: ms/download/ms-2.0.0.tgz}
dev: false
/ms/2.1.2:
resolution: {integrity: sha1-0J0fNXtEP0kzgqjrPM0YOHKuYAk=, tarball: ms/download/ms-2.1.2.tgz?cache=0&sync_timestamp=1632822734970&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2Fms%2Fdownload%2Fms-2.1.2.tgz}
resolution: {integrity: sha1-0J0fNXtEP0kzgqjrPM0YOHKuYAk=, tarball: ms/download/ms-2.1.2.tgz}
/ms/2.1.3:
resolution: {integrity: sha1-V0yBOM4dK1hh8LRFedut1gxmFbI=, tarball: ms/download/ms-2.1.3.tgz?cache=0&sync_timestamp=1632822734970&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2Fms%2Fdownload%2Fms-2.1.3.tgz}
resolution: {integrity: sha1-V0yBOM4dK1hh8LRFedut1gxmFbI=, tarball: ms/download/ms-2.1.3.tgz}
dev: false
/mute-stream/0.0.8:
@ -5802,7 +5919,7 @@ packages:
resolution: {integrity: sha1-Sr6/7tdUHywnrPspvbvRXI1bpPc=, tarball: natural-compare/download/natural-compare-1.4.0.tgz}
/needle/2.9.1:
resolution: {integrity: sha1-ItHf++NJDCuD4wH3cJtnNs2PJoQ=, tarball: needle/download/needle-2.9.1.tgz}
resolution: {integrity: sha512-6R9fqJ5Zcmf+uYaFgdIHmLwNldn5HbK8L5ybn7Uz+ylX/rnOsSp1AHcvQSrCaFN+qNM1wpymHqD7mVasEOlHGQ==}
engines: {node: '>= 4.4.x'}
hasBin: true
requiresBuild: true
@ -6225,13 +6342,6 @@ packages:
node-modules-regexp: 1.0.0
dev: false
/pkg-dir/2.0.0:
resolution: {integrity: sha1-9tXREJ4Z1j7fQo4L1X4Sd3YVM0s=, tarball: pkg-dir/download/pkg-dir-2.0.0.tgz}
engines: {node: '>=4'}
dependencies:
find-up: 2.1.0
dev: false
/pkg-dir/4.2.0:
resolution: {integrity: sha1-8JkTPfft5CLoHR2ESCcO6z5CYfM=, tarball: pkg-dir/download/pkg-dir-4.2.0.tgz}
engines: {node: '>=8'}
@ -7143,6 +7253,11 @@ packages:
string-width: 4.2.3
strip-ansi: 6.0.1
/tapable/2.2.1:
resolution: {integrity: sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ==, tarball: tapable/download/tapable-2.2.1.tgz}
engines: {node: '>=6'}
dev: true
/terminal-link/2.1.1:
resolution: {integrity: sha1-FKZKJ6s8Dfkz6lRvulXy0HjtyZQ=, tarball: terminal-link/download/terminal-link-2.1.1.tgz?cache=0&sync_timestamp=1632822733466&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2Fterminal-link%2Fdownload%2Fterminal-link-2.1.1.tgz}
engines: {node: '>=8'}
@ -7263,8 +7378,8 @@ packages:
/trough/1.0.5:
resolution: {integrity: sha1-uLY5zvrX0LsqvTfUM/+Ck++l9AY=, tarball: trough/download/trough-1.0.5.tgz}
/tsconfig-paths/3.11.0:
resolution: {integrity: sha1-lUwf6XPaYznHjgawPOLkiBC2XzY=, tarball: tsconfig-paths/download/tsconfig-paths-3.11.0.tgz}
/tsconfig-paths/3.12.0:
resolution: {integrity: sha512-e5adrnOYT6zqVnWqZu7i/BQ3BnhzvGbjEjejFXO20lKIKpwTaupkCPgEfv4GZK1IBciJUEhYs3J3p75FdaTFVg==, tarball: tsconfig-paths/download/tsconfig-paths-3.12.0.tgz}
dependencies:
'@types/json5': 0.0.29
json5: 1.0.1
@ -7273,7 +7388,7 @@ packages:
dev: false
/tslib/1.14.1:
resolution: {integrity: sha1-zy04vcNKE0vK8QkcQfZhni9nLQA=, tarball: tslib/download/tslib-1.14.1.tgz}
resolution: {integrity: sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==, tarball: tslib/download/tslib-1.14.1.tgz}
dev: false
/tslib/2.1.0:
@ -7283,14 +7398,14 @@ packages:
resolution: {integrity: sha1-6KM1rdXOrlGqJh0ypJAVjvBC7wE=, tarball: tslib/download/tslib-2.3.1.tgz}
dev: false
/tsutils/3.21.0_typescript@4.5.2:
resolution: {integrity: sha1-tIcX05TOpsHglpg+7Vjp1hcVtiM=, tarball: tsutils/download/tsutils-3.21.0.tgz?cache=0&sync_timestamp=1633171069163&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2Ftsutils%2Fdownload%2Ftsutils-3.21.0.tgz}
/tsutils/3.21.0_typescript@4.5.5:
resolution: {integrity: sha1-tIcX05TOpsHglpg+7Vjp1hcVtiM=, tarball: tsutils/download/tsutils-3.21.0.tgz?cache=0&sync_timestamp=1632822771870&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2Ftsutils%2Fdownload%2Ftsutils-3.21.0.tgz}
engines: {node: '>= 6'}
peerDependencies:
typescript: '>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta'
dependencies:
tslib: 1.14.1
typescript: 4.5.2
typescript: 4.5.5
dev: false
/type-check/0.3.2:
@ -7345,12 +7460,18 @@ packages:
engines: {node: '>=4.2.0'}
hasBin: true
/typescript/4.5.5:
resolution: {integrity: sha512-TCTIul70LyWe6IJWT8QSYeA54WQe8EjQFU4wY52Fasj5UKx88LNYKCgBEHcOMOrFF1rKGbD8v/xcNWVUq9SymA==, tarball: typescript/download/typescript-4.5.5.tgz}
engines: {node: '>=4.2.0'}
hasBin: true
dev: true
/uc.micro/1.0.6:
resolution: {integrity: sha1-nEEagCpAmpH8bPdAgbq6NLJEmaw=, tarball: uc.micro/download/uc.micro-1.0.6.tgz}
dev: false
/uglify-js/3.14.5:
resolution: {integrity: sha512-qZukoSxOG0urUTvjc2ERMTcAy+BiFh3weWAkeurLwjrCba73poHmG3E36XEjd/JGukMzwTL7uCxZiAexj8ppvQ==, tarball: uglify-js/download/uglify-js-3.14.5.tgz}
resolution: {integrity: sha512-qZukoSxOG0urUTvjc2ERMTcAy+BiFh3weWAkeurLwjrCba73poHmG3E36XEjd/JGukMzwTL7uCxZiAexj8ppvQ==}
engines: {node: '>=0.8.0'}
hasBin: true
requiresBuild: true
@ -7531,20 +7652,20 @@ packages:
fsevents: 2.3.2
dev: false
/vue-eslint-parser/7.11.0_eslint@8.2.0:
resolution: {integrity: sha1-IUtd6pYQB/z/su5luJEjB2KNDa8=, tarball: vue-eslint-parser/download/vue-eslint-parser-7.11.0.tgz}
engines: {node: '>=8.10'}
/vue-eslint-parser/8.1.0_eslint@8.7.0:
resolution: {integrity: sha512-R8Pl6MSvuU81JKyUguexcABQxfM51Q2ZJVBX0TrKiLltPB+haVLp4hfuR5msiu9oqpsQkaV+TF18r4CBw9c9qg==, tarball: vue-eslint-parser/download/vue-eslint-parser-8.1.0.tgz}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
peerDependencies:
eslint: '>=5.0.0'
eslint: '>=6.0.0'
dependencies:
debug: 4.3.2
eslint: 8.2.0
eslint-scope: 5.1.1
eslint-visitor-keys: 1.3.0
espree: 6.2.1
eslint: 8.7.0
eslint-scope: 7.1.0
eslint-visitor-keys: 3.2.0
espree: 9.3.0
esquery: 1.4.0
lodash: 4.17.21
semver: 6.3.0
semver: 7.3.5
transitivePeerDependencies:
- supports-color
dev: false