-
Notifications
You must be signed in to change notification settings - Fork 509
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compat tables should show show Node.js data for Web APIs (where present) #3410
Comments
Yeah. This would be cool! E.g. https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams doesn't show which Node version added this. |
@peterbe That is correct. If the I checked and there are 230 compat features with Node.js data in the |
(This is something we ought to do, but I don't know if it's a high priority. It's been a known issue for at least a year. I thought it deserved to be written down somewhere, though.)
Presently, the compat table only includes Node.js data for JavaScript pages (see
browser-compatibility-table/index.tsx
).In reality, we have some Node.js data for some Web APIs that Node.js supports (see mdn/browser-compat-data#3160), but we never show it on MDN. We ought to show Node.js data for all JavaScript pages and the subset of Web API pages that have Node.js data.
The tricky thing here is that we only want to show Node.js for Web APIs that we have data for. Otherwise, we'd show a pointless column for Node.js on, for example, a zillion irrelevant DOM API pages. Right now, the compat table chooses which browsers/engines to include based on the page type, without knowing anything about the data.
The text was updated successfully, but these errors were encountered: