You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 9dc3d7e
Browse filesBrowse the repository at this point in the historyBrowse files
fix(evals): use vm context for server eval to match real Node server
Replace parameter-shadowing of browser globals with vm.createContext so
that the server eval context genuinely lacks window/document/navigator.
This fixes two inaccuracies:
- globalThis.window no longer leaks jsdom's window into server code
- bare window access throws ReferenceError, so window?.innerWidth
correctly fails instead of silently evaluating as undefined
0 commit comments