Socket
Socket
Sign inDemoInstall

synchronous-promise

Package Overview
Dependencies
0
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.16 to 2.0.17

6

index.js

@@ -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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc