Comparing version 3.3.0 to 4.0.0
@@ -174,3 +174,3 @@ 'use strict'; | ||
/** | ||
* The name of the current Navy. | ||
* The normalised name of the current Navy (name without whitespaces). | ||
* @public | ||
@@ -197,3 +197,3 @@ */ | ||
/** | ||
* The normalised name of the current Navy (name without whitespaces). | ||
* The name of the current Navy. | ||
* @public | ||
@@ -269,17 +269,9 @@ */ | ||
case 0: | ||
if (this._cachedState) { | ||
_context2.next = 4; | ||
break; | ||
} | ||
_context2.next = 3; | ||
_context2.next = 2; | ||
return (0, _state.getState)(this.normalisedName); | ||
case 2: | ||
return _context2.abrupt('return', _context2.sent); | ||
case 3: | ||
this._cachedState = _context2.sent; | ||
case 4: | ||
return _context2.abrupt('return', this._cachedState); | ||
case 5: | ||
case 'end': | ||
@@ -523,12 +515,10 @@ return _context2.stop(); | ||
case 0: | ||
this._cachedState = state; | ||
_context7.next = 3; | ||
_context7.next = 2; | ||
return (0, _state.saveState)(this.normalisedName, state); | ||
case 3: | ||
_context7.next = 5; | ||
case 2: | ||
_context7.next = 4; | ||
return (0, _middleware.middlewareRunner)(this, state); | ||
case 5: | ||
case 4: | ||
case 'end': | ||
@@ -535,0 +525,0 @@ return _context7.stop(); |
{ | ||
"name": "navy", | ||
"version": "3.3.0", | ||
"version": "4.0.0", | ||
"description": "Quick and powerful development environments using Docker and Docker Compose", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
284150
78
6841