question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Respect --silent flag

See original GitHub issue

Hey there, thanks a lot for the beautiful tool! Can you please improve the warning about outdated caniuse-lite version? At the moment it doesn’t respect --silent flag and print messages in the console: https://github.com/browserslist/browserslist/blob/4db22aed0f0453b73fabc87264bf7210d101075b/node.js#L373-L378

https://docs.npmjs.com/misc/config#loglevel

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:1
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

10reactions
aicommented, Oct 22, 2020

Why do you think this warning is not important for your case?

2reactions
extronicscommented, May 20, 2022

Why do you think this warning is not important for your case?

I’m on a typescript/backend project using jest for tests. Since typescript + jest may use babel for transpilation (https://jestjs.io/docs/getting-started#using-typescript) which in turn uses @babel/preset-env, i’m now getting browserslist included in a backend-only project. So these warnings don’t do anything for me (except maybe annoying me) since the code is not built for browsers.

I assume backend+typescript+jest it not that rare of a stack so there are probably a lot of users out there with this issue.

It would be great if you could accept that your views on good practices may not hold for 100% of all cases where this library ends up in the dependencies. It’s questionable behaviour already for a library somewhere deep down the dependency tree to start printing to the current process’ standard error. Just imagine ANY non-human interpretation of process output suddenly receiving random outputs from libraries. So at least consider providing an escape hatch to silence this.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Garden Flag Quiet Silence Please Sign Secret Man Finger ...
Garden Flag Quiet Silence Please Sign Secret Man Finger Respect Symbol Cinema Home Yard House Decor Barnner Outdoor Stand 12x18 Inches Flag ;...
Read more >
Respect for the American Flag - Swift | Silent | Deadly
My opinion of the American flag is characterized by a deep, unyielding respect and pride. The American flag is the symbol of our...
Read more >
Silent respect is acceptable during the Pledge of Allegiance
An American flag, for which students stand and face while reciting the Pledge of Allegiance, waves in the air. Ava Cordella '24, Staff...
Read more >
Respect your flag||Silent message video|| ft.team_sak786
App use for editing Created by voice quality by kinemaster:https://play.google.com/store/apps/details?id=com.nexstreaming.app.
Read more >
Showing Respect For Our Flag
State and Territory, Foreign Nations, Sports, Boating, Armed Forces, Corporate & Collegiate, attention-getting pennants, banners and message flags, brightly ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found