i18n-node icon indicating copy to clipboard operation
i18n-node copied to clipboard

Switch from `@messageformat/core` to `intl-messageformat`

Open andersk opened this issue 1 month ago • 1 comments

In a website with a Content-Security-Policy that does not allow unsafe-eval, the @messageformat/core compiler crashes with EvalError, and upstream has no plans to address that; they recommend pre-compiling all functions using a build step, or switching to intl-messageformat.

  • Fixes #545.

andersk avatar Nov 16 '25 06:11 andersk

:warning: Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

:white_check_mark: All modified and coverable lines are covered by tests. :white_check_mark: Project coverage is 98.17%. Comparing base (fcb0781) to head (079fd7a). :exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #547   +/-   ##
=======================================
  Coverage   98.17%   98.17%           
=======================================
  Files           2        2           
  Lines         548      548           
=======================================
  Hits          538      538           
  Misses         10       10           

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

:rocket: New features to boost your workflow:
  • :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • :package: JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

codecov-commenter avatar Nov 21 '25 08:11 codecov-commenter