loopback-boot
Advanced tools
Comparing version 3.2.0 to 3.2.1
@@ -0,1 +1,9 @@ | ||
2019-03-22, Version 3.2.1 | ||
========================= | ||
* fix: set `app.booting` flag immediately (Miroslav Bajtoš) | ||
* fix: update lodash (jannyHou) | ||
2018-10-18, Version 3.2.0 | ||
@@ -2,0 +10,0 @@ ========================= |
@@ -205,2 +205,7 @@ // Copyright IBM Corp. 2014,2016. All Rights Reserved. | ||
var phases = context.phases || this.phases; | ||
if (phases.includes('starting') || phases.includes('start')) { | ||
context.app.booting = true; | ||
} | ||
var bootPlugins = this.getExtensions('/boot'); | ||
@@ -211,2 +216,6 @@ async.eachSeries(phases, function(phase, done) { | ||
}, function(err) { | ||
if (phases.includes('started')) { | ||
context.app.booting = false; | ||
} | ||
return done(err, context); | ||
@@ -213,0 +222,0 @@ }); |
@@ -119,3 +119,2 @@ // Copyright IBM Corp. 2014,2016. All Rights Reserved. | ||
var app = context.app; | ||
app.booting = true; | ||
assertLoopBackVersion(app); | ||
@@ -133,3 +132,2 @@ | ||
var app = context.app; | ||
app.booting = false; | ||
process.nextTick(function() { | ||
@@ -136,0 +134,0 @@ app.emit('booted'); |
{ | ||
"name": "loopback-boot", | ||
"version": "3.2.0", | ||
"version": "3.2.1", | ||
"publishConfig": { | ||
@@ -35,3 +35,3 @@ "tag": "next" | ||
"debug": "^2.2.0", | ||
"lodash": "^4.13.1", | ||
"lodash": "^4.17.11", | ||
"semver": "^5.1.0", | ||
@@ -38,0 +38,0 @@ "strong-globalize": "^4.1.1", |
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
135359
2435
Updatedlodash@^4.17.11