-
Notifications
You must be signed in to change notification settings - Fork 358
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Node v21 - navigator
object
#2122
Comments
Can you provide more details? What fails specifically? Why do you think the navigator object is related? |
Compiler fails with following error: function(hooks) {
if (typeof navigator != "object") return hooks;
var ua = navigator.userAgent;
if (ua.indexOf("DumpRenderTree") >= 0) return hooks;
if (ua.indexOf("Chrome") >= 0) {
function confirm(p) {
return typeof window == "object" && window[p] && window[p].name == p;
}
if (confirm("Window") && confirm("HTMLElement")) return hooks;
}
hooks.getTag = getTagFallback;
} Whereas |
It's astonishing to me that Node.js thought it would be a good idea to add a global Note that Node.js 21 is also not an LTS release, and thus may receive less support than an even-numbered release. |
Can't compile when using Node v21 because of the introduction of navigator object.
The text was updated successfully, but these errors were encountered: