fix(plugins/developer-kit): use eval
This commit is contained in:
parent
1598a4940c
commit
15ed4c551b
1 changed files with 3 additions and 3 deletions
|
|
@ -62,9 +62,9 @@ function EvalJSAlert() {
|
|||
// @ts-expect-error
|
||||
else globalThis[key] = api
|
||||
|
||||
const res = globalEvalWithSourceUrl(
|
||||
`api=${key},{unscoped:revenge}=api;undefined;${code.current}`,
|
||||
'Revenge:EvalJS',
|
||||
// biome-ignore lint/security/noGlobalEval: Intentional
|
||||
const res = eval(
|
||||
`var api=${key},{unscoped:revenge}=api;undefined;${code.current}//# sourceURL=Revenge:EvalJS`,
|
||||
)
|
||||
|
||||
alert(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue