-
-
Notifications
You must be signed in to change notification settings - Fork 262
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
ReferenceError: globalThis is not defined in old browsers #313
Comments
I recently updated my imask library from 6.0.1 to 6.0.3 and ran into the same problem. this isn't a new issue: #296 |
Do I understand correctly that globalThis will be removed in the next release 6.0.4? |
Hello guys! Thanks for using imask and helping to improve it. Since 6.0.0 only Here is interersting discussion about polyfilling: w3ctag/polyfills#6 (comment) @OliverWall no, Please don't close this issue until it will be in a guide. I can't get why this still is not described. Really sorry about that. |
Thanks for answer. I will wait for help or the guide from you. Right now i use react-imask v.6.0.3 and still get error in this compoent. I installed package from NPM. |
@OliverWall
If you need only polyfills should be imported before |
Thank you very much for help and this beautiful library! |
fixed in #331 |
Hi.
Big thanks for you libriary. It very comfortable and functionallity libriary.
Problem:
I developed react component using react-imask ^6.0.0, but i found a bug in production of several users who use old browser.
Example
Workspace:
mozilla 58.0 or other old browser
test application for you
Run app in firefox.
ErrorMessage: ReferenceError: globalThis is not defined
What can i do? I have several users in production and they get this error, because of this I can't use your library =(
Will Its possible fix in next release?
The text was updated successfully, but these errors were encountered: