any-promise: global leak detected: @@any-promise/REGISTRATION
See original GitHub issueError: global leak detected: @@any-promise/REGISTRATION
$ npm ls any-promise
...
└─┬ koa@2.2.0
└─┬ koa-compose@3.2.1
└── any-promise@1.3.0
Issue Analytics
- State:
- Created 7 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
global leak errors in mocha - node.js - Stack Overflow
Yes, Mocha features a global leak detection mechanism which alerts and fails if your code under test introduces global variables.
Read more >I can' seem to figure out what the error is for this code. I get the ...
I can' seem to figure out what the error is for this code. I get the error message "global leak detection: totalWidth". script.js....
Read more >Merge branch 'update-everything' into 'master' (2877cd29)
var Promise = require('any-promise') // the global Promise ... This registration method will try to detect the `Promise` constructor from ...
Read more >koa-proxies @ 0.6.2 .. 0.8.1 - Package Diff
global key for user preferred registration. -var REGISTRATION_KEY = '@@any-promise/REGISTRATION',. - // Prior registration (preferred or detected).
Read more >https://raw.githubusercontent.com/leon-do/Offchain...
_events[e].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub 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
let’s keep this open until we do replace it 😃