sub-store-convert 2.20.29 → 2.20.30-b
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{packages/core/build/index.js → index.js} +0 -2
- package/package.json +14 -17
- package/LICENSE +0 -21
- package/README.md +0 -7
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
// src/vendors/Sub-Store/backend/src/utils/index.js
|
|
2
|
-
import * as ipAddress from "ip-address";
|
|
3
2
|
var IPV4_REGEX = /^((25[0-5]|(2[0-4]|1\d|[1-9]|)\d)(\.(?!$)|$)){4}$/;
|
|
4
3
|
var IPV6_REGEX = /^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$/;
|
|
5
4
|
function isIPv4(ip) {
|
|
@@ -4581,7 +4580,6 @@ function hysteria22(proxy) {
|
|
|
4581
4580
|
|
|
4582
4581
|
// src/vendors/Sub-Store/backend/src/core/proxy-utils/producers/uri.js
|
|
4583
4582
|
import { Base64 as Base643 } from "js-base64";
|
|
4584
|
-
import { uuid } from "automerge";
|
|
4585
4583
|
function vless2(proxy) {
|
|
4586
4584
|
let security = "none";
|
|
4587
4585
|
const isReality = proxy["reality-opts"];
|
package/package.json
CHANGED
|
@@ -1,28 +1,25 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sub-store-convert",
|
|
3
|
-
"version": "2.20.
|
|
4
|
-
"
|
|
3
|
+
"version": "2.20.30-b",
|
|
4
|
+
"description": "Advanced Subscription Converter for QX, Loon, Surge, Stash and ShadowRocket.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"module": "./index.js",
|
|
5
7
|
"license": "MIT",
|
|
6
8
|
"exports": {
|
|
7
9
|
".": {
|
|
8
|
-
"import": "./
|
|
10
|
+
"import": "./build/index.js"
|
|
9
11
|
}
|
|
10
12
|
},
|
|
11
13
|
"files": [
|
|
12
|
-
"
|
|
14
|
+
"index.js"
|
|
13
15
|
],
|
|
14
|
-
"
|
|
15
|
-
"
|
|
16
|
-
"
|
|
16
|
+
"dependencies": {
|
|
17
|
+
"js-base64": "^3.7.8",
|
|
18
|
+
"json5": "^2.2.3",
|
|
19
|
+
"lodash": "^4.17.21",
|
|
20
|
+
"peggy": "^4.2.0",
|
|
21
|
+
"static-js-yaml": "^1.0.0"
|
|
17
22
|
},
|
|
18
|
-
"
|
|
19
|
-
|
|
20
|
-
"build:docker": "docker build -t ghcr.io/tbxark/sub-store-convert:latest .",
|
|
21
|
-
"start": "pnpm --filter @sub-store-convert/app start",
|
|
22
|
-
"start:bun": "pnpm --filter @sub-store-convert/app start:bun",
|
|
23
|
-
"start:node": "pnpm --filter @sub-store-convert/app start:node",
|
|
24
|
-
"start:docker": "docker run --rm --name sub-store-convert -p 3000:3000 ghcr.io/tbxark/sub-store-convert:latest",
|
|
25
|
-
"deploy": "pnpm --filter @sub-store-convert/app deploy",
|
|
26
|
-
"clean": "pnpm -r clean && rm -rf node_modules"
|
|
27
|
-
}
|
|
23
|
+
"devDependencies": {},
|
|
24
|
+
"main": "./index.js"
|
|
28
25
|
}
|
package/LICENSE
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2024 tbxark
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
package/README.md
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
# sub-store-convert
|
|
2
|
-
|
|
3
|
-
**sub-store-convert** is a tool that runs the node conversion logic independently from the [**Sub-Store**](https://github.com/sub-store-org/Sub-Store).
|
|
4
|
-
|
|
5
|
-
## LICENSE
|
|
6
|
-
|
|
7
|
-
**sub-store-convert** is licensed under the MIT License. See the [LICENSE](LICENSE) file for more information.
|