diff --git a/Promise.js b/Promise.js index 2d8c05f..561e201 100644 --- a/Promise.js +++ b/Promise.js @@ -202,12 +202,12 @@ module.packed = // values including the individual promises // can we combine the two??? // ...can we split this up into promises and - // other values and Promise.all(..) only - // the promises??? + // other values and Promise.all(..) only the promises??? //res.flat() Promise.all(res) .then(function(res){ return res.flat() }) + // XXX the over-expand problem appears to be here... : res instanceof Array ? res.flat() : res }) diff --git a/package-lock.json b/package-lock.json index 4cd6101..96b8360 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "ig-types", - "version": "6.24.16", + "version": "6.24.17", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "ig-types", - "version": "6.24.16", + "version": "6.24.17", "license": "BSD-3-Clause", "dependencies": { "ig-object": "^6.0.0",