mirror of
https://git.mirrors.martin98.com/https://github.com/sub-store-org/Sub-Store.git
synced 2026-05-05 06:28:04 +08:00
feat: MMDB 加入 $utils.ipasn
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "sub-store",
|
||||
"version": "2.14.409",
|
||||
"version": "2.14.410",
|
||||
"description": "Advanced Subscription Manager for QX, Loon, Surge, Stash and ShadowRocket.",
|
||||
"main": "src/main.js",
|
||||
"scripts": {
|
||||
|
||||
@@ -474,4 +474,7 @@ export class MMDB {
|
||||
ipaso(ip) {
|
||||
return this.asnReader?.asn(ip)?.autonomousSystemOrganization;
|
||||
}
|
||||
ipasn(ip) {
|
||||
return this.asnReader?.asn(ip)?.autonomousSystemNumber;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user