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
I recommend using parseRows as suggested in the text you pasted from the README and a row function to turn the array of field values into an object.
Using csvParse or tsvParse make it incompatible with CSP without unsafe-eval.
It impact for example plotly/plotly.js#897 (which use the old version of d3 "3.5.17" so "d3-request" and not this package, but "d3-request" has the exact same problem. I didn't opened an issue there as its status is "This module is deprecated as of D3 5.0; please use d3-fetch instead.")
Or is there another API from this package that can be used to avoid that problem?
The text was updated successfully, but these errors were encountered:
https://github.com/d3/d3-fetch/blob/master/src/dsv.js use
csvParse
andtsvParse
from "d3-dsv"As explained in d3/d3-dsv#65 by @mbostock :
Using
csvParse
ortsvParse
make it incompatible with CSP withoutunsafe-eval
.It impact for example plotly/plotly.js#897 (which use the old version of d3 "3.5.17" so "d3-request" and not this package, but "d3-request" has the exact same problem. I didn't opened an issue there as its status is "This module is deprecated as of D3 5.0; please use d3-fetch instead.")
Or is there another API from this package that can be used to avoid that problem?
The text was updated successfully, but these errors were encountered: