Socket
Socket
Sign inDemoInstall

brianmhunt-mutex-promise

Package Overview
Dependencies
0
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.10 to 1.0.11

4

dist/MutexPromise.js

@@ -26,3 +26,3 @@ "use strict";

var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol ? "symbol" : typeof obj; };
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };

@@ -259,3 +259,3 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }

promise2._notifyPromisees();
this.emit(promise1.state === RESOLVED ? 'resolve' : 'reject', promise1.resolution);
promise1.emit(promise1.state === RESOLVED ? 'resolve' : 'reject', promise1.resolution);
}

@@ -262,0 +262,0 @@ }

{
"name": "brianmhunt-mutex-promise",
"version": "1.0.10",
"version": "1.0.11",
"description": "Promises with uncaught handling and events",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -217,3 +217,3 @@ "use strict"

promise2._notifyPromisees()
this.emit(promise1.state === RESOLVED ? 'resolve' : 'reject',
promise1.emit(promise1.state === RESOLVED ? 'resolve' : 'reject',
promise1.resolution)

@@ -220,0 +220,0 @@ }

Sorry, the diff of this file is not supported yet

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