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
Their scope isn't specified explicitly to globalThis.
I also think that the compiler and the Core should not promote specific hosts. window & document are part of the HTML and has nothing to do with Node.js. global is Node.js specific and has nothing to do with browsers.
IMO Core should delegate bindings to third-parties (e.g. rescript-webapi) and keep the representation in JavaScript itself.
Activity
tsnobip commentedon Mar 7, 2025
I agree with you, we should likely deprecate it in Core and remove it from stdlib.
deprecate unsafe host-specific bindings from stdlib
deprecate unsafe host-specific bindings from stdlib
deprecate unsafe host-specific bindings from stdlib
deprecate unsafe host-specific bindings from stdlib