@midwayjs/typeorm 3.10.0 → 3.10.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.
@@ -24,7 +24,7 @@ let TypeORMDataSourceManager = class TypeORMDataSourceManager extends core_1.Dat
24
24
  if (config['migrations']) {
25
25
  delete config['migrations'];
26
26
  }
27
- if (!config['logger']) {
27
+ if (config['logger'] === undefined) {
28
28
  config['logger'] = new logger_1.TypeORMLogger(this.loggerService.getLogger('typeormLogger'));
29
29
  }
30
30
  const dataSource = new typeorm_1.DataSource(config);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@midwayjs/typeorm",
3
- "version": "3.10.0",
3
+ "version": "3.10.2",
4
4
  "main": "dist/index",
5
5
  "typings": "index.d.ts",
6
6
  "bin": {
@@ -13,8 +13,8 @@
13
13
  "index.d.ts"
14
14
  ],
15
15
  "devDependencies": {
16
- "@midwayjs/core": "^3.10.0",
17
- "@midwayjs/mock": "^3.10.0",
16
+ "@midwayjs/core": "^3.10.1",
17
+ "@midwayjs/mock": "^3.10.1",
18
18
  "sqlite3": "5.1.4",
19
19
  "typeorm": "0.3.11"
20
20
  },
@@ -35,5 +35,5 @@
35
35
  "type": "git",
36
36
  "url": "https://github.com/midwayjs/midway.git"
37
37
  },
38
- "gitHead": "33d28f1a020963404488e866432916fd15c0952c"
38
+ "gitHead": "fbc92c5528577d4560fa88494f94f27938b1cc68"
39
39
  }