hedera-json-rpc-relay icon indicating copy to clipboard operation
hedera-json-rpc-relay copied to clipboard

Address `npm install` warnings and recommnedations

Open AlfredoG87 opened this issue 1 year ago • 1 comments
trafficstars

Problem

When doing a fresh npm install after cloning the project the process highlights some WARNINGS and recommendations that the mainteners of the relay should address in a timely manner. and before this becomes an issue:

Currently there are some messages that should be reviewed and addressed.

Solution

Address the following:

  • [ ] npm WARN deprecated [email protected]: this library is no longer supported
  • [x] npm WARN deprecated [email protected]: IMPORTANT 10x+ PERFORMANCE UPGRADE: Please upgrade to v12.0.1+ as we have fixed an issue with debuglog causing 10x slower router benchmark performance, see https://github.com/koajs/router/pull/173
  • [ ] npm WARN deprecated [email protected]: testrpc has been renamed to ganache-cli, please use this package from now on.
  • [ ] npm WARN deprecated [email protected]: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
  • [ ] npm WARN deprecated [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
  • [ ] npm WARN deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142
  • [ ] npm WARN deprecated [email protected]: https://about.codecov.io/blog/codecov-uploader-deprecation-plan/
  • [ ] npm WARN deprecated [email protected]: 16.1.1
  • [ ] npm WARN deprecated @ensdomains/[email protected]: Please use @ensdomains/ens-contracts
  • [ ] npm WARN deprecated @ensdomains/[email protected]: Please use @ensdomains/ens-contracts

Alternatives

No response

AlfredoG87 avatar Jan 30 '24 18:01 AlfredoG87

The second [email protected]: IMPORTANT 10x+ PERFORMANCE UPGRADE: has been addressed already on PR: https://github.com/hashgraph/hedera-json-rpc-relay/pull/2067

AlfredoG87 avatar Jan 30 '24 18:01 AlfredoG87