Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@vant/area-data

Package Overview
Dependencies
Maintainers
6
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vant/area-data - npm Package Compare versions

Comparing version 1.3.2 to 1.4.0

10

package.json
{
"name": "@vant/area-data",
"version": "1.3.2",
"version": "1.4.0",
"description": "Vant 省市区数据",

@@ -14,2 +14,3 @@ "main": "dist/index.cjs.js",

},
"sideEffects": false,
"files": [

@@ -40,5 +41,6 @@ "dist"

"devDependencies": {
"esbuild": "^0.14.29",
"release-it": "^15.1.1",
"typescript": "^4.7.4"
"esbuild": "^0.16.10",
"release-it": "^15.4.1",
"rimraf": "^4.0.4",
"typescript": "^4.8.2"
},

@@ -45,0 +47,0 @@ "release-it": {

16

README.md

@@ -1,4 +0,4 @@

# Vant Area Data
# Vant China Area Data
中国省市区数据,适用于 Vant Area 组件。
中国省市区数据,适用于 Vant 的 Area 和 Cascader 等组件。

@@ -20,2 +20,4 @@ ## 安装

在 Vant 的 Area 组件中使用时,直接引用 `areaList` 对象即可:
```ts

@@ -25,4 +27,12 @@ import { areaList } from '@vant/area-data';

在 Vant 的 Cascader 组件中使用时,请使用 `useCascaderAreaData` 方法:
```ts
import { useCascaderAreaData } from '@vant/area-data';
const cascaderAreaData = useCascaderAreaData();
```
## 数据更新
中国的行政区划每年都会有变动,如果发现省市区数据未及时更新,欢迎提 Pull Request 帮助我们更新。
中国的行政区划每年都会有变动,如果发现省市区数据未及时更新,欢迎提 Pull Request 帮助我们更新。你可以在[「国家统计局 - 全国区划代码」](http://www.stats.gov.cn/tjsj/tjbz/tjyqhdmhcxhfdm/) 和[「民政部 - 行政区划代码」](https://www.mca.gov.cn/article/sj/xzqh/1980/)上查询到最新数据,请根据官方数据进行核实。

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc