@tsed/common 6.102.1 → 6.102.5
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/cjs/builder/PlatformBuilder.js +2 -2
- package/lib/cjs/builder/PlatformBuilder.js.map +1 -1
- package/lib/cjs/config/interfaces/PlatformMulterSettings.js.map +1 -1
- package/lib/cjs/middlewares/PlatformMulterMiddleware.js.map +1 -1
- package/lib/cjs/services/PlatformResponse.js +2 -2
- package/lib/cjs/services/PlatformResponse.js.map +1 -1
- package/lib/cjs/services/PlatformRouter.js +5 -1
- package/lib/cjs/services/PlatformRouter.js.map +1 -1
- package/lib/cjs/services/PlatformTest.js +3 -1
- package/lib/cjs/services/PlatformTest.js.map +1 -1
- package/lib/cjs/utils/createContext.js +2 -2
- package/lib/cjs/utils/createContext.js.map +1 -1
- package/lib/cjs/utils/data/Test1.js +8 -0
- package/lib/cjs/utils/data/Test1.js.map +1 -0
- package/lib/cjs/utils/data/Test2.js +8 -0
- package/lib/cjs/utils/data/Test2.js.map +1 -0
- package/lib/cjs/utils/importProviders.js +29 -0
- package/lib/cjs/utils/importProviders.js.map +1 -0
- package/lib/cjs/utils/index.js +1 -0
- package/lib/cjs/utils/index.js.map +1 -1
- package/lib/esm/builder/PlatformBuilder.js +1 -1
- package/lib/esm/builder/PlatformBuilder.js.map +1 -1
- package/lib/esm/config/interfaces/PlatformMulterSettings.js.map +1 -1
- package/lib/esm/middlewares/PlatformMulterMiddleware.js.map +1 -1
- package/lib/esm/services/PlatformResponse.js +1 -1
- package/lib/esm/services/PlatformResponse.js.map +1 -1
- package/lib/esm/services/PlatformRouter.js +6 -2
- package/lib/esm/services/PlatformRouter.js.map +1 -1
- package/lib/esm/services/PlatformTest.js +2 -1
- package/lib/esm/services/PlatformTest.js.map +1 -1
- package/lib/esm/utils/createContext.js +2 -2
- package/lib/esm/utils/createContext.js.map +1 -1
- package/lib/esm/utils/data/Test1.js +4 -0
- package/lib/esm/utils/data/Test1.js.map +1 -0
- package/lib/esm/utils/data/Test2.js +4 -0
- package/lib/esm/utils/data/Test2.js.map +1 -0
- package/lib/esm/utils/importProviders.js +25 -0
- package/lib/esm/utils/importProviders.js.map +1 -0
- package/lib/esm/utils/index.js +1 -0
- package/lib/esm/utils/index.js.map +1 -1
- package/lib/types/config/interfaces/PlatformMulterSettings.d.ts +6 -130
- package/lib/types/services/PlatformResponse.d.ts +2 -2
- package/lib/types/services/PlatformRouter.d.ts +1 -0
- package/lib/types/services/PlatformTest.d.ts +1 -1
- package/lib/types/utils/data/Test1.d.ts +3 -0
- package/lib/types/utils/data/Test2.d.ts +3 -0
- package/lib/types/utils/importProviders.d.ts +10 -0
- package/lib/types/utils/index.d.ts +1 -0
- package/package.json +23 -19
|
@@ -41,7 +41,7 @@ export declare class PlatformResponse<T extends Record<string, any> = any> {
|
|
|
41
41
|
* Return the original response node.js instance
|
|
42
42
|
*/
|
|
43
43
|
get res(): ServerResponse;
|
|
44
|
-
static onFinished(res: any, cb:
|
|
44
|
+
static onFinished(res: any, cb: (er: Error | null, message: string) => void): void;
|
|
45
45
|
/**
|
|
46
46
|
* Returns the HTTP response header specified by field. The match is case-insensitive.
|
|
47
47
|
*
|
|
@@ -154,7 +154,7 @@ export declare class PlatformResponse<T extends Record<string, any> = any> {
|
|
|
154
154
|
* Add a listener to handler the end of the request/response.
|
|
155
155
|
* @param cb
|
|
156
156
|
*/
|
|
157
|
-
onEnd(cb:
|
|
157
|
+
onEnd(cb: (er: Error | null, message: string) => void): this;
|
|
158
158
|
isDone(): boolean;
|
|
159
159
|
destroy(): void;
|
|
160
160
|
isHeadersSent(): boolean;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { DITest, DITestOptions, InjectorService } from "@tsed/di";
|
|
2
|
+
import { Type } from "@tsed/core";
|
|
2
3
|
import { PlatformContext, PlatformContextOptions } from "../domain/PlatformContext";
|
|
3
4
|
import { PlatformAdapter, PlatformBuilderSettings } from "../interfaces/PlatformAdapter";
|
|
4
|
-
import { Type } from "@tsed/core";
|
|
5
5
|
/**
|
|
6
6
|
* @platform
|
|
7
7
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tsed/common",
|
|
3
|
-
"version": "6.102.
|
|
3
|
+
"version": "6.102.5",
|
|
4
4
|
"description": "A TypeScript Framework on top of Express",
|
|
5
5
|
"private": false,
|
|
6
6
|
"source": "./src/index.ts",
|
|
@@ -59,29 +59,33 @@
|
|
|
59
59
|
}
|
|
60
60
|
],
|
|
61
61
|
"dependencies": {
|
|
62
|
-
"@tsed/components-scan": "6.102.
|
|
63
|
-
"@tsed/core": "6.102.
|
|
64
|
-
"@tsed/
|
|
65
|
-
"@tsed/
|
|
66
|
-
"@tsed/
|
|
67
|
-
"@tsed/logger": "
|
|
68
|
-
"@tsed/
|
|
69
|
-
"@tsed/
|
|
70
|
-
"@tsed/platform-
|
|
71
|
-
"@tsed/platform-
|
|
72
|
-
"@tsed/platform-
|
|
73
|
-
"@tsed/platform-
|
|
74
|
-
"@tsed/platform-
|
|
75
|
-
"@tsed/platform-
|
|
76
|
-
"@tsed/
|
|
77
|
-
"@tsed/schema": "6.102.1",
|
|
62
|
+
"@tsed/components-scan": "6.102.5",
|
|
63
|
+
"@tsed/core": "6.102.5",
|
|
64
|
+
"@tsed/exceptions": "6.102.5",
|
|
65
|
+
"@tsed/json-mapper": "6.102.5",
|
|
66
|
+
"@tsed/logger": ">=6.0.2",
|
|
67
|
+
"@tsed/logger-file": ">=6.0.2",
|
|
68
|
+
"@tsed/perf": "6.102.5",
|
|
69
|
+
"@tsed/platform-cache": "6.102.5",
|
|
70
|
+
"@tsed/platform-exceptions": "6.102.5",
|
|
71
|
+
"@tsed/platform-log-middleware": "6.102.5",
|
|
72
|
+
"@tsed/platform-middlewares": "6.102.5",
|
|
73
|
+
"@tsed/platform-params": "6.102.5",
|
|
74
|
+
"@tsed/platform-response-filter": "6.102.5",
|
|
75
|
+
"@tsed/platform-views": "6.102.5",
|
|
76
|
+
"@tsed/schema": "6.102.5",
|
|
78
77
|
"@types/json-schema": "7.0.7",
|
|
78
|
+
"@types/on-finished": "2.3.1",
|
|
79
79
|
"on-finished": "2.3.0",
|
|
80
80
|
"tslib": "2.2.0",
|
|
81
81
|
"uuid": "8.3.2"
|
|
82
82
|
},
|
|
83
83
|
"devDependencies": {
|
|
84
|
-
"
|
|
84
|
+
"@tsed/core": "6.102.5"
|
|
85
85
|
},
|
|
86
|
-
"peerDependencies": {
|
|
86
|
+
"peerDependencies": {
|
|
87
|
+
"@tsed/di": "^6.102.5",
|
|
88
|
+
"@tsed/logger": ">=6.0.2",
|
|
89
|
+
"@tsed/logger-file": ">=6.0.2"
|
|
90
|
+
}
|
|
87
91
|
}
|