fix: remove old intl polyfill

This commit is contained in:
Gauthier
2024-06-16 00:17:45 +02:00
parent c680202008
commit 5d6e7f09a2
3 changed files with 0 additions and 10 deletions

View File

@@ -61,7 +61,6 @@
"express-session": "1.17.3",
"formik": "^2.4.6",
"gravatar-url": "3.1.0",
"intl": "1.2.5",
"lodash": "4.17.21",
"next": "^14.2.4",
"node-cache": "5.1.2",

View File

@@ -99,10 +99,6 @@ interface ExtendedAppProps extends AppProps {
currentSettings: PublicSettingsResponse;
}
if (typeof window === 'undefined') {
global.Intl = require('intl');
}
const CoreApp: Omit<NextAppComponentType, 'origGetInitialProps'> = ({
Component,
pageProps,

View File

@@ -8628,11 +8628,6 @@ intl-messageformat@10.5.14, intl-messageformat@^10.1.0:
"@formatjs/icu-messageformat-parser" "2.7.8"
tslib "^2.4.0"
intl@1.2.5:
version "1.2.5"
resolved "https://registry.yarnpkg.com/intl/-/intl-1.2.5.tgz#82244a2190c4e419f8371f5aa34daa3420e2abde"
integrity sha512-rK0KcPHeBFBcqsErKSpvZnrOmWOj+EmDkyJ57e90YWaQNqbcivcqmKDlHEeNprDWOsKzPsh1BfSpPQdDvclHVw==
into-stream@^6.0.0:
version "6.0.0"
resolved "https://registry.yarnpkg.com/into-stream/-/into-stream-6.0.0.tgz#4bfc1244c0128224e18b8870e85b2de8e66c6702"