Socket
Socket
Sign inDemoInstall

brianmhunt-mutex-promise

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

brianmhunt-mutex-promise - npm Package Compare versions

Comparing version 1.0.7 to 1.0.8

2

dist/MutexPromise.js

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

var all = new MutexPromise(function (res, rej) {
iter.forEach(function (valueOrPromise) {
Array.from(iter).forEach(function (valueOrPromise) {
var p = MutexPromise.resolve(valueOrPromise);

@@ -446,0 +446,0 @@ var idx = arr.length;

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

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

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

var all = new MutexPromise(function (res, rej) {
iter.forEach(function (valueOrPromise) {
Array.from(iter).forEach(function (valueOrPromise) {
var p = MutexPromise.resolve(valueOrPromise)

@@ -380,0 +380,0 @@ var idx = arr.length

@@ -290,2 +290,11 @@ //

})
it("iterates over generator functions", function () {
function* gen() {
yield 1
yield 2
}
return MP.all(gen())
.then((v) => assert.deepEqual(v, [1, 2]))
})
})

@@ -292,0 +301,0 @@

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc