polyfill-library: Intl : locale data nu must be an object

With the latest update to Intl dependencies we are seeing some errors :

locale data nu must be an object

We haven’t been able to pinpoint the exact change in the formatjs that introduced the issue.

Our test code :

const format = new Intl.RelativeTimeFormat("en", { style: "narrow" });
const expected = "in 3 qtrs.";
const actual = format.format(3, "quarter");
assert.equal(actual, expected);

Will try to verify against polyfill.io Maybe it’s just us.

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 17 (10 by maintainers)

Commits related to this issue

Most upvoted comments

fix confirmed! 😃

#835 should fix that