You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TC39 stage 3 proposals are extracted from a rendered version of a README.md file fetched from GitHub with JSDOM. GitHub now seems to be making an extensive use of React to load the contents of the page dynamically, and this does not seem to work well with JSDOM. The find-specs script fails accordingly as it cannot find the <table> elements.
We could perhaps to switch to Puppeteer. Or retrieve the markdown itself and parse it or render it ourselves with some dedicated library.
(Also note the default branch name was renamed to main but the URL of the README file is not the cause of the issue).
The text was updated successfully, but these errors were encountered:
Puppeteer is more heavy-weight but JSDOM cannot easily load specs and GitHub
pages. This update:
- fixes the find-specs script (#1031)
- removes the dependency on the spec-generator service
Puppeteer is more heavy-weight but JSDOM cannot easily load specs and GitHub
pages. This update:
- fixes the find-specs script (#1031)
- removes the dependency on the spec-generator service
TC39 stage 3 proposals are extracted from a rendered version of a
README.md
file fetched from GitHub with JSDOM. GitHub now seems to be making an extensive use of React to load the contents of the page dynamically, and this does not seem to work well with JSDOM. The find-specs script fails accordingly as it cannot find the<table>
elements.We could perhaps to switch to Puppeteer. Or retrieve the markdown itself and parse it or render it ourselves with some dedicated library.
(Also note the default branch name was renamed to
main
but the URL of the README file is not the cause of the issue).The text was updated successfully, but these errors were encountered: