Use of eval in "node_modules/three/examples/jsm/libs/lottie_canvas.module.js" is strongly discouraged

vite v5.4.0 building for production…
node_modules/three/examples/jsm/libs/lottie_canvas.module.js (13973:30): Use of eval in “node_modules/three/examples/jsm/libs/lottie_canvas.module.js” is strongly discouraged as it poses security risks and may cause issues with minification.

Thank you

Note, this is an issue unrelated to three.js and shouldn’t really be fixed in three.js repo / by three.js maintainers - three just uses a build module copied from original lottie repo.

See the following issues for a follow up:

I am sorry and thanks

2024년 8월 8일 (목) 오후 12:10, mjurczyk via three.js forum <notifications@threejs.discoursemail.com>님이 작성:

It isn’t linked though? By copying it, the three maintainers would have to fix it. Likely by copying it again, but still, it does have to be fixed in the three.js repo. If the lottie maintainers update lottie it’s as if it happened in a different universe, three still has a copy of an old version.