@forklaunch/express 0.9.23 → 0.9.24
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 +2 -1
- package/lib/index.mjs +2 -1
- package/package.json +7 -7
package/lib/index.js
CHANGED
|
@@ -521,6 +521,7 @@ function serveExpress(app, openTelemetryCollector, opts = {}) {
|
|
|
521
521
|
let statusCode = 200;
|
|
522
522
|
let headersSent = false;
|
|
523
523
|
const resEE = new import_node_events.EventEmitter();
|
|
524
|
+
let req;
|
|
524
525
|
const pathname = url.pathname;
|
|
525
526
|
const searchParams = url.searchParams;
|
|
526
527
|
const query = Object.fromEntries(searchParams.entries());
|
|
@@ -1211,7 +1212,7 @@ function serveExpress(app, openTelemetryCollector, opts = {}) {
|
|
|
1211
1212
|
}
|
|
1212
1213
|
}
|
|
1213
1214
|
});
|
|
1214
|
-
|
|
1215
|
+
req = Object.assign(reqEE, {
|
|
1215
1216
|
method: request.method,
|
|
1216
1217
|
url: url.pathname + url.search,
|
|
1217
1218
|
originalUrl: url.pathname + url.search,
|
package/lib/index.mjs
CHANGED
|
@@ -492,6 +492,7 @@ function serveExpress(app, openTelemetryCollector, opts = {}) {
|
|
|
492
492
|
let statusCode = 200;
|
|
493
493
|
let headersSent = false;
|
|
494
494
|
const resEE = new EventEmitter();
|
|
495
|
+
let req;
|
|
495
496
|
const pathname = url.pathname;
|
|
496
497
|
const searchParams = url.searchParams;
|
|
497
498
|
const query = Object.fromEntries(searchParams.entries());
|
|
@@ -1182,7 +1183,7 @@ function serveExpress(app, openTelemetryCollector, opts = {}) {
|
|
|
1182
1183
|
}
|
|
1183
1184
|
}
|
|
1184
1185
|
});
|
|
1185
|
-
|
|
1186
|
+
req = Object.assign(reqEE, {
|
|
1186
1187
|
method: request.method,
|
|
1187
1188
|
url: url.pathname + url.search,
|
|
1188
1189
|
originalUrl: url.pathname + url.search,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@forklaunch/express",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.24",
|
|
4
4
|
"description": "Forklaunch framework for express.",
|
|
5
5
|
"homepage": "https://github.com/forklaunch/forklaunch-js#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -37,9 +37,9 @@
|
|
|
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/
|
|
42
|
-
"@forklaunch/
|
|
40
|
+
"@forklaunch/common": "0.6.17",
|
|
41
|
+
"@forklaunch/validator": "0.10.17",
|
|
42
|
+
"@forklaunch/core": "0.15.6"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@eslint/js": "^9.37.0",
|
|
@@ -48,12 +48,12 @@
|
|
|
48
48
|
"@types/busboy": "^1.5.4",
|
|
49
49
|
"@types/cors": "^2.8.19",
|
|
50
50
|
"@types/express": "^5.0.3",
|
|
51
|
-
"@types/express-serve-static-core": "^5.0
|
|
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.20251007.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.13",
|
|
64
64
|
"typescript": "^5.9.3",
|
|
65
|
-
"typescript-eslint": "^8.
|
|
65
|
+
"typescript-eslint": "^8.46.0"
|
|
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",
|