@forklaunch/express 0.9.29 → 0.9.30
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/lib/index.js +4 -0
- package/lib/index.mjs +4 -0
- package/package.json +9 -9
package/lib/index.js
CHANGED
|
@@ -2249,6 +2249,10 @@ Correlation id: ${(0, import_http3.isForklaunchRequest)(req) ? req.context.corre
|
|
|
2249
2249
|
);
|
|
2250
2250
|
};
|
|
2251
2251
|
this.internal.use(errorHandler);
|
|
2252
|
+
this.internal.use((req, res, next) => {
|
|
2253
|
+
res.setHeader("X-Powered-By", "forklaunch");
|
|
2254
|
+
next();
|
|
2255
|
+
});
|
|
2252
2256
|
const { workerCount, ssl, routingStrategy } = this.hostingConfiguration ?? {};
|
|
2253
2257
|
if (workerCount != null && workerCount > 1) {
|
|
2254
2258
|
if (typeof Bun !== "undefined") {
|
package/lib/index.mjs
CHANGED
|
@@ -2222,6 +2222,10 @@ Correlation id: ${isForklaunchRequest(req) ? req.context.correlationId : "No cor
|
|
|
2222
2222
|
);
|
|
2223
2223
|
};
|
|
2224
2224
|
this.internal.use(errorHandler);
|
|
2225
|
+
this.internal.use((req, res, next) => {
|
|
2226
|
+
res.setHeader("X-Powered-By", "forklaunch");
|
|
2227
|
+
next();
|
|
2228
|
+
});
|
|
2225
2229
|
const { workerCount, ssl, routingStrategy } = this.hostingConfiguration ?? {};
|
|
2226
2230
|
if (workerCount != null && workerCount > 1) {
|
|
2227
2231
|
if (typeof Bun !== "undefined") {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@forklaunch/express",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.30",
|
|
4
4
|
"description": "Forklaunch framework for express.",
|
|
5
5
|
"homepage": "https://github.com/forklaunch/forklaunch-js#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
],
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@forklaunch/fastmcp-fork": "^1.0.5",
|
|
29
|
-
"@modelcontextprotocol/sdk": "^1.20.
|
|
29
|
+
"@modelcontextprotocol/sdk": "^1.20.2",
|
|
30
30
|
"@scalar/express-api-reference": "^0.8.22",
|
|
31
31
|
"@types/multer": "^2.0.0",
|
|
32
32
|
"body-parser": "^2.2.0",
|
|
@@ -37,23 +37,23 @@
|
|
|
37
37
|
"qs": "^6.14.0",
|
|
38
38
|
"range-parser": "^1.2.1",
|
|
39
39
|
"swagger-ui-express": "^5.0.1",
|
|
40
|
-
"@forklaunch/common": "0.6.
|
|
41
|
-
"@forklaunch/validator": "0.10.
|
|
42
|
-
"@forklaunch/core": "0.15.
|
|
40
|
+
"@forklaunch/common": "0.6.21",
|
|
41
|
+
"@forklaunch/validator": "0.10.21",
|
|
42
|
+
"@forklaunch/core": "0.15.11"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@eslint/js": "^9.38.0",
|
|
46
46
|
"@types/body-parser": "^1.19.6",
|
|
47
|
-
"@types/bun": "^1.3.
|
|
47
|
+
"@types/bun": "^1.3.1",
|
|
48
48
|
"@types/busboy": "^1.5.4",
|
|
49
49
|
"@types/cors": "^2.8.19",
|
|
50
|
-
"@types/express": "^5.0.
|
|
50
|
+
"@types/express": "^5.0.5",
|
|
51
51
|
"@types/express-serve-static-core": "^5.1.0",
|
|
52
52
|
"@types/jest": "^30.0.0",
|
|
53
53
|
"@types/qs": "^6.14.0",
|
|
54
54
|
"@types/range-parser": "^1.2.7",
|
|
55
55
|
"@types/swagger-ui-express": "^4.1.8",
|
|
56
|
-
"@typescript/native-preview": "7.0.0-dev.
|
|
56
|
+
"@typescript/native-preview": "7.0.0-dev.20251027.1",
|
|
57
57
|
"jest": "^30.2.0",
|
|
58
58
|
"kill-port-process": "^3.2.1",
|
|
59
59
|
"prettier": "^3.6.2",
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
"tsup": "^8.5.0",
|
|
63
63
|
"typedoc": "^0.28.14",
|
|
64
64
|
"typescript": "^5.9.3",
|
|
65
|
-
"typescript-eslint": "^8.46.
|
|
65
|
+
"typescript-eslint": "^8.46.2"
|
|
66
66
|
},
|
|
67
67
|
"scripts": {
|
|
68
68
|
"build": "tsgo --noEmit && tsup index.ts --format cjs,esm --no-splitting --tsconfig tsconfig.json --outDir lib --dts --clean",
|