-
Notifications
You must be signed in to change notification settings - Fork 432
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
getEmojiFlag is broken in v2.6.0 #78
Comments
Thanks for reporting, will check this out. |
Tests for Node And tests use built So, could you please check again why it fails for you? |
@dmythro thank you for such a quick response 😍. I see your tests pass. They also pass on my machine. I don't understand why does it fail in my project. So I tried to create a minimal reproduce that you can run as well. I just created a repo with a basic https://cli.vuejs.org/ project: https://github.com/slaweet/countries-list-error-reproduce/ and this commit reproduces the error: slaweet/countries-list-error-reproduce@b6c97d4 |
I also created another branch https://github.com/slaweet/countries-list-error-reproduce/compare/working to show that with the previous version countries-list v2.5.6 it works |
Thanks for the repo! I think I have an idea why it happens: probably updated libs do not embed Just curious if an update to tests can cover that :) |
Now it makes sense to me 🙂, so I opened a PR to fix it #79
I think it's just a matter of following npm guidelines when adding dependencies/devDependencies 🤷♂️ |
Don't think it is the solution. I had |
Thank you @dmythro |
Thanks! Looks like we're good to go then. |
@slaweet released as |
Better build/minify setup also helped with a smaller bundle size :)
|
What's the problem?
https://github.com/renovatebot/renovate just tried to update countries-list 2.5.6 -> 2.6.0 on my project. And suddenly all calls to getEmojiFlag fail with:
I think the error is coming from this line
Countries/dist/index.js
Line 19 in 11a7011
Countries/dist/index.js
Line 7 in 11a7011
What's the expected behaviour?
getEmojiFlag in countries-list 2.6.0 works just like in countries-list 2.5.6
What's my context?
I'm using countries-list in a frontend project in VueJS.
Running it with standard https://cli.vuejs.org/ either in browser or in jest tests in node -v v12.7.0
The text was updated successfully, but these errors were encountered: