Nyalab / caniuse-api

request the caniuse data to check browsers compatibilities
MIT License
356 stars 27 forks source link

Error when asking about jpeg xl, example: caniuse.isSupported(feature='jxl', 'chrome 119'); #100

Open molin90 opened 11 months ago

molin90 commented 11 months ago

This is detailed error:

ReferenceError: Please provide a proper feature name. Cannot find jpg xl at Object.isSupported (C:.....\node_modules\caniuse-api\dist\index.js:58:13) at isSupported

It still happens if use: jpegxl,jpgxl or jxl. But it is funny because here: https://caniuse.com/?search=jxl works properly.