@tsed/platform-koa 8.38.1 → 8.38.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.
|
@@ -36,19 +36,13 @@ export class PlatformKoa extends PlatformAdapter {
|
|
|
36
36
|
}
|
|
37
37
|
static create(module, settings) {
|
|
38
38
|
return new PlatformBuilder({
|
|
39
|
-
rootModule: settings ? module : undefined,
|
|
40
39
|
httpsPort: false,
|
|
41
40
|
httpPort: false,
|
|
42
|
-
...(
|
|
43
|
-
adapter: PlatformKoa
|
|
41
|
+
...PlatformBuilder.options(PlatformKoa, module, settings)
|
|
44
42
|
});
|
|
45
43
|
}
|
|
46
44
|
static bootstrap(module, settings) {
|
|
47
|
-
return new PlatformBuilder(
|
|
48
|
-
rootModule: settings ? module : undefined,
|
|
49
|
-
...(settings || module),
|
|
50
|
-
adapter: PlatformKoa
|
|
51
|
-
}).bootstrap();
|
|
45
|
+
return new PlatformBuilder(PlatformBuilder.options(PlatformKoa, module, settings)).bootstrap();
|
|
52
46
|
}
|
|
53
47
|
onInit() {
|
|
54
48
|
this.app.getApp().silent = true;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tsed/platform-koa",
|
|
3
|
-
"version": "8.38.
|
|
3
|
+
"version": "8.38.2",
|
|
4
4
|
"description": "Koa package for Ts.ED framework",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Controller",
|
|
@@ -61,12 +61,12 @@
|
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|
|
63
63
|
"@koa/cors": "5.0.0",
|
|
64
|
-
"@tsed/barrels": "8.38.
|
|
65
|
-
"@tsed/core": "8.38.
|
|
66
|
-
"@tsed/di": "8.38.
|
|
67
|
-
"@tsed/platform-http": "8.38.
|
|
68
|
-
"@tsed/platform-test-sdk": "8.38.
|
|
69
|
-
"@tsed/typescript": "8.38.
|
|
64
|
+
"@tsed/barrels": "8.38.2",
|
|
65
|
+
"@tsed/core": "8.38.2",
|
|
66
|
+
"@tsed/di": "8.38.2",
|
|
67
|
+
"@tsed/platform-http": "8.38.2",
|
|
68
|
+
"@tsed/platform-test-sdk": "8.38.2",
|
|
69
|
+
"@tsed/typescript": "8.38.2",
|
|
70
70
|
"@types/koa": "2.15.0",
|
|
71
71
|
"@types/koa-bodyparser": "4.3.12",
|
|
72
72
|
"@types/koa-compose": "3.2.8",
|