diff --git a/github-page/package.json b/github-page/package.json index fdcf5f3c..a4c242d8 100644 --- a/github-page/package.json +++ b/github-page/package.json @@ -21,7 +21,7 @@ "@docusaurus/preset-classic": "2.4.1", "@mdx-js/react": "^1.6.22", "clsx": "^2.0.0", - "prism-react-renderer": "^1.3.5", + "prism-react-renderer": "^2.0.0", "react": "^18.0.0", "react-dom": "^18.0.0" }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 3f2c53db..032defb4 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -36,8 +36,8 @@ importers: specifier: ^2.0.0 version: 2.0.0 prism-react-renderer: - specifier: ^1.3.5 - version: 1.3.5(react@18.2.0) + specifier: ^2.0.0 + version: 2.0.0(react@18.2.0) react: specifier: ^18.0.0 version: 18.2.0 @@ -9244,6 +9244,15 @@ packages: dependencies: react: 18.2.0 + /prism-react-renderer@2.0.0(react@18.2.0): + resolution: {integrity: sha512-Pmgn/6/XaxmwSuC5InkPQ3xq7f1J/SMKdvnxAQZVE7oBH11ctIHBGc2xLWmc8g0/CG+YQwbi5JTifP01cR7kvA==} + peerDependencies: + react: '>=16.0.0' + dependencies: + clsx: 1.2.1 + react: 18.2.0 + dev: false + /prismjs@1.29.0: resolution: {integrity: sha512-Kx/1w86q/epKcmte75LNrEoT+lX8pBpavuAbvJWRXar7Hz8jrtF+e3vY751p0R8H9HdArwaCTNDDzHg/ScJK1Q==} engines: {node: '>=6'}