Compare commits

...

14 Commits

Author SHA1 Message Date
chenjiahan
fb969d6b20 chore: remove @babel/runtime from deps 2021-04-16 17:44:14 +08:00
chenjiahan
87558aaa33 chore: release @vant/lazyload@1.1.1 2021-04-16 17:41:20 +08:00
chenjiahan
077389d6fa chore: release @vant/use@1.1.1 2021-04-16 17:35:08 +08:00
chenjiahan
bca589fc9b docs(@vant/cli): changelog 3.10.1 2021-04-16 17:32:27 +08:00
chenjiahan
d7640cd12f chore: release @vant/cli@3.10.1 2021-04-16 17:22:33 +08:00
chenjiahan
19c6fef0db chore: release @vant/markdown-vetur@2.2.0 2021-04-16 17:22:02 +08:00
chenjiahan
f855efbd59 Merge branch 'dev' of https://github.com/youzan/vant into dev 2021-04-16 17:18:32 +08:00
Ttou
74e2b10b74
feat(markdown-vetur): 支持生成 attributes.json 的 options 属性 (#8545)
* feat(markdown-vetur): 支持生成 attributes.json 的 options 属性

* fix(markdown-vetur): 没有可选值不添加 options 属性
2021-04-16 17:18:01 +08:00
chenjiahan
867eebfa00 chore: bump @vant/area-data@1.1.0 2021-04-16 15:09:00 +08:00
neverland
805916b6e0
chore: update area data (#8546) 2021-04-16 15:04:35 +08:00
neverland
1bf3788798
docs: update browser support (#8532) 2021-04-15 09:50:01 +08:00
neverland
0a9f2102d1
chore: prefer using extend (#8531) 2021-04-15 09:39:20 +08:00
nemo-shen
dde06c43fe
fix(cli): display ⌘ + k shortcuts on docsearch (#8529) 2021-04-15 09:38:32 +08:00
nemo-shen
277c7f7a73
fix(cli): fix spelling error (#8530) 2021-04-15 09:37:19 +08:00
29 changed files with 234 additions and 168 deletions

View File

@ -67,7 +67,9 @@ Please make sure to read the [Contributing Guide](./.github/CONTRIBUTING.md) bef
## Browser Support
Modern browsers and Android 4.0+, iOS 8.0+.
Vant 2 supports modern browsers and Android >= 4.0、iOS >= 8.0.
Vant 3 supports modern browsers and Chrome >= 51、iOS >= 10.0 (same as Vue 3).
## Ecosystem

View File

@ -73,7 +73,9 @@ vant 也支持按需引入、CDN 引入等方式,详细说明见 [快速上手
## 浏览器支持
现代浏览器以及 Android 4.0+, iOS 8.0+.
Vant 2 支持现代浏览器以及 Android >= 4.0、iOS >= 8.0。
Vant 3 支持现代浏览器以及 Chrome >= 51、iOS >= 10.0(与 Vue 3 一致)。
## 生态

View File

@ -12,7 +12,7 @@ Vant 遵循 [Semver](https://semver.org/lang/zh-CN/) 语义化版本规范。
- 修订号:每周发布,包含新特性和问题修复。
- 次版本号:每隔一至二个月发布,包含新特性和较大的功能更新,向下兼容。
- 主版本号:发布时间不定,包含不兼容更新。
- 主版本号:无固定的发布时间,包含不兼容更新和重大功能更新。
## 更新内容

View File

@ -29,7 +29,9 @@ Please make sure to read the [Contributing Guide](https://github.com/youzan/vant
### Browser Support
Modern browsers and Android 4.0+, iOS 8.0+.
Vant 2 supports modern browsers and Android >= 4.0、iOS >= 8.0.
Vant 3 supports modern browsers and Chrome >= 51、iOS >= 10.0 (same as Vue 3).
### Ecosystem

View File

@ -37,7 +37,9 @@ Vant 是**有赞前端团队**开源的移动端组件库,于 2017 年开源
### 浏览器支持
现代浏览器以及 Android 4.0+, iOS 8.0+。
Vant 2 支持现代浏览器以及 Android >= 4.0、iOS >= 8.0。
Vant 3 支持现代浏览器以及 Chrome >= 51、iOS >= 10.0(与 Vue 3 一致)。
### 生态

View File

@ -50,18 +50,17 @@
"author": "youzanfe",
"license": "MIT",
"dependencies": {
"@babel/runtime": "7.x",
"@vant/icons": "^1.5.3",
"@vant/lazyload": "^1.1.0",
"@vant/lazyload": "^1.1.1",
"@vant/popperjs": "^1.1.0",
"@vant/use": "^1.1.0"
"@vant/use": "^1.1.1"
},
"peerDependencies": {
"vue": "^3.0.0"
},
"devDependencies": {
"@vant/cli": "^3.10.0",
"@vant/area-data": "^1.0.0",
"@vant/cli": "^3.10.1",
"@vant/area-data": "^1.1.0",
"@vue/compiler-sfc": "^3.0.6",
"vue": "^3.0.6"
},

View File

@ -1,6 +1,6 @@
{
"name": "@vant/area-data",
"version": "1.0.0",
"version": "1.1.0",
"description": "Vant 省市区数据",
"main": "lib/index.js",
"publishConfig": {

View File

@ -458,6 +458,8 @@ export const areaList = {
130131: '平山县',
130132: '元氏县',
130133: '赵县',
130171: '石家庄高新技术产业开发区',
130172: '石家庄循环化工园区',
130181: '辛集市',
130183: '晋州市',
130184: '新乐市',
@ -472,6 +474,8 @@ export const areaList = {
130225: '乐亭县',
130227: '迁西县',
130229: '玉田县',
130273: '唐山高新技术产业开发区',
130274: '河北唐山海港经济开发区',
130281: '遵化市',
130283: '迁安市',
130284: '滦州市',
@ -482,6 +486,8 @@ export const areaList = {
130321: '青龙满族自治县',
130322: '昌黎县',
130324: '卢龙县',
130371: '秦皇岛市经济技术开发区',
130372: '北戴河新区',
130390: '经济技术开发区',
130402: '邯山区',
130403: '丛台区',
@ -500,6 +506,8 @@ export const areaList = {
130433: '馆陶县',
130434: '魏县',
130435: '曲周县',
130471: '邯郸经济技术开发区',
130473: '邯郸冀南新区',
130481: '武安市',
130502: '桥东区',
130503: '桥西区',
@ -518,6 +526,7 @@ export const areaList = {
130533: '威县',
130534: '清河县',
130535: '临西县',
130571: '河北邢台经济开发区',
130581: '南宫市',
130582: '沙河市',
130602: '竞秀区',
@ -540,6 +549,8 @@ export const areaList = {
130636: '顺平县',
130637: '博野县',
130638: '雄县',
130671: '保定高新技术产业开发区',
130672: '保定白沟新城',
130681: '涿州市',
130682: '定州市',
130683: '安国市',
@ -560,6 +571,7 @@ export const areaList = {
130730: '怀来县',
130731: '涿鹿县',
130732: '赤城县',
130772: '张家口市察北管理区',
130802: '双桥区',
130803: '双滦区',
130804: '鹰手营子矿区',
@ -570,6 +582,7 @@ export const areaList = {
130826: '丰宁满族自治县',
130827: '宽城满族自治县',
130828: '围场满族蒙古族自治县',
130871: '承德高新技术产业开发区',
130881: '平泉市',
130902: '新华区',
130903: '运河区',
@ -583,6 +596,9 @@ export const areaList = {
130928: '吴桥县',
130929: '献县',
130930: '孟村回族自治县',
130971: '河北沧州经济开发区',
130972: '沧州高新技术产业开发区',
130973: '沧州渤海新区',
130981: '泊头市',
130982: '任丘市',
130983: '黄骅市',
@ -595,6 +611,7 @@ export const areaList = {
131025: '大城县',
131026: '文安县',
131028: '大厂回族自治县',
131071: '廊坊经济技术开发区',
131081: '霸州市',
131082: '三河市',
131090: '开发区',
@ -608,6 +625,8 @@ export const areaList = {
131126: '故城县',
131127: '景县',
131128: '阜城县',
131171: '河北衡水经济开发区',
131172: '衡水滨湖新区',
131182: '深州市',
140105: '小店区',
140106: '迎泽区',
@ -629,6 +648,7 @@ export const areaList = {
140224: '灵丘县',
140225: '浑源县',
140226: '左云县',
140271: '山西大同经济开发区',
140302: '城区',
140303: '矿区',
140311: '郊区',
@ -646,6 +666,7 @@ export const areaList = {
140429: '武乡县',
140430: '沁县',
140431: '沁源县',
140471: '山西长治高新技术产业园区',
140502: '城区',
140521: '沁水县',
140522: '阳城县',
@ -657,14 +678,15 @@ export const areaList = {
140621: '山阴县',
140622: '应县',
140623: '右玉县',
140671: '山西朔州经济开发区',
140681: '怀仁市',
140702: '榆次区',
140703: '太谷区',
140721: '榆社县',
140722: '左权县',
140723: '和顺县',
140724: '昔阳县',
140725: '寿阳县',
140726: '太谷县',
140727: '祁县',
140728: '平遥县',
140729: '灵石县',
@ -695,6 +717,7 @@ export const areaList = {
140930: '河曲县',
140931: '保德县',
140932: '偏关县',
140971: '五台山风景名胜区',
140981: '原平市',
141002: '尧都区',
141021: '曲沃县',
@ -735,6 +758,7 @@ export const areaList = {
150123: '和林格尔县',
150124: '清水河县',
150125: '武川县',
150172: '呼和浩特经济技术开发区',
150202: '东河区',
150203: '昆都仑区',
150204: '青山区',
@ -744,6 +768,7 @@ export const areaList = {
150221: '土默特右旗',
150222: '固阳县',
150223: '达尔罕茂明安联合旗',
150271: '包头稀土高新技术产业开发区',
150302: '海勃湾区',
150303: '海南区',
150304: '乌达区',
@ -766,6 +791,7 @@ export const areaList = {
150524: '库伦旗',
150525: '奈曼旗',
150526: '扎鲁特旗',
150571: '通辽经济技术开发区',
150581: '霍林郭勒市',
150602: '东胜区',
150603: '康巴什区',
@ -826,9 +852,11 @@ export const areaList = {
152529: '正镶白旗',
152530: '正蓝旗',
152531: '多伦县',
152571: '乌拉盖管委会',
152921: '阿拉善左旗',
152922: '阿拉善右旗',
152923: '额济纳旗',
152971: '内蒙古阿拉善经济开发区',
210102: '和平区',
210103: '沈河区',
210104: '大东区',
@ -940,6 +968,10 @@ export const areaList = {
220112: '双阳区',
220113: '九台区',
220122: '农安县',
220171: '长春经济技术开发区',
220172: '长春净月高新技术产业开发区',
220173: '长春高新技术产业开发区',
220174: '长春汽车经济技术开发区',
220182: '榆树市',
220183: '德惠市',
220192: '经济技术开发区',
@ -948,6 +980,8 @@ export const areaList = {
220204: '船营区',
220211: '丰满区',
220221: '永吉县',
220271: '吉林经济开发区',
220272: '吉林高新技术产业开发区',
220281: '蛟河市',
220282: '桦甸市',
220283: '舒兰市',
@ -979,10 +1013,12 @@ export const areaList = {
220721: '前郭尔罗斯蒙古族自治县',
220722: '长岭县',
220723: '乾安县',
220771: '吉林松原经济开发区',
220781: '扶余市',
220802: '洮北区',
220821: '镇赉县',
220822: '通榆县',
220871: '吉林白城经济开发区',
220881: '洮南市',
220882: '大安市',
222401: '延吉市',
@ -1061,22 +1097,16 @@ export const areaList = {
230622: '肇源县',
230623: '林甸县',
230624: '杜尔伯特蒙古族自治县',
230702: '伊春区',
230703: '南岔区',
230704: '友好区',
230705: '西林区',
230706: '翠峦区',
230707: '新青区',
230708: '美溪区',
230709: '金山屯区',
230710: '五营区',
230711: '乌马河区',
230712: '汤旺河区',
230713: '带岭区',
230714: '乌伊岭区',
230715: '红星区',
230716: '上甘岭区',
230671: '大庆高新技术产业开发区',
230717: '伊美区',
230718: '乌翠区',
230719: '友好区',
230722: '嘉荫县',
230723: '汤旺县',
230724: '丰林县',
230725: '大箐山县',
230726: '南岔县',
230751: '金林区',
230781: '铁力市',
230803: '向阳区',
230804: '前进区',
@ -1103,11 +1133,11 @@ export const areaList = {
231085: '穆棱市',
231086: '东宁市',
231102: '爱辉区',
231121: '嫩江县',
231123: '逊克县',
231124: '孙吴县',
231181: '北安市',
231182: '五大连池市',
231183: '嫩江市',
231202: '北林区',
231221: '望奎县',
231222: '兰西县',
@ -1167,6 +1197,7 @@ export const areaList = {
320321: '丰县',
320322: '沛县',
320324: '睢宁县',
320371: '徐州经济技术开发区',
320381: '新沂市',
320382: '邳州市',
320391: '工业园区',
@ -1181,6 +1212,7 @@ export const areaList = {
320507: '相城区',
320508: '姑苏区',
320509: '吴江区',
320571: '苏州工业园区',
320581: '常熟市',
320582: '张家港市',
320583: '昆山市',
@ -1202,6 +1234,7 @@ export const areaList = {
320722: '东海县',
320723: '灌云县',
320724: '灌南县',
320771: '连云港经济技术开发区',
320803: '淮安区',
320804: '淮阴区',
320812: '清江浦区',
@ -1209,6 +1242,7 @@ export const areaList = {
320826: '涟水县',
320830: '盱眙县',
320831: '金湖县',
320871: '淮安经济技术开发区',
320890: '经济开发区',
320902: '亭湖区',
320903: '盐都区',
@ -1218,23 +1252,27 @@ export const areaList = {
320923: '阜宁县',
320924: '射阳县',
320925: '建湖县',
320971: '盐城经济技术开发区',
320981: '东台市',
321002: '广陵区',
321003: '邗江区',
321012: '江都区',
321023: '宝应县',
321071: '扬州经济技术开发区',
321081: '仪征市',
321084: '高邮市',
321090: '经济开发区',
321102: '京口区',
321111: '润州区',
321112: '丹徒区',
321150: '镇江新区',
321181: '丹阳市',
321182: '扬中市',
321183: '句容市',
321202: '海陵区',
321203: '高港区',
321204: '姜堰区',
321271: '泰州医药高新技术产业开发区',
321281: '兴化市',
321282: '靖江市',
321283: '泰兴市',
@ -1243,6 +1281,7 @@ export const areaList = {
321322: '沭阳县',
321323: '泗阳县',
321324: '泗洪县',
321371: '宿迁经济技术开发区',
330102: '上城区',
330103: '下城区',
330104: '江干区',
@ -1277,6 +1316,7 @@ export const areaList = {
330329: '泰顺县',
330381: '瑞安市',
330382: '乐清市',
330383: '龙港市',
330402: '南湖区',
330411: '秀洲区',
330421: '嘉善县',
@ -1340,6 +1380,9 @@ export const areaList = {
340122: '肥东县',
340123: '肥西县',
340124: '庐江县',
340171: '合肥高新技术产业开发区',
340172: '合肥经济技术开发区',
340173: '合肥新站高新技术产业开发区',
340181: '巢湖市',
340190: '高新技术开发区',
340191: '经济技术开发区',
@ -1350,7 +1393,7 @@ export const areaList = {
340221: '芜湖县',
340222: '繁昌县',
340223: '南陵县',
340225: '无为县',
340281: '无为市',
340302: '龙子湖区',
340303: '蚌山区',
340304: '禹会区',
@ -1358,6 +1401,8 @@ export const areaList = {
340321: '怀远县',
340322: '五河县',
340323: '固镇县',
340371: '蚌埠市高新技术开发区',
340372: '蚌埠市经济开发区',
340402: '大通区',
340403: '田家庵区',
340404: '谢家集区',
@ -1383,12 +1428,12 @@ export const areaList = {
340803: '大观区',
340811: '宜秀区',
340822: '怀宁县',
340824: '潜山县',
340825: '太湖县',
340826: '宿松县',
340827: '望江县',
340828: '岳西县',
340881: '桐城市',
340882: '潜山市',
341002: '屯溪区',
341003: '黄山区',
341004: '徽州区',
@ -1411,12 +1456,15 @@ export const areaList = {
341222: '太和县',
341225: '阜南县',
341226: '颍上县',
341271: '阜阳合肥现代产业园区',
341282: '界首市',
341302: '埇桥区',
341321: '砀山县',
341322: '萧县',
341323: '灵璧县',
341324: '泗县',
341371: '宿州马鞍山现代产业园区',
341372: '宿州经济技术开发区',
341390: '经济开发区',
341502: '金安区',
341503: '裕安区',
@ -1435,11 +1483,12 @@ export const areaList = {
341723: '青阳县',
341802: '宣州区',
341821: '郎溪县',
341822: '广德县',
341823: '泾县',
341824: '绩溪县',
341825: '旌德县',
341871: '宣城市经济开发区',
341881: '宁国市',
341882: '广德市',
350102: '鼓楼区',
350103: '台江区',
350104: '仓山区',
@ -1528,9 +1577,9 @@ export const areaList = {
360102: '东湖区',
360103: '西湖区',
360104: '青云谱区',
360105: '湾里区',
360111: '青山湖区',
360112: '新建区',
360113: '红谷滩区',
360121: '南昌县',
360123: '安义县',
360124: '进贤县',
@ -1618,7 +1667,7 @@ export const areaList = {
361030: '广昌县',
361102: '信州区',
361103: '广丰区',
361121: '上饶县',
361104: '广信区',
361123: '玉山县',
361124: '铅山县',
361125: '横峰县',
@ -1640,6 +1689,7 @@ export const areaList = {
370117: '钢城区',
370124: '平阴县',
370126: '商河县',
370171: '济南高新技术产业开发区',
370190: '高新区',
370202: '市南区',
370203: '市北区',
@ -1648,6 +1698,7 @@ export const areaList = {
370213: '李沧区',
370214: '城阳区',
370215: '即墨区',
370271: '青岛高新技术产业开发区',
370281: '胶州市',
370283: '平度市',
370285: '莱西市',
@ -1671,11 +1722,15 @@ export const areaList = {
370505: '垦利区',
370522: '利津县',
370523: '广饶县',
370571: '东营经济技术开发区',
370572: '东营港经济开发区',
370602: '芝罘区',
370611: '福山区',
370612: '牟平区',
370613: '莱山区',
370634: '长岛县',
370671: '烟台高新技术产业开发区',
370672: '烟台经济技术开发区',
370681: '龙口市',
370682: '莱阳市',
370683: '莱州市',
@ -1690,6 +1745,7 @@ export const areaList = {
370705: '奎文区',
370724: '临朐县',
370725: '昌乐县',
370772: '潍坊滨海经济技术开发区',
370781: '青州市',
370782: '诸城市',
370783: '寿光市',
@ -1707,6 +1763,7 @@ export const areaList = {
370830: '汶上县',
370831: '泗水县',
370832: '梁山县',
370871: '济宁高新技术产业开发区',
370881: '曲阜市',
370883: '邹城市',
370890: '高新区',
@ -1718,6 +1775,8 @@ export const areaList = {
370983: '肥城市',
371002: '环翠区',
371003: '文登区',
371071: '威海火炬高技术产业开发区',
371072: '威海经济技术开发区',
371082: '荣成市',
371083: '乳山市',
371091: '经济技术开发区',
@ -1725,6 +1784,7 @@ export const areaList = {
371103: '岚山区',
371121: '五莲县',
371122: '莒县',
371171: '日照经济技术开发区',
371302: '兰山区',
371311: '罗庄区',
371312: '河东区',
@ -1737,6 +1797,7 @@ export const areaList = {
371327: '莒南县',
371328: '蒙阴县',
371329: '临沭县',
371371: '临沂高新技术产业开发区',
371402: '德城区',
371403: '陵城区',
371422: '宁津县',
@ -1746,12 +1807,13 @@ export const areaList = {
371426: '平原县',
371427: '夏津县',
371428: '武城县',
371472: '德州运河经济开发区',
371481: '乐陵市',
371482: '禹城市',
371502: '东昌府区',
371503: '茌平区',
371521: '阳谷县',
371522: '莘县',
371523: '茌平县',
371524: '东阿县',
371525: '冠县',
371526: '高唐县',
@ -1772,6 +1834,8 @@ export const areaList = {
371725: '郓城县',
371726: '鄄城县',
371728: '东明县',
371771: '菏泽经济技术开发区',
371772: '菏泽高新技术开发区',
410102: '中原区',
410103: '二七区',
410104: '管城回族区',
@ -1779,6 +1843,9 @@ export const areaList = {
410106: '上街区',
410108: '惠济区',
410122: '中牟县',
410171: '郑州经济技术开发区',
410172: '郑州高新技术产业开发区',
410173: '郑州航空港经济综合实验区',
410181: '巩义市',
410182: '荥阳市',
410183: '新密市',
@ -1818,6 +1885,7 @@ export const areaList = {
410422: '叶县',
410423: '鲁山县',
410425: '郏县',
410471: '平顶山高新技术产业开发区',
410481: '舞钢市',
410482: '汝州市',
410502: '文峰区',
@ -1844,9 +1912,11 @@ export const areaList = {
410725: '原阳县',
410726: '延津县',
410727: '封丘县',
410728: '长垣县',
410771: '新乡高新技术产业开发区',
410772: '新乡经济技术开发区',
410781: '卫辉市',
410782: '辉县市',
410783: '长垣市',
410802: '解放区',
410803: '中站区',
410804: '马村区',
@ -1855,6 +1925,7 @@ export const areaList = {
410822: '博爱县',
410823: '武陟县',
410825: '温县',
410871: '焦作城乡一体化示范区',
410882: '沁阳市',
410883: '孟州市',
410902: '华龙区',
@ -1863,10 +1934,12 @@ export const areaList = {
410926: '范县',
410927: '台前县',
410928: '濮阳县',
410971: '河南濮阳工业园区',
411002: '魏都区',
411003: '建安区',
411024: '鄢陵县',
411025: '襄城县',
411071: '许昌经济技术开发区',
411081: '禹州市',
411082: '长葛市',
411102: '源汇区',
@ -1874,10 +1947,12 @@ export const areaList = {
411104: '召陵区',
411121: '舞阳县',
411122: '临颍县',
411171: '漯河经济技术开发区',
411202: '湖滨区',
411203: '陕州区',
411221: '渑池县',
411224: '卢氏县',
411271: '河南三门峡经济开发区',
411281: '义马市',
411282: '灵宝市',
411302: '宛城区',
@ -1892,6 +1967,7 @@ export const areaList = {
411328: '唐河县',
411329: '新野县',
411330: '桐柏县',
411372: '南阳市城乡一体化示范区',
411381: '邓州市',
411402: '梁园区',
411403: '睢阳区',
@ -1913,14 +1989,15 @@ export const areaList = {
411527: '淮滨县',
411528: '息县',
411602: '川汇区',
411603: '淮阳区',
411621: '扶沟县',
411622: '西华县',
411623: '商水县',
411624: '沈丘县',
411625: '郸城县',
411626: '淮阳县',
411627: '太康县',
411628: '鹿邑县',
411671: '河南周口经济开发区',
411681: '项城市',
411690: '经济开发区',
411702: '驿城区',
@ -2015,6 +2092,7 @@ export const areaList = {
421125: '浠水县',
421126: '蕲春县',
421127: '黄梅县',
421171: '龙感湖管理区',
421181: '麻城市',
421182: '武穴市',
421202: '咸安区',
@ -2055,10 +2133,12 @@ export const areaList = {
430223: '攸县',
430224: '茶陵县',
430225: '炎陵县',
430271: '云龙示范区',
430281: '醴陵市',
430302: '雨湖区',
430304: '岳塘区',
430321: '湘潭县',
430373: '湘潭九华示范区',
430381: '湘乡市',
430382: '韶山市',
430405: '珠晖区',
@ -2076,7 +2156,6 @@ export const areaList = {
430502: '双清区',
430503: '大祥区',
430511: '北塔区',
430521: '邵东县',
430522: '新邵县',
430523: '邵阳县',
430524: '隆回县',
@ -2085,6 +2164,7 @@ export const areaList = {
430528: '新宁县',
430529: '城步苗族自治县',
430581: '武冈市',
430582: '邵东市',
430602: '岳阳楼区',
430603: '云溪区',
430611: '君山区',
@ -2112,6 +2192,7 @@ export const areaList = {
430921: '南县',
430922: '桃江县',
430923: '安化县',
430971: '益阳市大通湖管理区',
430981: '沅江市',
431002: '北湖区',
431003: '苏仙区',
@ -2146,6 +2227,7 @@ export const areaList = {
431228: '芷江侗族自治县',
431229: '靖州苗族侗族自治县',
431230: '通道侗族自治县',
431271: '怀化市洪江管理区',
431281: '洪江市',
431302: '娄星区',
431321: '双峰县',
@ -2271,27 +2353,27 @@ export const areaList = {
441881: '英德市',
441882: '连州市',
441901: '中堂镇',
441903: '南城街道办事处',
441903: '南城街道',
441904: '长安镇',
441905: '东坑镇',
441906: '樟木头镇',
441907: '莞城街道办事处',
441907: '莞城街道',
441908: '石龙镇',
441909: '桥头镇',
441910: '万江街道办事处',
441910: '万江街道',
441911: '麻涌镇',
441912: '虎门镇',
441913: '谢岗镇',
441914: '石碣镇',
441915: '茶山镇',
441916: '东城街道办事处',
441916: '东城街道',
441917: '洪梅镇',
441918: '道滘镇',
441919: '高埗镇',
441920: '企石镇',
441921: '凤岗镇',
441922: '大岭山镇',
441923: '松山湖管委会',
441923: '松山湖',
441924: '清溪镇',
441925: '望牛墩镇',
441926: '厚街镇',
@ -2308,10 +2390,10 @@ export const areaList = {
442001: '南头镇',
442002: '神湾镇',
442003: '东凤镇',
442004: '五桂山街道办事处',
442004: '五桂山街道',
442005: '黄圃镇',
442006: '小榄镇',
442007: '石岐街道办事处',
442007: '石岐街道',
442008: '横栏镇',
442009: '三角镇',
442010: '三乡镇',
@ -2321,10 +2403,10 @@ export const areaList = {
442015: '东升镇',
442016: '阜沙镇',
442017: '民众镇',
442018: '东区街道办事处',
442018: '东区街道',
442019: '火炬开发区街道办事处',
442020: '西区街道办事处',
442021: '南区街道办事处',
442020: '西区街道',
442021: '南区街道',
442022: '古镇镇',
442023: '坦洲镇',
442024: '大涌镇',
@ -2413,9 +2495,8 @@ export const areaList = {
450924: '兴业县',
450981: '北流市',
451002: '右江区',
451021: '田阳县',
451003: '田阳区',
451022: '田东县',
451023: '平果县',
451024: '德保县',
451026: '那坡县',
451027: '凌云县',
@ -2424,6 +2505,7 @@ export const areaList = {
451030: '西林县',
451031: '隆林各族自治县',
451081: '靖西市',
451082: '平果市',
451102: '八步区',
451103: '平桂区',
451121: '昭平县',
@ -2600,8 +2682,8 @@ export const areaList = {
510903: '船山区',
510904: '安居区',
510921: '蓬溪县',
510922: '射洪县',
510923: '大英县',
510981: '射洪市',
511002: '市中区',
511011: '东兴区',
511024: '威远县',
@ -2669,6 +2751,7 @@ export const areaList = {
511921: '通江县',
511922: '南江县',
511923: '平昌县',
511971: '巴中经济开发区',
512002: '雁江区',
512021: '安岳县',
512022: '乐至县',
@ -2833,13 +2916,13 @@ export const areaList = {
530381: '宣威市',
530402: '红塔区',
530403: '江川区',
530422: '澄江县',
530423: '通海县',
530424: '华宁县',
530425: '易门县',
530426: '峨山彝族自治县',
530427: '新平彝族傣族自治县',
530428: '元江哈尼族彝族傣族自治县',
530481: '澄江市',
530502: '隆阳区',
530521: '施甸县',
530523: '龙陵县',
@ -3069,7 +3152,6 @@ export const areaList = {
610603: '安塞区',
610621: '延长县',
610622: '延川县',
610623: '子长县',
610625: '志丹县',
610626: '吴起县',
610627: '甘泉县',
@ -3078,6 +3160,7 @@ export const areaList = {
610630: '宜川县',
610631: '黄龙县',
610632: '黄陵县',
610681: '子长市',
610702: '汉台区',
610703: '南郑区',
610722: '城固县',
@ -3126,6 +3209,7 @@ export const areaList = {
620121: '永登县',
620122: '皋兰县',
620123: '榆中县',
620171: '兰州新区',
620201: '市辖区',
620290: '雄关区',
620291: '长城区',
@ -3215,8 +3299,8 @@ export const areaList = {
630103: '城中区',
630104: '城西区',
630105: '城北区',
630106: '湟中区',
630121: '大通回族土族自治县',
630122: '湟中县',
630123: '湟源县',
630202: '乐都区',
630203: '平安区',
@ -3255,6 +3339,7 @@ export const areaList = {
632821: '乌兰县',
632822: '都兰县',
632823: '天峻县',
632857: '大柴旦行政委员会',
640104: '兴庆区',
640105: '西夏区',
640106: '金凤区',
@ -3316,8 +3401,8 @@ export const areaList = {
652828: '和硕县',
652829: '博湖县',
652901: '阿克苏市',
652902: '库车市',
652922: '温宿县',
652923: '库车县',
652924: '沙雅县',
652925: '新和县',
652926: '拜城县',
@ -3382,6 +3467,7 @@ export const areaList = {
659007: '双河市',
659008: '可克达拉市',
659009: '昆玉市',
659010: '胡杨河市',
710101: '中正区',
710102: '大同区',
710103: '中山区',

View File

@ -1,5 +1,13 @@
# 更新日志
## v3.10.1
`2021-04-16`
- 升级 `@vant/markdown-vetur` 2.2.0 版本
- 移除 friendly-errors-webpack-plugin
- 移除 @babel/plugin-transform-runtime
## v3.10.0
`2021-04-10`

View File

@ -1,6 +1,6 @@
{
"name": "@vant/cli",
"version": "3.10.0",
"version": "3.10.1",
"main": "lib/index.js",
"typings": "lib/index.d.ts",
"bin": {
@ -45,7 +45,7 @@
"@types/webpack-dev-server": "^3.11.1",
"@vant/eslint-config": "^3.2.0",
"@vant/markdown-loader": "^4.1.0",
"@vant/markdown-vetur": "^2.1.0",
"@vant/markdown-vetur": "^2.2.0",
"@vant/stylelint-config": "^1.4.2",
"@vant/touch-emulator": "^1.2.0",
"@vue/babel-plugin-jsx": "^1.0.1",

View File

@ -58,4 +58,8 @@ export default {
width: 18px;
height: 18px;
}
.DocSearch-Button-Key {
font-size: 12px;
}
</style>

View File

@ -1,6 +1,6 @@
import { join } from 'path';
import { existsSync, readdirSync } from 'fs-extra';
import { SRC_DIR, SITE_MODILE_SHARED_FILE } from '../common/constant';
import { SRC_DIR, SITE_MOBILE_SHARED_FILE } from '../common/constant';
import {
pascalize,
removeExt,
@ -95,5 +95,5 @@ export function genSiteMobileShared() {
const dirs = readdirSync(SRC_DIR);
const code = genCode(dirs);
smartOutputFile(SITE_MODILE_SHARED_FILE, code);
smartOutputFile(SITE_MOBILE_SHARED_FILE, code);
}

View File

@ -1853,10 +1853,10 @@
markdown-it-anchor "^7.1.0"
transliteration "^2.2.0"
"@vant/markdown-vetur@^2.1.0":
version "2.1.0"
resolved "https://registry.npm.taobao.org/@vant/markdown-vetur/download/@vant/markdown-vetur-2.1.0.tgz?cache=0&sync_timestamp=1617347165035&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40vant%2Fmarkdown-vetur%2Fdownload%2F%40vant%2Fmarkdown-vetur-2.1.0.tgz#cc49ad807dfcccca898562966d64b7a657ca3aad"
integrity sha1-zEmtgH38zMqJhWKWbWS3plfKOq0=
"@vant/markdown-vetur@^2.2.0":
version "2.2.0"
resolved "https://registry.npmjs.org/@vant/markdown-vetur/-/markdown-vetur-2.2.0.tgz#f62f4060962f6292f35ee969b44f21cd1d602681"
integrity sha512-f0IHA08+TrJlDkbtXjKZ1P8I6QurHfbQ5t5KJsDoXo74cGaBh7z/oc+wiuzorGawbovfEHcKB0ejYh+gj1mYwQ==
dependencies:
fast-glob "^3.2.2"
fs-extra "^9.0.0"

View File

@ -1,6 +1,6 @@
{
"name": "@vant/lazyload",
"version": "1.1.0",
"version": "1.1.1",
"description": "This is a fork of vue-lazyload",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",

View File

@ -1,6 +1,6 @@
{
"name": "@vant/markdown-vetur",
"version": "2.1.0",
"version": "2.2.0",
"description": "simple parse markdown to vue component description for vetur auto-completion",
"main": "lib/index.js",
"license": "MIT",

View File

@ -1,6 +1,6 @@
/* eslint-disable no-continue */
import { Articals } from './parser';
import { formatType, removeVersion, toKebabCase } from './utils';
import { formatOptions, formatType, removeVersion, toKebabCase } from './utils';
import { VueTag } from './type';
function formatComponentName(name: string, tagPrefix: string) {
@ -64,11 +64,12 @@ export function formatter(
const tag = findTag(vueTags, name);
table.body.forEach((line) => {
const [name, desc, type, defaultVal] = line;
const [name, desc, type, defaultVal, options] = line;
tag.attributes!.push({
name: removeVersion(name),
default: defaultVal,
description: desc,
options: formatOptions(options),
value: {
type: formatType(type),
kind: 'expression',

View File

@ -20,6 +20,7 @@ export type VueAttribute = {
name: string;
default: string;
description: string;
options: string[]
value: {
kind: 'expression';
type: string;
@ -44,6 +45,7 @@ export type VeturTags = Record<string, VeturTag>;
export type VeturAttribute = {
type: string;
description: string;
options?: string[];
};
export type VeturAttributes = Record<string, VeturAttribute>;

View File

@ -20,3 +20,9 @@ export function formatType(type: string) {
export function normalizePath(path: string): string {
return path.replace(/\\/g, '/');
}
// `default` `primary` -> ['default', 'primary']
export function formatOptions(options?: string) {
if (!options) return []
return options.replace(/`/g, '').split(' ')
}

View File

@ -1,4 +1,4 @@
import { VueTag, VeturTags, VeturAttributes } from './type';
import { VueTag, VeturTags, VeturAttributes, VeturAttribute } from './type';
export function genVeturTags(tags: VueTag[]) {
const veturTags: VeturTags = {};
@ -18,10 +18,16 @@ export function genVeturAttributes(tags: VueTag[]) {
tags.forEach(tag => {
if (tag.attributes) {
tag.attributes.forEach(attr => {
veturAttributes[`${tag.name}/${attr.name}`] = {
let attribute: VeturAttribute = {
type: attr.value.type,
description: `${attr.description}, 默认值: ${attr.default}`,
};
description: `${attr.description}, 默认值: ${attr.default}`
}
if (attr.options.length > 0) {
attribute.options = attr.options
}
veturAttributes[`${tag.name}/${attr.name}`] = attribute;
});
}
});

View File

@ -1,5 +1,11 @@
# 更新日志
### v1.1.1
`2021-04-16`
- 移除 `@babel/runtime` 依赖
### v1.1.0
`2021-04-06`

View File

@ -1,6 +1,6 @@
{
"name": "@vant/use",
"version": "1.1.0",
"version": "1.1.1",
"description": "Vant Composition API",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",

View File

@ -166,7 +166,7 @@ export default defineComponent({
const detail = areaRef.value.getArea();
detail.areaCode = detail.code;
delete detail.code;
Object.assign(state.data, detail);
extend(state.data, detail);
}
};

View File

@ -1,9 +1,10 @@
import { getCurrentInstance } from 'vue';
import { extend } from '../utils';
// expose public api
export function useExpose(apis: Record<string, any>) {
const instance = getCurrentInstance();
if (instance) {
Object.assign(instance.proxy, apis);
extend(instance.proxy, apis);
}
}

View File

@ -105,9 +105,7 @@ export default defineComponent({
watch(
() => props.contactInfo,
(value) => {
Object.assign(contact, DEFAULT_CONTACT, value);
}
(value) => extend(contact, DEFAULT_CONTACT, value)
);
return () => (

View File

@ -108,7 +108,7 @@ Dialog.close = () => {
};
Dialog.setDefaultOptions = (options: DialogOptions) => {
Object.assign(Dialog.currentOptions, options);
extend(Dialog.currentOptions, options);
};
Dialog.resetDefaultOptions = () => {

View File

@ -85,7 +85,7 @@ Notify.clear = () => {
Notify.currentOptions = defaultOptions();
Notify.setDefaultOptions = (options: NotifyOptions) => {
Object.assign(Notify.currentOptions, options);
extend(Notify.currentOptions, options);
};
Notify.resetDefaultOptions = () => {

View File

@ -166,7 +166,7 @@ function setDefaultOptions(type: ToastType | ToastOptions, options?: any) {
if (typeof type === 'string') {
defaultOptionsMap[type] = options;
} else {
Object.assign(currentOptions, type);
extend(currentOptions, type);
}
}

View File

@ -1,4 +1,5 @@
import { createApp, reactive, Component, nextTick } from 'vue';
import { extend } from '../utils';
import { useExpose } from '../composables/use-expose';
export function usePopupState() {
@ -11,7 +12,7 @@ export function usePopupState() {
};
const open = (props: Record<string, any>) => {
Object.assign(state, props);
extend(state, props);
nextTick(() => toggle(true));
};

116
yarn.lock
View File

@ -799,15 +799,6 @@
dependencies:
"@babel/helper-plugin-utils" "^7.10.4"
"@babel/plugin-transform-runtime@^7.12.10":
version "7.12.10"
resolved "https://registry.npm.taobao.org/@babel/plugin-transform-runtime/download/@babel/plugin-transform-runtime-7.12.10.tgz?cache=0&sync_timestamp=1607569369088&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fplugin-transform-runtime%2Fdownload%2F%40babel%2Fplugin-transform-runtime-7.12.10.tgz#af0fded4e846c4b37078e8e5d06deac6cd848562"
integrity sha1-rw/e1OhGxLNweOjl0G3qxs2EhWI=
dependencies:
"@babel/helper-module-imports" "^7.12.5"
"@babel/helper-plugin-utils" "^7.10.4"
semver "^5.5.1"
"@babel/plugin-transform-shorthand-properties@^7.12.1":
version "7.12.1"
resolved "https://registry.npm.taobao.org/@babel/plugin-transform-shorthand-properties/download/@babel/plugin-transform-shorthand-properties-7.12.1.tgz#0bf9cac5550fce0cfdf043420f661d645fdc75e3"
@ -960,7 +951,7 @@
"@babel/helper-validator-option" "^7.12.1"
"@babel/plugin-transform-typescript" "^7.12.1"
"@babel/runtime@7.x", "@babel/runtime@^7.0.0", "@babel/runtime@^7.8.4":
"@babel/runtime@^7.0.0", "@babel/runtime@^7.8.4":
version "7.12.5"
resolved "https://registry.npm.taobao.org/@babel/runtime/download/@babel/runtime-7.12.5.tgz?cache=0&sync_timestamp=1604441085826&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fruntime%2Fdownload%2F%40babel%2Fruntime-7.12.5.tgz#410e7e487441e1b360c29be715d870d9b985882e"
integrity sha1-QQ5+SHRB4bNgwpvnFdhw2bmFiC4=
@ -1264,16 +1255,6 @@
"@nodelib/fs.scandir" "2.1.3"
fastq "^1.6.0"
"@nuxt/friendly-errors-webpack-plugin@^2.5.0":
version "2.5.0"
resolved "https://registry.yarnpkg.com/@nuxt/friendly-errors-webpack-plugin/-/friendly-errors-webpack-plugin-2.5.0.tgz#5374665bc72d34b7dbadcc361a4777e3f0f5d46b"
integrity sha512-pUgPFmRL56/xuTCGN5rqgTfxvs1N/AYJw7q7tUHiZaBm3UyPgbIVPkadS9njwbFbPD2XcebVy7npQMMVwQJWfA==
dependencies:
chalk "^2.3.2"
consola "^2.6.0"
error-stack-parser "^2.0.0"
string-width "^2.0.0"
"@octokit/auth-token@^2.4.0":
version "2.4.0"
resolved "https://registry.yarnpkg.com/@octokit/auth-token/-/auth-token-2.4.0.tgz#b64178975218b99e4dfe948253f0673cbbb59d9f"
@ -1855,27 +1836,25 @@
"@typescript-eslint/types" "4.6.0"
eslint-visitor-keys "^2.0.0"
"@vant/area-data@^1.0.0":
version "1.0.0"
resolved "https://registry.npm.taobao.org/@vant/area-data/download/@vant/area-data-1.0.0.tgz#063af9ccb5ccafa333d7dc28103937501cfec671"
integrity sha1-Bjr5zLXMr6Mz19woEDk3UBz+xnE=
"@vant/area-data@^1.1.0":
version "1.1.0"
resolved "https://registry.npmjs.org/@vant/area-data/-/area-data-1.1.0.tgz#be48d1c4f8bfe19429625fbf9ed40ab638f4c7f1"
integrity sha512-+TNxiOiNxcEmGnDLCcz5TrjzRd125eEsr1PCOZ9uqN3Y9fMXOsl6/oIvLJoLJRSCb/4GIjbIOAavJ+sVrlRslg==
"@vant/cli@^3.10.0":
version "3.10.0"
resolved "https://registry.npmjs.org/@vant/cli/-/cli-3.10.0.tgz#a129adb56f15a3c31a7a2701e288ed9a642e734d"
integrity sha512-+Nj6YHxYgsgmDFrS31PiT2UwB70KO5EH3QLbzYDihoj0QfYEQmHdk+DAOeZ6IXgZR5Nb3EbZFFLKmebngYaisg==
"@vant/cli@^3.10.1":
version "3.10.1"
resolved "https://registry.npmjs.org/@vant/cli/-/cli-3.10.1.tgz#6dc3e0f39c52b19450445101249b77ea822416df"
integrity sha512-/IFrlxqtVMruXYdqroe0jECgw4CDCQs7rRfxmm43rLN9SYwxsDw8Y2NADxwR2Hcw65jqeoU/gg06C4pMmety+w==
dependencies:
"@babel/core" "^7.12.10"
"@babel/plugin-transform-runtime" "^7.12.10"
"@babel/preset-env" "^7.12.11"
"@babel/preset-typescript" "^7.12.7"
"@docsearch/css" "3.0.0-alpha.33"
"@docsearch/js" "3.0.0-alpha.33"
"@nuxt/friendly-errors-webpack-plugin" "^2.5.0"
"@types/webpack-dev-server" "^3.11.1"
"@vant/eslint-config" "^3.2.0"
"@vant/markdown-loader" "^4.1.0"
"@vant/markdown-vetur" "^2.1.0"
"@vant/markdown-vetur" "^2.2.0"
"@vant/stylelint-config" "^1.4.2"
"@vant/touch-emulator" "^1.2.0"
"@vue/babel-plugin-jsx" "^1.0.1"
@ -1910,7 +1889,7 @@
postcss "^7.0.0"
postcss-load-config "^3.0.0"
postcss-loader "^4.1.0"
prettier "^2.2.1"
prettier "2.1.0"
release-it "^14.2.2"
sass "^1.32.4"
sass-loader "^10.1.1"
@ -1944,10 +1923,10 @@
resolved "https://registry.npm.taobao.org/@vant/icons/download/@vant/icons-1.5.3.tgz?cache=0&sync_timestamp=1613997305954&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40vant%2Ficons%2Fdownload%2F%40vant%2Ficons-1.5.3.tgz#b7779f67bf608d417a82452fbede406dfa46b439"
integrity sha1-t3efZ79gjUF6gkUvvt5AbfpGtDk=
"@vant/lazyload@^1.1.0":
version "1.1.0"
resolved "https://registry.npm.taobao.org/@vant/lazyload/download/@vant/lazyload-1.1.0.tgz#9b742df97e6a119d4e2bc9096d6b9a5570d4c10c"
integrity sha1-m3Qt+X5qEZ1OK8kJbWuaVXDUwQw=
"@vant/lazyload@^1.1.1":
version "1.1.1"
resolved "https://registry.npmjs.org/@vant/lazyload/-/lazyload-1.1.1.tgz#9eafcf85cdd750463a552a07cf18e5c620c6ccef"
integrity sha512-ejMxgeWP0GBAuzwaC0RG131JKI4SKSpu9kxNR/wyWdOZmkrAR7HZO0GciGG2illgKvs11gPtepik8X/k9iWIXw==
"@vant/markdown-loader@^4.1.0":
version "4.1.0"
@ -1961,10 +1940,10 @@
markdown-it-anchor "^7.1.0"
transliteration "^2.2.0"
"@vant/markdown-vetur@^2.1.0":
version "2.1.0"
resolved "https://registry.npm.taobao.org/@vant/markdown-vetur/download/@vant/markdown-vetur-2.1.0.tgz?cache=0&sync_timestamp=1617347165035&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40vant%2Fmarkdown-vetur%2Fdownload%2F%40vant%2Fmarkdown-vetur-2.1.0.tgz#cc49ad807dfcccca898562966d64b7a657ca3aad"
integrity sha1-zEmtgH38zMqJhWKWbWS3plfKOq0=
"@vant/markdown-vetur@^2.2.0":
version "2.2.0"
resolved "https://registry.npmjs.org/@vant/markdown-vetur/-/markdown-vetur-2.2.0.tgz#f62f4060962f6292f35ee969b44f21cd1d602681"
integrity sha512-f0IHA08+TrJlDkbtXjKZ1P8I6QurHfbQ5t5KJsDoXo74cGaBh7z/oc+wiuzorGawbovfEHcKB0ejYh+gj1mYwQ==
dependencies:
fast-glob "^3.2.2"
fs-extra "^9.0.0"
@ -1989,12 +1968,10 @@
resolved "https://registry.yarnpkg.com/@vant/touch-emulator/-/touch-emulator-1.2.0.tgz#486300b23e57db9ce9231a04e0a0c621c68692d8"
integrity sha512-sJ97zU85zOq51qoi7+CpBEcOyH3CitjP1KC7/GQwqaurUJni+EP7/F9n0HMnAh8GXMjgtgDBNJ5z48x+coNKYQ==
"@vant/use@^1.1.0":
version "1.1.0"
resolved "https://registry.npm.taobao.org/@vant/use/download/@vant/use-1.1.0.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40vant%2Fuse%2Fdownload%2F%40vant%2Fuse-1.1.0.tgz#f38f765db36401699310d75d323440e5d8f42674"
integrity sha1-8492XbNkAWmTENddMjRA5dj0JnQ=
dependencies:
"@babel/runtime" "7.x"
"@vant/use@^1.1.1":
version "1.1.1"
resolved "https://registry.npmjs.org/@vant/use/-/use-1.1.1.tgz#fc39c1e918d6027cae52d0cb0c210a1134a7ac6c"
integrity sha512-aW7L6d1npRR18IhZ90gw92tYNQZSJecCLxzjnB8+fhUvrjQC97LHdDq0XJLEGB76ZmW0yaSzttfZRnTcj4xUFw==
"@vue/babel-helper-vue-transform-on@^1.0.0":
version "1.0.0"
@ -2381,11 +2358,6 @@ ansi-regex@^2.0.0:
resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-2.1.1.tgz#c3b33ab5ee360d86e0e628f0468ae7ef27d654df"
integrity sha1-w7M6te42DYbg5ijwRorn7yfWVN8=
ansi-regex@^3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-3.0.0.tgz#ed0317c322064f79466c02966bddb605ab37d998"
integrity sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=
ansi-regex@^4.1.0:
version "4.1.0"
resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-4.1.0.tgz#8b9f8f08cf1acb843756a839ca8c7e3168c51997"
@ -3043,7 +3015,7 @@ chalk@4.1.0, chalk@^4.0.0, chalk@^4.1.0:
ansi-styles "^4.1.0"
supports-color "^7.1.0"
chalk@^2.0.0, chalk@^2.1.0, chalk@^2.3.2, chalk@^2.4.2:
chalk@^2.0.0, chalk@^2.1.0, chalk@^2.4.2:
version "2.4.2"
resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424"
integrity sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==
@ -3387,7 +3359,7 @@ connect-history-api-fallback@^1.6.0:
resolved "https://registry.yarnpkg.com/connect-history-api-fallback/-/connect-history-api-fallback-1.6.0.tgz#8b32089359308d111115d81cad3fceab888f97bc"
integrity sha512-e54B99q/OUoH64zYYRf3HBP5z24G38h5D3qXu23JGRoigpX5Ss4r9ZnDk3g0Z8uQC2x2lPaJ+UlWBc1ZWBWdLg==
consola@^2.15.0, consola@^2.6.0:
consola@^2.15.0:
version "2.15.0"
resolved "https://registry.npm.taobao.org/consola/download/consola-2.15.0.tgz#40fc4eefa4d2f8ef2e2806147f056ea207fcc0e9"
integrity sha1-QPxO76TS+O8uKAYUfwVuogf8wOk=
@ -4180,13 +4152,6 @@ error-ex@^1.2.0, error-ex@^1.3.1:
dependencies:
is-arrayish "^0.2.1"
error-stack-parser@^2.0.0:
version "2.0.6"
resolved "https://registry.yarnpkg.com/error-stack-parser/-/error-stack-parser-2.0.6.tgz#5a99a707bd7a4c58a797902d48d82803ede6aad8"
integrity sha512-d51brTeqC+BHlwF0BhPtcYgF5nlzf9ZZ0ZIUQNZpc9ZB9qw5IJ2diTrBY9jlCJkTLITYPjmiX6OWCwH+fuyNgQ==
dependencies:
stackframe "^1.1.1"
es-abstract@^1.17.0, es-abstract@^1.17.0-next.1, es-abstract@^1.17.5:
version "1.17.6"
resolved "https://registry.npmjs.org/es-abstract/-/es-abstract-1.17.6.tgz#9142071707857b2cacc7b89ecb670316c3e2d52a"
@ -8461,13 +8426,8 @@ prepend-http@^2.0.0:
prettier@2.1.0:
version "2.1.0"
resolved "https://registry.npm.taobao.org/prettier/download/prettier-2.1.0.tgz?cache=0&sync_timestamp=1606521234483&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fprettier%2Fdownload%2Fprettier-2.1.0.tgz#5a9789f767a243118c60f3e56d95cb6544914fbb"
integrity sha1-WpeJ92eiQxGMYPPlbZXLZUSRT7s=
prettier@^2.2.1:
version "2.2.1"
resolved "https://registry.npm.taobao.org/prettier/download/prettier-2.2.1.tgz?cache=0&sync_timestamp=1606523097359&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fprettier%2Fdownload%2Fprettier-2.2.1.tgz#795a1a78dd52f073da0cd42b21f9c91381923ff5"
integrity sha1-eVoaeN1S8HPaDNQrIfnJE4GSP/U=
resolved "https://registry.npmjs.org/prettier/-/prettier-2.1.0.tgz#5a9789f767a243118c60f3e56d95cb6544914fbb"
integrity sha512-lz28cCbA1cDFHVuY8vvj6QuqOwIpyIfPUYkSl8AZ/vxH8qBXMMjE2knfLHCrZCmUsK/H1bg1P0tOo0dJkTJHvw==
pretty-error@^2.1.1:
version "2.1.1"
@ -9303,7 +9263,7 @@ semver-diff@^3.1.1:
dependencies:
semver "^6.3.0"
"semver@2 || 3 || 4 || 5", semver@^5.4.1, semver@^5.5.0, semver@^5.5.1, semver@^5.6.0:
"semver@2 || 3 || 4 || 5", semver@^5.4.1, semver@^5.5.0, semver@^5.6.0:
version "5.7.1"
resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.1.tgz#a954f931aeba508d307bbf069eff0c01c96116f7"
integrity sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==
@ -9691,11 +9651,6 @@ stack-utils@^2.0.2:
dependencies:
escape-string-regexp "^2.0.0"
stackframe@^1.1.1:
version "1.1.1"
resolved "https://registry.yarnpkg.com/stackframe/-/stackframe-1.1.1.tgz#ffef0a3318b1b60c3b58564989aca5660729ec71"
integrity sha512-0PlYhdKh6AfFxRyK/v+6/k+/mMfyiEBbTM5L94D0ZytQnJ166wuwoTYLHFWGbs2dpA8Rgq763KGWmN1EQEYHRQ==
state-toggle@^1.0.0:
version "1.0.3"
resolved "https://registry.npm.taobao.org/state-toggle/download/state-toggle-1.0.3.tgz#e123b16a88e143139b09c6852221bc9815917dfe"
@ -9749,14 +9704,6 @@ string-length@^4.0.1:
char-regex "^1.0.2"
strip-ansi "^6.0.0"
string-width@^2.0.0:
version "2.1.1"
resolved "https://registry.yarnpkg.com/string-width/-/string-width-2.1.1.tgz#ab93f27a8dc13d28cac815c462143a6d9012ae9e"
integrity sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==
dependencies:
is-fullwidth-code-point "^2.0.0"
strip-ansi "^4.0.0"
string-width@^3.0.0, string-width@^3.1.0:
version "3.1.0"
resolved "https://registry.yarnpkg.com/string-width/-/string-width-3.1.0.tgz#22767be21b62af1081574306f69ac51b62203961"
@ -9821,13 +9768,6 @@ strip-ansi@^3.0.0, strip-ansi@^3.0.1:
dependencies:
ansi-regex "^2.0.0"
strip-ansi@^4.0.0:
version "4.0.0"
resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-4.0.0.tgz#a8479022eb1ac368a871389b635262c505ee368f"
integrity sha1-qEeQIusaw2iocTibY1JixQXuNo8=
dependencies:
ansi-regex "^3.0.0"
strip-ansi@^5.0.0, strip-ansi@^5.1.0, strip-ansi@^5.2.0:
version "5.2.0"
resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-5.2.0.tgz#8c9a536feb6afc962bdfa5b104a5091c1ad9c0ae"