d3 / d3-dsv

A parser and formatter for delimiter-separated values, such as CSV and TSV.
https://d3js.org/d3-dsv
ISC License
437 stars 76 forks source link

Add documentation about CSP incompatibility #66

Closed tdelmas closed 4 years ago

tdelmas commented 4 years ago

It's important to highlight methods not compatible with a strong Content-Security-Policy (i.e. without unsafe-eval).

In the same way it's documented in https://github.com/d3/d3-dsv#content-security-policy

It should be documented in https://github.com/d3/d3-dsv/blob/master/README.md#csvParse : https://github.com/d3/d3-dsv/issues/65

mbostock commented 4 years ago

I don’t see a need to repeat the CSP documentation that already exists in the README, but feel free to send a PR with suggested edits.