diff --git a/package.json b/package.json index 3c3269b5e..bbbfd4959 100644 --- a/package.json +++ b/package.json @@ -125,7 +125,7 @@ "rc-util": "^5.38.0", "react-copy-to-clipboard": "^5.1.0", "react-error-boundary": "^4.0.10", - "react-intl": "^6.4.4", + "react-intl": "^7.0.0", "react-loading-skeleton": "^3.1.1", "react-simple-code-editor": "^0.13.1", "rehype-autolink-headings": "^6.1.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index c8bbf1fe7..0afc8114a 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -146,8 +146,8 @@ importers: specifier: ^4.0.10 version: 4.0.10(react@19.0.0-rc-fb9a90fa48-20240614) react-intl: - specifier: ^6.4.4 - version: 6.4.4(react@19.0.0-rc-fb9a90fa48-20240614)(typescript@5.0.4) + specifier: ^7.0.0 + version: 7.0.4(react@19.0.0-rc-fb9a90fa48-20240614)(typescript@5.0.4) react-loading-skeleton: specifier: ^3.1.1 version: 3.1.1(react@19.0.0-rc-fb9a90fa48-20240614) @@ -2903,31 +2903,33 @@ packages: resolution: {integrity: sha512-qprfWkn82Iw821mcKofJ5Pk9wgioHicxcQMxx+5zt5GSKoqdWvgG5AxVmpmUUjzTLPVSH5auBrhI93Deayn/DA==} dev: false - /@formatjs/ecma402-abstract@1.17.0: - resolution: {integrity: sha512-6ueQTeJZtwKjmh23bdkq/DMqH4l4bmfvtQH98blOSbiXv/OUiyijSW6jU22IT8BNM1ujCaEvJfTtyCYVH38EMQ==} + /@formatjs/ecma402-abstract@2.3.1: + resolution: {integrity: sha512-Ip9uV+/MpLXWRk03U/GzeJMuPeOXpJBSB5V1tjA6kJhvqssye5J5LoYLc7Z5IAHb7nR62sRoguzrFiVCP/hnzw==} dependencies: - '@formatjs/intl-localematcher': 0.4.0 + '@formatjs/fast-memoize': 2.2.5 + '@formatjs/intl-localematcher': 0.5.9 + decimal.js: 10.4.3 tslib: 2.6.2 dev: false - /@formatjs/fast-memoize@2.2.0: - resolution: {integrity: sha512-hnk/nY8FyrL5YxwP9e4r9dqeM6cAbo8PeU9UjyXojZMNvVad2Z06FAVHyR3Ecw6fza+0GH7vdJgiKIVXTMbSBA==} + /@formatjs/fast-memoize@2.2.5: + resolution: {integrity: sha512-6PoewUMrrcqxSoBXAOJDiW1m+AmkrAj0RiXnOMD59GRaswjXhm3MDhgepXPBgonc09oSirAJTsAggzAGQf6A6g==} dependencies: tslib: 2.6.2 dev: false - /@formatjs/icu-messageformat-parser@2.6.0: - resolution: {integrity: sha512-yT6at0qc0DANw9qM/TU8RZaCtfDXtj4pZM/IC2WnVU80yAcliS3KVDiuUt4jSQAeFL9JS5bc2hARnFmjPdA6qw==} + /@formatjs/icu-messageformat-parser@2.9.7: + resolution: {integrity: sha512-cuEHyRM5VqLQobANOjtjlgU7+qmk9Q3fDQuBiRRJ3+Wp3ZoZhpUPtUfuimZXsir6SaI2TaAJ+SLo9vLnV5QcbA==} dependencies: - '@formatjs/ecma402-abstract': 1.17.0 - '@formatjs/icu-skeleton-parser': 1.6.0 + '@formatjs/ecma402-abstract': 2.3.1 + '@formatjs/icu-skeleton-parser': 1.8.11 tslib: 2.6.2 dev: false - /@formatjs/icu-skeleton-parser@1.6.0: - resolution: {integrity: sha512-eMmxNpoX/J1IPUjPGSZwo0Wh+7CEvdEMddP2Jxg1gQJXfGfht/FdW2D5XDFj3VMbOTUQlDIdZJY7uC6O6gjPoA==} + /@formatjs/icu-skeleton-parser@1.8.11: + resolution: {integrity: sha512-8LlHHE/yL/zVJZHAX3pbKaCjZKmBIO6aJY1mkVh4RMSEu/2WRZ4Ysvv3kKXJ9M8RJLBHdnk1/dUQFdod1Dt7Dw==} dependencies: - '@formatjs/ecma402-abstract': 1.17.0 + '@formatjs/ecma402-abstract': 2.3.1 tslib: 2.6.2 dev: false @@ -2937,30 +2939,14 @@ packages: '@formatjs/intl-utils': 2.3.0 dev: true - /@formatjs/intl-displaynames@6.5.0: - resolution: {integrity: sha512-sg/nR8ILEdUl+2sWu6jc1nQ5s04yucGlH1RVfatW8TSJ5uG3Yy3vgigi8NNC/BuhcncUNPWqSpTCSI1hA+rhiw==} - dependencies: - '@formatjs/ecma402-abstract': 1.17.0 - '@formatjs/intl-localematcher': 0.4.0 - tslib: 2.6.2 - dev: false - /@formatjs/intl-listformat@1.4.8: resolution: {integrity: sha512-WNMQlEg0e50VZrGIkgD5n7+DAMGt3boKi1GJALfhFMymslJb5i+5WzWxyj/3a929Z6MAFsmzRIJjKuv+BxKAOQ==} dependencies: '@formatjs/intl-utils': 2.3.0 dev: true - /@formatjs/intl-listformat@7.4.0: - resolution: {integrity: sha512-ifupb+balZUAF/Oh3QyGRqPRWGSKwWoMPR0cYZEG7r61SimD+m38oFQqVx/3Fp7LfQFF11m7IS+MlxOo2sKINA==} - dependencies: - '@formatjs/ecma402-abstract': 1.17.0 - '@formatjs/intl-localematcher': 0.4.0 - tslib: 2.6.2 - dev: false - - /@formatjs/intl-localematcher@0.4.0: - resolution: {integrity: sha512-bRTd+rKomvfdS4QDlVJ6TA/Jx1F2h/TBVO5LjvhQ7QPPHp19oPNMIum7W2CMEReq/zPxpmCeB31F9+5gl/qtvw==} + /@formatjs/intl-localematcher@0.5.9: + resolution: {integrity: sha512-8zkGu/sv5euxbjfZ/xmklqLyDGQSxsLqg8XOq88JW3cmJtzhCP8EtSJXlaKZnVO4beEaoiT9wj4eIoCQ9smwxA==} dependencies: tslib: 2.6.2 dev: false @@ -2983,20 +2969,18 @@ packages: deprecated: the package is rather renamed to @formatjs/ecma-abstract with some changes in functionality (primarily selectUnit is removed and we don't plan to make any further changes to this package dev: true - /@formatjs/intl@2.9.0(typescript@5.0.4): - resolution: {integrity: sha512-Ym0trUoC/VO6wQu4YHa0H1VR2tEixFRmwZgADkDLm7nD+vv1Ob+/88mUAoT0pwvirFqYKgUKEwp1tFepqyqvVA==} + /@formatjs/intl@3.0.4(typescript@5.0.4): + resolution: {integrity: sha512-pnetak6R7Xp/ET96O5kx9zRYoQQqr6sbRXWkJHKw0Hr/jr3ls4CddZKq+suwCDuW6p/ior2BhpOSh/WLLcJM6w==} peerDependencies: - typescript: ^4.7 || 5 + typescript: '5' peerDependenciesMeta: typescript: optional: true dependencies: - '@formatjs/ecma402-abstract': 1.17.0 - '@formatjs/fast-memoize': 2.2.0 - '@formatjs/icu-messageformat-parser': 2.6.0 - '@formatjs/intl-displaynames': 6.5.0 - '@formatjs/intl-listformat': 7.4.0 - intl-messageformat: 10.5.0 + '@formatjs/ecma402-abstract': 2.3.1 + '@formatjs/fast-memoize': 2.2.5 + '@formatjs/icu-messageformat-parser': 2.9.7 + intl-messageformat: 10.7.10 tslib: 2.6.2 typescript: 5.0.4 dev: false @@ -7842,6 +7826,10 @@ packages: resolution: {integrity: sha512-VfxadyCECXgQlkoEAjeghAr5gY3Hf+IKjKb+X8tGVDtveCjN+USwprd2q3QXBR9T1+x2DG0XZF5/w+7HAtSaXA==} engines: {node: '>=10'} + /decimal.js@10.4.3: + resolution: {integrity: sha512-VBBaLc1MgL5XpzgIP7ny5Z6Nx3UrRkIViUkPUdtl9aya5amy3De1gsUUSB1g3+3sExYNjCAsAznmukyxCb1GRA==} + dev: false + /decode-named-character-reference@1.0.2: resolution: {integrity: sha512-O8x12RzrUF8xyVcY0KJowWsmaJxQbmy0/EtnNtHRpsOcT7dFk5W598coHqBVpmWo1oQQfsCqfCmkZN5DJrZVdg==} dependencies: @@ -10593,12 +10581,12 @@ packages: '@formatjs/intl-unified-numberformat': 3.3.7 dev: true - /intl-messageformat@10.5.0: - resolution: {integrity: sha512-AvojYuOaRb6r2veOKfTVpxH9TrmjSdc5iR9R5RgBwrDZYSmAAFVT+QLbW3C4V7Qsg0OguMp67Q/EoUkxZzXRGw==} + /intl-messageformat@10.7.10: + resolution: {integrity: sha512-hp7iejCBiJdW3zmOe18FdlJu8U/JsADSDiBPQhfdSeI8B9POtvPRvPh3nMlvhYayGMKLv6maldhR7y3Pf1vkpw==} dependencies: - '@formatjs/ecma402-abstract': 1.17.0 - '@formatjs/fast-memoize': 2.2.0 - '@formatjs/icu-messageformat-parser': 2.6.0 + '@formatjs/ecma402-abstract': 2.3.1 + '@formatjs/fast-memoize': 2.2.5 + '@formatjs/icu-messageformat-parser': 2.9.7 tslib: 2.6.2 dev: false @@ -16115,24 +16103,22 @@ packages: shallow-equal: 1.2.1 dev: true - /react-intl@6.4.4(react@19.0.0-rc-fb9a90fa48-20240614)(typescript@5.0.4): - resolution: {integrity: sha512-/C9Sl/5//ohfkNG6AWlJuf4BhTXsbzyk93K62A4zRhSPANyOGpKZ+fWhN+TLfFd5YjDUHy+exU/09y0w1bO4Xw==} + /react-intl@7.0.4(react@19.0.0-rc-fb9a90fa48-20240614)(typescript@5.0.4): + resolution: {integrity: sha512-WGNfCPNcRQhNAZBN+amz2hfR8Kd7jngScJ4WaRZcsaOWsvva1ciStnUIGj9MvOAxPqTf1D78J5OdRdc3l0wgKQ==} peerDependencies: - react: ^16.6.0 || 17 || 18 - typescript: ^4.7 || 5 + react: ^16.6.0 || 17 || 18 || 19 + typescript: '5' peerDependenciesMeta: typescript: optional: true dependencies: - '@formatjs/ecma402-abstract': 1.17.0 - '@formatjs/icu-messageformat-parser': 2.6.0 - '@formatjs/intl': 2.9.0(typescript@5.0.4) - '@formatjs/intl-displaynames': 6.5.0 - '@formatjs/intl-listformat': 7.4.0 + '@formatjs/ecma402-abstract': 2.3.1 + '@formatjs/icu-messageformat-parser': 2.9.7 + '@formatjs/intl': 3.0.4(typescript@5.0.4) '@types/hoist-non-react-statics': 3.3.2 '@types/react': 18.2.17 hoist-non-react-statics: 3.3.2 - intl-messageformat: 10.5.0 + intl-messageformat: 10.7.10 react: 19.0.0-rc-fb9a90fa48-20240614 tslib: 2.6.2 typescript: 5.0.4