-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Description
When building my app I see the following warning:
WARN [EVAL] Warning: Use of direct eval function is strongly discouraged as it poses security risks and may cause issues with minification. 9:10:18 PM
╭─[ ...../node_modules/eml-parse-js/dist/index.es.js:1863:17 ]
│
1863 │ retV += eval(s.charAt(i)) * Math.pow(2, 3 - i);
│ ──┬─
│ ╰─── Use of direct eval here.
│
│ Help: Consider using indirect eval. For more information, check the documentation: https://rolldown.rs/guide/troubleshooting#avoiding-direct-eval
──────╯Looking at the source code I see usage of eval here - according to chatGpt this whole function might be replaced by modern TextDecoder ?
Metadata
Metadata
Assignees
Labels
No labels