gettext-extractor icon indicating copy to clipboard operation
gettext-extractor copied to clipboard

installation warnings about ancient dependencies

Open wbolster opened this issue 1 year ago • 0 comments

gettext-extractor somehow explicitly depends on an ancient ‘glob’ version which triggers warnings:

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 warn deprecated [email protected]: Glob versions prior to v9 are no
longer supported

the second warning is caused directly by this package:

$ npm why glob
[email protected] dev
node_modules/gettext-extractor/node_modules/glob
  glob@"5 - 7" from [email protected]
  node_modules/gettext-extractor
    dev gettext-extractor@"^3.8.0" from the root project

… which indirectly also triggers the first warning:

$ npm why inflight
[email protected] dev
node_modules/inflight
  inflight@"^1.0.4" from [email protected]
  node_modules/gettext-extractor/node_modules/glob
    glob@"5 - 7" from [email protected]
    node_modules/gettext-extractor
      dev gettext-extractor@"^3.8.0" from the root project

forcibly upgrading to a newer version of the glob package seems to work just fine.

any particular reason this package explicitly depends on unmaintained versions? if not, please bump?

wbolster avatar Feb 18 '25 12:02 wbolster