diff --git a/website/package.json b/website/package.json index 5dcf9063..408a56af 100644 --- a/website/package.json +++ b/website/package.json @@ -20,7 +20,7 @@ "@svgr/webpack": "6.5.1", "clsx": "1.2.1", "file-loader": "6.2.0", - "prism-react-renderer": "1.3.5", + "prism-react-renderer": "2.3.1", "react": "17.0.2", "react-dom": "17.0.2", "url-loader": "4.1.1" diff --git a/website/yarn.lock b/website/yarn.lock index 5139d1bf..2d7e4b76 100644 --- a/website/yarn.lock +++ b/website/yarn.lock @@ -2929,6 +2929,13 @@ __metadata: languageName: node linkType: hard +"@types/prismjs@npm:^1.26.0": + version: 1.26.3 + resolution: "@types/prismjs@npm:1.26.3" + checksum: c627fa9d9f4277ce413bb8347944152cddfc892702e34ff4b099dc1cf3f00c09514d36349c23529b903b0e57f3b2e0dc91ee66e98af07fbbe1e3fe8346b23370 + languageName: node + linkType: hard + "@types/prop-types@npm:*": version: 15.7.5 resolution: "@types/prop-types@npm:15.7.5" @@ -4152,6 +4159,13 @@ __metadata: languageName: node linkType: hard +"clsx@npm:^2.0.0": + version: 2.0.0 + resolution: "clsx@npm:2.0.0" + checksum: a2cfb2351b254611acf92faa0daf15220f4cd648bdf96ce369d729813b85336993871a4bf6978ddea2b81b5a130478339c20d9d0b5c6fc287e5147f0c059276e + languageName: node + linkType: hard + "collapse-white-space@npm:^1.0.2": version: 1.0.6 resolution: "collapse-white-space@npm:1.0.6" @@ -8478,7 +8492,19 @@ __metadata: languageName: node linkType: hard -"prism-react-renderer@npm:1.3.5, prism-react-renderer@npm:^1.3.5": +"prism-react-renderer@npm:2.3.1": + version: 2.3.1 + resolution: "prism-react-renderer@npm:2.3.1" + dependencies: + "@types/prismjs": ^1.26.0 + clsx: ^2.0.0 + peerDependencies: + react: ">=16.0.0" + checksum: b12a7d502c1e764d94f7d3c84aee9cd6fccc676bb7e21dee94d37eb2e7e62e097a343999e1979887cb83a57cbdea48d2046aa74d07bce05caa25f4c296df30b6 + languageName: node + linkType: hard + +"prism-react-renderer@npm:^1.3.5": version: 1.3.5 resolution: "prism-react-renderer@npm:1.3.5" peerDependencies: @@ -10745,7 +10771,7 @@ __metadata: "@svgr/webpack": 6.5.1 clsx: 1.2.1 file-loader: 6.2.0 - prism-react-renderer: 1.3.5 + prism-react-renderer: 2.3.1 react: 17.0.2 react-dom: 17.0.2 url-loader: 4.1.1