@forklaunch/hyper-express 0.11.6 → 0.11.8
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 +3 -1
- package/lib/index.mjs +3 -1
- package/package.json +10 -10
package/lib/index.js
CHANGED
|
@@ -277,7 +277,9 @@ function contentParse(options2) {
|
|
|
277
277
|
const chunks = [];
|
|
278
278
|
for await (const chunk of field.file.stream) {
|
|
279
279
|
const buf = Buffer.isBuffer(chunk) ? chunk : Buffer.from(chunk);
|
|
280
|
-
chunks.push(
|
|
280
|
+
chunks.push(
|
|
281
|
+
new Uint8Array(buf.buffer, buf.byteOffset, buf.byteLength)
|
|
282
|
+
);
|
|
281
283
|
}
|
|
282
284
|
const fileBuffer = Buffer.concat(chunks);
|
|
283
285
|
body[field.name] = fileBuffer;
|
package/lib/index.mjs
CHANGED
|
@@ -272,7 +272,9 @@ function contentParse(options2) {
|
|
|
272
272
|
const chunks = [];
|
|
273
273
|
for await (const chunk of field.file.stream) {
|
|
274
274
|
const buf = Buffer.isBuffer(chunk) ? chunk : Buffer.from(chunk);
|
|
275
|
-
chunks.push(
|
|
275
|
+
chunks.push(
|
|
276
|
+
new Uint8Array(buf.buffer, buf.byteOffset, buf.byteLength)
|
|
277
|
+
);
|
|
276
278
|
}
|
|
277
279
|
const fileBuffer = Buffer.concat(chunks);
|
|
278
280
|
body[field.name] = fileBuffer;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@forklaunch/hyper-express",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.8",
|
|
4
4
|
"description": "Forklaunch framework for hyper-express.",
|
|
5
5
|
"homepage": "https://github.com/forklaunch/forklaunch-js#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -26,30 +26,30 @@
|
|
|
26
26
|
],
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@forklaunch/hyper-express-fork": "^6.17.35",
|
|
29
|
-
"@scalar/express-api-reference": "^0.
|
|
29
|
+
"@scalar/express-api-reference": "^0.9.0",
|
|
30
30
|
"cors": "^2.8.6",
|
|
31
31
|
"live-directory": "^3.0.3",
|
|
32
32
|
"openapi3-ts": "^4.5.0",
|
|
33
33
|
"qs": "^6.15.0",
|
|
34
|
-
"swagger-ui-dist": "^5.
|
|
34
|
+
"swagger-ui-dist": "^5.32.0",
|
|
35
35
|
"swagger-ui-express": "^5.0.1",
|
|
36
36
|
"uWebSockets.js": "github:uNetworking/uWebSockets.js#v20.52.0",
|
|
37
|
-
"@forklaunch/common": "0.6.
|
|
38
|
-
"@forklaunch/validator": "0.10.
|
|
39
|
-
"@forklaunch/
|
|
40
|
-
"@forklaunch/
|
|
37
|
+
"@forklaunch/common": "0.6.31",
|
|
38
|
+
"@forklaunch/validator": "0.10.31",
|
|
39
|
+
"@forklaunch/core": "0.18.4",
|
|
40
|
+
"@forklaunch/ws": "0.2.2"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@eslint/js": "^10.0.1",
|
|
44
44
|
"@types/busboy": "^1.5.4",
|
|
45
45
|
"@types/cors": "^2.8.19",
|
|
46
46
|
"@types/jest": "^30.0.0",
|
|
47
|
-
"@types/qs": "^6.
|
|
47
|
+
"@types/qs": "^6.15.0",
|
|
48
48
|
"@types/swagger-ui-dist": "^3.30.6",
|
|
49
49
|
"@types/swagger-ui-express": "^4.1.8",
|
|
50
|
-
"@typescript/native-preview": "7.0.0-dev.
|
|
50
|
+
"@typescript/native-preview": "7.0.0-dev.20260306.1",
|
|
51
51
|
"jest": "^30.2.0",
|
|
52
|
-
"kill-port-process": "^
|
|
52
|
+
"kill-port-process": "^4.0.2",
|
|
53
53
|
"prettier": "^3.8.1",
|
|
54
54
|
"ts-jest": "^29.4.6",
|
|
55
55
|
"ts-node": "^10.9.2",
|