Skip to content

Commit

Permalink
chore(deps): bump prism-react-renderer from 1.3.5 to 2.4.1 in /docs (#…
Browse files Browse the repository at this point in the history
…5104)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Hubert Bugaj <lesny.rumcajs+github@gmail.com>
Co-authored-by: hanabi1224 <harlowmoo@gmail.com>
  • Loading branch information
3 people authored Jan 9, 2025
1 parent e6df30c commit 62d7773
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions docs/docusaurus.config.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// @ts-check
// Note: type annotations allow type checking and IDEs autocompletion

const lightCodeTheme = require("prism-react-renderer/themes/github");
const darkCodeTheme = require("prism-react-renderer/themes/dracula");
const lightCodeTheme = require("prism-react-renderer").themes.github;
const darkCodeTheme = require("prism-react-renderer").themes.dracula;

/** @type {import('@docusaurus/mdx-loader').MDXPlugin} */
// @ts-ignore
Expand Down
2 changes: 1 addition & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"mdx-mermaid": "^2.0.3",
"mermaid": "^11.4.1",
"prettier": "^3.4.2",
"prism-react-renderer": "^1.3.5",
"prism-react-renderer": "^2.4.1",
"react": "^19.0.0",
"react-dom": "^19.0.0"
},
Expand Down
6 changes: 3 additions & 3 deletions docs/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -8958,7 +8958,7 @@ __metadata:
mdx-mermaid: "npm:^2.0.3"
mermaid: "npm:^11.4.1"
prettier: "npm:^3.4.2"
prism-react-renderer: "npm:^1.3.5"
prism-react-renderer: "npm:^2.4.1"
react: "npm:^19.0.0"
react-dom: "npm:^19.0.0"
spellchecker-cli: "npm:^7.0.0"
Expand Down Expand Up @@ -15280,7 +15280,7 @@ __metadata:
languageName: node
linkType: hard

"prism-react-renderer@npm:^1.2.1, prism-react-renderer@npm:^1.3.5":
"prism-react-renderer@npm:^1.2.1":
version: 1.3.5
resolution: "prism-react-renderer@npm:1.3.5"
peerDependencies:
Expand All @@ -15289,7 +15289,7 @@ __metadata:
languageName: node
linkType: hard

"prism-react-renderer@npm:^2.3.0":
"prism-react-renderer@npm:^2.3.0, prism-react-renderer@npm:^2.4.1":
version: 2.4.1
resolution: "prism-react-renderer@npm:2.4.1"
dependencies:
Expand Down

0 comments on commit 62d7773

Please sign in to comment.