GEOLYTIX / xyz

An open source javascript framework for spatial data and application interfaces.
MIT License
87 stars 25 forks source link

deprectaed npm warns #1443

Open dbauszus-glx opened 3 weeks ago

dbauszus-glx commented 3 weeks ago

npm install on a clone of the main branch throws a couple orf warning in regards to deprecated npm dependencies.

npm WARN deprecated inflight@1.0.6: 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 npmlog@5.0.1: This package is no longer supported.
npm WARN deprecated @humanwhocodes/config-array@0.11.14: Use @eslint/config-array instead
npm WARN deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported
npm WARN deprecated are-we-there-yet@2.0.0: This package is no longer supported.
npm WARN deprecated @humanwhocodes/object-schema@2.0.3: Use @eslint/object-schema instead
npm WARN deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
npm WARN deprecated gauge@3.0.2: This package is no longer supported.
dbauszus-glx commented 2 weeks ago

There isn't too much we can do about this. We require bcrypt and are on the latest version.

The dependency tree is as follows:

bcrypt > @mapbox/node-pre-gyp > rimraf > glob > inflight

https://github.com/kelektiv/node.bcrypt.js/issues/1038

https://www.npmjs.com/package/@mapbox/node-pre-gyp

A similar dependency tree exists for eslint which we should update to v9.9.1 [current] from v8.29.0 which is set in the package.json

eslint > file-entry-cache > flat-cache > rimraf > glob > inflight

There is a dependency dashboard for eslint. https://github.com/eslint/eslint/issues/17733