eslint / generator-eslint

A Yeoman generator to help with ESLint development
Other
231 stars 51 forks source link

Multiple deprecations on installation #192

Closed MikeMcC399 closed 1 month ago

MikeMcC399 commented 1 month ago

Current behavior

generator-eslint produces a list of deprecated modules it depends on when it is installed:

$ npm i -g generator-eslint
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@2.0.4: This package is no longer supported.
npm warn deprecated @npmcli/move-file@2.0.1: This functionality has been moved to @npmcli/fs
npm warn deprecated read-package-json@6.0.4: This package is no longer supported. Please use @npmcli/package-json instead.
npm warn deprecated npmlog@6.0.2: This package is no longer supported.
npm warn deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported
npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
npm warn deprecated glob@8.1.0: Glob versions prior to v9 are no longer supported
npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
npm warn deprecated gauge@1.2.7: This package is no longer supported.
npm warn deprecated are-we-there-yet@3.0.1: This package is no longer supported.
npm warn deprecated are-we-there-yet@1.1.7: This package is no longer supported.
npm warn deprecated gauge@4.0.4: This package is no longer supported.

added 1025 packages in 55s

Expected behavior

There should be no deprecation warnings displayed when installing the latest version of generator-eslint

Configuration

Ubuntu 24.04.1 LTS, Node.js v20.18.0, generator-eslint@5.1.0

Related

nzakas commented 1 month ago

We don't actively try to remove deprecations from installation. npm reports every deprecated package in the dependency tree, and many we have no control over.