-
Notifications
You must be signed in to change notification settings - Fork 737
Description
Reproduction link or steps
eval?.("foo")What is expected?
No warnings; this is the shortest indirect eval
What is actually happening?
Warning:
index.ts (1:0) [EVAL] Warning: Use of direct `eval` function is strongly discouraged as it poses security risks and may cause issues with minification.
╭─[ index.ts:1:1 ]
│
1 │ eval?.("foo")
│ ──┬─
│ ╰─── Use of direct `eval` here.
│
│ Help: Consider using indirect eval. For more information, check the documentation: https://rolldown.rs/guide/troubleshooting#avoiding-direct-eval
───╯
System Info
REPLAny additional comments?
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Type
Fields
Give feedbackPriority
None yet
Effort
None yet