fix: Bump the rehype-pretty-code dependency to remove the vulnerability (#31074)

Bump the rehype-pretty-code dependency to remove the vulnerability.
This commit is contained in:
Ivan Vasilov authored and GitHub committed 2024-12-11 10:45:05 -03:30
1 parent d4c928ca72
commit 9f726d1029
2 files changed
+10 -24

No files matched your search

+1 -1
View File
@@ -34,7 +34,7 @@
"react-wrap-balancer": "^1.1.0",
"recharts": "^2.12.7",
"rehype-autolink-headings": "^7.1.0",
"rehype-pretty-code": "^0.6.0",
"rehype-pretty-code": "^0.9.0",
"rehype-slug": "^6.0.0",
"remark": "^14.0.3",
"remark-code-import": "^1.2.0",
+9 -23
View File
@@ -51,7 +51,7 @@
"react-wrap-balancer": "^1.1.0",
"recharts": "^2.12.7",
"rehype-autolink-headings": "^7.1.0",
"rehype-pretty-code": "^0.6.0",
"rehype-pretty-code": "^0.9.0",
"rehype-slug": "^6.0.0",
"remark": "^14.0.3",
"remark-code-import": "^1.2.0",
@@ -37832,38 +37832,24 @@
}
},
"node_modules/rehype-pretty-code": {
"version": "0.6.0",
"resolved": "https://registry.npmjs.org/rehype-pretty-code/-/rehype-pretty-code-0.6.0.tgz",
"integrity": "sha512-VfntYoWYOBVURXYDdB8p/E1sZTm2W5ry89fJyY94WJAo1jUH/5sVhDC7cX5PPnksMyW9PYMxRLNfjkBpSgJrzQ==",
"version": "0.9.11",
"resolved": "https://registry.npmjs.org/rehype-pretty-code/-/rehype-pretty-code-0.9.11.tgz",
"integrity": "sha512-Eq90eCYXQJISktfRZ8PPtwc5SUyH6fJcxS8XOMnHPUQZBtC6RYo67gGlley9X2nR8vlniPj0/7oCDEYHKQa/oA==",
"workspaces": [
"./word-highlighter-playground"
],
"dependencies": {
"@types/hast": "^2.0.0",
"hash-obj": "^4.0.0",
"nanoid": "^4.0.0",
"parse-numeric-range": "^1.3.0"
},
"engines": {
"node": "^12.16.0 || >=13.2.0"
"node": ">=16"
},
"peerDependencies": {
"shiki": "*"
}
},
"node_modules/rehype-pretty-code/node_modules/nanoid": {
"version": "4.0.2",
"resolved": "https://registry.npmjs.org/nanoid/-/nanoid-4.0.2.tgz",
"integrity": "sha512-7ZtY5KTCNheRGfEFxnedV5zFiORN1+Y1N6zvPTnHQd8ENUvfaDBeuJDZb2bN/oXwXxu3qkTXDzy57W5vAmDTBw==",
"funding": [
{
"type": "github",
"url": "https://github.com/sponsors/ai"
}
],
"bin": {
"nanoid": "bin/nanoid.js"
},
"engines": {
"node": "^14 || ^16 || >=18"
}
},
"node_modules/rehype-slug": {
"version": "5.1.0",
"license": "MIT",