Skip to content

Commit 3cd71f9

Browse files
committed
chore(backend): overhaul proxy-utils coverage and retire legacy parser tooling
- replace PEG testcase suites with raw-input parser coverage - add parser pipeline, URI, QX, Loon, and Surge integration specs - add producer and preprocessor coverage with shared test helpers - cover supported formats, protocol branches, and vmess/vless transport variants - fix Loon vs Surge dispatch for Loon-only HTTP/SOCKS5 options - remove proxy-utils debug logging - simplify the test script and prune unused test/build dependencies - drop obsolete gulp, bundle, and PEG source artifacts
1 parent eaba311 commit 3cd71f9

23 files changed

Lines changed: 2467 additions & 6280 deletions

backend/bundle.js

Lines changed: 0 additions & 51 deletions
This file was deleted.

backend/gulpfile.babel.js

Lines changed: 0 additions & 118 deletions
This file was deleted.

backend/package.json

Lines changed: 3 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,15 @@
11
{
22
"name": "sub-store",
3-
"version": "2.21.56",
3+
"version": "2.21.57",
44
"description": "Advanced Subscription Manager for QX, Loon, Surge, Stash and Shadowrocket.",
55
"main": "src/main.js",
66
"scripts": {
77
"preinstall": "npx only-allow pnpm",
8-
"test": "gulp peggy && npx cross-env BABEL_ENV=test mocha src/test/**/*.spec.js --require @babel/register --recursive",
8+
"test": "mocha src/test/**/*.spec.js --require @babel/register --recursive",
99
"serve": "node sub-store.min.js",
1010
"start": "nodemon -w src -w package.json --exec babel-node src/main.js",
1111
"dev:esbuild": "nodemon -w src -w package.json dev-esbuild.js",
1212
"dev:run": "nodemon -w sub-store.min.js sub-store.min.js",
13-
"build": "gulp",
14-
"bundle": "node bundle.js",
1513
"bundle:esbuild": "node bundle-esbuild.js",
1614
"changelog": "conventional-changelog -p cli -i CHANGELOG.md -s"
1715
},
@@ -24,7 +22,6 @@
2422
},
2523
"dependencies": {
2624
"@maxmind/geoip2-node": "^5.0.0",
27-
"automerge": "1.0.1-preview.7",
2825
"body-parser": "^1.19.0",
2926
"buffer": "^6.0.3",
3027
"connect-history-api-fallback": "^2.0.0",
@@ -52,26 +49,13 @@
5249
"@babel/node": "^7.17.10",
5350
"@babel/preset-env": "^7.18.0",
5451
"@babel/register": "^7.17.7",
55-
"@types/gulp": "^4.0.9",
5652
"babel-plugin-relative-path-import": "^2.0.1",
57-
"babelify": "^10.0.0",
58-
"browser-pack-flat": "^3.4.2",
59-
"browserify": "^17.0.0",
6053
"chai": "^4.3.6",
6154
"esbuild": "^0.19.8",
6255
"eslint": "^8.16.0",
63-
"gulp": "^4.0.2",
64-
"gulp-babel": "^8.0.0",
65-
"gulp-eslint-new": "^1.4.4",
66-
"gulp-file": "^0.4.0",
67-
"gulp-header": "^2.0.9",
68-
"gulp-prettier": "^4.0.0",
69-
"gulp-tap": "^2.0.0",
7056
"mocha": "^10.0.0",
7157
"nodemon": "^2.0.16",
7258
"peggy": "^2.0.1",
73-
"prettier": "2.6.2",
74-
"prettier-plugin-sort-imports": "^1.6.1",
75-
"tinyify": "^3.0.0"
59+
"prettier": "2.6.2"
7660
}
7761
}

0 commit comments

Comments
 (0)