Build MediaInfo with `DYNAMIC_EXECUTION=0`
Is your proposal related to a problem?
At the moment DYNAMIC_EXECUTION isn't disabled, which forces apps using the library to enable the unsafe-eval instead of just wasm-unsafe-eval in the CSP configuration.
Describe the solution you'd like
See if the lib can be build with DYNAMIC_EXECUTION=0
Additional context
Not disabling the unsafe-eval flag makes MDN's HTTP Observatory give a negative score in the CSP category.
I have put out a quick experiment locally by simply adding the flag in gulp/wasm.ts and it allowed me to disable unsafe-eval in my own project while maintaining full functionality with no code change.
However, I didn't run the tests because those were broken (one fetched tested file is invalid) and src/MediaInfoResult.ts seemed to miss a few fields from the lib that I needed to add.
Contribution
I may make one or more PRs it I get the time.