mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-15 07:20:02 -04:00
fix flags
This commit is contained in:
parent
9945fb3f49
commit
a2af4d7f3b
2 changed files with 3 additions and 1 deletions
|
@ -49,6 +49,8 @@ export function createGlobalProxy(
|
|||
}
|
||||
}
|
||||
|
||||
if (prop === "$scramjet") return null;
|
||||
|
||||
if (typeof prop === "string" && UNSAFE_GLOBALS.includes(prop))
|
||||
return client.wrapfn(value);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue