docs(@vant/use): changelog 1.4.1

This commit is contained in:
chenjiahan 2022-05-29 21:53:04 +08:00
parent 850aab865e
commit 85dd8f4176
4 changed files with 67 additions and 9 deletions

View File

@ -42,8 +42,11 @@
"@types/fs-extra": "^9.0.13", "@types/fs-extra": "^9.0.13",
"@types/less": "^3.0.3", "@types/less": "^3.0.3",
"@types/markdown-it": "^12.2.3", "@types/markdown-it": "^12.2.3",
"@types/react": "^18",
"@jest/types": "^27", "@jest/types": "^27",
"vue": "^3.2.27" "vue": "^3.2.27",
"react": "^18",
"react-dom": "^18"
}, },
"dependencies": { "dependencies": {
"@babel/core": "^7.16.0", "@babel/core": "^7.16.0",

View File

@ -1,5 +1,9 @@
# Changelog # Changelog
## v1.4.1
- Add `exports` field to package.json, support nuxt 3.
## v1.4.0 ## v1.4.0
- Using `.mjs` extension, `dist/index.esm.js` -> `dist/index.esm.mjs` - Using `.mjs` extension, `dist/index.esm.js` -> `dist/index.esm.mjs`

View File

@ -46,8 +46,8 @@
], ],
"dependencies": { "dependencies": {
"@vant/icons": "^1.8.0", "@vant/icons": "^1.8.0",
"@vant/popperjs": "^1.2.0", "@vant/popperjs": "^1.2.1",
"@vant/use": "^1.4.0" "@vant/use": "^1.4.1"
}, },
"peerDependencies": { "peerDependencies": {
"vue": "^3.0.0" "vue": "^3.0.0"

63
pnpm-lock.yaml generated
View File

@ -54,8 +54,8 @@ importers:
'@vant/cli': workspace:* '@vant/cli': workspace:*
'@vant/eslint-config': workspace:* '@vant/eslint-config': workspace:*
'@vant/icons': ^1.8.0 '@vant/icons': ^1.8.0
'@vant/popperjs': ^1.2.0 '@vant/popperjs': ^1.2.1
'@vant/use': ^1.4.0 '@vant/use': ^1.4.1
'@vue/runtime-core': ^3.2.27 '@vue/runtime-core': ^3.2.27
'@vue/test-utils': ^2.0.0-rc.16 '@vue/test-utils': ^2.0.0-rc.16
typescript: ~4.5.2 typescript: ~4.5.2
@ -97,6 +97,7 @@ importers:
'@types/jest': ^27.0.3 '@types/jest': ^27.0.3
'@types/less': ^3.0.3 '@types/less': ^3.0.3
'@types/markdown-it': ^12.2.3 '@types/markdown-it': ^12.2.3
'@types/react': ^18
'@vant/eslint-config': ^3.3.2 '@vant/eslint-config': ^3.3.2
'@vant/markdown-vetur': ^2.3.0 '@vant/markdown-vetur': ^2.3.0
'@vant/stylelint-config': ^1.4.2 '@vant/stylelint-config': ^1.4.2
@ -129,6 +130,8 @@ importers:
postcss: ^8.3.11 postcss: ^8.3.11
postcss-load-config: ^3.1.0 postcss-load-config: ^3.1.0
prettier: ^2.5.0 prettier: ^2.5.0
react: ^18
react-dom: ^18
release-it: ^14.11.6 release-it: ^14.11.6
stylelint: ^13.0.0 stylelint: ^13.0.0
transliteration: ^2.2.0 transliteration: ^2.2.0
@ -142,7 +145,7 @@ importers:
'@babel/core': 7.18.0 '@babel/core': 7.18.0
'@babel/preset-typescript': 7.17.12_@babel+core@7.18.0 '@babel/preset-typescript': 7.17.12_@babel+core@7.18.0
'@docsearch/css': 3.1.0 '@docsearch/css': 3.1.0
'@docsearch/js': 3.1.0 '@docsearch/js': 3.1.0_ohobp6rpsmerwlq5ipwfh5yigy
'@types/jest': 27.5.1 '@types/jest': 27.5.1
'@vant/eslint-config': link:../vant-eslint-config '@vant/eslint-config': link:../vant-eslint-config
'@vant/markdown-vetur': link:../vant-markdown-vetur '@vant/markdown-vetur': link:../vant-markdown-vetur
@ -189,6 +192,9 @@ importers:
'@types/fs-extra': 9.0.13 '@types/fs-extra': 9.0.13
'@types/less': 3.0.3 '@types/less': 3.0.3
'@types/markdown-it': 12.2.3 '@types/markdown-it': 12.2.3
'@types/react': 18.0.9
react: 18.1.0
react-dom: 18.1.0_react@18.1.0
vue: 3.2.35 vue: 3.2.35
packages/vant-eslint-config: packages/vant-eslint-config:
@ -774,10 +780,10 @@ packages:
resolution: {integrity: sha512-bh5IskwkkodbvC0FzSg1AxMykfDl95hebEKwxNoq4e5QaGzOXSBgW8+jnMFZ7JU4sTBiB04vZWoUSzNrPboLZA==} resolution: {integrity: sha512-bh5IskwkkodbvC0FzSg1AxMykfDl95hebEKwxNoq4e5QaGzOXSBgW8+jnMFZ7JU4sTBiB04vZWoUSzNrPboLZA==}
dev: false dev: false
/@docsearch/js/3.1.0: /@docsearch/js/3.1.0_ohobp6rpsmerwlq5ipwfh5yigy:
resolution: {integrity: sha512-5XSK+xbP0hcTIp54MECqxkWLs6kf7Ug4nWdxWNtx8cUpLiFNFnKXDxCb35wnyNpjukmrx7Q9DkO5tFFsmNVxng==} resolution: {integrity: sha512-5XSK+xbP0hcTIp54MECqxkWLs6kf7Ug4nWdxWNtx8cUpLiFNFnKXDxCb35wnyNpjukmrx7Q9DkO5tFFsmNVxng==}
dependencies: dependencies:
'@docsearch/react': 3.1.0 '@docsearch/react': 3.1.0_ohobp6rpsmerwlq5ipwfh5yigy
preact: 10.7.2 preact: 10.7.2
transitivePeerDependencies: transitivePeerDependencies:
- '@types/react' - '@types/react'
@ -785,7 +791,7 @@ packages:
- react-dom - react-dom
dev: false dev: false
/@docsearch/react/3.1.0: /@docsearch/react/3.1.0_ohobp6rpsmerwlq5ipwfh5yigy:
resolution: {integrity: sha512-bjB6ExnZzf++5B7Tfoi6UXgNwoUnNOfZ1NyvnvPhWgCMy5V/biAtLL4o7owmZSYdAKeFSvZ5Lxm0is4su/dBWg==} resolution: {integrity: sha512-bjB6ExnZzf++5B7Tfoi6UXgNwoUnNOfZ1NyvnvPhWgCMy5V/biAtLL4o7owmZSYdAKeFSvZ5Lxm0is4su/dBWg==}
peerDependencies: peerDependencies:
'@types/react': '>= 16.8.0 < 19.0.0' '@types/react': '>= 16.8.0 < 19.0.0'
@ -794,7 +800,10 @@ packages:
dependencies: dependencies:
'@algolia/autocomplete-core': 1.6.3 '@algolia/autocomplete-core': 1.6.3
'@docsearch/css': 3.1.0 '@docsearch/css': 3.1.0
'@types/react': 18.0.9
algoliasearch: 4.13.1 algoliasearch: 4.13.1
react: 18.1.0
react-dom: 18.1.0_react@18.1.0
dev: false dev: false
/@eslint/eslintrc/1.3.0: /@eslint/eslintrc/1.3.0:
@ -1371,11 +1380,24 @@ packages:
resolution: {integrity: sha512-XFjFHmaLVifrAKaZ+EKghFHtHSUonyw8P2Qmy2/+osBnrKbH9UYtlK10zg8/kCt47MFilll/DEDKy3DHfJ0URw==} resolution: {integrity: sha512-XFjFHmaLVifrAKaZ+EKghFHtHSUonyw8P2Qmy2/+osBnrKbH9UYtlK10zg8/kCt47MFilll/DEDKy3DHfJ0URw==}
dev: false dev: false
/@types/prop-types/15.7.5:
resolution: {integrity: sha512-JCB8C6SnDoQf0cNycqd/35A7MjcnK+ZTqE7judS6o7utxUCg6imJg3QK2qzHKszlTjcj2cn+NwMB2i96ubpj7w==}
/@types/react/18.0.9:
resolution: {integrity: sha512-9bjbg1hJHUm4De19L1cHiW0Jvx3geel6Qczhjd0qY5VKVE2X5+x77YxAepuCwVh4vrgZJdgEJw48zrhRIeF4Nw==}
dependencies:
'@types/prop-types': 15.7.5
'@types/scheduler': 0.16.2
csstype: 3.1.0
/@types/responselike/1.0.0: /@types/responselike/1.0.0:
resolution: {integrity: sha512-85Y2BjiufFzaMIlvJDvTTB8Fxl2xfLo4HgmHzVBz08w4wDePCTjYw66PdrolO0kzli3yam/YCgRufyo1DdQVTA==} resolution: {integrity: sha512-85Y2BjiufFzaMIlvJDvTTB8Fxl2xfLo4HgmHzVBz08w4wDePCTjYw66PdrolO0kzli3yam/YCgRufyo1DdQVTA==}
dependencies: dependencies:
'@types/node': 17.0.35 '@types/node': 17.0.35
/@types/scheduler/0.16.2:
resolution: {integrity: sha512-hppQEBDmlwhFAXKJX2KnWLYu5yMfi91yazPb2l+lbJiwW+wdo1gNeRA+3RgNSO39WYX2euey41KEwnqesU2Jew==}
/@types/stack-utils/2.0.1: /@types/stack-utils/2.0.1:
resolution: {integrity: sha512-Hl219/BT5fLAaz6NDkSuhzasy49dwQS/DSdu4MdggFB8zcXv7vflBI3xp7FEmkmdDkBUI2bPUNeMttp2knYdxw==} resolution: {integrity: sha512-Hl219/BT5fLAaz6NDkSuhzasy49dwQS/DSdu4MdggFB8zcXv7vflBI3xp7FEmkmdDkBUI2bPUNeMttp2knYdxw==}
dev: false dev: false
@ -2554,6 +2576,9 @@ packages:
/csstype/2.6.20: /csstype/2.6.20:
resolution: {integrity: sha512-/WwNkdXfckNgw6S5R125rrW8ez139lBHWouiBvX8dfMFtcn6V81REDqnH7+CRpRipfYlyU1CmOnOxrmGcFOjeA==} resolution: {integrity: sha512-/WwNkdXfckNgw6S5R125rrW8ez139lBHWouiBvX8dfMFtcn6V81REDqnH7+CRpRipfYlyU1CmOnOxrmGcFOjeA==}
/csstype/3.1.0:
resolution: {integrity: sha512-uX1KG+x9h5hIJsaKR9xHUeUraxf8IODOwq9JLNPq6BwB04a/xgpq3rcx47l5BZu5zBPlgD342tdke3Hom/nJRA==}
/dargs/7.0.0: /dargs/7.0.0:
resolution: {integrity: sha512-2iy1EkLdlBzQGvbweYRFxmFath8+K7+AKB0TlhHWkNuH+TmovaMH/Wp7V7R4u7f4SnX3OgLsU9t1NI9ioDnUpg==} resolution: {integrity: sha512-2iy1EkLdlBzQGvbweYRFxmFath8+K7+AKB0TlhHWkNuH+TmovaMH/Wp7V7R4u7f4SnX3OgLsU9t1NI9ioDnUpg==}
engines: {node: '>=8'} engines: {node: '>=8'}
@ -5274,6 +5299,12 @@ packages:
/longest-streak/2.0.4: /longest-streak/2.0.4:
resolution: {integrity: sha512-vM6rUVCVUJJt33bnmHiZEvr7wPT78ztX7rojL+LW51bHtLh6HTjx84LA5W4+oa6aKEJA7jJu5LR6vQRBpA5DVg==} resolution: {integrity: sha512-vM6rUVCVUJJt33bnmHiZEvr7wPT78ztX7rojL+LW51bHtLh6HTjx84LA5W4+oa6aKEJA7jJu5LR6vQRBpA5DVg==}
/loose-envify/1.4.0:
resolution: {integrity: sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==}
hasBin: true
dependencies:
js-tokens: 4.0.0
/lower-case/2.0.2: /lower-case/2.0.2:
resolution: {integrity: sha512-7fm3l3NAF9WfN6W3JOmf5drwpVqX78JtoGJ3A6W0a6ZnldM41w2fV5D490psKFTpMds8TJse/eHLFFsNHHjHgg==} resolution: {integrity: sha512-7fm3l3NAF9WfN6W3JOmf5drwpVqX78JtoGJ3A6W0a6ZnldM41w2fV5D490psKFTpMds8TJse/eHLFFsNHHjHgg==}
dependencies: dependencies:
@ -6247,10 +6278,25 @@ packages:
minimist: 1.2.6 minimist: 1.2.6
strip-json-comments: 2.0.1 strip-json-comments: 2.0.1
/react-dom/18.1.0_react@18.1.0:
resolution: {integrity: sha512-fU1Txz7Budmvamp7bshe4Zi32d0ll7ect+ccxNu9FlObT605GOEB8BfO4tmRJ39R5Zj831VCpvQ05QPBW5yb+w==}
peerDependencies:
react: ^18.1.0
dependencies:
loose-envify: 1.4.0
react: 18.1.0
scheduler: 0.22.0
/react-is/17.0.2: /react-is/17.0.2:
resolution: {integrity: sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==} resolution: {integrity: sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==}
dev: false dev: false
/react/18.1.0:
resolution: {integrity: sha512-4oL8ivCz5ZEPyclFQXaNksK3adutVS8l2xzZU0cqEFrE9Sb7fC0EFK5uEk74wIreL1DERyjvsU915j1pcT2uEQ==}
engines: {node: '>=0.10.0'}
dependencies:
loose-envify: 1.4.0
/read-pkg-up/3.0.0: /read-pkg-up/3.0.0:
resolution: {integrity: sha512-YFzFrVvpC6frF1sz8psoHDBGF7fLPc+llq/8NB43oagqWkx8ar5zYtsTORtOjw9W2RHLpWP+zTWwBvf1bCmcSw==} resolution: {integrity: sha512-YFzFrVvpC6frF1sz8psoHDBGF7fLPc+llq/8NB43oagqWkx8ar5zYtsTORtOjw9W2RHLpWP+zTWwBvf1bCmcSw==}
engines: {node: '>=4'} engines: {node: '>=4'}
@ -6537,6 +6583,11 @@ packages:
xmlchars: 2.2.0 xmlchars: 2.2.0
dev: false dev: false
/scheduler/0.22.0:
resolution: {integrity: sha512-6QAm1BgQI88NPYymgGQLCZgvep4FyePDWFpXVK+zNSUgHwlqpJy8VEh8Et0KxTACS4VWwMousBElAZOH9nkkoQ==}
dependencies:
loose-envify: 1.4.0
/section-matter/1.0.0: /section-matter/1.0.0:
resolution: {integrity: sha512-vfD3pmTzGpufjScBh50YHKzEu2lxBWhVEHsNGoEXmCmn2hKGfeNLYMzCJpe8cD7gqX7TJluOVpBkAequ6dgMmA==} resolution: {integrity: sha512-vfD3pmTzGpufjScBh50YHKzEu2lxBWhVEHsNGoEXmCmn2hKGfeNLYMzCJpe8cD7gqX7TJluOVpBkAequ6dgMmA==}
engines: {node: '>=4'} engines: {node: '>=4'}