tern
tern copied to clipboard
Upgrade `glob` version to avoid memory leak.
A transitive dependency, inflight
, which is a dependency of glob@^7.1.1
, has been deprecated due to a memory leak. The maintainer of glob
is unwilling to patch v7.x, so the problem can only be averted by upgrading the version of glob
used by this project to v9+.
$ npm install
npm warn deprecated [email protected]: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
$ npm explain inflight
[email protected] dev
node_modules/inflight
inflight@"^1.0.4" from [email protected]
node_modules/glob
glob@"^7.1.1" from [email protected]
node_modules/tern
dev tern@"^0.24.3" from the root project