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

Deprecation warnings during Newman installation #3289

Open
ajsb85 opened this issue Oct 7, 2024 · 1 comment
Open

Deprecation warnings during Newman installation #3289

ajsb85 opened this issue Oct 7, 2024 · 1 comment

Comments

@ajsb85
Copy link

ajsb85 commented Oct 7, 2024

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.

@davidcao1337
Copy link

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

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