@modern-js/bff-core 3.1.4 → 3.2.0
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.
|
@@ -24,24 +24,24 @@ var __webpack_require__ = {};
|
|
|
24
24
|
var __webpack_exports__ = {};
|
|
25
25
|
__webpack_require__.r(__webpack_exports__);
|
|
26
26
|
__webpack_require__.d(__webpack_exports__, {
|
|
27
|
-
Post: ()=>Post,
|
|
28
|
-
Redirect: ()=>Redirect,
|
|
29
27
|
Connect: ()=>Connect,
|
|
30
|
-
|
|
31
|
-
Upload: ()=>Upload,
|
|
32
|
-
Patch: ()=>Patch,
|
|
28
|
+
Data: ()=>Data,
|
|
33
29
|
Delete: ()=>Delete,
|
|
34
|
-
Head: ()=>Head,
|
|
35
|
-
Options: ()=>Options,
|
|
36
|
-
Query: ()=>Query,
|
|
37
30
|
Get: ()=>Get,
|
|
31
|
+
Head: ()=>Head,
|
|
32
|
+
Headers: ()=>Headers,
|
|
38
33
|
HttpCode: ()=>HttpCode,
|
|
39
|
-
|
|
34
|
+
Options: ()=>Options,
|
|
35
|
+
Params: ()=>Params,
|
|
36
|
+
Patch: ()=>Patch,
|
|
37
|
+
Post: ()=>Post,
|
|
40
38
|
Put: ()=>Put,
|
|
39
|
+
Query: ()=>Query,
|
|
40
|
+
Redirect: ()=>Redirect,
|
|
41
41
|
SetHeaders: ()=>SetHeaders,
|
|
42
42
|
Trace: ()=>Trace,
|
|
43
|
-
|
|
44
|
-
|
|
43
|
+
Upload: ()=>Upload,
|
|
44
|
+
createHttpOperator: ()=>createHttpOperator
|
|
45
45
|
});
|
|
46
46
|
const http_js_namespaceObject = require("../errors/http.js");
|
|
47
47
|
const external_types_js_namespaceObject = require("../types.js");
|
|
@@ -25,11 +25,11 @@ var __webpack_exports__ = {};
|
|
|
25
25
|
__webpack_require__.r(__webpack_exports__);
|
|
26
26
|
__webpack_require__.d(__webpack_exports__, {
|
|
27
27
|
API_DIR: ()=>API_DIR,
|
|
28
|
-
FRAMEWORK_MODE_LAMBDA_DIR: ()=>FRAMEWORK_MODE_LAMBDA_DIR,
|
|
29
|
-
INDEX_SUFFIX: ()=>INDEX_SUFFIX,
|
|
30
|
-
AllHttpMethods: ()=>AllHttpMethods,
|
|
31
28
|
API_FILE_RULES: ()=>API_FILE_RULES,
|
|
32
|
-
|
|
29
|
+
AllHttpMethods: ()=>AllHttpMethods,
|
|
30
|
+
FRAMEWORK_MODE_APP_DIR: ()=>FRAMEWORK_MODE_APP_DIR,
|
|
31
|
+
FRAMEWORK_MODE_LAMBDA_DIR: ()=>FRAMEWORK_MODE_LAMBDA_DIR,
|
|
32
|
+
INDEX_SUFFIX: ()=>INDEX_SUFFIX
|
|
33
33
|
});
|
|
34
34
|
const external_types_js_namespaceObject = require("../types.js");
|
|
35
35
|
const AllHttpMethods = Object.values(external_types_js_namespaceObject.HttpMethod);
|
package/dist/cjs/router/utils.js
CHANGED
|
@@ -33,11 +33,11 @@ var __webpack_require__ = {};
|
|
|
33
33
|
var __webpack_exports__ = {};
|
|
34
34
|
__webpack_require__.r(__webpack_exports__);
|
|
35
35
|
__webpack_require__.d(__webpack_exports__, {
|
|
36
|
+
getFiles: ()=>getFiles,
|
|
36
37
|
getPathFromFilename: ()=>getPathFromFilename,
|
|
37
38
|
isHandler: ()=>isHandler,
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
requireHandlerModule: ()=>requireHandlerModule
|
|
39
|
+
requireHandlerModule: ()=>requireHandlerModule,
|
|
40
|
+
sortRoutes: ()=>sortRoutes
|
|
41
41
|
});
|
|
42
42
|
const external_path_namespaceObject = require("path");
|
|
43
43
|
var external_path_default = /*#__PURE__*/ __webpack_require__.n(external_path_namespaceObject);
|
package/dist/cjs/utils/alias.js
CHANGED
|
@@ -33,8 +33,8 @@ var __webpack_require__ = {};
|
|
|
33
33
|
var __webpack_exports__ = {};
|
|
34
34
|
__webpack_require__.r(__webpack_exports__);
|
|
35
35
|
__webpack_require__.d(__webpack_exports__, {
|
|
36
|
-
getRelativeRuntimePath: ()=>getRelativeRuntimePath,
|
|
37
36
|
createMatchPath: ()=>createMatchPath,
|
|
37
|
+
getRelativeRuntimePath: ()=>getRelativeRuntimePath,
|
|
38
38
|
registerPaths: ()=>registerPaths
|
|
39
39
|
});
|
|
40
40
|
const external_fs_namespaceObject = require("fs");
|
package/package.json
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"modern",
|
|
16
16
|
"modern.js"
|
|
17
17
|
],
|
|
18
|
-
"version": "3.
|
|
18
|
+
"version": "3.2.0",
|
|
19
19
|
"types": "./dist/types/index.d.ts",
|
|
20
20
|
"main": "./dist/cjs/index.js",
|
|
21
21
|
"exports": {
|
|
@@ -33,19 +33,19 @@
|
|
|
33
33
|
"koa-compose": "^4.1.0",
|
|
34
34
|
"reflect-metadata": "^0.2.2",
|
|
35
35
|
"type-fest": "2.19.0",
|
|
36
|
-
"@modern-js/utils": "3.
|
|
36
|
+
"@modern-js/utils": "3.2.0"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
|
-
"@rslib/core": "0.21.
|
|
39
|
+
"@rslib/core": "0.21.4",
|
|
40
40
|
"@types/koa-compose": "^3.2.9",
|
|
41
41
|
"@types/node": "^20",
|
|
42
42
|
"ts-node": "^10.9.2",
|
|
43
43
|
"tsconfig-paths": "^4.2.0",
|
|
44
44
|
"typescript": "^5",
|
|
45
45
|
"zod": "^3.25.76",
|
|
46
|
-
"@scripts/rstest-config": "2.66.0",
|
|
47
46
|
"@modern-js/rslib": "2.68.10",
|
|
48
|
-
"@
|
|
47
|
+
"@scripts/rstest-config": "2.66.0",
|
|
48
|
+
"@modern-js/types": "3.2.0"
|
|
49
49
|
},
|
|
50
50
|
"peerDependencies": {
|
|
51
51
|
"ts-node": "^10.9.2",
|