Koa: any-promise: global leak detected: @@any-promise/REGISTRATION

Created on 19 Mar 2017  Â·  6Comments  Â·  Source: koajs/koa

Error: global leak detected: @@any-promise/REGISTRATION

$ npm ls any-promise
...
└─┬ [email protected]
  └─┬ [email protected]
    └── [email protected]

Most helpful comment

+1 for removing haha, such a bizarre library. Promises are global, any polyfill should also just be globally replaced at the app level if the user wants. Even worse is you don't even know what you might get https://github.com/kevinbeaty/any-promise/blob/master/register.js#L76-L86

All 6 comments

+1 for removing haha, such a bizarre library. Promises are global, any polyfill should also just be globally replaced at the app level if the user wants. Even worse is you don't even know what you might get https://github.com/kevinbeaty/any-promise/blob/master/register.js#L76-L86

Well, it looks like it must be replaced, thanks @tj

let's keep this open until we do replace it :)

Any update on this?

I find the already are fixedThe already been fixed

Was this page helpful?
0 / 5 - 0 ratings

Related issues

TheRav3n picture TheRav3n  Â·  3Comments

xinshouke picture xinshouke  Â·  4Comments

tvq picture tvq  Â·  4Comments

SteveCruise picture SteveCruise  Â·  3Comments

coodoo picture coodoo  Â·  4Comments