My contribution to the compat data went into the npm module, but when I use the macro on the page there seems to be some bugs, I went back to the data to check thinking I had some kind of error, but it all looks good.
Many of these issues are only apparent when you view the table. There are many follow-on PRs for converted tables. Do you think you could create the follow-on change?
For sure, being able to preview the compat table would be extremely helpful!
I’ve had a good think about it now and my understanding is:
if we know the version the feature was removed, the feature must have been added at some point so version_added has to be either true or a value, it cannot be false or null.
At first I was migrating the data, but as my understanding grows I can fix these as I go.
It would be amazing if this logic was in whatever macro produces the table though!
I think that it is better to detect this problem with linting, so that it is flagged when a pull request is opened, rather than after a table is rendered. I’ve opened https://github.com/mdn/browser-compat-data/issues/1328.