-
Notifications
You must be signed in to change notification settings - Fork 39
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
new Map( ) undefined in IE 10 #13
Comments
Hi, :469 Super annoying as joi is amazing! and we need our e2e tests to work!! |
I guess we'll need to tweak babel, possibly including the corejs/babel polyfill for Map |
hmm we're already including the babel-polyfill when we run e2e.
/Stephen. |
Version 9.1.0 is not working in IE10, even when I added coreJS/babel polyfills. It is working in IE10, when I changed the version to 9.0.0. 'new Map()' is not there in this version and it is working fine. Thanks for your quick reply and suggestions:) |
Hi, fixed it by importing Map to test bundler directly. Maybe not the best solution, but works. I had to import Promise as well
|
@Stas-Buzunko thanks for reporting back. I guess we can add that to the readme and people can include those polyfills if they need them for their browsers. Probably not needed in most newer browsers. |
I've added a note to |
Getting "Map is undefined with new Map() method" error in IE 10 with joi-browser latest version 9.1.0
Refer the attached screenshot for more information and do the needful.
The text was updated successfully, but these errors were encountered: