@mercuryworkshop/scramjet 2.0.1-alpha → 2.0.5-alpha
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/dist/167400cb144aab22.wasm +0 -0
- package/dist/2919e49b986edf8c.wasm +0 -0
- package/dist/5aed1d5e48aab205.wasm +0 -0
- package/dist/882d77912a3c8e3a.wasm +0 -0
- package/dist/ac6aa30297a80464.wasm +0 -0
- package/dist/c10a57758af882c8.wasm +0 -0
- package/dist/cfd04aaae6955b67.wasm +0 -0
- package/dist/d06a90fd413b36cf.wasm +0 -0
- package/dist/dda06914899a6c28.wasm +0 -0
- package/dist/scramjet.js +7 -6
- package/dist/scramjet.js.map +1 -1
- package/dist/scramjet.mjs +8 -7
- package/dist/scramjet.mjs.map +1 -1
- package/dist/scramjet.wasm +0 -0
- package/dist/scramjet_bundled.js +7 -6
- package/dist/scramjet_bundled.js.map +1 -1
- package/dist/scramjet_bundled.mjs +7 -6
- package/dist/scramjet_bundled.mjs.map +1 -1
- package/dist/types/Tap.d.ts +32 -0
- package/dist/types/client/client.d.ts +59 -35
- package/dist/types/client/events.d.ts +9 -37
- package/dist/types/client/global.d.ts +4 -0
- package/dist/types/client/helpers.d.ts +1 -1
- package/dist/types/client/location.d.ts +1 -1
- package/dist/types/client/shared/unproxy.d.ts +19 -0
- package/dist/types/client/shared/wrap.d.ts +2 -2
- package/dist/types/client/singletonbox.d.ts +2 -0
- package/dist/types/client/unproxy.generated.d.ts +50 -0
- package/dist/types/fetch/body.d.ts +3 -0
- package/dist/types/fetch/fetch.d.ts +7 -0
- package/dist/types/fetch/headers.d.ts +19 -0
- package/dist/types/fetch/index.d.ts +91 -43
- package/dist/types/fetch/parse.d.ts +22 -0
- package/dist/types/fetch/util.d.ts +7 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/types/shared/cookie.d.ts +13 -5
- package/dist/types/shared/htmlRules.d.ts +1 -1
- package/dist/types/shared/index.d.ts +31 -3
- package/dist/types/shared/mime.d.ts +39 -0
- package/dist/types/shared/refresh.d.ts +7 -0
- package/dist/types/shared/rewriters/css.d.ts +2 -2
- package/dist/types/shared/rewriters/html.d.ts +31 -4
- package/dist/types/shared/rewriters/js.d.ts +3 -3
- package/dist/types/shared/rewriters/url.d.ts +19 -5
- package/dist/types/shared/rewriters/wasm.d.ts +1 -2
- package/dist/types/shared/rewriters/worker.d.ts +1 -1
- package/dist/types/shared/set-cookie-parser.d.ts +20 -0
- package/dist/types/shared/snapshot.d.ts +236 -0
- package/dist/types/shared/sniffEncoding.d.ts +65 -0
- package/dist/types/shared/util.d.ts +2 -0
- package/dist/types/symbols.d.ts +1 -2
- package/dist/types/types.d.ts +4 -50
- package/package.json +7 -13
- package/dist/c34a4f083a11eae2.wasm +0 -0
- package/dist/scramjet.wasm.wasm +0 -0
- package/dist/types/shared/security/index.d.ts +0 -1
- package/dist/types/shared/security/siteTests.d.ts +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mercuryworkshop/scramjet",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.5-alpha",
|
|
4
4
|
"description": "An experimental web proxy that aims to be the successor to Ultraviolet",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"types": "./dist/types/index.d.ts",
|
|
@@ -42,20 +42,18 @@
|
|
|
42
42
|
"@fastify/static": "^8.2.0",
|
|
43
43
|
"@mercuryworkshop/wisp-js": "^0.4.0",
|
|
44
44
|
"@nebula-services/bare-server-node": "^2.0.4",
|
|
45
|
-
"@playwright/test": "^1.55.0",
|
|
46
45
|
"@types/eslint": "^9.6.1",
|
|
47
46
|
"@types/estree": "^1.0.8",
|
|
48
47
|
"@types/node": "^24.3.1",
|
|
49
48
|
"@types/serviceworker": "^0.0.160",
|
|
50
|
-
"@typescript-eslint/eslint-plugin": "
|
|
51
|
-
"@typescript-eslint/parser": "
|
|
49
|
+
"@typescript-eslint/eslint-plugin": "8.57.3-alpha.3",
|
|
50
|
+
"@typescript-eslint/parser": "8.57.3-alpha.3",
|
|
52
51
|
"actionlint": "^2.0.6",
|
|
53
52
|
"ava": "^6.4.1",
|
|
54
53
|
"dotenv": "^17.2.2",
|
|
55
|
-
"eslint": "^
|
|
54
|
+
"eslint": "^10.1.0",
|
|
56
55
|
"fastify": "^5.6.0",
|
|
57
56
|
"glob": "^11.0.3",
|
|
58
|
-
"playwright": "^1.55.0",
|
|
59
57
|
"prettier": "^3.6.2",
|
|
60
58
|
"remark": "^15.0.1",
|
|
61
59
|
"remark-cli": "^12.0.1",
|
|
@@ -72,15 +70,12 @@
|
|
|
72
70
|
"dom-serializer": "^2.0.0",
|
|
73
71
|
"domhandler": "^5.0.3",
|
|
74
72
|
"domutils": "^3.2.2",
|
|
75
|
-
"htmlparser2": "^
|
|
73
|
+
"htmlparser2": "^12.0.0",
|
|
76
74
|
"idb": "^8.0.3",
|
|
77
|
-
"parse-domain": "^8.2.2"
|
|
78
|
-
"set-cookie-parser": "^2.7.1"
|
|
75
|
+
"parse-domain": "^8.2.2"
|
|
79
76
|
},
|
|
80
77
|
"scripts": {
|
|
81
78
|
"build": "cd ../.. && rspack build --mode production",
|
|
82
|
-
"build:types": "cd ../.. && rslib build && rm -rf packages/core/dist/temp",
|
|
83
|
-
"build:all": "npm run build && npm run build:types",
|
|
84
79
|
"rewriter:build": "cd rewriter/wasm/ && bash build.sh && cd ../../",
|
|
85
80
|
"dev": "node server.js",
|
|
86
81
|
"dev:debug": "DEBUG=1 node server.js",
|
|
@@ -91,9 +86,8 @@
|
|
|
91
86
|
"lint:fix": "eslint ./src/ --fix",
|
|
92
87
|
"lint:workflows": "actionlint .github/workflows/*.yml",
|
|
93
88
|
"lint:all": "npm run lint && npm run lint:workflows",
|
|
94
|
-
"test": "npm run test:package
|
|
89
|
+
"test": "npm run test:package",
|
|
95
90
|
"test:package": "ava tests/ci/packageValidation.js",
|
|
96
|
-
"test:integration": "npx playwright test",
|
|
97
91
|
"preinstall": "npx only-allow pnpm"
|
|
98
92
|
}
|
|
99
93
|
}
|
|
Binary file
|
package/dist/scramjet.wasm.wasm
DELETED
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./siteTests";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|