From 725913b77327df563334233b52f3bf321c0eb9d6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 13 Jan 2026 11:10:14 +0000 Subject: [PATCH] dev: bump @formatjs/intl-relativetimeformat from 11.4.13 to 12.1.2 Bumps [@formatjs/intl-relativetimeformat](https://github.com/formatjs/formatjs) from 11.4.13 to 12.1.2. - [Release notes](https://github.com/formatjs/formatjs/releases) - [Commits](https://github.com/formatjs/formatjs/compare/@formatjs/intl-relativetimeformat@11.4.13...@formatjs/intl-relativetimeformat@12.1.2) --- updated-dependencies: - dependency-name: "@formatjs/intl-relativetimeformat" dependency-version: 12.1.2 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- package.json | 2 +- pkg/webui/lib/components/with-locale.js | 4 +++- yarn.lock | 12 ++++++------ 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/package.json b/package.json index cbca702a4d..fa54e72c4a 100644 --- a/package.json +++ b/package.json @@ -88,7 +88,7 @@ "@formatjs/intl-locale": "^4.2.13", "@formatjs/intl-numberformat": "^9.1.2", "@formatjs/intl-pluralrules": "^5.4.6", - "@formatjs/intl-relativetimeformat": "^11.4.13", + "@formatjs/intl-relativetimeformat": "^12.1.2", "@reduxjs/toolkit": "^2.11.2", "@sentry/integrations": "^7.114.0", "@sentry/react": "^10.33.0", diff --git a/pkg/webui/lib/components/with-locale.js b/pkg/webui/lib/components/with-locale.js index 1d339c7778..977d103aa8 100644 --- a/pkg/webui/lib/components/with-locale.js +++ b/pkg/webui/lib/components/with-locale.js @@ -152,7 +152,9 @@ const WithLocale = ({ children }) => { if (!window.Intl.RelativeTimeFormat) { log('Polyfilling Intl.RelativeTimeFormat') await import( - /* webpackChunkName: "locale-date-time-format" */ '@formatjs/intl-relativetimeformat/polyfill' + /* webpackChunkName: "locale-date-time-format" */ + // eslint-disable-next-line import/extensions -- package exports require explicit .js + '@formatjs/intl-relativetimeformat/polyfill.js' ) } diff --git a/yarn.lock b/yarn.lock index cf10346fb9..068ad46034 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1889,13 +1889,13 @@ decimal.js "^10.4.3" tslib "^2.8.0" -"@formatjs/intl-relativetimeformat@^11.4.13": - version "11.4.13" - resolved "https://registry.yarnpkg.com/@formatjs/intl-relativetimeformat/-/intl-relativetimeformat-11.4.13.tgz#f77839f2e87b1b0641e8ed72e673b9386f5df79a" - integrity sha512-fNs6cpz9zIUEgTlE3kPSEyRfslxeMG19dT7sLz2C6U7Jxkx8xK/IH1ImZzCeqd6JlqE81O7uNW4oZTb1pz8lUw== +"@formatjs/intl-relativetimeformat@^12.1.2": + version "12.1.2" + resolved "https://registry.yarnpkg.com/@formatjs/intl-relativetimeformat/-/intl-relativetimeformat-12.1.2.tgz#188b088b04fa6309e47374526593529be737b770" + integrity sha512-bl5yZD5YFYo4CvGKRVGwuUDYO0LifLHQR5CG6EV29Vw8/9MVWfrkkFM5Al4Ec+Prq2pzMnu++1Q+oQO1Anjn6A== dependencies: - "@formatjs/ecma402-abstract" "2.3.6" - "@formatjs/intl-localematcher" "0.6.2" + "@formatjs/ecma402-abstract" "3.0.8" + "@formatjs/intl-localematcher" "0.7.5" tslib "^2.8.0" "@formatjs/intl@3.1.8":