eslint-plugin-compat icon indicating copy to clipboard operation
eslint-plugin-compat copied to clipboard

mdn browser definition is outdated

Open maxired opened this issue 1 year ago • 2 comments

Hi,

is seems that the mdn browser definition is outdated and cannot be updated. From what I understand, this code does not import directly @mdn/browser-compat-data, but uses ast-metadata-inferer as intermediate layer.

The issue is that ast-metadata-inferer is packages with it's own compat.json file, build at release time, with previous version of @mdn/browser-compat-data. this means that upgrading @mdn/browser-compat-data locally does not solve the issue

maxired avatar Jan 10 '24 08:01 maxired

seems like this is the reason causing the linter not reporting the Array toReversed toSorted toSpliced methods

lapwingcloud avatar Apr 30 '24 07:04 lapwingcloud