@forklaunch/hyper-express 0.8.2 → 0.8.4
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 -2
- package/lib/index.mjs +2 -2
- package/package.json +8 -8
package/lib/index.js
CHANGED
@@ -262,7 +262,7 @@ function contentParse(options2) {
|
|
262
262
|
if (discriminatedBody != null) {
|
263
263
|
switch (discriminatedBody.parserType) {
|
264
264
|
case "file":
|
265
|
-
req.body =
|
265
|
+
req.body = await req.buffer();
|
266
266
|
break;
|
267
267
|
case "json":
|
268
268
|
req.body = await req.json();
|
@@ -276,7 +276,7 @@ function contentParse(options2) {
|
|
276
276
|
buffer += chunk;
|
277
277
|
}
|
278
278
|
const fileBuffer = Buffer.from(buffer);
|
279
|
-
body[field.name] = fileBuffer
|
279
|
+
body[field.name] = fileBuffer;
|
280
280
|
} else {
|
281
281
|
body[field.name] = field.value;
|
282
282
|
}
|
package/lib/index.mjs
CHANGED
@@ -254,7 +254,7 @@ function contentParse(options2) {
|
|
254
254
|
if (discriminatedBody != null) {
|
255
255
|
switch (discriminatedBody.parserType) {
|
256
256
|
case "file":
|
257
|
-
req.body =
|
257
|
+
req.body = await req.buffer();
|
258
258
|
break;
|
259
259
|
case "json":
|
260
260
|
req.body = await req.json();
|
@@ -268,7 +268,7 @@ function contentParse(options2) {
|
|
268
268
|
buffer += chunk;
|
269
269
|
}
|
270
270
|
const fileBuffer = Buffer.from(buffer);
|
271
|
-
body[field.name] = fileBuffer
|
271
|
+
body[field.name] = fileBuffer;
|
272
272
|
} else {
|
273
273
|
body[field.name] = field.value;
|
274
274
|
}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@forklaunch/hyper-express",
|
3
|
-
"version": "0.8.
|
3
|
+
"version": "0.8.4",
|
4
4
|
"description": "Forklaunch framework for hyper-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/hyper-express-fork": "^6.17.35",
|
29
|
-
"@scalar/express-api-reference": "^0.8.
|
29
|
+
"@scalar/express-api-reference": "^0.8.15",
|
30
30
|
"cors": "^2.8.5",
|
31
31
|
"live-directory": "^3.0.3",
|
32
32
|
"openapi3-ts": "^4.5.0",
|
@@ -34,26 +34,26 @@
|
|
34
34
|
"swagger-ui-dist": "^5.27.1",
|
35
35
|
"swagger-ui-express": "^5.0.1",
|
36
36
|
"uWebSockets.js": "github:uNetworking/uWebSockets.js#v20.52.0",
|
37
|
-
"@forklaunch/common": "0.5.
|
38
|
-
"@forklaunch/core": "0.13.
|
39
|
-
"@forklaunch/validator": "0.9.
|
37
|
+
"@forklaunch/common": "0.5.3",
|
38
|
+
"@forklaunch/core": "0.13.4",
|
39
|
+
"@forklaunch/validator": "0.9.4"
|
40
40
|
},
|
41
41
|
"devDependencies": {
|
42
|
-
"@eslint/js": "^9.
|
42
|
+
"@eslint/js": "^9.34.0",
|
43
43
|
"@types/busboy": "^1.5.4",
|
44
44
|
"@types/cors": "^2.8.19",
|
45
45
|
"@types/jest": "^30.0.0",
|
46
46
|
"@types/qs": "^6.14.0",
|
47
47
|
"@types/swagger-ui-dist": "^3.30.6",
|
48
48
|
"@types/swagger-ui-express": "^4.1.8",
|
49
|
-
"@typescript/native-preview": "7.0.0-dev.
|
49
|
+
"@typescript/native-preview": "7.0.0-dev.20250824.1",
|
50
50
|
"jest": "^30.0.5",
|
51
51
|
"kill-port-process": "^3.2.1",
|
52
52
|
"prettier": "^3.6.2",
|
53
53
|
"ts-jest": "^29.4.1",
|
54
54
|
"ts-node": "^10.9.2",
|
55
55
|
"tsup": "^8.5.0",
|
56
|
-
"tsx": "^4.20.
|
56
|
+
"tsx": "^4.20.5",
|
57
57
|
"typedoc": "^0.28.10",
|
58
58
|
"typescript": "^5.9.2",
|
59
59
|
"typescript-eslint": "^8.40.0"
|