Error: global leak detected: @@any-promise/REGISTRATION
$ npm ls any-promise
...
└─┬ [email protected]
└─┬ [email protected]
└── [email protected]
+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?
https://github.com/koajs/koa/commit/7bd82ac4103aef28fb2d2f40be91f495dfa6db5d
https://github.com/koajs/compose/commit/f0eac55369461ee2160d086358f43acb50004274
All merged and ready for next Koa release, soon (tm) @stringa.
I find the already are fixedThe already been fixed
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