We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
globalThis.navigator = JSDOM.window.navigator; 删除这一行代码就能正常使用了,但不知道会不会有什么影响
The text was updated successfully, but these errors were encountered:
#199
Sorry, something went wrong.
需验证低版本Node,删除这一行,是否会有影响。 我印象中,不加这一行会出错
Node 21 似乎实现了 navigator 对象,回头可以加个判断,仅在 Node 版本低于 21 时,执行这一行。
No branches or pull requests
globalThis.navigator = JSDOM.window.navigator;
删除这一行代码就能正常使用了,但不知道会不会有什么影响
The text was updated successfully, but these errors were encountered: