caniuse | Raw browser/feature support data from caniuse.com | Dataset library

 by   Fyrd JavaScript Version: Current License: CC-BY-4.0

kandi X-RAY | caniuse Summary

kandi X-RAY | caniuse Summary

caniuse is a JavaScript library typically used in Artificial Intelligence, Dataset applications. caniuse has no bugs, it has no vulnerabilities, it has a Permissive License and it has medium support. You can install using 'npm i caniuse-db' or download it from GitHub, npm.

This repo contains raw data from the caniuse.com support tables. It serves two purposes:. The data in this repo is available for use under a CC BY 4.0 license (For attribution just mention somewhere that the source is caniuse.com. If you have any questions about using the data for your project please contact me here:
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              caniuse has a medium active ecosystem.
              It has 5266 star(s) with 1381 fork(s). There are 158 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 812 open issues and 2702 have been closed. On average issues are closed in 297 days. There are 12 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of caniuse is current.

            kandi-Quality Quality

              caniuse has 0 bugs and 0 code smells.

            kandi-Security Security

              caniuse has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              caniuse code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              caniuse is licensed under the CC-BY-4.0 License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              caniuse releases are not available. You will need to build from source code and install.
              Deployable package is available in npm.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of caniuse
            Get all kandi verified functions for this library.

            caniuse Key Features

            No Key Features are available at this moment for caniuse.

            caniuse Examples and Code Snippets

            Browserslist
            npmdot img1Lines of Code : 10dot img1no licencesLicense : No License
            copy iconCopy
              "browserslist": [
                "defaults",
                "not IE 11",
                "maintained node versions"
              ]
            
            
            # Browsers that we support
            
            defaults
            not IE 11
            maintained node versions
            
              

            Community Discussions

            QUESTION

            What is CSS cascade layers (@layer rule) and how is it useful?
            Asked 2022-Mar-31 at 06:15

            I want to use the new CSS cascade layers feature supported by latest versions of Chrome, Firefox, Safari, and Edge (see the support table).

            I'm importing a stylesheet from highlight.js. It has a class named hljs that applies a background color to elements. I want to override that color with CSS @layer rules:

            ...

            ANSWER

            Answered 2022-Mar-15 at 12:28

            CSS cascade layers, a CSS feature that allows us to define explicit contained layers of specificity, so that we have full control over which styles take priority in a project without relying on specificity.

            Source https://stackoverflow.com/questions/71481824

            QUESTION

            Is it possible to use VueJs 3 in an ES5 only environment via a CDN?
            Asked 2022-Mar-25 at 17:55

            I understand that pretty much all modern browser support ES6 JavaScript natively at this point. And most desktop and mobile browser auto update to the latest version automatically so there is fairly broad ES6 support now.

            However, as best I can tell, some android tablets don't make it easy to upgrade the tablet OS or browser and often only support ES5 JavaScript.

            Because of this we require that all website code be ES5. We are currently using VueJs 2.x and use it from a CDN with our ES5 code. And that's been working great even on really old tablets.

            We are considering upgrading to VueJS 3.x however it's unclear whether VueJs 3 is available from a CDN as ES5 code. When I looked in this file: https://cdn.jsdelivr.net/npm/vue@3.0.5/dist/vue.global.js I see that it uses the const keyword and uses => so it's clearly ES6 code.

            So that leaves me wondering if there is a different CDN file for those of us that still want to support older tables with their older browsers.

            More specifically: Is it possible to use VueJs 3 in an ES5 only environment via a CDN?

            ...

            ANSWER

            Answered 2022-Mar-25 at 17:55
            No

            Vue3 relies on Proxy for handling reactivity. Even if you can get around some functionalities, adjusting the core code to use Proxies is a non-trivial endeavor, and is, AFAIK, the main reason that Vue3 does and will not support IE11.

            You will either need to continue using Vue2, or alternatives like Svelte that can generate ES5 bundles.

            Source https://stackoverflow.com/questions/71619507

            QUESTION

            Meteor build fails when run back to back
            Asked 2022-Mar-23 at 02:22

            I'm trying to learn about the Meteor build process to improve it's performance for my dockerized Meteor app. I'm finding that if I run meteor build build --directory --server-only twice, back to back, I get an error about not being able to parse json on the second run.

            Here's the successful first run:

            ...

            ANSWER

            Answered 2022-Mar-23 at 02:22

            What happens is that you produce your built app but not bundle it (using the --directory flag).

            Therefore you have extra JS files in your file structure.

            And in your attempts, they are mixed with your Meteor project structure, in a build folder (when you use command meteor build build --directory) or directly merged (meteor build .. --directory).

            Therefore, on the next build run, Meteor picks these extra JS files as if they were part of your source code (eager loading), and fails, as suggested in the warning message:

            The output directory is under your source tree. Your generated files may get interpreted as source code! Consider building into a different directory instead meteor build ../output

            It would have worked in your next attempt if you had specified an explicit sibling build folder, instead of just the parent folder (which therefore puts files directly in your Meteor project root), e.g. meteor build ../siblingFolder

            Another possible workaround is to use a build folder name starting with a dot ., so that Meteor ignores it on the next runs when it looks for source code, e.g. meteor build ./.build

            See special directories docs:

            The following directories are also not loaded as part of your app code:

            • Files/directories whose names start with a dot, like .meteor and .git

            Source https://stackoverflow.com/questions/71577397

            QUESTION

            Dealing with Safari and .webp images in 2022
            Asked 2022-Feb-12 at 08:45

            I've been waiting to use .webp images for a very long time.

            It's 2022, so, given:

            • the image format has existed for a decade
            • Chrome started supporting .webp in Jan 2014
            • Firefox started supporting .webp in Jan 2019

            I decided the day before yesterday to take the plunge and convert a bunch of .png images on a website to .webp images.

            Rookie error. Because, of course, I should have checked: https://caniuse.com/webp first and that would have told me that Safari on anything earlier than macOS 11.0 Big Sur (Nov 2020) does not support .webp images.

            But I'm tired of waiting. So... Safari can carry on using .png images I suppose.

            Because I absolutely do want to serve .webp images to Firefox, Brave, Chrome, Edge, Opera etc. users.

            If I were using marked up images, declaring one or more fallback images is elementary:

            ...

            ANSWER

            Answered 2022-Feb-12 at 00:08
            Yes, it's hard to provide fallbacks for CSS background-images

            In my question I wrote:

            If I were using marked-up images, declaring one or more fallback images is elementary [...]

            But (sigh) in this instance, the images are CSS background-images, so options for creating fallbacks are more limited

            And for now, at least, - ie. while we're still waiting (in 2022) for widespread cross-browser support for the CSS image-set() function - that's true.

            But a marked-up can replace each CSS background-image

            While I was hunting around for alternative approaches, I unexpectedly came across this July 2021 comment by Quentin Albert:

            For what most people use background images for you can nowadays easily use object-fit + object-position.

            Source: https://css-tricks.com/using-performant-next-gen-images-in-css-with-image-set/

            This was news to me. I was dimly aware of the object-fit CSS property, but I'd never come across the object-position CSS property at all.

            But it absolutely works!!

            The CSS I would have used if image-set() had support

            If image-set() had extensive cross-browser support, this was my intended CSS, which would enable a fallback image for Safari:

            Source https://stackoverflow.com/questions/71079702

            QUESTION

            Error: error:0308010C:digital envelope routines::unsupported - Next.js
            Asked 2022-Feb-08 at 12:19

            This problem occurs in the Next.js project with Node version 17 I tried a lot of solutions but this solution is the best you can solve this problem if it occurred with you

            ...

            ANSWER

            Answered 2022-Feb-08 at 12:19

            First, install cross-env

            Source https://stackoverflow.com/questions/71033802

            QUESTION

            css gradient text are not visible on Safari
            Asked 2021-Dec-02 at 15:30

            am facing one issue on gradient css on web and android devices text are visible but on Safari its not showing at all. Please have look on both the screen shots.

            I've checked with caniuse.com, and both -webkit-text-fill-color and background-clip: text are said to be supported both in Safari/Desktop as well as Safari/iOS.

            ...

            ANSWER

            Answered 2021-Dec-02 at 15:30

            There is an unresolved, open issue about this on the WebKit Bugzilla since 2017: background-clip:text doesn't work with display:flex. Apple has ignored this bug for 4 years, it will probably never be resolved.

            Remove display: flex and it works:

            Source https://stackoverflow.com/questions/70201883

            QUESTION

            javascript- getUserMedia on Safari
            Asked 2021-Nov-24 at 04:18

            https://caniuse.com/?search=getusermedia

            Based on the link provided above, does Safari 15 support getUserMedia? I trying use it to access camera, when I test it on safari 15 it asked camera permission, after I allow the permission it still show me nothings. The link show Safari 15 is support getUserMedia/Stream API but not support Navigator API: getUserMedia. Below is my code, which one I should refer to? getUserMedia/Stream API or Navigator API: getUserMedia

            ...

            ANSWER

            Answered 2021-Nov-18 at 12:41

            You definitely want navigator.mediaDevices.getUserMedia() method. It definitely works on iOS. The other one is deprecated. Apple is so late to the getUserMedia() party that they did not implement the deprecated API.

            You can read about viewing the iOS console. You need to connect your iOS device to a mac, then use the Safari on that mac, to do that. It's a pain in the xxx neck. Explaining how is beyond the scope of a Stack Overflow answer.

            Or you can use alert() for debugging.

            You need to call cameraView.play() at the right moment. Here's the documentation.

            It recommends doing something like this.

            Source https://stackoverflow.com/questions/70016574

            QUESTION

            Apache reverse proxy to Node - Connection refused: AH00957
            Asked 2021-Oct-26 at 23:58

            I am trying to get a brand new cloud based server working with a default version of 20.04 server ubuntu working with apache and node. The node server appears to be running without issues reporting 4006 port is open. However I believe my apache config is not. The request will hang for a very very long time. No errors are displayed in the node terminal. So the fault must lie in my apache config seeing as we are getting the below apache errors and no JS errors.

            Request error after some time ...

            ANSWER

            Answered 2021-Oct-20 at 23:51

            If you use a docker for your node server, then it might be set up incorrectly

            Source https://stackoverflow.com/questions/69609078

            QUESTION

            With Babel, how do I *not* compile away class properties, since browsers support them natively now?
            Asked 2021-Oct-14 at 16:42

            Given this code:

            ...

            ANSWER

            Answered 2021-Oct-14 at 16:42

            Generally issues with browserslist are due to you not getting the browser versions you expect. It's recommended to update the caniuse database in your project regularly to get latest browser versions for preset-env.

            You can do that like so:

            Source https://stackoverflow.com/questions/69547969

            QUESTION

            equivalent for fallback from webp to jepg
            Asked 2021-Sep-15 at 11:39

            I have the following classic SVG code:

            ...

            ANSWER

            Answered 2021-Sep-15 at 11:28

            Maybe you could use . Inside the element you can specify the HTML that you need, like the element.

            Source https://stackoverflow.com/questions/69182166

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install caniuse

            You can install using 'npm i caniuse-db' or download it from GitHub, npm.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/Fyrd/caniuse.git

          • CLI

            gh repo clone Fyrd/caniuse

          • sshUrl

            git@github.com:Fyrd/caniuse.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link