@vercube/core 0.0.32 → 0.0.34
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.mjs +2 -2
- package/package.json +8 -8
package/dist/index.mjs
CHANGED
|
@@ -144,7 +144,7 @@ var BadRequestError = class BadRequestError extends HttpError {
|
|
|
144
144
|
* - Throws BadRequestError for malformed JSON
|
|
145
145
|
*/
|
|
146
146
|
async function resolveRequestBody(event) {
|
|
147
|
-
const text = await event.request.text();
|
|
147
|
+
const text = await event.request.clone().text();
|
|
148
148
|
if (!text) return;
|
|
149
149
|
try {
|
|
150
150
|
return JSON.parse(text);
|
|
@@ -435,7 +435,7 @@ var RequestContext = class {
|
|
|
435
435
|
};
|
|
436
436
|
|
|
437
437
|
//#endregion
|
|
438
|
-
//#region \0@oxc-project+runtime@0.
|
|
438
|
+
//#region \0@oxc-project+runtime@0.99.0/helpers/decorate.js
|
|
439
439
|
function __decorate(decorators, target, key, desc) {
|
|
440
440
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
441
441
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vercube/core",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.34",
|
|
4
4
|
"description": "Core module for Vercube framework",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -23,17 +23,17 @@
|
|
|
23
23
|
],
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"@standard-schema/spec": "1.0.0",
|
|
26
|
-
"c12": "3.3.
|
|
26
|
+
"c12": "3.3.2",
|
|
27
27
|
"defu": "6.1.4",
|
|
28
28
|
"pathe": "2.0.3",
|
|
29
|
-
"rou3": "0.7.
|
|
30
|
-
"srvx": "0.9.
|
|
31
|
-
"@vercube/di": "0.0.
|
|
32
|
-
"@vercube/logger": "0.0.
|
|
29
|
+
"rou3": "0.7.10",
|
|
30
|
+
"srvx": "0.9.6",
|
|
31
|
+
"@vercube/di": "0.0.34",
|
|
32
|
+
"@vercube/logger": "0.0.34"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
|
-
"rolldown": "1.0.0-beta.
|
|
36
|
-
"zod": "4.1.
|
|
35
|
+
"rolldown": "1.0.0-beta.52",
|
|
36
|
+
"zod": "4.1.13"
|
|
37
37
|
},
|
|
38
38
|
"publishConfig": {
|
|
39
39
|
"access": "public"
|