synchronous-promise
Advanced tools
Comparing version 2.0.16 to 2.0.17
@@ -209,5 +209,2 @@ /* jshint node: true */ | ||
var continuations = this._takeContinuations(); | ||
if (looksLikeAPromise(this._data)) { | ||
return this._handleWhenResolvedDataIsPromise(this._data); | ||
} | ||
var data = this._data; | ||
@@ -227,2 +224,5 @@ var self = this; | ||
}); | ||
if (looksLikeAPromise(this._data)) { | ||
return this._handleWhenResolvedDataIsPromise(this._data); | ||
} | ||
}, | ||
@@ -229,0 +229,0 @@ _handleResolutionError: function (e, continuation) { |
{ | ||
"name": "synchronous-promise", | ||
"version": "2.0.16", | ||
"version": "2.0.17", | ||
"description": "Synchronous Promise-like prototype to use in testing where you would have used an ES6 Promise", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
0