@tsed/common 7.29.0 → 7.29.1
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 +4 -4
- package/lib/cjs/builder/PlatformBuilder.js.map +1 -1
- package/lib/cjs/domain/AnyToPromiseWithCtx.js +1 -1
- package/lib/cjs/domain/AnyToPromiseWithCtx.js.map +1 -1
- package/lib/cjs/domain/PlatformContext.js +1 -1
- package/lib/cjs/domain/PlatformContext.js.map +1 -1
- package/lib/cjs/services/PlatformHandler.js +1 -1
- package/lib/cjs/services/PlatformHandler.js.map +1 -1
- package/lib/cjs/services/PlatformTest.js +1 -1
- package/lib/cjs/services/PlatformTest.js.map +1 -1
- package/lib/cjs/utils/createContext.js +1 -1
- package/lib/cjs/utils/createContext.js.map +1 -1
- package/lib/esm/builder/PlatformBuilder.js +4 -4
- package/lib/esm/builder/PlatformBuilder.js.map +1 -1
- package/lib/esm/domain/AnyToPromiseWithCtx.js +1 -1
- package/lib/esm/domain/AnyToPromiseWithCtx.js.map +1 -1
- package/lib/esm/domain/PlatformContext.js +1 -1
- package/lib/esm/domain/PlatformContext.js.map +1 -1
- package/lib/esm/services/PlatformHandler.js +1 -1
- package/lib/esm/services/PlatformHandler.js.map +1 -1
- package/lib/esm/services/PlatformTest.js +1 -1
- package/lib/esm/services/PlatformTest.js.map +1 -1
- package/lib/esm/utils/createContext.js +1 -1
- package/lib/esm/utils/createContext.js.map +1 -1
- package/lib/tsconfig.esm.tsbuildinfo +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/lib/types/builder/PlatformBuilder.d.ts +1 -1
- package/lib/types/utils/createContext.d.ts +1 -3
- package/package.json +16 -16
|
@@ -87,7 +87,7 @@ export declare class PlatformBuilder<App = TsED.Application> {
|
|
|
87
87
|
stop(): Promise<void>;
|
|
88
88
|
ready(): Promise<void>;
|
|
89
89
|
callHook(hook: string, ...args: any[]): Promise<void>;
|
|
90
|
-
loadStatics(hook: string):
|
|
90
|
+
loadStatics(hook: string): void;
|
|
91
91
|
useProvider(token: Type<any>, settings?: Partial<ProviderOpts>): this;
|
|
92
92
|
bootstrap(): Promise<this>;
|
|
93
93
|
protected loadRoutes(): Promise<void>;
|
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
import { InjectorService } from "@tsed/di";
|
|
2
2
|
import { PlatformContext } from "../domain/PlatformContext";
|
|
3
3
|
import { IncomingEvent } from "../interfaces/IncomingEvent";
|
|
4
|
-
import { PlatformRequest } from "../services/PlatformRequest";
|
|
5
|
-
import { PlatformResponse } from "../services/PlatformResponse";
|
|
6
4
|
export declare function buildIgnoreLog(ignoreUrlPatterns: any[] | undefined): ((ignore: boolean, data: any, url: string) => any) | undefined;
|
|
7
5
|
/**
|
|
8
6
|
* Create the TsED context to wrap request, response, injector, etc...
|
|
9
7
|
* @param injector
|
|
10
8
|
* @ignore
|
|
11
9
|
*/
|
|
12
|
-
export declare function createContext(injector: InjectorService): (event: IncomingEvent) =>
|
|
10
|
+
export declare function createContext(injector: InjectorService): (event: IncomingEvent) => PlatformContext;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tsed/common",
|
|
3
|
-
"version": "7.29.
|
|
3
|
+
"version": "7.29.1",
|
|
4
4
|
"description": "A TypeScript Framework on top of Express",
|
|
5
5
|
"private": false,
|
|
6
6
|
"source": "./src/index.ts",
|
|
@@ -63,29 +63,29 @@
|
|
|
63
63
|
}
|
|
64
64
|
],
|
|
65
65
|
"dependencies": {
|
|
66
|
-
"@tsed/core": "7.29.
|
|
67
|
-
"@tsed/di": "7.29.
|
|
68
|
-
"@tsed/exceptions": "7.29.
|
|
69
|
-
"@tsed/json-mapper": "7.29.
|
|
66
|
+
"@tsed/core": "7.29.1",
|
|
67
|
+
"@tsed/di": "7.29.1",
|
|
68
|
+
"@tsed/exceptions": "7.29.1",
|
|
69
|
+
"@tsed/json-mapper": "7.29.1",
|
|
70
70
|
"@tsed/logger": ">=6.2.2",
|
|
71
71
|
"@tsed/logger-file": ">=6.2.2",
|
|
72
|
-
"@tsed/platform-exceptions": "7.29.
|
|
73
|
-
"@tsed/platform-log-middleware": "7.29.
|
|
74
|
-
"@tsed/platform-middlewares": "7.29.
|
|
75
|
-
"@tsed/platform-params": "7.29.
|
|
76
|
-
"@tsed/platform-response-filter": "7.29.
|
|
77
|
-
"@tsed/platform-router": "7.29.
|
|
78
|
-
"@tsed/platform-views": "7.29.
|
|
79
|
-
"@tsed/schema": "7.29.
|
|
72
|
+
"@tsed/platform-exceptions": "7.29.1",
|
|
73
|
+
"@tsed/platform-log-middleware": "7.29.1",
|
|
74
|
+
"@tsed/platform-middlewares": "7.29.1",
|
|
75
|
+
"@tsed/platform-params": "7.29.1",
|
|
76
|
+
"@tsed/platform-response-filter": "7.29.1",
|
|
77
|
+
"@tsed/platform-router": "7.29.1",
|
|
78
|
+
"@tsed/platform-views": "7.29.1",
|
|
79
|
+
"@tsed/schema": "7.29.1",
|
|
80
80
|
"@types/json-schema": "7.0.11",
|
|
81
81
|
"accepts": "^1.3.8",
|
|
82
82
|
"tslib": "2.5.0",
|
|
83
83
|
"uuid": "8.3.2"
|
|
84
84
|
},
|
|
85
85
|
"devDependencies": {
|
|
86
|
-
"@tsed/components-scan": "7.29.
|
|
87
|
-
"@tsed/eslint": "7.29.
|
|
88
|
-
"@tsed/typescript": "7.29.
|
|
86
|
+
"@tsed/components-scan": "7.29.1",
|
|
87
|
+
"@tsed/eslint": "7.29.1",
|
|
88
|
+
"@tsed/typescript": "7.29.1",
|
|
89
89
|
"eslint": "^8.12.0"
|
|
90
90
|
},
|
|
91
91
|
"peerDependencies": {
|