diff --git a/packages/core/package.json b/packages/core/package.json index 3ba905d68..aa32b0f57 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -81,7 +81,7 @@ "memfs": "^4.17.0", "react": "^18.3.1", "react-dom": "^18.3.1", - "react-helmet-async": "^1.3.0", + "react-helmet-async": "^2.0.5", "react-lazy-with-preload": "^2.2.1", "react-syntax-highlighter": "^15.6.1", "rehype-external-links": "^3.0.0", diff --git a/packages/runtime/package.json b/packages/runtime/package.json index 845819524..70c0c4509 100644 --- a/packages/runtime/package.json +++ b/packages/runtime/package.json @@ -45,7 +45,7 @@ "@rspress/shared": "workspace:*", "react": "^18.3.1", "react-dom": "^18.3.1", - "react-helmet-async": "^1.3.0", + "react-helmet-async": "^2.0.5", "react-router-dom": "^6.29.0" }, "devDependencies": { diff --git a/packages/theme-default/package.json b/packages/theme-default/package.json index 263684910..d5150a35b 100644 --- a/packages/theme-default/package.json +++ b/packages/theme-default/package.json @@ -57,7 +57,7 @@ "nprogress": "^0.2.0", "react": "^18.3.1", "react-dom": "^18.3.1", - "react-helmet-async": "^1.3.0", + "react-helmet-async": "^2.0.5", "react-syntax-highlighter": "^15.6.1" }, "devDependencies": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 67c387b06..bd830928f 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -774,8 +774,8 @@ importers: specifier: ^18.3.1 version: 18.3.1(react@18.3.1) react-helmet-async: - specifier: ^1.3.0 - version: 1.3.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + specifier: ^2.0.5 + version: 2.0.5(react@18.3.1) react-lazy-with-preload: specifier: ^2.2.1 version: 2.2.1 @@ -1484,8 +1484,8 @@ importers: specifier: ^18.3.1 version: 18.3.1(react@18.3.1) react-helmet-async: - specifier: ^1.3.0 - version: 1.3.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + specifier: ^2.0.5 + version: 2.0.5(react@18.3.1) react-router-dom: specifier: ^6.29.0 version: 6.29.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) @@ -1591,8 +1591,8 @@ importers: specifier: ^18.3.1 version: 18.3.1(react@18.3.1) react-helmet-async: - specifier: ^1.3.0 - version: 1.3.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + specifier: ^2.0.5 + version: 2.0.5(react@18.3.1) react-syntax-highlighter: specifier: ^15.6.1 version: 15.6.1(react@18.3.1) @@ -5516,11 +5516,10 @@ packages: '@types/react': optional: true - react-helmet-async@1.3.0: - resolution: {integrity: sha512-9jZ57/dAn9t3q6hneQS0wukqC2ENOBgMNVEhb/ZG9ZSxUetzVIw4iAmEU38IaVg3QGYauQPhSeUTuIUtFglWpg==} + react-helmet-async@2.0.5: + resolution: {integrity: sha512-rYUYHeus+i27MvFE+Jaa4WsyBKGkL6qVgbJvSBoX8mbsWoABJXdEO0bZyi0F6i+4f0NuIb8AvqPMj3iXFHkMwg==} peerDependencies: react: ^16.6.0 || ^17.0.0 || ^18.0.0 - react-dom: ^16.6.0 || ^17.0.0 || ^18.0.0 react-is@16.13.1: resolution: {integrity: sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==} @@ -11145,13 +11144,10 @@ snapshots: optionalDependencies: '@types/react': 18.3.18 - react-helmet-async@1.3.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1): + react-helmet-async@2.0.5(react@18.3.1): dependencies: - '@babel/runtime': 7.23.2 invariant: 2.2.4 - prop-types: 15.8.1 react: 18.3.1 - react-dom: 18.3.1(react@18.3.1) react-fast-compare: 3.2.2 shallowequal: 1.1.0