Questions tagged [caniuse]

13 questions
3
votes
1 answer

Browserslist: caniuse-lite is outdated. Please run next command `yarn upgrade`

I have 2 Next.js applications running with the same message error: Browserslist: caniuse-lite is outdated. Please run next command 'yarn upgrade'. The message shows up when I run commands like yarn dev or yarn start or yarn build. It's happening the…
Alexandre Paiva
  • 987
  • 2
  • 10
  • 24
2
votes
1 answer

Browserlist update does nothing

In our Create React App, the node_modules\caniuse-lite\package.json has version 1.0.30001251. yarn build tells me that Browserslist: caniuse-lite is outdated. Please run: npx browserslist@latest --update-db But when I do this, the version in…
Marco Eckstein
  • 4,448
  • 4
  • 37
  • 48
2
votes
0 answers

caniuse-lite is outdated will not go away after updating browserlist

I'm working on fixing build warnings in my Ember.js application currently, and one I get is this [Babel: @ember/test-helpers > applyPatches]Browserslist: caniuse-lite is outdated. Please run: npx browserslist@latest --update-db However running that…
Floyd
  • 65
  • 6
2
votes
2 answers

Using videos in img html

Referencing this article: https://cloudinary.com/blog/evolution_of_img_gif_without_the_gif What is the compatibility situation with videos in img in 2020? I don't know what the name of the feature is called to look for in caniuse. Now you can
Harry
  • 52,711
  • 71
  • 177
  • 261
1
vote
1 answer

No matching version found for caniuse-lite@^1.0.30001349

I'm getting the following error on npm install: npm ERR! code ETARGET npm ERR! notarget No matching version found for caniuse-lite@^1.0.30001349. npm ERR! notarget In most cases you or one of your dependencies are requesting npm ERR! notarget a…
Dragon981
  • 23
  • 3
1
vote
2 answers

How to interpret caniuse website information?

I wanted to check what is the support of fetch API in browser so I opened caniuse.com to get this information. Looking at Chrome browser I see this feature is available since version 42 (which released in april 2015), but looking at Chrome For…
mlst
  • 2,688
  • 7
  • 27
  • 57
1
vote
2 answers

Javascript Element scrollTo compatibility difference between caniuse and mozilla

I am looking for browser support information of Element.scrollTo method. However, there is difference in results from caniuse and mozilla for the latest safari(iOS) and Edge. From mozilla, it says these browsers do not support this method. But…
Sang
  • 4,049
  • 3
  • 37
  • 47
0
votes
0 answers

Deploying Vite React on Heroku: Loading PostCSS Plugin failed: Cannot find module 'caniuse-lite'

I have a simple React Vite app with node version (v18.14.0) and npm version (9.3.1) that I am deploying on Heroku using git push heroku main. For some reason, today I did some minor changes and when I pushed, this is the error that I was…
bsaoptima
  • 125
  • 3
0
votes
0 answers

Detect current browser for use with caniuse-api

How do I obtain the current browser to pass into isSupported? I.e.: caniuse.isSupported('border-radius', ); Library: https://github.com/Nyalab/caniuse-api
Diana
  • 789
  • 8
  • 34
0
votes
0 answers

What does the second percentage number mean in caniuse.com stats?

I want to know how many % of users can use fit-content so I searched it and found this page. However, what does the second number mean?
AGamePlayer
  • 7,404
  • 19
  • 62
  • 119
0
votes
1 answer

Which browser compatibility data is more accurate - caniuse.com or developer.mozilla.org?

I am confused about caniuse.com and developer.mozilla.org data. For example, caniuse.com reports that atob function is supported in Chrome Android since 90 version, but developer.mozilla.org reports that since 18 version. Is this incorrect data on…
Mihail H.
  • 1,555
  • 16
  • 18
0
votes
0 answers

Docker image failed with caniuse-lite is outdated error

Failed to create an image on the staging server with the below error. Browserslist: caniuse-lite is outdated. Please run next command yarn upgrade caniuse-lite browserslist Here is my package.json { "scripts": { "start": "webpack-dev-server…
Nileshsinh Rathod
  • 948
  • 1
  • 17
  • 37
0
votes
1 answer

object-fit: cover compatibility differences according to Mozilla and caniuse

I am wondering what browsers support the CSS property object-fit: cover. I usually use a mixture of Mozilla browser compatibility table and caniuse, however, they provide slightly different information. For example, on Mozilla, Chrome for Android…
Corbuk
  • 670
  • 1
  • 8
  • 23