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

Add the verbose option in the node API #1332

Closed
wants to merge 1 commit into from
Closed

Conversation

stof
Copy link
Contributor

@stof stof commented May 25, 2021

This allows getting the full list of deprecation warnings when using the npm package.

@stof
Copy link
Contributor Author

stof commented May 25, 2021

I haven't added tests for it, because I did not found any test for it for the dart API either, only for the CLI.

@stof
Copy link
Contributor Author

stof commented May 25, 2021

Note that having the verbose option in the node API seems quite useful to me due to the lack of quietDeps (which cannot be implemented right now, as indicated in #672 (comment)). The 5 displayed warnings might come from dependencies and hide the ones coming from your own code.

@nex3
Copy link
Contributor

nex3 commented May 26, 2021

Unfortunately, modifying the JS API isn't so simple. Because this API is shared across multiple implementations, it needs to go through a proposal process in the language repo.

@stof
Copy link
Contributor Author

stof commented Jun 15, 2021

now done in #1353

@stof stof closed this Jun 15, 2021
@stof stof deleted the node_verbose branch June 15, 2021 08:43
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.

None yet

2 participants