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

Missing happy-dom version in user agent #1528

Open
userquin opened this issue Sep 3, 2024 · 2 comments
Open

Missing happy-dom version in user agent #1528

userquin opened this issue Sep 3, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@userquin
Copy link
Contributor

userquin commented Sep 3, 2024

Describe the bug
Missing Happy DOM version in the user agent.

To Reproduce
Steps to reproduce the behavior:

  1. Clone https://github.com/userquin/detect-browser-es
  2. Install dependencies: pnpm install (requires corepack enabled: run corepack enable)
  3. Run pnpm dev
  4. The version is fixed to 0.0.0 in the user agent: using latest version 15.7.3

Using version 12.9.1 was working:

imagen

Expected behavior
The current Happy DOM version should be there, now it is 0.0.0

Additional Context
You can change the L345 in the src/index.ts module to log the navigator object:

imagen

@userquin userquin added the bug Something isn't working label Sep 3, 2024
@userquin
Copy link
Contributor Author

userquin commented Sep 3, 2024

@maher-nakesh what's that link, it looks dangerous, @capricorn86 remove previous comment/link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants
@userquin and others