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

Upgrade deprecated intl-messageformat-parser to v6 #39

Open
marinrusu1997 opened this issue Nov 10, 2020 · 1 comment
Open

Upgrade deprecated intl-messageformat-parser to v6 #39

marinrusu1997 opened this issue Nov 10, 2020 · 1 comment

Comments

@marinrusu1997
Copy link

Problem
When installing eslint-plugin-i18n-json with jspm, the following warning is displayed
warn (jspm) Deprecation warning for npm:intl-messageformat-parser@5.5.1: backwards incompatible, please upgrade to 6.0 instead
This causes jspm being stuck for a while with the following message
... Finalizing https://registry.npmjs.org/@formatjs/intl-numberformat/-/intl-numberformat-5.7.1.tgz#sha512-wVkzeqIAxfibB7zekX4xJbHrVfqy6zik2xd4f0zhD4UAn/JfxSin4nFfY35VNr7R0ZtvPqrKBnbddEpyXRF+Zw==

Solution
intl-messageformat-parser should be bumped up to it's latest version, v6. There shouldn't be breaking changes, as looking into CHANGELOG, for v6 there were only bugfixes (see), later one version bumps and another bugfix.

@floscher
Copy link

floscher commented Jun 9, 2022

Now the warning message reads:

npm WARN deprecated intl-messageformat-parser@5.5.1: We've written a new parser that's 6x faster and is backwards compatible. Please use @formatjs/icu-messageformat-parser

So this should now be used instead: https://github.com/formatjs/formatjs/tree/main/packages/icu-messageformat-parser

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

No branches or pull requests

2 participants