mirror of
https://github.com/flynx/types.js.git
synced 2025-10-28 10:00:08 +00:00
Merge branch 'master' of github.com:flynx/types.js
This commit is contained in:
commit
a222bbf5b2
@ -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
4
package-lock.json
generated
@ -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",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user