diff --git a/website-multi-docs/package.json b/website-multi-docs/package.json index 222ee0b2..3c2473db 100644 --- a/website-multi-docs/package.json +++ b/website-multi-docs/package.json @@ -22,7 +22,7 @@ "@easyops-cn/docusaurus-search-local": "^workspace:*", "@mdx-js/react": "^1.6.22", "clsx": "^1.1.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/yarn.lock b/yarn.lock index b8110e31..97eddaa5 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3433,6 +3433,13 @@ __metadata: languageName: node linkType: hard +"@types/prismjs@npm:^1.26.0": + version: 1.26.0 + resolution: "@types/prismjs@npm:1.26.0" + checksum: cd5e7a6214c1f4213ec512a5fcf6d8fe37a56b813fc57ac95b5ff5ee074742bfdbd2f2730d9fd985205bf4586728e09baa97023f739e5aa1c9735a7c1ecbd11a + languageName: node + linkType: hard + "@types/prop-types@npm:*": version: 15.7.3 resolution: "@types/prop-types@npm:15.7.3" @@ -11051,6 +11058,18 @@ __metadata: languageName: node linkType: hard +"prism-react-renderer@npm:^2.0.0": + version: 2.0.6 + resolution: "prism-react-renderer@npm:2.0.6" + dependencies: + "@types/prismjs": ^1.26.0 + clsx: ^1.2.1 + peerDependencies: + react: ">=16.0.0" + checksum: d2202b79ddf01d308da3ba2f7f31a852fb0fb2e0290575d44e719af4c1d91fa913d04eb480fa3ba03e2d35d745ae806904270ffad00770511ec8bd80db67cb24 + languageName: node + linkType: hard + "prismjs@npm:^1.28.0": version: 1.28.0 resolution: "prismjs@npm:1.28.0" @@ -13868,7 +13887,7 @@ __metadata: "@easyops-cn/docusaurus-search-local": "^workspace:*" "@mdx-js/react": ^1.6.22 clsx: ^1.1.1 - prism-react-renderer: ^1.3.5 + prism-react-renderer: ^2.0.0 react: ^17.0.2 react-dom: ^17.0.2 languageName: unknown