Compare commits

..

No commits in common. "4428e4770a387ab246849833e3bae5fd5f2cb1fa" and "1ba9f6de4f282dfc1aa1bce02f3328bd5a5aa7fd" have entirely different histories.

3 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
{
"name": "@vant/area-data",
"version": "1.4.1",
"version": "1.4.0",
"description": "Vant 省市区数据",
"main": "dist/index.cjs.js",
"module": "dist/index.esm.mjs",

View File

@ -1625,6 +1625,7 @@ export const areaList: {
360724: '上犹县',
360725: '崇义县',
360726: '安远县',
360727: '龙南县',
360728: '定南县',
360729: '全南县',
360730: '宁都县',
@ -1634,7 +1635,6 @@ export const areaList: {
360734: '寻乌县',
360735: '石城县',
360781: '瑞金市',
360783: '龙南市',
360802: '吉州区',
360803: '青原区',
360821: '吉安县',

View File

@ -63,7 +63,7 @@ export function filterFiles(
return { valid, invalid };
}
const IMAGE_REGEXP = /\.(jpeg|jpg|gif|png|svg|webp|jfif|bmp|dpg|avif)/i;
const IMAGE_REGEXP = /\.(jpeg|jpg|gif|png|svg|webp|jfif|bmp|dpg)/i;
export const isImageUrl = (url: string): boolean => IMAGE_REGEXP.test(url);