Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace deprecated dependencies #26

Open
erskingardner opened this issue Jul 3, 2024 · 1 comment
Open

Replace deprecated dependencies #26

erskingardner opened this issue Jul 3, 2024 · 1 comment

Comments

@erskingardner
Copy link

When running npm install you get a warning about a few deprecations

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

It'd be great to replace them, especially the first, which sounds like it's got a memory leak.

@CodyTseng
Copy link
Owner

Thank you for your attention to this project and for reporting the issues you encountered! I have reviewed the dependencies of these packages, and the problems are primarily caused by eslint. I attempted to upgrade eslint, but encountered issues with installing eslint-plugin-react, which only supports eslint up to version 8. Fortunately, eslint is used during the development phase and does not affect the operation of nostr-relay-tray. I think we can wait for a while and see if the situation improves.

Who required inflight:

  nostr-relay-tray > @electron-toolkit/eslint-config-prettier > eslint > file-entry-cache > flat-cache > rimraf > glob > [email protected]
  nostr-relay-tray > @electron-toolkit/eslint-config-prettier > eslint-config-prettier > eslint > file-entry-cache > flat-cache > rimraf > glob > [email protected]
  nostr-relay-tray > @electron-toolkit/eslint-config-prettier > eslint-plugin-prettier > eslint > file-entry-cache > flat-cache > rimraf > glob > [email protected]
  nostr-relay-tray > @electron-toolkit/eslint-config-prettier > eslint-plugin-prettier > eslint-config-prettier > eslint > file-entry-cache > flat-cache > rimraf > glob > [email protected]
  nostr-relay-tray > @electron-toolkit/eslint-config-ts > @typescript-eslint/eslint-plugin > @typescript-eslint/parser > eslint > file-entry-cache > flat-cache > rimraf > glob > [email protected]
  nostr-relay-tray > @electron-toolkit/eslint-config-ts > @typescript-eslint/eslint-plugin > @typescript-eslint/type-utils > @typescript-eslint/utils > @eslint-community/eslint-utils > eslint > file-entry-cache > flat-cache > rimraf > glob > [email protected]
  nostr-relay-tray > @electron-toolkit/eslint-config-ts > @typescript-eslint/eslint-plugin > @typescript-eslint/type-utils > @typescript-eslint/utils > eslint > file-entry-cache > flat-cache > rimraf > glob > [email protected]
  nostr-relay-tray > @electron-toolkit/eslint-config-ts > @typescript-eslint/eslint-plugin > @typescript-eslint/type-utils > eslint > file-entry-cache > flat-cache > rimraf > glob > [email protected]
  nostr-relay-tray > @electron-toolkit/eslint-config-ts > @typescript-eslint/eslint-plugin > @typescript-eslint/utils > @eslint-community/eslint-utils > eslint > file-entry-cache > flat-cache > rimraf > glob > [email protected]
  nostr-relay-tray > @electron-toolkit/eslint-config-ts > @typescript-eslint/eslint-plugin > @typescript-eslint/utils > eslint > file-entry-cache > flat-cache > rimraf > glob > [email protected]
  nostr-relay-tray > @electron-toolkit/eslint-config-ts > @typescript-eslint/eslint-plugin > eslint > file-entry-cache > flat-cache > rimraf > glob > [email protected]
  nostr-relay-tray > @electron-toolkit/eslint-config-ts > @typescript-eslint/parser > eslint > file-entry-cache > flat-cache > rimraf > glob > [email protected]
  nostr-relay-tray > @electron-toolkit/eslint-config-ts > eslint > file-entry-cache > flat-cache > rimraf > glob > [email protected]
  nostr-relay-tray > electron-builder > app-builder-lib > @electron/universal > @electron/asar > glob > [email protected]
  nostr-relay-tray > electron-builder > app-builder-lib > electron-builder-squirrel-windows > archiver > archiver-utils > glob > [email protected]
  nostr-relay-tray > electron-builder > app-builder-lib > electron-builder-squirrel-windows > archiver > zip-stream > archiver-utils > glob > [email protected]
  nostr-relay-tray > electron-builder > dmg-builder > app-builder-lib > @electron/universal > @electron/asar > glob > [email protected]
  nostr-relay-tray > electron-builder > dmg-builder > app-builder-lib > electron-builder-squirrel-windows > archiver > archiver-utils > glob > [email protected]
  nostr-relay-tray > electron-builder > dmg-builder > app-builder-lib > electron-builder-squirrel-windows > archiver > zip-stream > archiver-utils > glob > [email protected]
  nostr-relay-tray > eslint > file-entry-cache > flat-cache > rimraf > glob > [email protected]
  nostr-relay-tray > eslint-plugin-react > eslint > file-entry-cache > flat-cache > rimraf > glob > [email protected]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants