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 global is not defined in browser #93

Merged
merged 1 commit into from
Feb 3, 2023

Conversation

pastak
Copy link
Contributor

@pastak pastak commented Jun 18, 2022

with v2.4.4, ReferenceError: global is not defined is happened. Check isBrowser() on Line:10 so this place is safe to use window

@pastak
Copy link
Contributor Author

pastak commented Nov 14, 2022

@iamsolankiamit @jharrilim Hi maintainers! Could you review/merge it?

@field123
Copy link

field123 commented Feb 2, 2023

If this could be reviewed and merged it would be super helpfull for us. 🙏

@iamsolankiamit iamsolankiamit merged commit 9f4cf8b into rehooks:master Feb 3, 2023
@artursvonda
Copy link

Are there plans to release this soon? We're coming across this as well.

@field123
Copy link

Hey 👋 @iamsolankiamit @jharrilim appreciate you merging this in, is there any chance you could publish an npm release? 🙏

@iamsolankiamit
Copy link
Member

@field123 released in version https://github.com/rehooks/local-storage/releases/tag/v2.4.5

lewisl9029 added a commit to lewisl9029/highlight that referenced this pull request Jan 16, 2024
Fixes a bug where browser builds references `global`: rehooks/local-storage#93

Allows us to remove a default override to @lewisl9029/rehooks-local-storage on the Reflame side.
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.

4 participants