compat
compat copied to clipboard
Based CanIUse repo on new "main" branch
Issue #9 Made a PR if it can help for a quick fix.
Simply changed "master" to "main" for CanIUse repository fetching. Upon a new run of Compat, it now works without the promise rejection error.
Could you change this line as well?
const htmlDataURL = 'https://raw.githubusercontent.com/Fyrd/caniuse/master/data.json'
In this case master still works but it might be broken in the future.