Giter Site home page Giter Site logo

Comments (9)

MarcoGlauser avatar MarcoGlauser commented on June 15, 2024 1

Just another datapoint. Our CI build broke when trying to update to the newest version this morning. Fixing the library to 21.2.5 resolved the issue in the short tem.
Thank you for supporting this package for such a long time!

from intl-tel-input.

Delagen avatar Delagen commented on June 15, 2024 1

@Delagen I've implemented the fix I mentioned here, and released it as v21.2.8 - can you give that a try and see if that fixes your issue?

Seems it works now. Thanks.

from intl-tel-input.

jackocnr avatar jackocnr commented on June 15, 2024

Thanks for reporting this. Can you confirm that it works fine in the previous version: v21.2.5?

from intl-tel-input.

Delagen avatar Delagen commented on June 15, 2024

@jackocnr Yes. I temporary reverted to this version.

from intl-tel-input.

jackocnr avatar jackocnr commented on June 15, 2024

Thanks. @anthony0030 this error must be a result of the translation export changes we made - is there any chance you could take a look at this?

from intl-tel-input.

jackocnr avatar jackocnr commented on June 15, 2024

Looking at the difference between the types file in v21.2.5 vs v21.2.6 I think the problem is just that the 2 new imported modules have ".mjs" on the end, as the importing works fine a few lines later: import { Country } from "intl-tel-input/data";. So I wonder if we can just remove those extensions from the 2 imports in src/js/i18n/en/index.mjs (tho this may only work if we make all of these translation files have .ts extensions in src/ which would then require adding a build step to get .mjs files in build/ but hopefully this won't be necessary)

from intl-tel-input.

anthony0030 avatar anthony0030 commented on June 15, 2024

Hi @jackocnr, I don’t have any experience really with TS. I would love to help but don’t know how.

from intl-tel-input.

jackocnr avatar jackocnr commented on June 15, 2024

No worries, I'll take a look when I find some time.

from intl-tel-input.

jackocnr avatar jackocnr commented on June 15, 2024

@Delagen I've implemented the fix I mentioned here, and released it as v21.2.8 - can you give that a try and see if that fixes your issue?

from intl-tel-input.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.