Socket
Socket
Sign inDemoInstall

mock-promises

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mock-promises - npm Package Compare versions

Comparing version 0.6.0 to 0.6.1

4

lib/mock-promises.js

@@ -224,2 +224,3 @@ (function (root, factory) {

var numResolved = 0;
if(promises.length === 0) { resolve([]); }
promises.forEach(function(promise, i) {

@@ -240,3 +241,4 @@ promise.then(function(value) {

var raceFinished = false;
if(promises.length === 0) { resolve(); }
promises.forEach(function(promise) {

@@ -243,0 +245,0 @@ promise.then(

{
"name": "mock-promises",
"version": "0.6.0",
"version": "0.6.1",
"author": "Charles Hansen <chansen87@gmail.com>",

@@ -5,0 +5,0 @@ "license": "MIT",

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