-
Notifications
You must be signed in to change notification settings - Fork 2k
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
browserlist caniuse-lite outdated message when building #6305
Comments
@smenzer I checked out the Babel/preset-env in the package-lock file and looks like this package is set to I haven't come across this warning in my console yet though. |
@smenzer - Chris and I chatted. We think you should try a fresh |
hi @bretg and @ChrisHuie - thanks for taking a look. i did a fresh install but still getting it. sounds like it's local to my machine, though, so i'll look into it more on my end, I just brought this up to make sure it wasn't something impacting others. thanks! |
appears to refer to db of which browsers are in the target Line 21 in eb5d18f
not sure how out of date it is |
is this possible to solve by pushing https://www.npmjs.com/package/@babel/helper-compilation-targets to more recent version at https://github.com/prebid/Prebid.js/blob/master/package-lock.json#L249 ? |
updating package-lock to https://www.npmjs.com/package/@babel/helper-compilation-targets/v/7.24.6 should fix? Or rather babel to 7.24.6 |
The message is gone when I bump @babel/core to 7.24.6 but another problem shows up (same situation when I directly update version of
or (which I don't actually understand tbh since it's the first declaration of BID_ADAGIO):
Lots of tests fail because of this, so increasing mentioned libs versions would require to refactor all of these occurences in order to get rid of caniuse-lite message |
Description
When you build pbjs, there's a message at the top that says the
Browserslist: caniuse-lite is outdated
and suggests runningnpx browserslist@latest --update-db
to fix this. I'm not sure what exactly this is used for and if we should update (or should should be responsible)...but I've seen this message for a while now so thought we should document and deal with it.I'm not sure if this is an issue with my local environment or with packages used by prebid.
Steps to reproduce
The text was updated successfully, but these errors were encountered: