diff --git a/.changeset/cyan-cows-rhyme.md b/.changeset/cyan-cows-rhyme.md new file mode 100644 index 00000000000..f35cdb923c5 --- /dev/null +++ b/.changeset/cyan-cows-rhyme.md @@ -0,0 +1,5 @@ +--- +'@kaizen/components': patch +--- + +Update dep `react-intl` to `^7.0.1`. diff --git a/packages/components/package.json b/packages/components/package.json index bdd27cd6fbd..0a42f32a6ab 100644 --- a/packages/components/package.json +++ b/packages/components/package.json @@ -124,7 +124,7 @@ "react": "^18.3.1", "react-dom": "^18.3.1", "react-highlight": "^0.15.0", - "react-intl": "^6.8.9", + "react-intl": "^7.0.1", "rollup": "^4.28.0", "sass": "1.79.6", "serialize-query-params": "^2.0.2", @@ -140,7 +140,7 @@ "@cultureamp/i18n-react-intl": "^2.5.9", "react": "^18.3.1", "react-dom": "^18.3.1", - "react-intl": "^6.6.8", + "react-intl": "^6.6.8 || ^7.0.0", "typescript": "5.x" }, "peerDependenciesMeta": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index b2b544da74e..b2fe4aff8a2 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -474,8 +474,8 @@ importers: specifier: ^0.15.0 version: 0.15.0 react-intl: - specifier: ^6.8.9 - version: 6.8.9(react@18.3.1)(typescript@5.6.3) + specifier: ^7.0.1 + version: 7.0.1(react@18.3.1)(typescript@5.6.3) rollup: specifier: ^4.28.0 version: 4.28.0 @@ -1205,6 +1205,11 @@ packages: '@cultureamp/next-head-hook': '>=1 || ~0.0.0' next: '>=13.5.0' react: '>=16.14.0' + peerDependenciesMeta: + '@cultureamp/next-head-hook': + optional: true + next: + optional: true '@cultureamp/frontend-env@2.1.2': resolution: {integrity: sha512-0GBVGeJDeQL+XmUMvIbUjSsJiRxb46RRTuDhfbB0aViwZ3tG7t88GbnPznolCrp7d+xj0TaknbGS80kzgXL/1w==, tarball: https://npm.pkg.github.com/download/@cultureamp/frontend-env/2.1.2/3478449ef282fcb929efc4f3955531ad3f0cdaca} @@ -1216,6 +1221,9 @@ packages: '@cultureamp/frontend-apis': '>=9 || ~0.0.0' next: '>=13.5.0' react: ^18.3.1 + peerDependenciesMeta: + next: + optional: true '@cultureamp/next-head-hook@1.1.11': resolution: {integrity: sha512-FyaCA3oKHnxZ+pPHcPTCDoRCG4/1y0W16U1O5eyTgSxjuJfWTui3vz65MNvNxlJ20+DZ8BXmV3M0y93t/Fubog==, tarball: https://npm.pkg.github.com/download/@cultureamp/next-head-hook/1.1.11/5444465f7d6ce0d79ba33d60180245ed245956ad} @@ -1850,6 +1858,14 @@ packages: typescript: optional: true + '@formatjs/intl@3.0.1': + resolution: {integrity: sha512-QzdeMxOnSuGJhF0eWOIXHDtXZgIBwAqBZ4/bgZmPMC+FmYI8X2Akmu/j/ABKKO85GnxPV6KN8hJ8zytLnTJuYQ==} + peerDependencies: + typescript: '5' + peerDependenciesMeta: + typescript: + optional: true + '@formatjs/ts-transformer@3.13.14': resolution: {integrity: sha512-TP/R54lxQ9Drzzimxrrt6yBT/xBofTgYl5wSTpyKe3Aq9vIBVcFmS6EOqycj0X34KGu3EpDPGO0ng8ZQZGLIFg==} peerDependencies: @@ -8294,6 +8310,15 @@ packages: typescript: optional: true + react-intl@7.0.1: + resolution: {integrity: sha512-djq5s6d96mw+84vNh7Zz9/dUa2v2A4VNfpZbQdjvVHrvogGfTRp5WUgacwyWjGNAIrzmcpa8blcjQFps/3gwXw==} + peerDependencies: + react: ^16.6.0 || 17 || 18 + typescript: '5' + peerDependenciesMeta: + typescript: + optional: true + react-is@16.13.1: resolution: {integrity: sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==} @@ -10584,7 +10609,6 @@ snapshots: '@cultureamp/frontend-apis@11.1.0(@cultureamp/next-head-hook@1.1.11(next@14.2.3(@babel/core@7.25.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(sass@1.79.6)))(next@14.2.3(@babel/core@7.25.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(sass@1.79.6))(react@18.3.1)(typescript@5.6.3)': dependencies: '@cultureamp/frontend-env': 2.1.2 - '@cultureamp/next-head-hook': 1.1.11(next@14.2.3(@babel/core@7.25.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(sass@1.79.6)) '@cultureamp/redirect-to-login': 2.0.3 '@readme/openapi-parser': 2.6.0(openapi-types@12.1.3) '@tanstack/react-query': 5.60.5(react@18.3.1) @@ -10598,7 +10622,6 @@ snapshots: js-yaml: 4.1.0 jsrsasign: 11.1.0 msw: 2.2.14(typescript@5.6.3) - next: 14.2.3(@babel/core@7.25.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(sass@1.79.6) openapi-types: 12.1.3 openapi-typescript: 6.7.6 react: 18.3.1 @@ -10607,6 +10630,9 @@ snapshots: url-parse: 1.5.10 uuid: 9.0.1 yargs: 17.7.2 + optionalDependencies: + '@cultureamp/next-head-hook': 1.1.11(next@14.2.3(@babel/core@7.25.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(sass@1.79.6)) + next: 14.2.3(@babel/core@7.25.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(sass@1.79.6) transitivePeerDependencies: - '@chromatic-com/cypress' - '@chromatic-com/playwright' @@ -10632,11 +10658,12 @@ snapshots: isomorphic-resolve: 1.0.0 json-stable-stringify: 1.1.1 limiter-es6-compat: 2.1.2 - next: 14.2.3(@babel/core@7.25.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(sass@1.79.6) react: 18.3.1 react-intl: 6.8.9(react@18.3.1)(typescript@5.6.3) smartling-api-sdk-nodejs: 2.11.0(encoding@0.1.13) yargs: 17.7.2 + optionalDependencies: + next: 14.2.3(@babel/core@7.25.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(sass@1.79.6) transitivePeerDependencies: - '@glimmer/env' - '@glimmer/reference' @@ -10656,6 +10683,7 @@ snapshots: dependencies: next: 14.2.3(@babel/core@7.25.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(sass@1.79.6) react: 18.3.1 + optional: true '@cultureamp/redirect-to-login@2.0.3': {} @@ -11086,6 +11114,15 @@ snapshots: optionalDependencies: typescript: 5.6.3 + '@formatjs/intl@3.0.1(typescript@5.6.3)': + dependencies: + '@formatjs/fast-memoize': 2.2.3 + '@formatjs/icu-messageformat-parser': 2.9.4 + intl-messageformat: 10.7.7 + tslib: 2.8.1 + optionalDependencies: + typescript: 5.6.3 + '@formatjs/ts-transformer@3.13.14(ts-jest@29.2.4(@babel/core@7.25.2)(@jest/transform@29.7.0)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.25.2))(esbuild@0.24.0)(jest@29.7.0(@types/node@22.7.5)(ts-node@10.9.2(@swc/core@1.7.10(@swc/helpers@0.5.11))(@types/node@22.7.5)(typescript@5.6.3)))(typescript@5.6.3))': dependencies: '@formatjs/icu-messageformat-parser': 2.7.8 @@ -11463,7 +11500,8 @@ snapshots: outvariant: 1.4.2 strict-event-emitter: 0.5.1 - '@next/env@14.2.3': {} + '@next/env@14.2.3': + optional: true '@next/swc-darwin-arm64@14.2.3': optional: true @@ -13283,6 +13321,7 @@ snapshots: dependencies: '@swc/counter': 0.1.3 tslib: 2.8.1 + optional: true '@swc/jest@0.2.36(@swc/core@1.7.10(@swc/helpers@0.5.11))': dependencies: @@ -14365,6 +14404,7 @@ snapshots: busboy@1.6.0: dependencies: streamsearch: 1.1.0 + optional: true bytes@3.1.2: {} @@ -18110,6 +18150,7 @@ snapshots: transitivePeerDependencies: - '@babel/core' - babel-plugin-macros + optional: true no-case@3.0.4: dependencies: @@ -19163,6 +19204,7 @@ snapshots: nanoid: 3.3.7 picocolors: 1.1.1 source-map-js: 1.2.1 + optional: true postcss@8.4.49: dependencies: @@ -19526,6 +19568,19 @@ snapshots: optionalDependencies: typescript: 5.6.3 + react-intl@7.0.1(react@18.3.1)(typescript@5.6.3): + dependencies: + '@formatjs/icu-messageformat-parser': 2.9.4 + '@formatjs/intl': 3.0.1(typescript@5.6.3) + '@types/hoist-non-react-statics': 3.3.5 + '@types/react': 18.3.13 + hoist-non-react-statics: 3.3.2 + intl-messageformat: 10.7.7 + react: 18.3.1 + tslib: 2.8.1 + optionalDependencies: + typescript: 5.6.3 + react-is@16.13.1: {} react-is@17.0.2: {} @@ -20203,7 +20258,8 @@ snapshots: readable-stream: 3.6.2 xtend: 4.0.2 - streamsearch@1.1.0: {} + streamsearch@1.1.0: + optional: true strict-event-emitter@0.5.1: {} @@ -20347,6 +20403,7 @@ snapshots: react: 18.3.1 optionalDependencies: '@babel/core': 7.25.2 + optional: true stylehacks@5.1.1(postcss@8.4.49): dependencies: