Skip to content

Commit 58544c1

Browse files
Merge pull request #7803 from TheThingsNetwork/dependabot/npm_and_yarn/formatjs/intl-relativetimeformat-12.1.2
dev: bump @formatjs/intl-relativetimeformat from 11.4.13 to 12.1.2
2 parents 4335e00 + 98e90fe commit 58544c1

3 files changed

Lines changed: 10 additions & 8 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@
8888
"@formatjs/intl-locale": "^4.2.13",
8989
"@formatjs/intl-numberformat": "^9.1.2",
9090
"@formatjs/intl-pluralrules": "^6.1.2",
91-
"@formatjs/intl-relativetimeformat": "^11.4.13",
91+
"@formatjs/intl-relativetimeformat": "^12.1.2",
9292
"@reduxjs/toolkit": "^2.11.2",
9393
"@sentry/integrations": "^7.114.0",
9494
"@sentry/react": "^10.33.0",

pkg/webui/lib/components/with-locale.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,9 @@ const WithLocale = ({ children }) => {
154154
if (!window.Intl.RelativeTimeFormat) {
155155
log('Polyfilling Intl.RelativeTimeFormat')
156156
await import(
157-
/* webpackChunkName: "locale-date-time-format" */ '@formatjs/intl-relativetimeformat/polyfill'
157+
/* webpackChunkName: "locale-date-time-format" */
158+
// eslint-disable-next-line import/extensions -- package exports require explicit .js
159+
'@formatjs/intl-relativetimeformat/polyfill.js'
158160
)
159161
}
160162

yarn.lock

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1914,13 +1914,13 @@
19141914
decimal.js "^10.4.3"
19151915
tslib "^2.8.0"
19161916

1917-
"@formatjs/intl-relativetimeformat@^11.4.13":
1918-
version "11.4.13"
1919-
resolved "https://registry.yarnpkg.com/@formatjs/intl-relativetimeformat/-/intl-relativetimeformat-11.4.13.tgz#f77839f2e87b1b0641e8ed72e673b9386f5df79a"
1920-
integrity sha512-fNs6cpz9zIUEgTlE3kPSEyRfslxeMG19dT7sLz2C6U7Jxkx8xK/IH1ImZzCeqd6JlqE81O7uNW4oZTb1pz8lUw==
1917+
"@formatjs/intl-relativetimeformat@^12.1.2":
1918+
version "12.1.2"
1919+
resolved "https://registry.yarnpkg.com/@formatjs/intl-relativetimeformat/-/intl-relativetimeformat-12.1.2.tgz#188b088b04fa6309e47374526593529be737b770"
1920+
integrity sha512-bl5yZD5YFYo4CvGKRVGwuUDYO0LifLHQR5CG6EV29Vw8/9MVWfrkkFM5Al4Ec+Prq2pzMnu++1Q+oQO1Anjn6A==
19211921
dependencies:
1922-
"@formatjs/ecma402-abstract" "2.3.6"
1923-
"@formatjs/intl-localematcher" "0.6.2"
1922+
"@formatjs/ecma402-abstract" "3.0.8"
1923+
"@formatjs/intl-localematcher" "0.7.5"
19241924
tslib "^2.8.0"
19251925

19261926
"@formatjs/intl@3.1.8":

0 commit comments

Comments
 (0)