From 1f01afe0db84c6bc146835594028e5566828ed13 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Wed, 11 Jan 2023 17:21:05 +0300 Subject: [PATCH] found issue location, no fix yet... Signed-off-by: Alex A. Naanou --- Promise.js | 4 ++-- package-lock.json | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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",