yari
yari copied to clipboard
Add support for polyfill YAML header
This is the unblocking PR for one of our Quarterly projects: we want to store polyfills only inside a YAML entry (polyfills) and display a sentence about them below the Compat Table.
This PR:
- create and read the YAML Key
- add a React subsection below the Compat table.
- populate this subsection with a sentence and a link.
We only authorize URLs from an allowlist to be used for this YAML header. We extend it a bit, but it should already cover the whole of web/javascript.