Innablr / revolver

AWS Powercycle Facility
MIT License
3 stars 3 forks source link

Deprecated modules #338

Open lyricnz opened 6 months ago

lyricnz commented 6 months ago
❯ rm -rf node_modules
❯ npm install
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 rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported
npm warn deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported
npm warn deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported
npm warn deprecated rimraf@3.0.2: Rimraf versions prior to v4 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 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 glob@7.2.3: Glob versions prior to v9 are no longer supported

added 746 packages, and audited 747 packages in 9s

159 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities
lyricnz commented 6 months ago

These are all transitive dependencies: the only one we reference directly is rimraf ^5.0.7

Using npm ls --all these share a similar path

eslint@8.57.0
│ ├─┬ file-entry-cache@6.0.1
│ │ └─┬ flat-cache@3.2.0
│ │   ├── flatted@3.3.1
│ │   ├─┬ keyv@4.5.4
│ │   │ └── json-buffer@3.0.1
│ │   └─┬ rimraf@3.0.2
│ │     └─┬ glob@7.2.3
│ │       ├── fs.realpath@1.0.0 deduped
│ │       ├── inflight@1.0.6 deduped
│ │       ├── inherits@2.0.4 deduped
lyricnz commented 6 months ago

Upgrading eslint blocked by #333

lyricnz commented 4 months ago

With Biome instead of eslint, the current status is:

❯ npm install
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 glob@8.1.0: Glob versions prior to v9 are no longer supported

tree

├─┬ mocha@10.7.0
│ ├─┬ glob@8.1.0
│ │ ├─┬ inflight@1.0.6

Mocha issue tracking the requirement https://github.com/mochajs/mocha/issues/5148

lyricnz commented 4 months ago

See #408

lyricnz commented 3 months ago

Since updating glob changes the node.js version requirements, it's a major semver change for mocha. It should be included in their v11.0.0 release https://github.com/mochajs/mocha/milestone/65

lyricnz commented 2 months ago

no change since https://github.com/Innablr/revolver/issues/338#issuecomment-2266370274