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

fix: add guard for navigator for use in envs that do no support navig… #542

Merged
merged 1 commit into from
Jun 24, 2022

Conversation

kevinpagtakhan
Copy link
Contributor

…ator

Summary

Adds a check for navigator before accessing navigator.userAgent. Affects electron apps.

Checklist

  • Does your PR title have the correct title format?
  • Does your PR have a breaking change?:

@kevinpagtakhan kevinpagtakhan self-assigned this Jun 23, 2022
@@ -20,7 +20,7 @@
"@babel/runtime": "^7.3.4",
"blueimp-md5": "^2.10.0",
"query-string": "5",
"@amplitude/analytics-connector": "1.4.3"
"@amplitude/analytics-connector": "1.4.4"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kevinpagtakhan kevinpagtakhan merged commit c3b31ad into main Jun 24, 2022
@kevinpagtakhan kevinpagtakhan deleted the AMP-55823-navigator-guard branch June 24, 2022 00:44
github-actions bot pushed a commit that referenced this pull request Jun 24, 2022
## [8.18.5](v8.18.4...v8.18.5) (2022-06-24)

### Bug Fixes

* add guard for navigator for use in envs that do no support navigator ([#542](#542)) ([c3b31ad](c3b31ad))
* fix s3 upload script to use iam role ([#534](#534)) ([a453dc3](a453dc3))
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 this pull request may close these issues.

2 participants