@ruiapp/rapid-core 0.9.9 → 0.9.10
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/dist/index.js +1 -1
- package/package.json +1 -1
- package/src/core/http/formDataParser.ts +0 -2
- package/src/core/request.ts +1 -1
package/dist/index.js
CHANGED
|
@@ -4881,7 +4881,7 @@ class RapidRequest {
|
|
|
4881
4881
|
else if (contentType.startsWith("multipart/form-data")) {
|
|
4882
4882
|
this.#body = {
|
|
4883
4883
|
type: "form-data",
|
|
4884
|
-
value: await parseFormDataBody(req),
|
|
4884
|
+
value: await parseFormDataBody(req, { all: true }),
|
|
4885
4885
|
};
|
|
4886
4886
|
}
|
|
4887
4887
|
this.#bodyParsed = true;
|
package/package.json
CHANGED
package/src/core/request.ts
CHANGED
|
@@ -66,7 +66,7 @@ export class RapidRequest {
|
|
|
66
66
|
} else if (contentType.startsWith("multipart/form-data")) {
|
|
67
67
|
this.#body = {
|
|
68
68
|
type: "form-data",
|
|
69
|
-
value: await parseFormDataBody(req),
|
|
69
|
+
value: await parseFormDataBody(req, { all: true }),
|
|
70
70
|
};
|
|
71
71
|
}
|
|
72
72
|
this.#bodyParsed = true;
|