Comparing version 0.2.0-alpha.3 to 0.2.0-alpha.4
@@ -52,6 +52,9 @@ const { DatabaseMapper } = require('./DatabaseMapper') | ||
} | ||
await this.connectPromise | ||
this.connectPromise = null | ||
this.connected = true | ||
this.connecting = false | ||
try { | ||
await this.connectPromise | ||
this.connected = true | ||
} finally { | ||
this.connectPromise = null | ||
this.connecting = false | ||
} | ||
debug(`Connected to ${this.props.driver} database`) | ||
@@ -58,0 +61,0 @@ } |
{ | ||
"name": "djorm", | ||
"version": "0.2.0-alpha.3", | ||
"version": "0.2.0-alpha.4", | ||
"description": "Django like ORM framework", | ||
@@ -44,3 +44,3 @@ "author": "Pavel Žák <pavel@zak.global>", | ||
}, | ||
"gitHead": "f212327aa63796952f152da5bfc81a15b658837b" | ||
"gitHead": "dffc1808f4d1dc73772825ec81386fa76607ce36" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
92211
3182