Description
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:
- Run
npm i newman -g
Observed behavior:
The following deprecation warnings appear:
npm warn deprecated har-validator@5.1.5: this library is no longer supported
npm warn deprecated uuid@3.4.0: 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/faker@5.5.3: 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
.