diff --git a/docs/package.json b/docs/package.json index 9974e0d..a2a21e8 100644 --- a/docs/package.json +++ b/docs/package.json @@ -22,7 +22,7 @@ "@mdx-js/react": "^1.6.22", "@socialgouv/e2esdk-crypto": "workspace:*", "clsx": "^1.2.1", - "prism-react-renderer": "^1.3.5", + "prism-react-renderer": "^2.0.0", "react": "^17.0.2", "react-dom": "^17.0.2" }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index f011e71..46f0768 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1,5 +1,9 @@ lockfileVersion: '6.0' +settings: + autoInstallPeers: true + excludeLinksFromLockfile: false + importers: .: @@ -92,8 +96,8 @@ importers: specifier: ^1.2.1 version: 1.2.1 prism-react-renderer: - specifier: ^1.3.5 - version: 1.3.5(react@17.0.2) + specifier: ^2.0.0 + version: 2.0.0(react@17.0.2) react: specifier: ^17.0.2 version: 17.0.2 @@ -15502,6 +15506,15 @@ packages: dependencies: react: 17.0.2 + /prism-react-renderer@2.0.0(react@17.0.2): + resolution: {integrity: sha512-Pmgn/6/XaxmwSuC5InkPQ3xq7f1J/SMKdvnxAQZVE7oBH11ctIHBGc2xLWmc8g0/CG+YQwbi5JTifP01cR7kvA==} + peerDependencies: + react: '>=16.0.0' + dependencies: + clsx: 1.2.1 + react: 17.0.2 + dev: false + /prismjs@1.29.0: resolution: {integrity: sha512-Kx/1w86q/epKcmte75LNrEoT+lX8pBpavuAbvJWRXar7Hz8jrtF+e3vY751p0R8H9HdArwaCTNDDzHg/ScJK1Q==} engines: {node: '>=6'}