@forklaunch/hyper-express 0.9.30 → 0.9.31
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 +1 -1
- package/lib/index.mjs +1 -1
- package/package.json +4 -4
package/lib/index.js
CHANGED
|
@@ -502,7 +502,7 @@ Correlation id: ${(0, import_http13.isForklaunchRequest)(req) ? req.context.corr
|
|
|
502
502
|
[import_http13.ATTR_HTTP_RESPONSE_STATUS_CODE]: statusCode ?? 500
|
|
503
503
|
});
|
|
504
504
|
});
|
|
505
|
-
this.internal.
|
|
505
|
+
this.internal.any("/*", (req, res, next) => {
|
|
506
506
|
res.setHeader("X-Powered-By", "forklaunch");
|
|
507
507
|
next();
|
|
508
508
|
});
|
package/lib/index.mjs
CHANGED
|
@@ -496,7 +496,7 @@ Correlation id: ${isForklaunchRequest(req) ? req.context.correlationId : "No cor
|
|
|
496
496
|
[ATTR_HTTP_RESPONSE_STATUS_CODE]: statusCode ?? 500
|
|
497
497
|
});
|
|
498
498
|
});
|
|
499
|
-
this.internal.
|
|
499
|
+
this.internal.any("/*", (req, res, next) => {
|
|
500
500
|
res.setHeader("X-Powered-By", "forklaunch");
|
|
501
501
|
next();
|
|
502
502
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@forklaunch/hyper-express",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.31",
|
|
4
4
|
"description": "Forklaunch framework for hyper-express.",
|
|
5
5
|
"homepage": "https://github.com/forklaunch/forklaunch-js#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -34,9 +34,9 @@
|
|
|
34
34
|
"swagger-ui-dist": "^5.30.0",
|
|
35
35
|
"swagger-ui-express": "^5.0.1",
|
|
36
36
|
"uWebSockets.js": "github:uNetworking/uWebSockets.js#v20.52.0",
|
|
37
|
-
"@forklaunch/
|
|
38
|
-
"@forklaunch/
|
|
39
|
-
"@forklaunch/common": "0.6.
|
|
37
|
+
"@forklaunch/core": "0.15.12",
|
|
38
|
+
"@forklaunch/validator": "0.10.22",
|
|
39
|
+
"@forklaunch/common": "0.6.22"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"@eslint/js": "^9.38.0",
|