@tsed/common 6.87.1 → 6.87.2
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/builder/PlatformBuilder.d.ts +0 -1
- package/lib/index.js +88 -88
- package/lib/index.js.map +1 -1
- package/lib/index.modern.js +90 -89
- package/lib/index.modern.js.map +1 -1
- package/lib/services/PlatformTest.d.ts +1 -1
- package/lib/utils/createInjector.d.ts +7 -2
- package/lib/utils/index.d.ts +0 -1
- package/package.json +15 -15
- package/lib/utils/createPlatformApplication.d.ts +0 -2
|
@@ -7,7 +7,7 @@ import { PlatformContext, PlatformContextOptions } from "../domain/PlatformConte
|
|
|
7
7
|
*/
|
|
8
8
|
export declare class PlatformTest extends DITest {
|
|
9
9
|
static platformBuilder: Type<PlatformBuilder<any, any>>;
|
|
10
|
-
static create(
|
|
10
|
+
static create(settings?: Partial<TsED.Configuration>): Promise<void>;
|
|
11
11
|
/**
|
|
12
12
|
* Create a new injector with the right default services
|
|
13
13
|
*/
|
|
@@ -1,2 +1,7 @@
|
|
|
1
|
-
import { InjectorService } from "@tsed/di";
|
|
2
|
-
|
|
1
|
+
import { InjectorService, IProvider } from "@tsed/di";
|
|
2
|
+
interface CreateInjectorOptions {
|
|
3
|
+
providers?: IProvider[];
|
|
4
|
+
settings?: Partial<TsED.Configuration>;
|
|
5
|
+
}
|
|
6
|
+
export declare function createInjector({ providers, settings }: CreateInjectorOptions): InjectorService;
|
|
7
|
+
export {};
|
package/lib/utils/index.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tsed/common",
|
|
3
|
-
"version": "6.87.
|
|
3
|
+
"version": "6.87.2",
|
|
4
4
|
"description": "A TypeScript Framework on top of Express",
|
|
5
5
|
"private": false,
|
|
6
6
|
"source": "./src/index.ts",
|
|
@@ -55,22 +55,22 @@
|
|
|
55
55
|
"build": "microbundle --target node --no-compress --format modern,cjs --tsconfig ./tsconfig.compile.json"
|
|
56
56
|
},
|
|
57
57
|
"dependencies": {
|
|
58
|
-
"@tsed/components-scan": "6.87.
|
|
59
|
-
"@tsed/core": "6.87.
|
|
60
|
-
"@tsed/di": "6.87.
|
|
61
|
-
"@tsed/exceptions": "6.87.
|
|
62
|
-
"@tsed/json-mapper": "6.87.
|
|
58
|
+
"@tsed/components-scan": "6.87.2",
|
|
59
|
+
"@tsed/core": "6.87.2",
|
|
60
|
+
"@tsed/di": "6.87.2",
|
|
61
|
+
"@tsed/exceptions": "6.87.2",
|
|
62
|
+
"@tsed/json-mapper": "6.87.2",
|
|
63
63
|
"@tsed/logger": "^6.0.0",
|
|
64
64
|
"@tsed/logger-file": "^6.0.0",
|
|
65
|
-
"@tsed/perf": "6.87.
|
|
66
|
-
"@tsed/platform-cache": "6.87.
|
|
67
|
-
"@tsed/platform-exceptions": "6.87.
|
|
68
|
-
"@tsed/platform-log-middleware": "6.87.
|
|
69
|
-
"@tsed/platform-middlewares": "6.87.
|
|
70
|
-
"@tsed/platform-params": "6.87.
|
|
71
|
-
"@tsed/platform-response-filter": "6.87.
|
|
72
|
-
"@tsed/platform-views": "6.87.
|
|
73
|
-
"@tsed/schema": "6.87.
|
|
65
|
+
"@tsed/perf": "6.87.2",
|
|
66
|
+
"@tsed/platform-cache": "6.87.2",
|
|
67
|
+
"@tsed/platform-exceptions": "6.87.2",
|
|
68
|
+
"@tsed/platform-log-middleware": "6.87.2",
|
|
69
|
+
"@tsed/platform-middlewares": "6.87.2",
|
|
70
|
+
"@tsed/platform-params": "6.87.2",
|
|
71
|
+
"@tsed/platform-response-filter": "6.87.2",
|
|
72
|
+
"@tsed/platform-views": "6.87.2",
|
|
73
|
+
"@tsed/schema": "6.87.2",
|
|
74
74
|
"@types/json-schema": "7.0.7",
|
|
75
75
|
"json-schema": "^0.2.3",
|
|
76
76
|
"on-finished": "2.3.0",
|