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
D3 latest version is using older version of d3-array #3505
Comments
The new d3-array will be bundled with d3@7 which is not out yet. |
But, then the current latest d3 package is giving error aa mentioned. |
How can we reproduce the error? |
It looks like the environment or build tool there does not support ES6 arrow functions. |
Get the same error running Jest in CI mode but not locally. Still looking into this issue but seems to be something to do with babel-jest not processing cumsum.js even if the modules are in the transform list. |
Yup. BLOCKER. D3 seems broken because of that D3-ARRAY Unexpected Token problem. I am using it wit React 16.13.1 and React Native 0.63.4 and Node 16.6.1. https://stackoverflow.com/questions/68376430/d3-giveing-error-of-unexpect-token-on-import |
Turns out to be Babel compiler bug, should be fixed with babel/babel#13581, thank you @mbostock :-) |
Have installed and using latest version (6.7.0) of d3 package.
This is still installing the older version of d3-array package which is 2.12.1 .
While using the latest version of d3 package below is the error that occurred.
The text was updated successfully, but these errors were encountered: