diff --git a/packages/viewer/package.json b/packages/viewer/package.json
index 989814c..aa3a096 100644
--- a/packages/viewer/package.json
+++ b/packages/viewer/package.json
@@ -14,19 +14,17 @@
"@luogu-discussion-archive/remark-lda-lfm": "workspace:*",
"@prisma/client": "^5.15.0",
"bootstrap": "^5.3.3",
- "highlight.js": "^11.9.0",
+ "highlight.js": "^11.11.1",
"jsdom": "^22.1.0",
"katex": "^0.16.10",
"next": "^14.2.4",
- "prismjs": "^1.29.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-icons": "^4.12.0",
"react-infinite-scroll-component": "^6.1.0",
"react-markdown": "^9.0.1",
- "rehype-highlight": "^6.0.0",
+ "rehype-highlight": "^7.0.2",
"rehype-katex": "^7.0.0",
- "rehype-prism-plus": "^2.0.0",
"remark-math": "^6.0.0",
"rsuite": "^5.68.1",
"socket.io-client": "^4.7.5",
diff --git a/packages/viewer/src/app/r/[rid]/page.tsx b/packages/viewer/src/app/r/[rid]/page.tsx
index e32340c..16571fb 100644
--- a/packages/viewer/src/app/r/[rid]/page.tsx
+++ b/packages/viewer/src/app/r/[rid]/page.tsx
@@ -59,7 +59,7 @@ export default async function Page({ params }: { params: { rid: string } }) {
diff --git a/packages/viewer/src/app/user/[uid]/participated/UserParticipated.tsx b/packages/viewer/src/app/user/[uid]/participated/UserParticipated.tsx
index 2775844..7356990 100644
--- a/packages/viewer/src/app/user/[uid]/participated/UserParticipated.tsx
+++ b/packages/viewer/src/app/user/[uid]/participated/UserParticipated.tsx
@@ -114,7 +114,7 @@ export default function UserParticipated({
@@ -180,9 +180,7 @@ export default function UserParticipated({
diff --git a/packages/viewer/src/components/replies/Content.tsx b/packages/viewer/src/components/replies/Content.tsx
index 7895a77..18111d9 100644
--- a/packages/viewer/src/components/replies/Content.tsx
+++ b/packages/viewer/src/components/replies/Content.tsx
@@ -1,10 +1,10 @@
"use client";
import "katex/dist/katex.min.css";
-import "highlight.js/styles/tokyo-night-dark.css";
-import "prismjs/themes/prism-okaidia.min.css";
+import "highlight.js/styles/base16/tomorrow.min.css";
+
import remarkLuoguFlavor from "@luogu-discussion-archive/remark-lda-lfm";
-import rehypePrism from "rehype-prism-plus";
+import rehypeHighlight from "rehype-highlight";
import { MutableRefObject, useEffect, useRef, useState } from "react";
@@ -82,11 +82,11 @@ function Tooltip({
export default function Content({
content,
- discussionAuthor: postAuthor,
+ postAuthor,
userMentionedState,
}: {
content: string;
- discussionAuthor: number;
+ postAuthor: number;
// eslint-disable-next-line react/require-default-props
userMentionedState?: [number | null, (uid: number | null) => void];
}) {
@@ -171,7 +171,7 @@ export default function Content({
ref={contentRef}
>
)}
diff --git a/packages/viewer/src/components/replies/Reply.tsx b/packages/viewer/src/components/replies/Reply.tsx
index 8fb4d50..7a0d337 100644
--- a/packages/viewer/src/components/replies/Reply.tsx
+++ b/packages/viewer/src/components/replies/Reply.tsx
@@ -69,7 +69,7 @@ export default function Reply({
{children}
=12.0.0}
@@ -1637,10 +1622,6 @@ packages:
resolution: {integrity: sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==}
engines: {node: '>= 6'}
- format@0.2.2:
- resolution: {integrity: sha512-wzsgA6WOq+09wrU1tsJ09udeR/YZRaeArL9e1wPbFg3GG2yDnC2ldKpxs4xunpFF9DgqCqOIra3bc1HWrJ37Ww==}
- engines: {node: '>=0.4.x'}
-
forwarded@0.2.0:
resolution: {integrity: sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==}
engines: {node: '>= 0.6'}
@@ -1795,15 +1776,9 @@ packages:
hast-util-from-parse5@8.0.1:
resolution: {integrity: sha512-Er/Iixbc7IEa7r/XLtuG52zoqn/b3Xng/w6aZQ0xGVxzhw5xUFxcRqdPzP6yFi/4HBYRaifaI5fQ1RH8n0ZeOQ==}
- hast-util-is-element@2.1.3:
- resolution: {integrity: sha512-O1bKah6mhgEq2WtVMk+Ta5K7pPMqsBBlmzysLdcwKVrqzZQ0CHqUPiIVspNhAG1rvxpvJjtGee17XfauZYKqVA==}
-
hast-util-is-element@3.0.0:
resolution: {integrity: sha512-Val9mnv2IWpLbNPqc/pUem+a7Ipj2aHacCwgNfTiK0vJKl0LF+4Ba4+v1oPHFpf3bLYmreq0/l3Gud9S5OH42g==}
- hast-util-parse-selector@3.1.1:
- resolution: {integrity: sha512-jdlwBjEexy1oGz0aJ2f4GKMaVKkA9jwjr4MjAAI22E5fM/TXVZHuS5OpONtdeIkRKqAaryQ2E9xNQxijoThSZA==}
-
hast-util-parse-selector@4.0.0:
resolution: {integrity: sha512-wkQCkSYoOGCRKERFWcxMVMOcYE2K1AaNLU8DXS9arxnLOUEWbOXKXiJUNzEpqZ3JOKpnha3jkFrumEjVliDe7A==}
@@ -1816,30 +1791,17 @@ packages:
hast-util-to-jsx-runtime@2.3.0:
resolution: {integrity: sha512-H/y0+IWPdsLLS738P8tDnrQ8Z+dj12zQQ6WC11TIM21C8WFVoIxcqWXf2H3hiTVZjF1AWqoimGwrTWecWrnmRQ==}
- hast-util-to-string@3.0.1:
- resolution: {integrity: sha512-XelQVTDWvqcl3axRfI0xSeoVKzyIFPwsAGSLIsKdJKQMXDYJS4WYrBNF/8J7RdhIcFI2BOHgAifggsvsxp/3+A==}
-
- hast-util-to-text@3.1.2:
- resolution: {integrity: sha512-tcllLfp23dJJ+ju5wCCZHVpzsQQ43+moJbqVX3jNWPB7z/KFC4FyZD6R7y94cHL6MQ33YtMZL8Z0aIXXI4XFTw==}
-
hast-util-to-text@4.0.2:
resolution: {integrity: sha512-KK6y/BN8lbaq654j7JgBydev7wuNMcID54lkRav1P0CaE1e47P72AWWPiGKXTJU271ooYzcvTAn/Zt0REnvc7A==}
hast-util-whitespace@3.0.0:
resolution: {integrity: sha512-88JUN06ipLwsnv+dVn+OIYOvAuvBMy/Qoi6O7mQHxdPXpjy+Cd6xRkWwux7DKO+4sYILtLBRIKgsdpS2gQc7qw==}
- hastscript@7.2.0:
- resolution: {integrity: sha512-TtYPq24IldU8iKoJQqvZOuhi5CyCQRAbvDOX0x1eW6rsHSxa/1i2CCiptNTotGHJ3VoHRGmqiv6/D3q113ikkw==}
-
hastscript@8.0.0:
resolution: {integrity: sha512-dMOtzCEd3ABUeSIISmrETiKuyydk1w0pa+gE/uormcTpSYuaNJPbX1NU3JLyscSLjwAQM8bWMhhIlnCqnRvDTw==}
- highlight.js@11.8.0:
- resolution: {integrity: sha512-MedQhoqVdr0U6SSnWPzfiadUcDHfN/Wzq25AkXiQv9oiOO/sG0S7XkvpFIqWBl9Yq1UYyYOOVORs5UW2XlPyzg==}
- engines: {node: '>=12.0.0'}
-
- highlight.js@11.9.0:
- resolution: {integrity: sha512-fJ7cW7fQGCYAkgv4CPfwFHrfd/cLS4Hau96JuJ+ZTOWhjnhoeN1ub1tFmALm/+lW5z4WCAuAV9bm05AP0mS6Gw==}
+ highlight.js@11.11.1:
+ resolution: {integrity: sha512-Xwwo44whKBVCYoliBQwaPvtd/2tYFkRQtXDWj1nackaV2JPXx3L0+Jvd8/qCJ2p+ML0/XVkJ2q+Mr+UVdpJK5w==}
engines: {node: '>=12.0.0'}
html-encoding-sniffer@3.0.0:
@@ -1946,10 +1908,6 @@ packages:
resolution: {integrity: sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA==}
engines: {node: '>= 0.4'}
- is-buffer@2.0.5:
- resolution: {integrity: sha512-i2R6zNFDwgEHJyQUtJEk0XFi1i0dPFn/oqjK3/vPCcDeJvW5NQ83V8QbicfF1SupOaB0h8ntgBC2YiE7dfyctQ==}
- engines: {node: '>=4'}
-
is-callable@1.2.7:
resolution: {integrity: sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==}
engines: {node: '>= 0.4'}
@@ -2198,8 +2156,8 @@ packages:
resolution: {integrity: sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==}
hasBin: true
- lowlight@2.9.0:
- resolution: {integrity: sha512-OpcaUTCLmHuVuBcyNckKfH5B0oA4JUavb/M/8n9iAvanJYNQkrVm4pvyX0SUaqkBG4dnWHKt7p50B3ngAG2Rfw==}
+ lowlight@3.3.0:
+ resolution: {integrity: sha512-0JNhgFoPvP6U6lE/UdVsSq99tn6DhjjpAj5MxG49ewd2mOBVtwWYIT8ClyABhq198aXXODMU6Ox8DrGy/CpTZQ==}
lru-cache@10.2.2:
resolution: {integrity: sha512-9hp3Vp2/hFQUiIwKo8XCeFVnrg8Pk3TYNPIR7tJADKi5YfcF7vEaK7avFHTlSy3kOKYaJQaalfEo6YuXdceBOQ==}
@@ -2548,9 +2506,6 @@ packages:
parse-entities@4.0.1:
resolution: {integrity: sha512-SWzvYcSJh4d/SGLIOQfZ/CoNv6BTlI6YEQ7Nj82oDVnRpwe/Z/F1EMx42x3JAOwGBlCjeCH0BRJQbQ/opHL17w==}
- parse-numeric-range@1.3.0:
- resolution: {integrity: sha512-twN+njEipszzlMJd4ONUYgSfZPDxgHhT9Ahed5uTigpQn90FggW4SA/AIPq/6a149fTbE9qBEcSwE3FAEp6wQQ==}
-
parse5@7.1.2:
resolution: {integrity: sha512-Czj1WaSVpaoj0wbhMzLmWD69anp2WH7FXMB9n1Sy8/ZFF9jolSQVMu1Ij5WIyGmcBmhk7EOndpO4mIpihVqAXw==}
@@ -2641,10 +2596,6 @@ packages:
engines: {node: '>=16.13'}
hasBin: true
- prismjs@1.29.0:
- resolution: {integrity: sha512-Kx/1w86q/epKcmte75LNrEoT+lX8pBpavuAbvJWRXar7Hz8jrtF+e3vY751p0R8H9HdArwaCTNDDzHg/ScJK1Q==}
- engines: {node: '>=6'}
-
process-warning@3.0.0:
resolution: {integrity: sha512-mqn0kFRl0EoqhnL0GQ0veqFHyIN1yig9RHh/InzORTUiZHFRAur+aMtRkELNwGs9aNwKS6tg/An4NYBPGwvtzQ==}
@@ -2754,9 +2705,6 @@ packages:
resolution: {integrity: sha512-fmfw4XgoDke3kdI6h4xcUz1dG8uaiv5q9gcEwLS4Pnth2kxT+GZ7YehS1JTMGBQmtV7Y4GFGbs2re2NqhdozUg==}
engines: {node: '>= 0.4'}
- refractor@4.8.1:
- resolution: {integrity: sha512-/fk5sI0iTgFYlmVGYVew90AoYnNMP6pooClx/XKqyeeCQXrL0Kvgn8V0VEht5ccdljbzzF1i3Q213gcntkRExg==}
-
regenerator-runtime@0.14.1:
resolution: {integrity: sha512-dYnhHh0nJoMfnkZs6GmmhFknAGRrLznOu5nc9ML+EJxGvrx6H7teuevqVqCuPcPK//3eDrrjQhehXVx9cnkGdw==}
@@ -2764,18 +2712,12 @@ packages:
resolution: {integrity: sha512-NcDiDkTLuPR+++OCKB0nWafEmhg/Da8aUPLPMQbK+bxKKCm1/S5he+AqYa4PlMCVBalb4/yxIRub6qkEx5yJbw==}
engines: {node: '>= 0.4'}
- rehype-highlight@6.0.0:
- resolution: {integrity: sha512-q7UtlFicLhetp7K48ZgZiJgchYscMma7XjzX7t23bqEJF8m6/s+viXQEe4oHjrATTIZpX7RG8CKD7BlNZoh9gw==}
+ rehype-highlight@7.0.2:
+ resolution: {integrity: sha512-k158pK7wdC2qL3M5NcZROZ2tR/l7zOzjxXd5VGdcfIyoijjQqpHd3JKtYSBDpDZ38UI2WJWuFAtkMDxmx5kstA==}
rehype-katex@7.0.0:
resolution: {integrity: sha512-h8FPkGE00r2XKU+/acgqwWUlyzve1IiOKwsEkg4pDL3k48PiE0Pt+/uLtVHDVkN1yA4iurZN6UES8ivHVEQV6Q==}
- rehype-parse@9.0.1:
- resolution: {integrity: sha512-ksCzCD0Fgfh7trPDxr2rSylbwq9iYDkSn8TCDmEJ49ljEUBxDVCzCHv7QNzZOfODanX4+bWQ4WZqLCRWYLfhag==}
-
- rehype-prism-plus@2.0.0:
- resolution: {integrity: sha512-FeM/9V2N7EvDZVdR2dqhAzlw5YI49m9Tgn7ZrYJeYHIahM6gcXpH0K1y2gNnKanZCydOMluJvX2cB9z3lhY8XQ==}
-
rehype-sanitize@6.0.0:
resolution: {integrity: sha512-CsnhKNsyI8Tub6L4sm5ZFsme4puGfc6pYylvXo1AeqaGbjOYyzNv3qZPwvs0oMJ39eryyeOdmxwUIo94IpEhqg==}
@@ -3274,24 +3216,12 @@ packages:
undici-types@6.20.0:
resolution: {integrity: sha512-Ny6QZ2Nju20vw1SRHe3d9jVu6gJ+4e3+MMpqu7pqE5HT6WsTSlce++GQmK5UXS8mzV8DSYHrQH+Xrf2jVcuKNg==}
- unified@10.1.2:
- resolution: {integrity: sha512-pUSWAi/RAnVy1Pif2kAoeWNBa3JVrx0MId2LASj8G+7AiHWoKZNTomq6LG326T68U7/e263X6fTdcXIy7XnF7Q==}
-
unified@11.0.5:
resolution: {integrity: sha512-xKvGhPWw3k84Qjh8bI3ZeJjqnyadK+GEFtazSfZv/rKeTkTjOJho6mFqh2SM96iIcZokxiOpg78GazTSg8+KHA==}
- unist-util-filter@5.0.1:
- resolution: {integrity: sha512-pHx7D4Zt6+TsfwylH9+lYhBhzyhEnCXs/lbq/Hstxno5z4gVdyc2WEW0asfjGKPyG4pEKrnBv5hdkO6+aRnQJw==}
-
- unist-util-find-after@4.0.1:
- resolution: {integrity: sha512-QO/PuPMm2ERxC6vFXEPtmAutOopy5PknD+Oq64gGwxKtk4xwo9Z97t9Av1obPmGU0IyTa6EKYUfTrK2QJS3Ozw==}
-
unist-util-find-after@5.0.0:
resolution: {integrity: sha512-amQa0Ep2m6hE2g72AugUItjbuM8X8cGQnFoHk0pGfrFeT9GZhzN5SW8nRsiGKK7Aif4CrACPENkA6P/Lw6fHGQ==}
- unist-util-is@5.2.1:
- resolution: {integrity: sha512-u9njyyfEh43npf1M+yGKDGVPbY/JWEemg5nH05ncKPfi+kBbKBJoTdsogMu33uhytuLlv9y0O7GH7fEdwLdLQw==}
-
unist-util-is@6.0.0:
resolution: {integrity: sha512-2qCTHimwdxLfz+YzdGfkqNlH0tLi9xjTnHddPmJwtIG9MGsdbutfTc4P+haPD7l7Cjxf/WZj+we5qfVPvvxfYw==}
@@ -3301,21 +3231,12 @@ packages:
unist-util-remove-position@5.0.0:
resolution: {integrity: sha512-Hp5Kh3wLxv0PHj9m2yZhhLt58KzPtEYKQQ4yxfYFEO7EvHwzyDYnduhHnY1mDxoqr7VUwVuHXk9RXKIiYS1N8Q==}
- unist-util-stringify-position@3.0.3:
- resolution: {integrity: sha512-k5GzIBZ/QatR8N5X2y+drfpWG8IDBzdnVj6OInRNWm1oXrzydiaAT2OQiA8DPRRZyAKb9b6I2a6PxYklZD0gKg==}
-
unist-util-stringify-position@4.0.0:
resolution: {integrity: sha512-0ASV06AAoKCDkS2+xw5RXJywruurpbC4JZSm7nr7MOt1ojAzvyyaO+UxZf18j8FCF6kmzCZKcAgN/yu2gm2XgQ==}
- unist-util-visit-parents@5.1.3:
- resolution: {integrity: sha512-x6+y8g7wWMyQhL1iZfhIPhDAs7Xwbn9nRosDXl7qoPTSCy0yNxnKc+hWokFifWQIDGi154rdUqKvbCa4+1kLhg==}
-
unist-util-visit-parents@6.0.1:
resolution: {integrity: sha512-L/PqWzfTP9lzzEa6CKs0k2nARxTdZduw3zyh8d2NVBnsyvHjSX4TWse388YrrQKbvI8w20fGjGlhgT96WwKykw==}
- unist-util-visit@4.1.2:
- resolution: {integrity: sha512-MSd8OUGISqHdVvfY9TPhyK2VdUrPgxkUtWSuMHF6XAAFuL4LokseigBnZtPnJMu+FbynTkFNnFlyjxpVKujMRg==}
-
unist-util-visit@5.0.0:
resolution: {integrity: sha512-MR04uvD+07cwl/yhVuVWAtw+3GOR/knlL55Nd/wAdblk27GCVt3lqpTivy/tkJcZoNPzTwS1Y+KMojlLDhoTzg==}
@@ -3354,15 +3275,9 @@ packages:
vfile-location@5.0.2:
resolution: {integrity: sha512-NXPYyxyBSH7zB5U6+3uDdd6Nybz6o6/od9rk8bp9H8GR3L+cm/fC0uUTbqBmUTnMCUDslAGBOIKNfvvb+gGlDg==}
- vfile-message@3.1.4:
- resolution: {integrity: sha512-fa0Z6P8HUrQN4BZaX05SIVXic+7kE3b05PWAtPuYP9QLHsLKYR7/AlLW3NtOrpXRLeawpDLMsVkmk5DG0NXgWw==}
-
vfile-message@4.0.2:
resolution: {integrity: sha512-jRDZ1IMLttGj41KcZvlrYAaI3CfqpLpfpf+Mfig13viT6NKvRzWZ+lXz0Y5D60w6uJIBAOGq9mSHf0gktF0duw==}
- vfile@5.3.7:
- resolution: {integrity: sha512-r7qlzkgErKjobAmyNIkkSpizsFPYiUPuJb5pNW1RB4JcYVZhs4lIbVqk8XPk033CV/1z8ss5pkax8SuhGpcG8g==}
-
vfile@6.0.3:
resolution: {integrity: sha512-KzIbH/9tXat2u30jf+smMwFCsno4wHVdNmzFyL+T/L3UGqqk6JKfVqOFOZEpZSHADH1k40ab6NUIXZq422ov3Q==}
@@ -3814,10 +3729,6 @@ snapshots:
'@types/estree@1.0.5': {}
- '@types/hast@2.3.10':
- dependencies:
- '@types/unist': 2.0.11
-
'@types/hast@3.0.4':
dependencies:
'@types/unist': 3.0.3
@@ -3854,8 +3765,6 @@ snapshots:
dependencies:
undici-types: 6.20.0
- '@types/prismjs@1.26.5': {}
-
'@types/prop-types@15.7.12': {}
'@types/react-dom@18.3.0':
@@ -5222,10 +5131,6 @@ snapshots:
dependencies:
reusify: 1.0.4
- fault@2.0.1:
- dependencies:
- format: 0.2.2
-
file-entry-cache@6.0.1:
dependencies:
flat-cache: 3.2.0
@@ -5268,8 +5173,6 @@ snapshots:
combined-stream: 1.0.8
mime-types: 2.1.35
- format@0.2.2: {}
-
forwarded@0.2.0: {}
fs-constants@1.0.0:
@@ -5451,19 +5354,10 @@ snapshots:
vfile-location: 5.0.2
web-namespaces: 2.0.1
- hast-util-is-element@2.1.3:
- dependencies:
- '@types/hast': 2.3.10
- '@types/unist': 2.0.11
-
hast-util-is-element@3.0.0:
dependencies:
'@types/hast': 3.0.4
- hast-util-parse-selector@3.1.1:
- dependencies:
- '@types/hast': 2.3.10
-
hast-util-parse-selector@4.0.0:
dependencies:
'@types/hast': 3.0.4
@@ -5508,17 +5402,6 @@ snapshots:
transitivePeerDependencies:
- supports-color
- hast-util-to-string@3.0.1:
- dependencies:
- '@types/hast': 3.0.4
-
- hast-util-to-text@3.1.2:
- dependencies:
- '@types/hast': 2.3.10
- '@types/unist': 2.0.11
- hast-util-is-element: 2.1.3
- unist-util-find-after: 4.0.1
-
hast-util-to-text@4.0.2:
dependencies:
'@types/hast': 3.0.4
@@ -5530,14 +5413,6 @@ snapshots:
dependencies:
'@types/hast': 3.0.4
- hastscript@7.2.0:
- dependencies:
- '@types/hast': 2.3.10
- comma-separated-tokens: 2.0.3
- hast-util-parse-selector: 3.1.1
- property-information: 6.5.0
- space-separated-tokens: 2.0.2
-
hastscript@8.0.0:
dependencies:
'@types/hast': 3.0.4
@@ -5546,9 +5421,7 @@ snapshots:
property-information: 6.5.0
space-separated-tokens: 2.0.2
- highlight.js@11.8.0: {}
-
- highlight.js@11.9.0: {}
+ highlight.js@11.11.1: {}
html-encoding-sniffer@3.0.0:
dependencies:
@@ -5650,8 +5523,6 @@ snapshots:
call-bind: 1.0.7
has-tostringtag: 1.0.2
- is-buffer@2.0.5: {}
-
is-callable@1.2.7: {}
is-core-module@2.13.1:
@@ -5914,11 +5785,11 @@ snapshots:
dependencies:
js-tokens: 4.0.0
- lowlight@2.9.0:
+ lowlight@3.3.0:
dependencies:
- '@types/hast': 2.3.10
- fault: 2.0.1
- highlight.js: 11.8.0
+ '@types/hast': 3.0.4
+ devlop: 1.1.0
+ highlight.js: 11.11.1
lru-cache@10.2.2: {}
@@ -6467,8 +6338,6 @@ snapshots:
is-decimal: 2.0.1
is-hexadecimal: 2.0.1
- parse-numeric-range@1.3.0: {}
-
parse5@7.1.2:
dependencies:
entities: 4.5.0
@@ -6569,8 +6438,6 @@ snapshots:
dependencies:
'@prisma/engines': 5.15.0
- prismjs@1.29.0: {}
-
process-warning@3.0.0: {}
process@0.11.10: {}
@@ -6701,13 +6568,6 @@ snapshots:
globalthis: 1.0.4
which-builtin-type: 1.1.3
- refractor@4.8.1:
- dependencies:
- '@types/hast': 2.3.10
- '@types/prismjs': 1.26.5
- hastscript: 7.2.0
- parse-entities: 4.0.1
-
regenerator-runtime@0.14.1: {}
regexp.prototype.flags@1.5.2:
@@ -6717,13 +6577,13 @@ snapshots:
es-errors: 1.3.0
set-function-name: 2.0.2
- rehype-highlight@6.0.0:
+ rehype-highlight@7.0.2:
dependencies:
- '@types/hast': 2.3.10
- hast-util-to-text: 3.1.2
- lowlight: 2.9.0
- unified: 10.1.2
- unist-util-visit: 4.1.2
+ '@types/hast': 3.0.4
+ hast-util-to-text: 4.0.2
+ lowlight: 3.3.0
+ unist-util-visit: 5.0.0
+ vfile: 6.0.3
rehype-katex@7.0.0:
dependencies:
@@ -6735,21 +6595,6 @@ snapshots:
unist-util-visit-parents: 6.0.1
vfile: 6.0.3
- rehype-parse@9.0.1:
- dependencies:
- '@types/hast': 3.0.4
- hast-util-from-html: 2.0.1
- unified: 11.0.5
-
- rehype-prism-plus@2.0.0:
- dependencies:
- hast-util-to-string: 3.0.1
- parse-numeric-range: 1.3.0
- refractor: 4.8.1
- rehype-parse: 9.0.1
- unist-util-filter: 5.0.1
- unist-util-visit: 5.0.0
-
rehype-sanitize@6.0.0:
dependencies:
'@types/hast': 3.0.4
@@ -7376,16 +7221,6 @@ snapshots:
undici-types@6.20.0: {}
- unified@10.1.2:
- dependencies:
- '@types/unist': 2.0.11
- bail: 2.0.2
- extend: 3.0.2
- is-buffer: 2.0.5
- is-plain-obj: 4.1.0
- trough: 2.2.0
- vfile: 5.3.7
-
unified@11.0.5:
dependencies:
'@types/unist': 3.0.3
@@ -7396,26 +7231,11 @@ snapshots:
trough: 2.2.0
vfile: 6.0.3
- unist-util-filter@5.0.1:
- dependencies:
- '@types/unist': 3.0.3
- unist-util-is: 6.0.0
- unist-util-visit-parents: 6.0.1
-
- unist-util-find-after@4.0.1:
- dependencies:
- '@types/unist': 2.0.11
- unist-util-is: 5.2.1
-
unist-util-find-after@5.0.0:
dependencies:
'@types/unist': 3.0.3
unist-util-is: 6.0.0
- unist-util-is@5.2.1:
- dependencies:
- '@types/unist': 2.0.11
-
unist-util-is@6.0.0:
dependencies:
'@types/unist': 3.0.3
@@ -7429,30 +7249,15 @@ snapshots:
'@types/unist': 3.0.3
unist-util-visit: 5.0.0
- unist-util-stringify-position@3.0.3:
- dependencies:
- '@types/unist': 2.0.11
-
unist-util-stringify-position@4.0.0:
dependencies:
'@types/unist': 3.0.3
- unist-util-visit-parents@5.1.3:
- dependencies:
- '@types/unist': 2.0.11
- unist-util-is: 5.2.1
-
unist-util-visit-parents@6.0.1:
dependencies:
'@types/unist': 3.0.3
unist-util-is: 6.0.0
- unist-util-visit@4.1.2:
- dependencies:
- '@types/unist': 2.0.11
- unist-util-is: 5.2.1
- unist-util-visit-parents: 5.1.3
-
unist-util-visit@5.0.0:
dependencies:
'@types/unist': 3.0.3
@@ -7495,23 +7300,11 @@ snapshots:
'@types/unist': 3.0.3
vfile: 6.0.3
- vfile-message@3.1.4:
- dependencies:
- '@types/unist': 2.0.11
- unist-util-stringify-position: 3.0.3
-
vfile-message@4.0.2:
dependencies:
'@types/unist': 3.0.3
unist-util-stringify-position: 4.0.0
- vfile@5.3.7:
- dependencies:
- '@types/unist': 2.0.11
- is-buffer: 2.0.5
- unist-util-stringify-position: 3.0.3
- vfile-message: 3.1.4
-
vfile@6.0.3:
dependencies:
'@types/unist': 3.0.3