Commit f679b17
Pin @hpcc-js/wasm to 2.30.0 to fix webview CSP error
@hpcc-js/wasm v2.31.0 introduced a new Function() call in its
Emscripten-generated graphviz.js glue code. This violates the webview
Content Security Policy, which allows 'wasm-unsafe-eval' but not
'unsafe-eval'.
Pin to 2.30.0 (the last version without new Function()) via a scoped
npm override on d3-graphviz. Version 2.30.0 still satisfies
d3-graphviz's ^2.20.0 requirement.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 3533b99 commit f679b17
2 files changed
Lines changed: 136 additions & 131 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2188 | 2188 | | |
2189 | 2189 | | |
2190 | 2190 | | |
| 2191 | + | |
| 2192 | + | |
| 2193 | + | |
| 2194 | + | |
| 2195 | + | |
2191 | 2196 | | |
2192 | 2197 | | |
2193 | 2198 | | |
| |||
0 commit comments