feat: 脚本操作 ProxyUtils 增加了 isIPv4, isIPv6, isIP 方法

This commit is contained in:
xream 2023-11-14 00:57:52 +08:00
parent 9c78b87834
commit 3e5f3eafdd
No known key found for this signature in database
GPG Key ID: 1D2C5225471789F9
2 changed files with 4 additions and 1 deletions

View File

@ -1,6 +1,6 @@
{
"name": "sub-store",
"version": "2.14.87",
"version": "2.14.88",
"description": "Advanced Subscription Manager for QX, Loon, Surge, Stash and ShadowRocket.",
"main": "src/main.js",
"scripts": {

View File

@ -183,6 +183,9 @@ export const ProxyUtils = {
parse,
process,
produce,
isIPv4,
isIPv6,
isIP,
};
function tryParse(parser, line) {