Merge branch 'master' of github.com:flynx/types.js

This commit is contained in:
Alex A. Naanou 2023-01-12 01:51:15 +03:00
commit a222bbf5b2
2 changed files with 4 additions and 3 deletions

View File

@ -201,13 +201,14 @@ 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
// other values and Promise.all(..) only
// the promises???
// XXX we seem to be over-expanding here in some cases...
// ...or under-wrapping someplace else...
Promise.all(res)
.then(function(res){
return res.flat() })
// XXX the over-expand problem appears to be here...
: res instanceof Array ?
res.flat()
: res })

4
package-lock.json generated
View File

@ -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",