@naturalcycles/db-lib
Advanced tools
Comparing version 8.16.1 to 8.16.2
@@ -0,1 +1,8 @@ | ||
## [8.16.2](https://github.com/NaturalCycles/db-lib/compare/v8.16.1...v8.16.2) (2021-10-04) | ||
### Bug Fixes | ||
* unnecessary await ([11282ba](https://github.com/NaturalCycles/db-lib/commit/11282ba44982c174b1b9eeb052c911c30ee22076)) | ||
## [8.16.1](https://github.com/NaturalCycles/db-lib/compare/v8.16.0...v8.16.1) (2021-10-04) | ||
@@ -2,0 +9,0 @@ |
@@ -551,3 +551,4 @@ "use strict"; | ||
// Validate/convert BM | ||
return await this.validateAndConvert(bm, this.cfg.bmSchema, db_model_1.DBModelType.BM, opt); | ||
// eslint-disable-next-line @typescript-eslint/return-await | ||
return this.validateAndConvert(bm, this.cfg.bmSchema, db_model_1.DBModelType.BM, opt); | ||
} | ||
@@ -569,3 +570,4 @@ async dbmsToBM(dbms, opt = {}) { | ||
// Validate/convert DBM | ||
return await this.validateAndConvert(dbm, this.cfg.dbmSchema, db_model_1.DBModelType.DBM, opt); | ||
// eslint-disable-next-line @typescript-eslint/return-await | ||
return this.validateAndConvert(dbm, this.cfg.dbmSchema, db_model_1.DBModelType.DBM, opt); | ||
} | ||
@@ -572,0 +574,0 @@ async bmsToDBM(bms, opt = {}) { |
@@ -45,3 +45,3 @@ { | ||
}, | ||
"version": "8.16.1", | ||
"version": "8.16.2", | ||
"description": "Lowest Common Denominator API to supported Databases", | ||
@@ -48,0 +48,0 @@ "keywords": [ |
@@ -727,3 +727,4 @@ import { | ||
// Validate/convert BM | ||
return await this.validateAndConvert(bm, this.cfg.bmSchema, DBModelType.BM, opt) | ||
// eslint-disable-next-line @typescript-eslint/return-await | ||
return this.validateAndConvert(bm, this.cfg.bmSchema, DBModelType.BM, opt) | ||
} | ||
@@ -756,3 +757,4 @@ | ||
// Validate/convert DBM | ||
return await this.validateAndConvert(dbm, this.cfg.dbmSchema, DBModelType.DBM, opt) | ||
// eslint-disable-next-line @typescript-eslint/return-await | ||
return this.validateAndConvert(dbm, this.cfg.dbmSchema, DBModelType.DBM, opt) | ||
} | ||
@@ -759,0 +761,0 @@ |
392615
9011