Skip to content

Conversation

@cho-m
Copy link
Member

@cho-m cho-m commented Nov 11, 2025

  • Have you followed the guidelines in our Contributing document?
  • Have you checked to ensure there aren't other open Pull Requests for the same change?
  • Have you added an explanation of what your changes do and why you'd like us to include them?
  • Have you written new tests for your changes? Here's an example.
  • Have you successfully run brew style with your changes locally?
  • Have you successfully run brew typecheck with your changes locally?
  • Have you successfully run brew tests with your changes locally?

npm switched abbreviated form from -ddd to --ddd in v7 and now complains that:

npm warn -ddd is not a valid single-hyphen cli flag and will be
removed in the future

Instead we can just use the long form --loglevel silly1 which works with all npm versions.

Footnotes

  1. https://docs.npmjs.com/cli/v11/using-npm/config#shorthands-and-other-cli-niceties

Copilot AI review requested due to automatic review settings November 11, 2025 16:23
Copilot finished reviewing on behalf of cho-m November 11, 2025 16:25
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR replaces the deprecated npm flag -ddd with the long form --loglevel=silly to maintain compatibility with npm v7+, which warns that the abbreviated single-hyphen form will be removed in the future.

Key changes:

  • Updated the log level flag in std_npm_install_args method from -ddd to --loglevel=silly

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

npm switched abbreviated form from `-ddd` to `--ddd` in v7 and now
complains that:

> npm warn -ddd is not a valid single-hyphen cli flag and will be
> removed in the future

Instead we can just use the long form `--loglevel silly`[^1] which
works with all npm versions and is more readable.

[^1]: https://docs.npmjs.com/cli/v11/using-npm/config#shorthands-and-other-cli-niceties
Copy link
Member

@MikeMcQuaid MikeMcQuaid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@MikeMcQuaid MikeMcQuaid added this pull request to the merge queue Nov 11, 2025
Merged via the queue into main with commit 1118934 Nov 11, 2025
37 checks passed
@MikeMcQuaid MikeMcQuaid deleted the npm-ddd branch November 11, 2025 17:25
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

Successfully merging this pull request may close these issues.

3 participants