Papermark is the open-source DocSend alternative and secure data rooms with built-in analytics and custom domains.
refactor: remove react-syntax-highlighter for shiki
Marc Seitzd9041c60841e
diff --git a/components/webhooks/webhook-events.tsx b/components/webhooks/webhook-events.tsxindex 4761fe8a..10f66333 100644--- a/components/webhooks/webhook-events.tsx+++ b/components/webhooks/webhook-events.tsx@@ -1,14 +1,10 @@"use client";-import { PropsWithChildren, useState } from "react";+import { PropsWithChildren, useState, useEffect } from "react";import { CircleCheck, CircleXIcon, CopyIcon } from "lucide-react";import { useTheme } from "next-themes";-import { Prism as SyntaxHighlighter } from "react-syntax-highlighter";-import {- materialDark,- materialLight,-} from "react-syntax-highlighter/dist/esm/styles/prism";+import { createHighlighter, type Highlighter } from "shiki";import { useCopyToClipboard } from "@/lib/utils/use-copy-to-clipboard";import { useMediaQuery } from "@/lib/utils/use-media-query";@@ -28,21 +24,88 @@ export type EventListProps = PropsWithChildren<{events: any[];}>;+// Shiki Code Highlighter Component+const CodeHighlighter = ({+ code,+ language = "json",+ isDark = false+}: {+ code: string;+ language?: string;+ isDark?: boolean;+}) => {+ const [highlighter, setHighlighter] = useState<Highlighter | null>(null);+ const [highlightedCode, setHighlightedCode] = useState<string>("");++ useEffect(() => {+ const initHighlighter = async () => {+ const shiki = await createHighlighter({+ themes: ['material-theme-lighter', 'material-theme-darker'],+ langs: ['json']+ });+ setHighlighter(shiki);+ };++ initHighlighter();+ }, []);++ useEffect(() => {+ if (highlighter && code) {+ const theme = isDark ? 'material-theme-darker' : 'material-theme-lighter';+ const html = highlighter.codeToHtml(code, {+ lang: language,+ theme: theme,+ transformers: [+ {+ pre(node) {+ // Add custom styling to the pre element+ node.properties.style = [+ node.properties.style,+ 'margin: 0',+ 'padding: 0.5rem',+ 'font-size: 0.875rem',+ 'border-radius: 0.375rem',+ 'overflow-x: auto'+ ].filter(Boolean).join('; ');+ },+ code(node) {+ // Ensure proper styling for the code element+ node.properties.style = [+ node.properties.style,+ 'display: block',+ 'line-height: 1.5'+ ].filter(Boolean).join('; ');+ }+ }+ ]+ });+ setHighlightedCode(html);+ }+ }, [highlighter, code, language, isDark]);++ if (!highlighter || !highlightedCode) {+ return (+ <pre className="rounded-md bg-gray-100 p-2 text-sm dark:bg-gray-800">+ <code>{code}</code>+ </pre>+ );+ }++ return (+ <div+ className="overflow-x-auto rounded-md"+ dangerouslySetInnerHTML={{ __html: highlightedCode }}+ />+ );+};+const WebhookEvent = ({ event }: { event: any }) => {const { copyToClipboard, isCopied } = useCopyToClipboard({ timeout: 2000 });const isSuccess = event.http_status >= 200 && event.http_status < 300;const { isMobile } = useMediaQuery();const [isOpen, setIsOpen] = useState(false);const { theme, systemTheme } = useTheme();- const isLight =- theme === "light" || (theme === "system" && systemTheme === "light");-- // Custom style overrides for react-syntax-highlighter- const customStyle = {- margin: 0,- padding: "0.5rem",- fontSize: "0.875rem",- };+ const isDark = theme === "dark" || (theme === "system" && systemTheme === "dark");return (<>@@ -112,29 +175,21 @@ const WebhookEvent = ({ event }: { event: any }) => {<p className="text-sm text-gray-700">{event.http_status}</p></div><div className="overflow-y-scroll">- <SyntaxHighlighter+ <CodeHighlighter+ code={JSON.stringify(event.response_body, null, 2)}language="json"- showLineNumbers- customStyle={customStyle}- style={isLight ? materialLight : materialDark}- lineNumberStyle={{ textAlign: "right", minWidth: "3.25em" }}- >- {JSON.stringify(event.response_body, null, 2)}- </SyntaxHighlighter>+ isDark={isDark}+ /></div></div><div className="grid gap-4 border-t border-gray-200 bg-transparent py-4"><h4 className="font-semibold">Request</h4><div className="overflow-y-scroll">- <SyntaxHighlighter+ <CodeHighlighter+ code={JSON.stringify(event.request_body, null, 2)}language="json"- showLineNumbers- style={isLight ? materialLight : materialDark}- customStyle={customStyle}- lineNumberStyle={{ textAlign: "right", minWidth: "3.25em" }}- >- {JSON.stringify(event.request_body, null, 2)}- </SyntaxHighlighter>+ isDark={isDark}+ /></div></div></ScrollArea>diff --git a/next.config.mjs b/next.config.mjsindex 7a3cc326..89b92aa0 100644--- a/next.config.mjs+++ b/next.config.mjs@@ -6,7 +6,6 @@ const nextConfig = {minimumCacheTTL: 2592000, // 30 daysremotePatterns: prepareRemotePatterns(),},- transpilePackages: ["react-syntax-highlighter"],skipTrailingSlashRedirect: true,assetPrefix:process.env.NODE_ENV === "production" &&diff --git a/package-lock.json b/package-lock.jsonindex b35dcf01..4e7188de 100644--- a/package-lock.json+++ b/package-lock.json@@ -108,11 +108,11 @@"react-notion-x": "^7.3.0","react-pdf": "^8.0.2","react-phone-number-input": "^3.4.12",- "react-syntax-highlighter": "^15.6.1","react-textarea-autosize": "^8.5.9","react-zoom-pan-pinch": "^3.7.0","resend": "^4.6.0","sanitize-html": "^2.17.0",+ "shiki": "^3.8.1","sonner": "^2.0.6","stripe": "^16.12.0","swr": "^2.3.4",@@ -143,7 +143,6 @@"@types/node": "^22.13.5","@types/react": "^18","@types/react-dom": "^18",- "@types/react-syntax-highlighter": "^15.5.13","@types/sanitize-html": "^2.13.0","@types/ua-parser-js": "^0.7.39","prettier": "^3.6.2",@@ -5030,6 +5029,73 @@"url": "https://ko-fi.com/killymxi"}},+ "node_modules/@shikijs/core": {+ "version": "3.8.1",+ "resolved": "https://registry.npmjs.org/@shikijs/core/-/core-3.8.1.tgz",+ "integrity": "sha512-uTSXzUBQ/IgFcUa6gmGShCHr4tMdR3pxUiiWKDm8pd42UKJdYhkAYsAmHX5mTwybQ5VyGDgTjW4qKSsRvGSang==",+ "license": "MIT",+ "dependencies": {+ "@shikijs/types": "3.8.1",+ "@shikijs/vscode-textmate": "^10.0.2",+ "@types/hast": "^3.0.4",+ "hast-util-to-html": "^9.0.5"+ }+ },+ "node_modules/@shikijs/engine-javascript": {+ "version": "3.8.1",+ "resolved": "https://registry.npmjs.org/@shikijs/engine-javascript/-/engine-javascript-3.8.1.tgz",+ "integrity": "sha512-rZRp3BM1llrHkuBPAdYAzjlF7OqlM0rm/7EWASeCcY7cRYZIrOnGIHE9qsLz5TCjGefxBFnwgIECzBs2vmOyKA==",+ "license": "MIT",+ "dependencies": {+ "@shikijs/types": "3.8.1",+ "@shikijs/vscode-textmate": "^10.0.2",+ "oniguruma-to-es": "^4.3.3"+ }+ },+ "node_modules/@shikijs/engine-oniguruma": {+ "version": "3.8.1",+ "resolved": "https://registry.npmjs.org/@shikijs/engine-oniguruma/-/engine-oniguruma-3.8.1.tgz",+ "integrity": "sha512-KGQJZHlNY7c656qPFEQpIoqOuC4LrxjyNndRdzk5WKB/Ie87+NJCF1xo9KkOUxwxylk7rT6nhlZyTGTC4fCe1g==",+ "license": "MIT",+ "dependencies": {+ "@shikijs/types": "3.8.1",+ "@shikijs/vscode-textmate": "^10.0.2"+ }+ },+ "node_modules/@shikijs/langs": {+ "version": "3.8.1",+ "resolved": "https://registry.npmjs.org/@shikijs/langs/-/langs-3.8.1.tgz",+ "integrity": "sha512-TjOFg2Wp1w07oKnXjs0AUMb4kJvujML+fJ1C5cmEj45lhjbUXtziT1x2bPQb9Db6kmPhkG5NI2tgYW1/DzhUuQ==",+ "license": "MIT",+ "dependencies": {+ "@shikijs/types": "3.8.1"+ }+ },+ "node_modules/@shikijs/themes": {+ "version": "3.8.1",+ "resolved": "https://registry.npmjs.org/@shikijs/themes/-/themes-3.8.1.tgz",+ "integrity": "sha512-Vu3t3BBLifc0GB0UPg2Pox1naTemrrvyZv2lkiSw3QayVV60me1ujFQwPZGgUTmwXl1yhCPW8Lieesm0CYruLQ==",+ "license": "MIT",+ "dependencies": {+ "@shikijs/types": "3.8.1"+ }+ },+ "node_modules/@shikijs/types": {+ "version": "3.8.1",+ "resolved": "https://registry.npmjs.org/@shikijs/types/-/types-3.8.1.tgz",+ "integrity": "sha512-5C39Q8/8r1I26suLh+5TPk1DTrbY/kn3IdWA5HdizR0FhlhD05zx5nKCqhzSfDHH3p4S0ZefxWd77DLV+8FhGg==",+ "license": "MIT",+ "dependencies": {+ "@shikijs/vscode-textmate": "^10.0.2",+ "@types/hast": "^3.0.4"+ }+ },+ "node_modules/@shikijs/vscode-textmate": {+ "version": "10.0.2",+ "resolved": "https://registry.npmjs.org/@shikijs/vscode-textmate/-/vscode-textmate-10.0.2.tgz",+ "integrity": "sha512-83yeghZ2xxin3Nj8z1NMd/NCuca+gsYXswywDy5bHvwlWL8tpTQmzGeUuHd9FC3E/SBEMvzJRwWEOz5gGes9Qg==",+ "license": "MIT"+ },"node_modules/@shopify/semaphore": {"version": "3.1.0","resolved": "https://registry.npmjs.org/@shopify/semaphore/-/semaphore-3.1.0.tgz",@@ -6218,6 +6284,15 @@"@types/node": "*"}},+ "node_modules/@types/hast": {+ "version": "3.0.4",+ "resolved": "https://registry.npmjs.org/@types/hast/-/hast-3.0.4.tgz",+ "integrity": "sha512-WPs+bbQw5aCj+x6laNGWLH3wviHtoCv/P3+otBhbOhJgG8qtpdAMlTCxLtsTWA7LH1Oh/bFCHsBn0TPS5m30EQ==",+ "license": "MIT",+ "dependencies": {+ "@types/unist": "*"+ }+ },"node_modules/@types/js-cookie": {"version": "3.0.6","resolved": "https://registry.npmjs.org/@types/js-cookie/-/js-cookie-3.0.6.tgz",@@ -6240,6 +6315,15 @@"@types/node": "*"}},+ "node_modules/@types/mdast": {+ "version": "4.0.4",+ "resolved": "https://registry.npmjs.org/@types/mdast/-/mdast-4.0.4.tgz",+ "integrity": "sha512-kGaNbPh1k7AFzgpud/gMdvIm5xuECykRR+JnWKQno9TAXVa6WIVCGTPvYGekIDL4uwCZQSYbUxNBSb1aUo79oA==",+ "license": "MIT",+ "dependencies": {+ "@types/unist": "*"+ }+ },"node_modules/@types/mime-types": {"version": "3.0.1","resolved": "https://registry.npmjs.org/@types/mime-types/-/mime-types-3.0.1.tgz",@@ -6304,15 +6388,6 @@"@types/react": "^18.0.0"}},- "node_modules/@types/react-syntax-highlighter": {- "version": "15.5.13",- "resolved": "https://registry.npmjs.org/@types/react-syntax-highlighter/-/react-syntax-highlighter-15.5.13.tgz",- "integrity": "sha512-uLGJ87j6Sz8UaBAooU0T6lWJ0dBmjZgN1PZTrj05TNql2/XpC6+4HhMT5syIdFUUt+FASfCeLLv4kBygNU+8qA==",- "dev": true,- "dependencies": {- "@types/react": "*"- }- },"node_modules/@types/sanitize-html": {"version": "2.16.0","resolved": "https://registry.npmjs.org/@types/sanitize-html/-/sanitize-html-2.16.0.tgz",@@ -6334,6 +6409,12 @@"integrity": "sha512-P/oDfpofrdtF5xw433SPALpdSchtJmY7nsJItf8h3KXqOslkbySh8zq4dSWXH2oTjRvJ5PczVEoCZPow6GicLg==","dev": true},+ "node_modules/@types/unist": {+ "version": "3.0.3",+ "resolved": "https://registry.npmjs.org/@types/unist/-/unist-3.0.3.tgz",+ "integrity": "sha512-ko/gIFJRv177XgZsZcBwnqJN5x/Gien8qNOn0D5bQU/zAzVf9Zt3BlcUiLqhV9y4ARk0GbT3tnUiPNgnTXzc/Q==",+ "license": "MIT"+ },"node_modules/@types/uuid": {"version": "9.0.8","resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-9.0.8.tgz",@@ -7702,6 +7783,16 @@"node": ">=6"}},+ "node_modules/ccount": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/ccount/-/ccount-2.0.1.tgz",+ "integrity": "sha512-eyrF0jiFpY+3drT6383f1qhkbGsLSifNAjA61IUjZjmLCWjItY6LB9ft9YhoDgwfmclB2zhu51Lc7+95b8NRAg==",+ "license": "MIT",+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/wooorm"+ }+ },"node_modules/chainsaw": {"version": "0.1.0","resolved": "https://registry.npmjs.org/chainsaw/-/chainsaw-0.1.0.tgz",@@ -7724,19 +7815,21 @@"url": "https://github.com/chalk/chalk?sponsor=1"}},- "node_modules/character-entities": {- "version": "1.2.4",- "resolved": "https://registry.npmjs.org/character-entities/-/character-entities-1.2.4.tgz",- "integrity": "sha512-iBMyeEHxfVnIakwOuDXpVkc54HijNgCyQB2w0VfGQThle6NXn50zU6V/u+LDhxHcDUPojn6Kpga3PTAD8W1bQw==",+ "node_modules/character-entities-html4": {+ "version": "2.1.0",+ "resolved": "https://registry.npmjs.org/character-entities-html4/-/character-entities-html4-2.1.0.tgz",+ "integrity": "sha512-1v7fgQRj6hnSwFpq1Eu0ynr/CDEw0rXo2B61qXrLNdHZmPKgb7fqS1a2JwF0rISo9q77jDI8VMEHoApn8qDoZA==",+ "license": "MIT","funding": {"type": "github","url": "https://github.com/sponsors/wooorm"}},- "node_modules/character-reference-invalid": {- "version": "1.1.4",- "resolved": "https://registry.npmjs.org/character-reference-invalid/-/character-reference-invalid-1.1.4.tgz",- "integrity": "sha512-mKKUkUbhPpQlCOfIuZkvSEgktjPFIsZKRRbC6KWVEMvlzblj3i3asQv5ODsrwt0N3pHAEvjP8KTQPHkp0+6jOg==",+ "node_modules/character-entities-legacy": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/character-entities-legacy/-/character-entities-legacy-3.0.0.tgz",+ "integrity": "sha512-RpPp0asT/6ufRm//AJVwpViZbGM/MkjQFxJccQRHmISF/22NBtsHqAWmL+/pmkPWoIUJdWyeVleTl1wydHATVQ==",+ "license": "MIT","funding": {"type": "github","url": "https://github.com/sponsors/wooorm"@@ -8034,6 +8127,16 @@"node": ">= 0.8"}},+ "node_modules/comma-separated-tokens": {+ "version": "2.0.3",+ "resolved": "https://registry.npmjs.org/comma-separated-tokens/-/comma-separated-tokens-2.0.3.tgz",+ "integrity": "sha512-Fu4hJdvzeylCfQPp9SGWidpzrMs7tTrlu6Vb8XGaRGck8QSNZJJp538Wrb60Lax4fPwR64ViY468OIUTbRlGZg==",+ "license": "MIT",+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/wooorm"+ }+ },"node_modules/commander": {"version": "13.1.0","resolved": "https://registry.npmjs.org/commander/-/commander-13.1.0.tgz",@@ -8542,6 +8645,19 @@"resolved": "https://registry.npmjs.org/detect-node-es/-/detect-node-es-1.1.0.tgz","integrity": "sha512-ypdmJU/TbBby2Dxibuv7ZLW3Bs1QEmM7nHjEANfohJLvE0XVujisn1qPJcZxg+qDucsr+bP6fLD1rPS3AhJ7EQ=="},+ "node_modules/devlop": {+ "version": "1.1.0",+ "resolved": "https://registry.npmjs.org/devlop/-/devlop-1.1.0.tgz",+ "integrity": "sha512-RWmIqhcFf1lRYBvNmr7qTNuyCt/7/ns2jbpp1+PalgE/rDQcBT0fioSMUpJ93irlUhC5hrg4cYqe6U+0ImW0rA==",+ "license": "MIT",+ "dependencies": {+ "dequal": "^2.0.0"+ },+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/wooorm"+ }+ },"node_modules/didyoumean": {"version": "1.2.2","resolved": "https://registry.npmjs.org/didyoumean/-/didyoumean-1.2.2.tgz",@@ -9741,18 +9857,6 @@"reusify": "^1.0.4"}},- "node_modules/fault": {- "version": "1.0.4",- "resolved": "https://registry.npmjs.org/fault/-/fault-1.0.4.tgz",- "integrity": "sha512-CJ0HCB5tL5fYTEA7ToAq5+kTwd++Borf1/bifxd9iT70QcXr4MRrO3Llf8Ifs70q+SJcGHFtnIE/Nw6giCtECA==",- "dependencies": {- "format": "^0.2.0"- },- "funding": {- "type": "github",- "url": "https://github.com/sponsors/wooorm"- }- },"node_modules/fflate": {"version": "0.4.8","resolved": "https://registry.npmjs.org/fflate/-/fflate-0.4.8.tgz",@@ -9912,14 +10016,6 @@"node": ">= 0.6"}},- "node_modules/format": {- "version": "0.2.2",- "resolved": "https://registry.npmjs.org/format/-/format-0.2.2.tgz",- "integrity": "sha512-wzsgA6WOq+09wrU1tsJ09udeR/YZRaeArL9e1wPbFg3GG2yDnC2ldKpxs4xunpFF9DgqCqOIra3bc1HWrJ37Ww==",- "engines": {- "node": ">=0.4.x"- }- },"node_modules/formdata-node": {"version": "4.4.1","resolved": "https://registry.npmjs.org/formdata-node/-/formdata-node-4.4.1.tgz",@@ -10455,87 +10551,42 @@"node": ">= 0.4"}},- "node_modules/hast-util-parse-selector": {- "version": "2.2.5",- "resolved": "https://registry.npmjs.org/hast-util-parse-selector/-/hast-util-parse-selector-2.2.5.tgz",- "integrity": "sha512-7j6mrk/qqkSehsM92wQjdIgWM2/BW61u/53G6xmC8i1OmEdKLHbk419QKQUjz6LglWsfqoiHmyMRkP1BGjecNQ==",- "funding": {- "type": "opencollective",- "url": "https://opencollective.com/unified"- }- },- "node_modules/hastscript": {- "version": "6.0.0",- "resolved": "https://registry.npmjs.org/hastscript/-/hastscript-6.0.0.tgz",- "integrity": "sha512-nDM6bvd7lIqDUiYEiu5Sl/+6ReP0BMk/2f4U/Rooccxkj0P5nm+acM5PrGJ/t5I8qPGiqZSE6hVAwZEdZIvP4w==",+ "node_modules/hast-util-to-html": {+ "version": "9.0.5",+ "resolved": "https://registry.npmjs.org/hast-util-to-html/-/hast-util-to-html-9.0.5.tgz",+ "integrity": "sha512-OguPdidb+fbHQSU4Q4ZiLKnzWo8Wwsf5bZfbvu7//a9oTYoqD/fWpe96NuHkoS9h0ccGOTe0C4NGXdtS0iObOw==",+ "license": "MIT","dependencies": {- "@types/hast": "^2.0.0",- "comma-separated-tokens": "^1.0.0",- "hast-util-parse-selector": "^2.0.0",- "property-information": "^5.0.0",- "space-separated-tokens": "^1.0.0"+ "@types/hast": "^3.0.0",+ "@types/unist": "^3.0.0",+ "ccount": "^2.0.0",+ "comma-separated-tokens": "^2.0.0",+ "hast-util-whitespace": "^3.0.0",+ "html-void-elements": "^3.0.0",+ "mdast-util-to-hast": "^13.0.0",+ "property-information": "^7.0.0",+ "space-separated-tokens": "^2.0.0",+ "stringify-entities": "^4.0.0",+ "zwitch": "^2.0.4"},"funding": {"type": "opencollective","url": "https://opencollective.com/unified"}},- "node_modules/hastscript/node_modules/@types/hast": {- "version": "2.3.10",- "resolved": "https://registry.npmjs.org/@types/hast/-/hast-2.3.10.tgz",- "integrity": "sha512-McWspRw8xx8J9HurkVBfYj0xKoE25tOFlHGdx4MJ5xORQrMGZNqJhVQWaIbm6Oyla5kYOXtDiopzKRJzEOkwJw==",- "dependencies": {- "@types/unist": "^2"- }- },- "node_modules/hastscript/node_modules/@types/unist": {- "version": "2.0.11",- "resolved": "https://registry.npmjs.org/@types/unist/-/unist-2.0.11.tgz",- "integrity": "sha512-CmBKiL6NNo/OqgmMn95Fk9Whlp2mtvIv+KNpQKN2F4SjvrEesubTRWGYSg+BnWZOnlCaSTU1sMpsBOzgbYhnsA=="- },- "node_modules/hastscript/node_modules/comma-separated-tokens": {- "version": "1.0.8",- "resolved": "https://registry.npmjs.org/comma-separated-tokens/-/comma-separated-tokens-1.0.8.tgz",- "integrity": "sha512-GHuDRO12Sypu2cV70d1dkA2EUmXHgntrzbpvOB+Qy+49ypNfGgFQIC2fhhXbnyrJRynDCAARsT7Ou0M6hirpfw==",- "funding": {- "type": "github",- "url": "https://github.com/sponsors/wooorm"- }- },- "node_modules/hastscript/node_modules/property-information": {- "version": "5.6.0",- "resolved": "https://registry.npmjs.org/property-information/-/property-information-5.6.0.tgz",- "integrity": "sha512-YUHSPk+A30YPv+0Qf8i9Mbfe/C0hdPXk1s1jPVToV8pk8BQtpw10ct89Eo7OWkutrwqvT0eicAxlOg3dOAu8JA==",+ "node_modules/hast-util-whitespace": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/hast-util-whitespace/-/hast-util-whitespace-3.0.0.tgz",+ "integrity": "sha512-88JUN06ipLwsnv+dVn+OIYOvAuvBMy/Qoi6O7mQHxdPXpjy+Cd6xRkWwux7DKO+4sYILtLBRIKgsdpS2gQc7qw==",+ "license": "MIT","dependencies": {- "xtend": "^4.0.0"+ "@types/hast": "^3.0.0"},"funding": {- "type": "github",- "url": "https://github.com/sponsors/wooorm"- }- },- "node_modules/hastscript/node_modules/space-separated-tokens": {- "version": "1.1.5",- "resolved": "https://registry.npmjs.org/space-separated-tokens/-/space-separated-tokens-1.1.5.tgz",- "integrity": "sha512-q/JSVd1Lptzhf5bkYm4ob4iWPjx0KiRe3sRFBNrVqbJkFaBm5vbbowy1mymoPNLRa52+oadOhJ+K49wsSeSjTA==",- "funding": {- "type": "github",- "url": "https://github.com/sponsors/wooorm"- }- },- "node_modules/highlight.js": {- "version": "10.7.3",- "resolved": "https://registry.npmjs.org/highlight.js/-/highlight.js-10.7.3.tgz",- "integrity": "sha512-tzcUFauisWKNHaRkN4Wjl/ZA07gENAjFl3J/c480dprkGTg5EQstgaNFqBfUqCq54kZRIEcreTsAgF/m2quD7A==",- "engines": {- "node": "*"+ "type": "opencollective",+ "url": "https://opencollective.com/unified"}},- "node_modules/highlightjs-vue": {- "version": "1.0.0",- "resolved": "https://registry.npmjs.org/highlightjs-vue/-/highlightjs-vue-1.0.0.tgz",- "integrity": "sha512-PDEfEF102G23vHmPhLyPboFCD+BkMGu+GuJe2d9/eH4FsCwvgBpnc9n0pGE+ffKdph38s6foEZiEjdgHdzp+IA=="- },"node_modules/html-to-text": {"version": "9.0.5","resolved": "https://registry.npmjs.org/html-to-text/-/html-to-text-9.0.5.tgz",@@ -10551,6 +10602,16 @@"node": ">=14"}},+ "node_modules/html-void-elements": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/html-void-elements/-/html-void-elements-3.0.0.tgz",+ "integrity": "sha512-bEqo66MRXsUGxWHV5IP0PUiAWwoEjba4VCzg0LjFJBpchPaTfyfCKTG6bc5F8ucKec3q5y6qOdGyYTSBEvhCrg==",+ "license": "MIT",+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/wooorm"+ }+ },"node_modules/htmlparser2": {"version": "8.0.2","resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-8.0.2.tgz",@@ -10754,28 +10815,6 @@"url": "https://opencollective.com/ioredis"}},- "node_modules/is-alphabetical": {- "version": "1.0.4",- "resolved": "https://registry.npmjs.org/is-alphabetical/-/is-alphabetical-1.0.4.tgz",- "integrity": "sha512-DwzsA04LQ10FHTZuL0/grVDk4rFoVH1pjAToYwBrHSxcrBIGQuXrQMtD5U1b0U2XVgKZCTLLP8u2Qxqhy3l2Vg==",- "funding": {- "type": "github",- "url": "https://github.com/sponsors/wooorm"- }- },- "node_modules/is-alphanumerical": {- "version": "1.0.4",- "resolved": "https://registry.npmjs.org/is-alphanumerical/-/is-alphanumerical-1.0.4.tgz",- "integrity": "sha512-UzoZUr+XfVz3t3v4KyGEniVL9BDRoQtY7tOyrRybkVNjDFWyo1yhXNGrrBTQxp3ib9BLAWs7k2YKBQsFRkZG9A==",- "dependencies": {- "is-alphabetical": "^1.0.0",- "is-decimal": "^1.0.0"- },- "funding": {- "type": "github",- "url": "https://github.com/sponsors/wooorm"- }- },"node_modules/is-arguments": {"version": "1.1.1","resolved": "https://registry.npmjs.org/is-arguments/-/is-arguments-1.1.1.tgz",@@ -10939,15 +10978,6 @@"url": "https://github.com/sponsors/ljharb"}},- "node_modules/is-decimal": {- "version": "1.0.4",- "resolved": "https://registry.npmjs.org/is-decimal/-/is-decimal-1.0.4.tgz",- "integrity": "sha512-RGdriMmQQvZ2aqaQq3awNA6dCGtKpiDFcOzrTWrDAT2MiWrKQVPmxLGHl7Y2nNu6led0kEyoX0enY0qXYsv9zw==",- "funding": {- "type": "github",- "url": "https://github.com/sponsors/wooorm"- }- },"node_modules/is-extglob": {"version": "2.1.1","resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz",@@ -11000,15 +11030,6 @@"node": ">=0.10.0"}},- "node_modules/is-hexadecimal": {- "version": "1.0.4",- "resolved": "https://registry.npmjs.org/is-hexadecimal/-/is-hexadecimal-1.0.4.tgz",- "integrity": "sha512-gyPJuv83bHMpocVYoqof5VDiZveEoGoFL8m3BXNb2VW8Xs+rz9kqO8LOQ5DH6EsuvilT1ApazU0pyl+ytbPtlw==",- "funding": {- "type": "github",- "url": "https://github.com/sponsors/wooorm"- }- },"node_modules/is-interactive": {"version": "2.0.0","resolved": "https://registry.npmjs.org/is-interactive/-/is-interactive-2.0.0.tgz",@@ -11850,19 +11871,6 @@"loose-envify": "cli.js"}},- "node_modules/lowlight": {- "version": "1.20.0",- "resolved": "https://registry.npmjs.org/lowlight/-/lowlight-1.20.0.tgz",- "integrity": "sha512-8Ktj+prEb1RoCPkEOrPMYUN/nCggB7qAWe3a7OpMjWQkh3l2RD5wKRQ+o8Q8YuI9RG/xs95waaI/E6ym/7NsTw==",- "dependencies": {- "fault": "^1.0.0",- "highlight.js": "~10.7.0"- },- "funding": {- "type": "github",- "url": "https://github.com/sponsors/wooorm"- }- },"node_modules/lru-cache": {"version": "6.0.0","resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz",@@ -11980,6 +11988,27 @@"resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz","integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w=="},+ "node_modules/mdast-util-to-hast": {+ "version": "13.2.0",+ "resolved": "https://registry.npmjs.org/mdast-util-to-hast/-/mdast-util-to-hast-13.2.0.tgz",+ "integrity": "sha512-QGYKEuUsYT9ykKBCMOEDLsU5JRObWQusAolFMeko/tYPufNkRffBAQjIE+99jbA87xv6FgmjLtwjh9wBWajwAA==",+ "license": "MIT",+ "dependencies": {+ "@types/hast": "^3.0.0",+ "@types/mdast": "^4.0.0",+ "@ungap/structured-clone": "^1.0.0",+ "devlop": "^1.0.0",+ "micromark-util-sanitize-uri": "^2.0.0",+ "trim-lines": "^3.0.0",+ "unist-util-position": "^5.0.0",+ "unist-util-visit": "^5.0.0",+ "vfile": "^6.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/unified"+ }+ },"node_modules/memoize": {"version": "10.1.0","resolved": "https://registry.npmjs.org/memoize/-/memoize-10.1.0.tgz",@@ -12023,6 +12052,95 @@"node": ">= 8"}},+ "node_modules/micromark-util-character": {+ "version": "2.1.1",+ "resolved": "https://registry.npmjs.org/micromark-util-character/-/micromark-util-character-2.1.1.tgz",+ "integrity": "sha512-wv8tdUTJ3thSFFFJKtpYKOYiGP2+v96Hvk4Tu8KpCAsTMs6yi+nVmGh1syvSCsaxz45J6Jbw+9DD6g97+NV67Q==",+ "funding": [+ {+ "type": "GitHub Sponsors",+ "url": "https://github.com/sponsors/unifiedjs"+ },+ {+ "type": "OpenCollective",+ "url": "https://opencollective.com/unified"+ }+ ],+ "license": "MIT",+ "dependencies": {+ "micromark-util-symbol": "^2.0.0",+ "micromark-util-types": "^2.0.0"+ }+ },+ "node_modules/micromark-util-encode": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/micromark-util-encode/-/micromark-util-encode-2.0.1.tgz",+ "integrity": "sha512-c3cVx2y4KqUnwopcO9b/SCdo2O67LwJJ/UyqGfbigahfegL9myoEFoDYZgkT7f36T0bLrM9hZTAaAyH+PCAXjw==",+ "funding": [+ {+ "type": "GitHub Sponsors",+ "url": "https://github.com/sponsors/unifiedjs"+ },+ {+ "type": "OpenCollective",+ "url": "https://opencollective.com/unified"+ }+ ],+ "license": "MIT"+ },+ "node_modules/micromark-util-sanitize-uri": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/micromark-util-sanitize-uri/-/micromark-util-sanitize-uri-2.0.1.tgz",+ "integrity": "sha512-9N9IomZ/YuGGZZmQec1MbgxtlgougxTodVwDzzEouPKo3qFWvymFHWcnDi2vzV1ff6kas9ucW+o3yzJK9YB1AQ==",+ "funding": [+ {+ "type": "GitHub Sponsors",+ "url": "https://github.com/sponsors/unifiedjs"+ },+ {+ "type": "OpenCollective",+ "url": "https://opencollective.com/unified"+ }+ ],+ "license": "MIT",+ "dependencies": {+ "micromark-util-character": "^2.0.0",+ "micromark-util-encode": "^2.0.0",+ "micromark-util-symbol": "^2.0.0"+ }+ },+ "node_modules/micromark-util-symbol": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/micromark-util-symbol/-/micromark-util-symbol-2.0.1.tgz",+ "integrity": "sha512-vs5t8Apaud9N28kgCrRUdEed4UJ+wWNvicHLPxCa9ENlYuAY31M0ETy5y1vA33YoNPDFTghEbnh6efaE8h4x0Q==",+ "funding": [+ {+ "type": "GitHub Sponsors",+ "url": "https://github.com/sponsors/unifiedjs"+ },+ {+ "type": "OpenCollective",+ "url": "https://opencollective.com/unified"+ }+ ],+ "license": "MIT"+ },+ "node_modules/micromark-util-types": {+ "version": "2.0.2",+ "resolved": "https://registry.npmjs.org/micromark-util-types/-/micromark-util-types-2.0.2.tgz",+ "integrity": "sha512-Yw0ECSpJoViF1qTU4DC6NwtC4aWGt1EkzaQB8KPPyCRR8z9TWeV0HbEFGTO+ZY1wB22zmxnJqhPyTpOVCpeHTA==",+ "funding": [+ {+ "type": "GitHub Sponsors",+ "url": "https://github.com/sponsors/unifiedjs"+ },+ {+ "type": "OpenCollective",+ "url": "https://opencollective.com/unified"+ }+ ],+ "license": "MIT"+ },"node_modules/micromatch": {"version": "4.0.8","resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz",@@ -12823,6 +12941,23 @@"url": "https://github.com/sponsors/sindresorhus"}},+ "node_modules/oniguruma-parser": {+ "version": "0.12.1",+ "resolved": "https://registry.npmjs.org/oniguruma-parser/-/oniguruma-parser-0.12.1.tgz",+ "integrity": "sha512-8Unqkvk1RYc6yq2WBYRj4hdnsAxVze8i7iPfQr8e4uSP3tRv0rpZcbGUDvxfQQcdwHt/e9PrMvGCsa8OqG9X3w==",+ "license": "MIT"+ },+ "node_modules/oniguruma-to-es": {+ "version": "4.3.3",+ "resolved": "https://registry.npmjs.org/oniguruma-to-es/-/oniguruma-to-es-4.3.3.tgz",+ "integrity": "sha512-rPiZhzC3wXwE59YQMRDodUwwT9FZ9nNBwQQfsd1wfdtlKEyCdRV0avrTcSZ5xlIvGRVPd/cx6ZN45ECmS39xvg==",+ "license": "MIT",+ "dependencies": {+ "oniguruma-parser": "^0.12.1",+ "regex": "^6.0.1",+ "regex-recursion": "^6.0.2"+ }+ },"node_modules/openai": {"version": "4.20.1","resolved": "https://registry.npmjs.org/openai/-/openai-4.20.1.tgz",@@ -13089,32 +13224,6 @@"node": ">=6"}},- "node_modules/parse-entities": {- "version": "2.0.0",- "resolved": "https://registry.npmjs.org/parse-entities/-/parse-entities-2.0.0.tgz",- "integrity": "sha512-kkywGpCcRYhqQIchaWqZ875wzpS/bMKhz5HnN3p7wveJTkTtyAB/AlnS0f8DFSqYW1T82t6yEAkEcB+A1I3MbQ==",- "dependencies": {- "character-entities": "^1.0.0",- "character-entities-legacy": "^1.0.0",- "character-reference-invalid": "^1.0.0",- "is-alphanumerical": "^1.0.0",- "is-decimal": "^1.0.0",- "is-hexadecimal": "^1.0.0"- },- "funding": {- "type": "github",- "url": "https://github.com/sponsors/wooorm"- }- },- "node_modules/parse-entities/node_modules/character-entities-legacy": {- "version": "1.1.4",- "resolved": "https://registry.npmjs.org/character-entities-legacy/-/character-entities-legacy-1.1.4.tgz",- "integrity": "sha512-3Xnr+7ZFS1uxeiUDvV02wQ+QDbc55o97tIV5zHScSPJpcLm/r0DFPcoY3tYRp+VZukxuMeKgXYmsXQHO05zQeA==",- "funding": {- "type": "github",- "url": "https://github.com/sponsors/wooorm"- }- },"node_modules/parse-srcset": {"version": "1.0.2","resolved": "https://registry.npmjs.org/parse-srcset/-/parse-srcset-1.0.2.tgz",@@ -13697,6 +13806,16 @@"resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz","integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ=="},+ "node_modules/property-information": {+ "version": "7.1.0",+ "resolved": "https://registry.npmjs.org/property-information/-/property-information-7.1.0.tgz",+ "integrity": "sha512-TwEZ+X+yCJmYfL7TPUOcvBZ4QfoT5YenQiJuX//0th53DE6w0xxLEtfK3iyryQFddXuvkIk51EEgrJQ0WJkOmQ==",+ "license": "MIT",+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/wooorm"+ }+ },"node_modules/protobufjs": {"version": "7.4.0","resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-7.4.0.tgz",@@ -14540,22 +14659,6 @@}}},- "node_modules/react-syntax-highlighter": {- "version": "15.6.1",- "resolved": "https://registry.npmjs.org/react-syntax-highlighter/-/react-syntax-highlighter-15.6.1.tgz",- "integrity": "sha512-OqJ2/vL7lEeV5zTJyG7kmARppUjiB9h9udl4qHQjjgEos66z00Ia0OckwYfRxCSFrW8RJIBnsBwQsHZbVPspqg==",- "dependencies": {- "@babel/runtime": "^7.3.1",- "highlight.js": "^10.4.1",- "highlightjs-vue": "^1.0.0",- "lowlight": "^1.17.0",- "prismjs": "^1.27.0",- "refractor": "^3.6.0"- },- "peerDependencies": {- "react": ">= 0.14.0"- }- },"node_modules/react-textarea-autosize": {"version": "8.5.9","resolved": "https://registry.npmjs.org/react-textarea-autosize/-/react-textarea-autosize-8.5.9.tgz",@@ -14751,32 +14854,34 @@"url": "https://github.com/sponsors/ljharb"}},- "node_modules/refractor": {- "version": "3.6.0",- "resolved": "https://registry.npmjs.org/refractor/-/refractor-3.6.0.tgz",- "integrity": "sha512-MY9W41IOWxxk31o+YvFCNyNzdkc9M20NoZK5vq6jkv4I/uh2zkWcfudj0Q1fovjUQJrNewS9NMzeTtqPf+n5EA==",+ "node_modules/regenerator-runtime": {+ "version": "0.14.1",+ "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.14.1.tgz",+ "integrity": "sha512-dYnhHh0nJoMfnkZs6GmmhFknAGRrLznOu5nc9ML+EJxGvrx6H7teuevqVqCuPcPK//3eDrrjQhehXVx9cnkGdw=="+ },+ "node_modules/regex": {+ "version": "6.0.1",+ "resolved": "https://registry.npmjs.org/regex/-/regex-6.0.1.tgz",+ "integrity": "sha512-uorlqlzAKjKQZ5P+kTJr3eeJGSVroLKoHmquUj4zHWuR+hEyNqlXsSKlYYF5F4NI6nl7tWCs0apKJ0lmfsXAPA==",+ "license": "MIT","dependencies": {- "hastscript": "^6.0.0",- "parse-entities": "^2.0.0",- "prismjs": "~1.27.0"- },- "funding": {- "type": "github",- "url": "https://github.com/sponsors/wooorm"+ "regex-utilities": "^2.3.0"}},- "node_modules/refractor/node_modules/prismjs": {- "version": "1.27.0",- "resolved": "https://registry.npmjs.org/prismjs/-/prismjs-1.27.0.tgz",- "integrity": "sha512-t13BGPUlFDR7wRB5kQDG4jjl7XeuH6jbJGt11JHPL96qwsEHNX2+68tFXqc1/k+/jALsbSWJKUOT/hcYAZ5LkA==",- "engines": {- "node": ">=6"+ "node_modules/regex-recursion": {+ "version": "6.0.2",+ "resolved": "https://registry.npmjs.org/regex-recursion/-/regex-recursion-6.0.2.tgz",+ "integrity": "sha512-0YCaSCq2VRIebiaUviZNs0cBz1kg5kVS2UKUfNIx8YVs1cN3AV7NTctO5FOKBA+UT2BPJIWZauYHPqJODG50cg==",+ "license": "MIT",+ "dependencies": {+ "regex-utilities": "^2.3.0"}},- "node_modules/regenerator-runtime": {- "version": "0.14.1",- "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.14.1.tgz",- "integrity": "sha512-dYnhHh0nJoMfnkZs6GmmhFknAGRrLznOu5nc9ML+EJxGvrx6H7teuevqVqCuPcPK//3eDrrjQhehXVx9cnkGdw=="+ "node_modules/regex-utilities": {+ "version": "2.3.0",+ "resolved": "https://registry.npmjs.org/regex-utilities/-/regex-utilities-2.3.0.tgz",+ "integrity": "sha512-8VhliFJAWRaUiVvREIiW2NXXTmHs4vMNnSzuJVhscgmGav3g9VDxLrQndI3dZZVVdp0ZO/5v0xmX516/7M9cng==",+ "license": "MIT"},"node_modules/regexp.prototype.flags": {"version": "1.5.2",@@ -15217,6 +15322,22 @@"node": ">=8"}},+ "node_modules/shiki": {+ "version": "3.8.1",+ "resolved": "https://registry.npmjs.org/shiki/-/shiki-3.8.1.tgz",+ "integrity": "sha512-+MYIyjwGPCaegbpBeFN9+oOifI8CKiKG3awI/6h3JeT85c//H2wDW/xCJEGuQ5jPqtbboKNqNy+JyX9PYpGwNg==",+ "license": "MIT",+ "dependencies": {+ "@shikijs/core": "3.8.1",+ "@shikijs/engine-javascript": "3.8.1",+ "@shikijs/engine-oniguruma": "3.8.1",+ "@shikijs/langs": "3.8.1",+ "@shikijs/themes": "3.8.1",+ "@shikijs/types": "3.8.1",+ "@shikijs/vscode-textmate": "^10.0.2",+ "@types/hast": "^3.0.4"+ }+ },"node_modules/shimmer": {"version": "1.2.1","resolved": "https://registry.npmjs.org/shimmer/-/shimmer-1.2.1.tgz",@@ -15434,6 +15555,16 @@"node": ">=0.10.0"}},+ "node_modules/space-separated-tokens": {+ "version": "2.0.2",+ "resolved": "https://registry.npmjs.org/space-separated-tokens/-/space-separated-tokens-2.0.2.tgz",+ "integrity": "sha512-PEGlAwrG8yXGXRjW32fGbg66JAlOAwbObuqVoJpv/mRgoWDQfgH1wDPvtzWyUSNAXBGSk8h755YDbbcEy3SH2Q==",+ "license": "MIT",+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/wooorm"+ }+ },"node_modules/sswr": {"version": "2.0.0","resolved": "https://registry.npmjs.org/sswr/-/sswr-2.0.0.tgz",@@ -15648,6 +15779,20 @@"url": "https://github.com/sponsors/ljharb"}},+ "node_modules/stringify-entities": {+ "version": "4.0.4",+ "resolved": "https://registry.npmjs.org/stringify-entities/-/stringify-entities-4.0.4.tgz",+ "integrity": "sha512-IwfBptatlO+QCJUo19AqvrPNqlVMpW9YEL2LIVY+Rpv2qsjCGxaDLNRgeGsQWJhfItebuJhsGSLjaBbNSQ+ieg==",+ "license": "MIT",+ "dependencies": {+ "character-entities-html4": "^2.0.0",+ "character-entities-legacy": "^3.0.0"+ },+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/wooorm"+ }+ },"node_modules/strip-ansi": {"version": "6.0.1","resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz",@@ -16183,6 +16328,16 @@"node": "*"}},+ "node_modules/trim-lines": {+ "version": "3.0.1",+ "resolved": "https://registry.npmjs.org/trim-lines/-/trim-lines-3.0.1.tgz",+ "integrity": "sha512-kRj8B+YHZCc9kQYdWfJB2/oUl9rA99qbowYYBtr4ui4mZyAQ2JpvVBd/6U2YloATfqBhBTSMhTpgBHtU0Mf3Rg==",+ "license": "MIT",+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/wooorm"+ }+ },"node_modules/ts-api-utils": {"version": "1.3.0","resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-1.3.0.tgz",@@ -16458,6 +16613,74 @@"resolved": "https://registry.npmjs.org/unionize/-/unionize-2.2.0.tgz","integrity": "sha512-lHXiL6LPVuRYBGCLOdUd4GMHoAGqM0HtYHAZcA6pUEiwN1nk+LEYlh8bud7saeL0bkFntJzCPEPVVJeFm3Cqsg=="},+ "node_modules/unist-util-is": {+ "version": "6.0.0",+ "resolved": "https://registry.npmjs.org/unist-util-is/-/unist-util-is-6.0.0.tgz",+ "integrity": "sha512-2qCTHimwdxLfz+YzdGfkqNlH0tLi9xjTnHddPmJwtIG9MGsdbutfTc4P+haPD7l7Cjxf/WZj+we5qfVPvvxfYw==",+ "license": "MIT",+ "dependencies": {+ "@types/unist": "^3.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/unified"+ }+ },+ "node_modules/unist-util-position": {+ "version": "5.0.0",+ "resolved": "https://registry.npmjs.org/unist-util-position/-/unist-util-position-5.0.0.tgz",+ "integrity": "sha512-fucsC7HjXvkB5R3kTCO7kUjRdrS0BJt3M/FPxmHMBOm8JQi2BsHAHFsy27E0EolP8rp0NzXsJ+jNPyDWvOJZPA==",+ "license": "MIT",+ "dependencies": {+ "@types/unist": "^3.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/unified"+ }+ },+ "node_modules/unist-util-stringify-position": {+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/unist-util-stringify-position/-/unist-util-stringify-position-4.0.0.tgz",+ "integrity": "sha512-0ASV06AAoKCDkS2+xw5RXJywruurpbC4JZSm7nr7MOt1ojAzvyyaO+UxZf18j8FCF6kmzCZKcAgN/yu2gm2XgQ==",+ "license": "MIT",+ "dependencies": {+ "@types/unist": "^3.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/unified"+ }+ },+ "node_modules/unist-util-visit": {+ "version": "5.0.0",+ "resolved": "https://registry.npmjs.org/unist-util-visit/-/unist-util-visit-5.0.0.tgz",+ "integrity": "sha512-MR04uvD+07cwl/yhVuVWAtw+3GOR/knlL55Nd/wAdblk27GCVt3lqpTivy/tkJcZoNPzTwS1Y+KMojlLDhoTzg==",+ "license": "MIT",+ "dependencies": {+ "@types/unist": "^3.0.0",+ "unist-util-is": "^6.0.0",+ "unist-util-visit-parents": "^6.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/unified"+ }+ },+ "node_modules/unist-util-visit-parents": {+ "version": "6.0.1",+ "resolved": "https://registry.npmjs.org/unist-util-visit-parents/-/unist-util-visit-parents-6.0.1.tgz",+ "integrity": "sha512-L/PqWzfTP9lzzEa6CKs0k2nARxTdZduw3zyh8d2NVBnsyvHjSX4TWse388YrrQKbvI8w20fGjGlhgT96WwKykw==",+ "license": "MIT",+ "dependencies": {+ "@types/unist": "^3.0.0",+ "unist-util-is": "^6.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/unified"+ }+ },"node_modules/unsend": {"version": "1.5.1","resolved": "https://registry.npmjs.org/unsend/-/unsend-1.5.1.tgz",@@ -16708,6 +16931,34 @@"react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0.0 || ^19.0.0-rc"}},+ "node_modules/vfile": {+ "version": "6.0.3",+ "resolved": "https://registry.npmjs.org/vfile/-/vfile-6.0.3.tgz",+ "integrity": "sha512-KzIbH/9tXat2u30jf+smMwFCsno4wHVdNmzFyL+T/L3UGqqk6JKfVqOFOZEpZSHADH1k40ab6NUIXZq422ov3Q==",+ "license": "MIT",+ "dependencies": {+ "@types/unist": "^3.0.0",+ "vfile-message": "^4.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/unified"+ }+ },+ "node_modules/vfile-message": {+ "version": "4.0.2",+ "resolved": "https://registry.npmjs.org/vfile-message/-/vfile-message-4.0.2.tgz",+ "integrity": "sha512-jRDZ1IMLttGj41KcZvlrYAaI3CfqpLpfpf+Mfig13viT6NKvRzWZ+lXz0Y5D60w6uJIBAOGq9mSHf0gktF0duw==",+ "license": "MIT",+ "dependencies": {+ "@types/unist": "^3.0.0",+ "unist-util-stringify-position": "^4.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/unified"+ }+ },"node_modules/victory-vendor": {"version": "36.9.2","resolved": "https://registry.npmjs.org/victory-vendor/-/victory-vendor-36.9.2.tgz",@@ -17051,14 +17302,6 @@"node": ">=0.4.0"}},- "node_modules/xtend": {- "version": "4.0.2",- "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz",- "integrity": "sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==",- "engines": {- "node": ">=0.4"- }- },"node_modules/y18n": {"version": "5.0.8","resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz",@@ -17229,6 +17472,31 @@"peerDependencies": {"zod": "^3.18.0"}+ },+ "node_modules/zwitch": {+ "version": "2.0.4",+ "resolved": "https://registry.npmjs.org/zwitch/-/zwitch-2.0.4.tgz",+ "integrity": "sha512-bXE4cR/kVZhKZX/RjPEflHaKVhUVl85noU3v6b8apfQEc1x4A+zBxjZ4lN8LqGd6WZ3dl98pY4o717VFmoPp+A==",+ "license": "MIT",+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/wooorm"+ }+ },+ "node_modules/react-email/node_modules/@next/swc-win32-ia32-msvc": {+ "version": "14.2.30",+ "resolved": "https://registry.npmjs.org/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-14.2.30.tgz",+ "integrity": "sha512-pVZMnFok5qEX4RT59mK2hEVtJX+XFfak+/rjHpyFh7juiT52r177bfFKhnlafm0UOSldhXjj32b+LZIOdswGTg==",+ "cpu": [+ "ia32"+ ],+ "optional": true,+ "os": [+ "win32"+ ],+ "engines": {+ "node": ">= 10"+ }}}}diff --git a/package.json b/package.jsonindex dfe0d895..383ae00a 100644--- a/package.json+++ b/package.json@@ -119,11 +119,11 @@"react-notion-x": "^7.3.0","react-pdf": "^8.0.2","react-phone-number-input": "^3.4.12",- "react-syntax-highlighter": "^15.6.1","react-textarea-autosize": "^8.5.9","react-zoom-pan-pinch": "^3.7.0","resend": "^4.6.0","sanitize-html": "^2.17.0",+ "shiki": "^3.8.1","sonner": "^2.0.6","stripe": "^16.12.0","swr": "^2.3.4",@@ -154,7 +154,6 @@"@types/node": "^22.13.5","@types/react": "^18","@types/react-dom": "^18",- "@types/react-syntax-highlighter": "^15.5.13","@types/sanitize-html": "^2.13.0","@types/ua-parser-js": "^0.7.39","prettier": "^3.6.2",