fix flags

This commit is contained in:
velzie 2024-10-14 11:59:02 -04:00
parent 9945fb3f49
commit a2af4d7f3b
No known key found for this signature in database
GPG key ID: AA51AEFB0A1F3820
2 changed files with 3 additions and 1 deletions

View file

@ -49,6 +49,8 @@ export function createGlobalProxy(
}
}
if (prop === "$scramjet") return null;
if (typeof prop === "string" && UNSAFE_GLOBALS.includes(prop))
return client.wrapfn(value);