deploy: 7c771d2f3ae18a3eaada36a6e10ca7022f9824b7

This commit is contained in:
SukkaBot
2022-04-27 11:43:23 +00:00
parent 379d601909
commit c78aaaffb4
7 changed files with 2619 additions and 651 deletions

1
.gitignore vendored
View File

@@ -1,2 +1,3 @@
.DS_Store
node_modules
.wireit

View File

@@ -1,35 +0,0 @@
const https = require('https');
exports.simpleGet = {
https(hostname, path) {
const requestOpt = hostname instanceof URL ? hostname : {
hostname,
path,
method: 'GET',
};
return new Promise((resolve, reject) => {
const req = https.request(
requestOpt,
(res) => {
const body = [];
res.on('data', (chunk) => {
body.push(chunk);
});
res.on('end', () => {
try {
resolve(String(Buffer.concat(body)));
} catch (e) {
reject(e);
}
});
req.on('error', (err) => {
reject(err);
});
}
);
req.end();
});
}
}

File diff suppressed because it is too large Load Diff

View File

@@ -1,8 +1,8 @@
############################
# Mainland China IPv4 CIDR
# Data from misaka.io (misakaio @ GitHub)
# Last Updated: 2022-04-26T13:58:59.541Z
# Routes: 3387
# Last Updated: 2022-04-27T11:41:27.400Z
# Routes: 3389
############################
IP-CIDR,1.2.4.0/24
IP-CIDR,1.8.1.0/24
@@ -102,6 +102,7 @@ IP-CIDR,36.192.0.0/11
IP-CIDR,36.248.0.0/14
IP-CIDR,36.255.128.0/22
IP-CIDR,36.255.164.0/24
IP-CIDR,38.43.120.0/21
IP-CIDR,39.64.0.0/11
IP-CIDR,39.96.0.0/13
IP-CIDR,39.104.0.0/14
@@ -985,6 +986,7 @@ IP-CIDR,103.102.196.0/24
IP-CIDR,103.102.200.0/22
IP-CIDR,103.103.12.0/24
IP-CIDR,103.103.36.0/24
IP-CIDR,103.103.200.0/22
IP-CIDR,103.105.12.0/22
IP-CIDR,103.105.60.0/22
IP-CIDR,103.105.200.0/22

View File

@@ -24,7 +24,7 @@
<main class="container">
<h1>Sukka Surge Ruleset Server</h1>
<p>Made by <a href="https://skk.moe">Sukka</a> | <a href="https://github.com/SukkaW/Surge/">Source @ GitHub</a> | Licensed under <a href="https://github.com/SukkaW/Surge/blob/master/LICENSE" target="_blank">AGPL-3.0</a></p>
<p>Last Updated: 2022-04-26T14:01:22.801Z</p>
<p>Last Updated: 2022-04-27T11:43:22.428Z</p>
<hr>
<br>
<ul>

1728
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -3,9 +3,51 @@
"version": "0.0.0",
"private": true,
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"build": "wireit",
"build:anti-bogus-domain": "wireit",
"build:apple-cdn": "wireit",
"build:cdn-conf": "wireit",
"build:index-html": "wireit",
"build:reject-domainset": "wireit",
"build:telegram-cidr": "wireit"
},
"wireit": {
"build:anti-bogus-domain": {
"command": "node ./Build/build-anti-bogus-domain.js"
},
"build:apple-cdn": {
"command": "node ./Build/build-apple-cdn.js"
},
"build:cdn-conf": {
"command": "node ./Build/build-cdn-conf.js"
},
"build:reject-domainset": {
"command": "node ./Build/build-reject-domainset.js"
},
"build:telegram-cidr": {
"command": "node ./Build/build-telegram-cidr.js"
},
"build:index-html": {
"command": "node ./Build/build-index.html.js",
"dependencies": [
"build:anti-bogus-domain",
"build:apple-cdn",
"build:cdn-conf",
"build:reject-domainset",
"build:telegram-cidr"
]
},
"build": {
"dependencies": [
"build:anti-bogus-domain",
"build:apple-cdn",
"build:cdn-conf",
"build:reject-domainset",
"build:telegram-cidr",
"build:index-html"
]
}
},
"repository": {
"type": "git",
@@ -19,5 +61,8 @@
"piscina": "^3.1.0",
"table": "^6.7.3",
"undici": "^5.0.0"
},
"devDependencies": {
"wireit": "^0.2.0"
}
}