dotlottie-web icon indicating copy to clipboard operation
dotlottie-web copied to clipboard

wasm-unsafe-eval option broken with 0.43.0

Open imaksp opened this issue 7 months ago • 1 comments

Overview

wasm-unsafe-eval option seems to be broken with 0.43.0 release , it was working correctly with previous release.

After updating to latest release getting this error in Chrome 135.0.7049.96:

index.js:1965 Primary WASM URL failed: Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed source of script in the following Content Security Policy directive: "script-src 'self' 'report-sample' 'unsafe-inline' 'wasm-unsafe-eval'

...

Consuming repo

[@lottiefiles/dotlottie-web]

...

Labels

  • [x] Add the Type: Bug label to this issue.

imaksp avatar Apr 21 '25 13:04 imaksp

@imaksp We've added a failing test that reliably reproduces the issue, and we're currently investigating the root cause

theashraf avatar Apr 23 '25 14:04 theashraf