newman icon indicating copy to clipboard operation
newman copied to clipboard

Deprecation warnings during Newman installation

Open ajsb85 opened this issue 1 year ago • 2 comments

Newman Version (can be found via newman -v): 6.2.1 OS details (type, version, and architecture): Ubuntu 24.04 LTS, x86_64 Are you using Newman as a library, or via the CLI? CLI Did you encounter this recently, or has this bug always been there: Recently Expected behaviour: No deprecation warnings during installation. Command / script used to run Newman: npm i newman -g Sample collection, and auxiliary files (minus the sensitive details): N/A Screenshots (if applicable): N/A

Steps to reproduce the problem:

  1. Run npm i newman -g

Observed behavior:

The following deprecation warnings appear:

npm warn deprecated [email protected]: this library is no longer supported
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 @faker-js/[email protected]: Please update to a newer version.

Impact:

While Newman seems to function correctly, these warnings indicate that the installation process is using outdated packages. This could potentially lead to:

  • Security vulnerabilities
  • Compatibility issues
  • Reduced performance

Recommendation:

Update Newman's dependencies to use the latest versions of har-validator, uuid, and @faker-js/faker.

ajsb85 avatar Oct 07 '24 11:10 ajsb85

It looks like har-validator is EOL: https://www.npmjs.com/package/har-validator

davidcao1337 avatar Oct 25 '24 19:10 davidcao1337

Any updates on this issue? Ive seen the #3309 is waiting for approving.

Can some one please look into this and we can proceed with updating the dependencies?

mStirner avatar Jun 03 '25 12:06 mStirner