Skip to content
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 HID check for browser error #245

Closed
CaptainThrillsDev opened this issue Feb 11, 2023 · 0 comments · Fixed by #246
Closed

Node HID check for browser error #245

CaptainThrillsDev opened this issue Feb 11, 2023 · 0 comments · Fixed by #246
Assignees

Comments

@CaptainThrillsDev
Copy link
Contributor

Describe the bug
node_hid_provider is checking for window type undefined, typeof window === 'undefined' though

To Reproduce
Please provide exact package version and steps to reproduce the behavior:

  1. Try and run with node-hid

Expected behavior
Update check to correctly use 'undefined'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants