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.

Use browserslist from peerDeps

See original GitHub issue

Usually project already contains browserslist, and this package could read it It automatically reads the browserslist configuration specified in your project. Seems like it is better to use browserslist package as peerDependency, so we don’t need to update browserlists inside browserslist-useragent. Otherwise we are forced to update browserslist in this package, then browserlist-useragent in project. And @dependabot is not updating since February.

I need to use latest version of browserslist in this package and in project, I can bring PR, however I didn’t find any information about node/npm/yarn version. And we could make it easier if this package was using browserslist as peerDependency

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:6

github_iconTop GitHub Comments

1reaction
pastelskycommented, Oct 28, 2022

Hi @teleginzhenya, the changes are in master — you can give it a try if you like. I’m having some auth issues with publishing packages at the moment, so not able to publish packages, but hopefully that’s sorted in a couple of days.

1reaction
pastelskycommented, Oct 17, 2022

Yeah, I’m putting together a bunch of other changes over this week (including a TS rewrite and a few other potentially breaking changes) to be released together.

On Mon, Oct 17, 2022 at 2:24 PM Evgeniy Telegin @.***> wrote:

Thank you. It might be a breaking change though. Seems like it should have been major

— Reply to this email directly, view it on GitHub https://github.com/browserslist/browserslist-useragent/issues/73#issuecomment-1280512726, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACEIEH3WK3HE6A2YZSMPRYDWDUH25ANCNFSM6AAAAAARBO3YNE . You are receiving this because you modified the open/close state.Message ID: @.***>

– Regards, Shubham Kanodia

Read more comments on GitHub >

github_iconTop Results From Across the Web

What is the significance of browserslist in package.json ...
By using browserslist, transpilers/bundlers know what browsers you want to support, so they can "group" browsers in different categories and ...
Read more >
Enable sharing of browserlist among projects #122 - GitHub
This project addresses the need to share a browerlist among tools, but I think it's equally important to be able to share a...
Read more >
i dont know how to fix it - Flatlogic Forum
Hundreds of components and ready-to-use solutions. ... Why you should do it regularly: https://github.com/browserslist/browserslist#browsers ...
Read more >
browserslist - npm
Start using browserslist in your project by running `npm i browserslist`. There are 2092 other projects in the npm registry using ...
Read more >
The significance of browserslist in package.json created by ...
By using browserslist, transpilers/bundlers know what browsers you want to support, ... devDependencies and peerDependencies in npm package.json file.
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