diff --git a/github-page/package.json b/github-page/package.json index e28e6b1..b4b856f 100644 --- a/github-page/package.json +++ b/github-page/package.json @@ -21,7 +21,7 @@ "@docusaurus/preset-classic": "2.4.3", "@mdx-js/react": "^1.6.22", "clsx": "^2.0.0", - "prism-react-renderer": "^1.3.5", + "prism-react-renderer": "^2.0.0", "react": "^19.0.0", "react-dom": "^19.0.0" }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 54a4c83..d0e43a7 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -72,8 +72,8 @@ importers: specifier: ^2.0.0 version: 2.0.0 prism-react-renderer: - specifier: ^1.3.5 - version: 1.3.5(react@19.2.0) + specifier: ^2.0.0 + version: 2.4.1(react@19.2.0) react: specifier: ^19.0.0 version: 19.2.0 @@ -2314,6 +2314,9 @@ packages: '@types/parse5@5.0.3': resolution: {integrity: sha512-kUNnecmtkunAoQ3CnjmMkzNU/gtxG8guhi+Fk2U/kOpIKjIMKnXGp4IJCgQJrXSgMsWYimYG4TGjz/UzbGEBTw==} + '@types/prismjs@1.26.5': + resolution: {integrity: sha512-AUZTa7hQ2KY5L7AmtSiqxlhWxb4ina0yd8hNbl4TWuqnv/pFP0nDMb3YrfSBf4hJVGLh2YEIBfKaBW/9UEl6IQ==} + '@types/prop-types@15.7.5': resolution: {integrity: sha512-JCB8C6SnDoQf0cNycqd/35A7MjcnK+ZTqE7judS6o7utxUCg6imJg3QK2qzHKszlTjcj2cn+NwMB2i96ubpj7w==} @@ -5738,6 +5741,11 @@ packages: peerDependencies: react: '>=0.14.9' + prism-react-renderer@2.4.1: + resolution: {integrity: sha512-ey8Ls/+Di31eqzUxC46h8MksNuGx/n0AAC8uKpwFau4RPDYLuE3EXTp8N8G2vX2N7UC/+IXeNUnlWBGGcAG+Ig==} + peerDependencies: + react: '>=16.0.0' + prismjs@1.29.0: resolution: {integrity: sha512-Kx/1w86q/epKcmte75LNrEoT+lX8pBpavuAbvJWRXar7Hz8jrtF+e3vY751p0R8H9HdArwaCTNDDzHg/ScJK1Q==} engines: {node: '>=6'} @@ -11642,6 +11650,8 @@ snapshots: '@types/parse5@5.0.3': {} + '@types/prismjs@1.26.5': {} + '@types/prop-types@15.7.5': {} '@types/qs@6.9.7': {} @@ -16009,6 +16019,12 @@ snapshots: dependencies: react: 19.2.0 + prism-react-renderer@2.4.1(react@19.2.0): + dependencies: + '@types/prismjs': 1.26.5 + clsx: 2.1.1 + react: 19.2.0 + prismjs@1.29.0: {} prismjs@1.30.0: {}