Update from Vibe Studio

This commit is contained in:
Vibe Studio
2026-01-09 14:52:46 +00:00
parent 42a0efe70b
commit 47fa6d98b2
28661 changed files with 2421771 additions and 0 deletions

23
node_modules/@ant-design/pro-utils/lib/isUrl/index.js generated vendored Normal file
View File

@@ -0,0 +1,23 @@
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.isUrl = void 0;
/**
* 判断是不是一个 url
* @param {string|undefined} path
* @returns boolean
*/
var isUrl = exports.isUrl = function isUrl(path) {
if (!path) return false;
if (!path.startsWith('http')) {
return false;
}
try {
var url = new URL(path);
return !!url;
} catch (error) {
return false;
}
};