Skip to content

[BUG] loglevel is ignored by by fund and audit on npm install #1533

Closed
@bnb

Description

@bnb

What / Why

Currently, when you run npm install <module> --silent (or any other log filter), both fund and audit are logged. (Credit where credit is due: Tweet)

When

  • Audit: Whenever I npm install a module.
  • Fund: Whenever I npm install a module that resolves a module with a fund property in its dependency tree.

Where

  • npm/cli

Current Behavior

  • console.log()s both fund and audit no matter

Steps to Reproduce

  • n/a

Expected Behavior

  • Both audit and fund should likely both be considered notice level logs and not appear in anything more strict than that (since notice is the default, this also makes sense with the current default behavior of both of them).

Credit where Credit is Due

Metadata

Metadata

Assignees

Labels

Bugthing that needs fixingsemver:majorbackwards-incompatible breaking changes

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions