vega: ES5 build broken in 5.23 (is actually ES7)

The file node_modules/vega/build-es5/vega-core.js contains async functions which are not supported in ES5 e.g. async function load$1 and async function sanitize

This last seemed to worked in 5.22.1 .

The ES5 build is important to @wikimedia as it is blocking us migrating to Vega 5 for the MediaWiki Graph extension and we currently support users who are still on ES6. An ES6 build would also work for us.

Let me know if I can provide any further information.

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 16 (10 by maintainers)

Commits related to this issue

Most upvoted comments

Yeah, it’s not in sync with the code. Thanks for raising the issue.

Does my pull request address the issue in your build process, though?