@midwayjs/bootstrap 3.0.0 → 3.0.4

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.
@@ -1,5 +1,4 @@
1
1
  import { IMidwayBootstrapOptions, IMidwayContainer } from '@midwayjs/core';
2
- import { IMidwayLogger } from '@midwayjs/logger';
3
2
  export declare function isTypeScriptEnvironment(): boolean;
4
3
  export declare class BootstrapStarter {
5
4
  protected appDir: string;
@@ -14,10 +13,10 @@ export declare class BootstrapStarter {
14
13
  protected getBaseDir(): string;
15
14
  }
16
15
  export declare class Bootstrap {
17
- static starter: BootstrapStarter;
18
- static logger: IMidwayLogger;
19
- static configured: boolean;
20
- static applicationContext: IMidwayContainer;
16
+ private static starter;
17
+ private static logger;
18
+ private static configured;
19
+ private static applicationContext;
21
20
  /**
22
21
  * set global configuration for midway
23
22
  * @param configuration
@@ -31,14 +30,14 @@ export declare class Bootstrap {
31
30
  * on bootstrap receive a exit signal
32
31
  * @param signal
33
32
  */
34
- static onSignal(signal: any): Promise<void>;
33
+ private static onSignal;
35
34
  /**
36
35
  * on bootstrap process exit
37
36
  * @param code
38
37
  */
39
- static onExit(code: any): void;
40
- static uncaughtExceptionHandler(err: any): void;
41
- static unhandledRejectionHandler(err: any): void;
38
+ private static onExit;
39
+ private static uncaughtExceptionHandler;
40
+ private static unhandledRejectionHandler;
42
41
  static getApplicationContext(): IMidwayContainer;
43
42
  }
44
43
  //# sourceMappingURL=bootstrap.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@midwayjs/bootstrap",
3
- "version": "3.0.0",
3
+ "version": "3.0.4",
4
4
  "description": "midwayjs bootstrap",
5
5
  "main": "dist/index",
6
6
  "typings": "dist/index.d.ts",
@@ -21,11 +21,11 @@
21
21
  ],
22
22
  "license": "MIT",
23
23
  "devDependencies": {
24
- "@midwayjs/core": "^3.0.0",
25
- "@midwayjs/decorator": "^3.0.0",
26
- "@midwayjs/logger": "2.14.0",
27
- "@midwayjs/socketio": "^3.0.0",
28
- "@midwayjs/web": "^3.0.0",
24
+ "@midwayjs/core": "^3.0.4",
25
+ "@midwayjs/decorator": "^3.0.4",
26
+ "@midwayjs/logger": "^2.15.0",
27
+ "@midwayjs/socketio": "^3.0.4",
28
+ "@midwayjs/web": "^3.0.4",
29
29
  "@types/socket.io-client": "1.4.36",
30
30
  "request": "2.88.2",
31
31
  "socket.io-client": "4.4.1"
@@ -38,5 +38,5 @@
38
38
  "engines": {
39
39
  "node": ">=12"
40
40
  },
41
- "gitHead": "55c26029bccf7bbb739fa1597e8f418dafa2caa0"
41
+ "gitHead": "c2a37dd026c7bf3e855f4498691f572ef61396e3"
42
42
  }