Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

add webhook logs to sheet

Steven Teye40c94520416
diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/integrations/[integrationSlug]/page-client.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/integrations/[integrationSlug]/page-client.tsx
index ee262a5277..d8543d049b 100644
--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/integrations/[integrationSlug]/page-client.tsx
+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/integrations/[integrationSlug]/page-client.tsx
@@ -37,7 +37,6 @@ import { useAction } from "next-safe-action/hooks";
import Link from "next/link";
import { useState } from "react";
import Markdown from "react-markdown";
-import "react-medium-image-zoom/dist/styles.css";
import { toast } from "sonner";
export default function IntegrationPageClient({
diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/webhooks/[webhookId]/page-client.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/webhooks/[webhookId]/page-client.tsx
index 9c7e57a827..b95783279e 100644
--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/webhooks/[webhookId]/page-client.tsx
+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/webhooks/[webhookId]/page-client.tsx
@@ -29,7 +29,8 @@ export default function WebhookLogsPageClient({
}
const { data: events, isLoading } = useSWR<WebhookEventProps[]>(
- `/api/webhooks/${webhookId}/events?workspaceId=${workspaceId}`,
+ !permissionsError &&
+ `/api/webhooks/${webhookId}/events?workspaceId=${workspaceId}`,
fetcher,
{
keepPreviousData: true,
diff --git a/apps/web/lib/webhook/transform.ts b/apps/web/lib/webhook/transform.ts
index e6db3a1ac2..3a9282cb87 100644
--- a/apps/web/lib/webhook/transform.ts
+++ b/apps/web/lib/webhook/transform.ts
@@ -44,7 +44,6 @@ export const transformClickEventData = (
return clickEventSchema.parse({
...click,
- id: click.clickId,
link: {
id: click.linkId,
},
diff --git a/apps/web/next.config.js b/apps/web/next.config.js
index 868b3a39d1..3e1a4860ab 100644
--- a/apps/web/next.config.js
+++ b/apps/web/next.config.js
@@ -12,6 +12,7 @@ const { withAxiom } = require("next-axiom");
/** @type {import('next').NextConfig} */
module.exports = withAxiom({
reactStrictMode: false,
+ transpilePackages: ["shiki"],
experimental: {
serverComponentsExternalPackages: [
"@react-email/components",
diff --git a/apps/web/package.json b/apps/web/package.json
index bbcb261478..f58b01fac2 100644
--- a/apps/web/package.json
+++ b/apps/web/package.json
@@ -17,9 +17,9 @@
"@boxyhq/saml-jackson": "1.23.9",
"@chronark/zod-bird": "^0.3.9",
"@dub/analytics": "^0.0.14",
+ "@dub/blocks": "workspace:*",
"@dub/tailwind-config": "workspace:*",
"@dub/ui": "workspace:*",
- "@dub/blocks": "workspace:*",
"@dub/utils": "workspace:*",
"@hookform/resolvers": "^3.9.0",
"@next-auth/prisma-adapter": "^1.0.5",
@@ -94,7 +94,6 @@
"react-highlight-words": "^0.20.0",
"react-hook-form": "^7.52.1",
"react-markdown": "^9.0.1",
- "react-medium-image-zoom": "^5.1.7",
"react-parallax-tilt": "^1.7.70",
"react-spring": "^9.5.5",
"react-textarea-autosize": "^8.4.0",
@@ -104,7 +103,7 @@
"rehype-slug": "^5.1.0",
"remark-gfm": "^3.0.1",
"resend": "^4.0.0",
- "shiki": "^0.14.1",
+ "shiki": "^1.14.1",
"sonner": "^1.4.41",
"stripe": "^12.12.0",
"swr": "^2.1.5",
diff --git a/apps/web/styles/globals.css b/apps/web/styles/globals.css
index 731b7c37a6..dcd44c3291 100644
--- a/apps/web/styles/globals.css
+++ b/apps/web/styles/globals.css
@@ -2,50 +2,40 @@
@tailwind components;
@tailwind utilities;
-[data-mdx-container] {
- .anchor {
- @apply invisible absolute -ml-8 w-full cursor-pointer !no-underline;
- }
-
- .anchor:after {
- content: "🔗";
- }
-
- :hover > .anchor {
- @apply visible;
- }
+code {
+ counter-reset: step;
+ counter-increment: step 0;
}
-/* Hide the react-medium-image-zoom unzoom button */
-[data-rmiz-btn-unzoom] {
- visibility: hidden;
-}
-
-/* Style the react-medium-image-zoom image */
-[data-rmiz-modal-img] {
- @apply border border-gray-200;
-
- @media screen and (min-width: 768px) {
- @apply rounded-lg;
- }
+code .line::before {
+ content: counter(step);
+ counter-increment: step;
+ width: 1rem;
+ padding-right: 1.5rem;
+ display: inline-block;
+ position: sticky;
+ left: 0;
+ background-color: white;
+ text-align: right;
+ color: rgba(115, 138, 148, 0.4);
}
/* Implement a custom scrollbar to preventing ugly looking scroll-overflows */
.dub-scrollbar {
- scrollbar-width: auto;
- scrollbar-color: #d1d5db #ffffff;
+ scrollbar-width: auto;
+ scrollbar-color: #d1d5db #ffffff;
}
.dub-scrollbar::-webkit-scrollbar {
- width: 8px;
- height: 8px;
+ width: 8px;
+ height: 8px;
}
.dub-scrollbar::-webkit-scrollbar-track {
- background: transparent;
+ background: transparent;
}
.dub-scrollbar::-webkit-scrollbar-thumb {
- background-color: #d1d5db;
- border-radius: 10px;
+ background-color: #d1d5db;
+ border-radius: 10px;
}
diff --git a/apps/web/ui/modals/webhook-event-modal.tsx b/apps/web/ui/modals/webhook-event-modal.tsx
deleted file mode 100644
index 2b68514402..0000000000
--- a/apps/web/ui/modals/webhook-event-modal.tsx
+++ /dev/null
@@ -1,64 +0,0 @@
-import z from "@/lib/zod";
-import { webhookEventSchemaTB } from "@/lib/zod/schemas/webhooks";
-import { Modal } from "@dub/ui";
-import {
- Dispatch,
- SetStateAction,
- useCallback,
- useMemo,
- useState,
-} from "react";
-
-function WebhookInfoModal({
- showWebhookInfoModal,
- setShowWebhookInfoModal,
- event,
-}: {
- showWebhookInfoModal: boolean;
- setShowWebhookInfoModal: Dispatch<SetStateAction<boolean>>;
- event: z.infer<typeof webhookEventSchemaTB>;
-}) {
- return (
- <Modal
- showModal={showWebhookInfoModal}
- setShowModal={setShowWebhookInfoModal}
- className="flex max-h-[75vh] max-w-screen-md flex-col overflow-y-auto bg-gray-50"
- >
- <div className="flex flex-col items-center justify-center space-y-3 border-b border-gray-200 bg-white px-4 py-4 pt-8 sm:px-16">
- <h3 className="text-lg font-medium">{event.event}</h3>
- <p className="text-center text-sm text-gray-500">{event.event_id}</p>
- </div>
- <div className="m-8 overflow-auto rounded-md border border-gray-200 bg-white p-8">
- <pre className="text-sm text-gray-500">
- {JSON.stringify(event.request_body, null, 2)}
- </pre>
- </div>
- </Modal>
- );
-}
-
-export function useWebhookInfoModal({
- event,
-}: {
- event: z.infer<typeof webhookEventSchemaTB>;
-}) {
- const [showWebhookInfoModal, setShowWebhookInfoModal] = useState(false);
-
- const WebhookInfoModalCallback = useCallback(() => {
- return (
- <WebhookInfoModal
- showWebhookInfoModal={showWebhookInfoModal}
- setShowWebhookInfoModal={setShowWebhookInfoModal}
- event={event}
- />
- );
- }, [showWebhookInfoModal, setShowWebhookInfoModal]);
-
- return useMemo(
- () => ({
- setShowWebhookInfoModal,
- WebhookInfoModal: WebhookInfoModalCallback,
- }),
- [setShowWebhookInfoModal, WebhookInfoModalCallback],
- );
-}
diff --git a/apps/web/ui/webhooks/webhook-events.tsx b/apps/web/ui/webhooks/webhook-events.tsx
index e15135174b..08c156e195 100644
--- a/apps/web/ui/webhooks/webhook-events.tsx
+++ b/apps/web/ui/webhooks/webhook-events.tsx
@@ -1,45 +1,105 @@
"use client";
import { WebhookEventProps } from "@/lib/types";
+import { Sheet, SheetContent, SheetTrigger } from "@dub/ui";
+import { Copy } from "@dub/ui/src/icons";
+import { ButtonTooltip } from "@dub/ui/src/tooltip";
import { CircleCheck, Clock4 } from "lucide-react";
-import { PropsWithChildren } from "react";
-import { useWebhookInfoModal } from "../modals/webhook-event-modal";
+import { PropsWithChildren, useEffect, useState } from "react";
+import { Highlighter } from "shiki";
export type EventListProps = PropsWithChildren<{
events: WebhookEventProps[];
}>;
const WebhookEvent = ({ event }: { event: WebhookEventProps }) => {
- const { setShowWebhookInfoModal, WebhookInfoModal } = useWebhookInfoModal({
- event,
- });
+ const [highlighter, setHighlighter] = useState<Highlighter | null>(null);
+ const [responseBody, setResponseBody] = useState<string>("");
+ const [requestBody, setRequestBody] = useState<string>("");
+
+ useEffect(() => {
+ import("shiki").then(({ getHighlighter }) => {
+ getHighlighter({
+ themes: ["min-light"],
+ langs: ["json"],
+ }).then(setHighlighter);
+ });
+ }, []);
+
+ useEffect(() => {
+ if (highlighter) {
+ const responseBodyHtml = highlighter.codeToHtml(
+ JSON.stringify(event.response_body, null, 2),
+ {
+ theme: "min-light",
+ lang: "json",
+ },
+ );
+ setResponseBody(responseBodyHtml);
+ const requestBodyHtml = highlighter.codeToHtml(
+ JSON.stringify(event.request_body, null, 2),
+ {
+ theme: "min-light",
+ lang: "json",
+ },
+ );
+ setRequestBody(requestBodyHtml);
+ }
+ }, [highlighter, event]);
const isSuccess = event.http_status >= 200 && event.http_status < 300;
return (
- <>
- <WebhookInfoModal />
- <div
- onClick={() => setShowWebhookInfoModal(true)}
- className="flex cursor-pointer items-center justify-between gap-5 px-3.5 py-3 hover:bg-gray-50"
- >
- <div className="flex items-center gap-5">
- <div className="flex items-center gap-2.5">
- {isSuccess ? (
- <CircleCheck className="size-4 text-green-500" />
- ) : (
- <Clock4 className="size-4 text-red-500" />
- )}
- <div className="text-sm text-gray-500">{event.http_status}</div>
+ <Sheet>
+ <SheetTrigger asChild>
+ <button className="flex items-center justify-between gap-5 px-3.5 py-3 hover:bg-gray-50 focus:outline-none">
+ <div className="flex items-center gap-5">
+ <div className="flex items-center gap-2.5">
+ {isSuccess ? (
+ <CircleCheck className="size-4 text-green-500" />
+ ) : (
+ <Clock4 className="size-4 text-red-500" />
+ )}
+ <div className="text-sm text-gray-500">{event.http_status}</div>
+ </div>
+ <div className="text-sm text-gray-500">{event.event}</div>
</div>
- <div className="text-sm text-gray-500">{event.event}</div>
- </div>
- <div className="text-xs text-gray-400">
- {new Date(event.timestamp).toLocaleString()}
+ <div className="text-xs text-gray-400">
+ {new Date(event.timestamp).toLocaleString()}
+ </div>
+ </button>
+ </SheetTrigger>
+ <SheetContent className="overflow-y-scroll p-0 sm:max-w-screen-sm">
+ <div className="p-6">
+ <h3 className="text-lg font-semibold">{event.event}</h3>
+ <div className="group flex items-center gap-2">
+ <p className="font-mono text-sm text-gray-500">{event.event_id}</p>
+ <ButtonTooltip tooltipContent="Copy event ID">
+ <Copy className="size-4 opacity-0 transition-opacity group-hover:opacity-100" />
+ </ButtonTooltip>
+ </div>
</div>
- </div>
- </>
+ <div className="grid gap-4 border-t border-gray-200 bg-white p-6">
+ <h4 className="font-semibold">Response</h4>
+ <div className="flex items-center gap-8">
+ <p className="text-sm text-gray-500">HTTP status code</p>
+ <p className="text-sm text-gray-700">{event.http_status}</p>
+ </div>
+ <div
+ className="shiki-wrapper overflow-y-scroll text-sm"
+ dangerouslySetInnerHTML={{ __html: responseBody }}
+ />
+ </div>
+ <div className="grid gap-4 border-t border-gray-200 bg-white p-6">
+ <h4 className="font-semibold">Request</h4>
+ <div
+ className="shiki-wrapper overflow-y-scroll text-sm"
+ dangerouslySetInnerHTML={{ __html: requestBody }}
+ />
+ </div>
+ </SheetContent>
+ </Sheet>
);
};
diff --git a/packages/tailwind-config/tailwind.config.ts b/packages/tailwind-config/tailwind.config.ts
index 52430fb8fd..86034a48f2 100644
--- a/packages/tailwind-config/tailwind.config.ts
+++ b/packages/tailwind-config/tailwind.config.ts
@@ -37,6 +37,9 @@ const config: Config = {
"slide-right-fade 0.4s cubic-bezier(0.16, 1, 0.3, 1)",
"slide-down-fade": "slide-down-fade 0.4s cubic-bezier(0.16, 1, 0.3, 1)",
"slide-left-fade": "slide-left-fade 0.4s cubic-bezier(0.16, 1, 0.3, 1)",
+ // Sheet
+ "slide-in-from-right": "slide-in-from-right 0.2s ease",
+ "slide-out-to-right": "slide-out-to-right 0.2s ease",
// Navigation menu
"enter-from-right": "enter-from-right 0.15s ease",
"enter-from-left": "enter-from-left 0.15s ease",
@@ -83,6 +86,15 @@ const config: Config = {
"0%": { opacity: "0", transform: "translateX(2px)" },
"100%": { opacity: "1", transform: "translateX(0)" },
},
+ // Sheet
+ "slide-in-from-right": {
+ "0%": { transform: "translateX(100%)" },
+ "100%": { transform: "translateX(0)" },
+ },
+ "slide-out-to-right": {
+ "0%": { transform: "translateX(0)" },
+ "100%": { transform: "translateX(100%)" },
+ },
// Navigation menu
"enter-from-right": {
"0%": { transform: "translateX(200px)", opacity: "0" },
diff --git a/packages/ui/src/index.tsx b/packages/ui/src/index.tsx
index 8b21495658..beade1c169 100644
--- a/packages/ui/src/index.tsx
+++ b/packages/ui/src/index.tsx
@@ -20,6 +20,7 @@ export * from "./label";
export * from "./modal";
export * from "./popover";
export * from "./radio-group";
+export * from "./sheet";
export * from "./status-badge";
export * from "./switch";
export * from "./table";
diff --git a/packages/ui/src/sheet.tsx b/packages/ui/src/sheet.tsx
new file mode 100644
index 0000000000..df8c10a792
--- /dev/null
+++ b/packages/ui/src/sheet.tsx
@@ -0,0 +1,105 @@
+"use client";
+
+import { cn } from "@dub/utils";
+import * as SheetPrimitive from "@radix-ui/react-dialog";
+import { X } from "lucide-react";
+import * as React from "react";
+
+const Sheet = SheetPrimitive.Root;
+
+const SheetTrigger = SheetPrimitive.Trigger;
+
+const SheetClose = SheetPrimitive.Close;
+
+const SheetPortal = SheetPrimitive.Portal;
+
+interface SheetContentProps
+ extends React.ComponentPropsWithoutRef<typeof SheetPrimitive.Content> {}
+
+const SheetContent = React.forwardRef<
+ React.ElementRef<typeof SheetPrimitive.Content>,
+ SheetContentProps
+>(({ className, children, ...props }, ref) => (
+ <SheetPortal>
+ <SheetPrimitive.Content
+ ref={ref}
+ className={cn(
+ "fixed inset-y-0 right-0 z-50 h-full w-3/4 gap-4 border-l border-gray-200 bg-white p-6 shadow-xl transition ease-in-out sm:max-w-sm",
+ "data-[state=closed]:animate-slide-out-to-right data-[state=open]:animate-slide-in-from-right data-[state=closed]:duration-300 data-[state=open]:duration-500",
+ className,
+ )}
+ {...props}
+ >
+ <SheetPrimitive.Close className="absolute right-4 top-4 rounded-md p-1 transition-colors hover:bg-gray-100 focus:outline-none focus:ring-0 disabled:pointer-events-none data-[state=open]:bg-gray-100">
+ <X className="size-4" />
+ <span className="sr-only">Close</span>
+ </SheetPrimitive.Close>
+ {children}
+ </SheetPrimitive.Content>
+ </SheetPortal>
+));
+SheetContent.displayName = SheetPrimitive.Content.displayName;
+
+const SheetHeader = ({
+ className,
+ ...props
+}: React.HTMLAttributes<HTMLDivElement>) => (
+ <div
+ className={cn(
+ "flex flex-col space-y-2 text-center sm:text-left",
+ className,
+ )}
+ {...props}
+ />
+);
+SheetHeader.displayName = "SheetHeader";
+
+const SheetFooter = ({
+ className,
+ ...props
+}: React.HTMLAttributes<HTMLDivElement>) => (
+ <div
+ className={cn(
+ "flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",
+ className,
+ )}
+ {...props}
+ />
+);
+SheetFooter.displayName = "SheetFooter";
+
+const SheetTitle = React.forwardRef<
+ React.ElementRef<typeof SheetPrimitive.Title>,
+ React.ComponentPropsWithoutRef<typeof SheetPrimitive.Title>
+>(({ className, ...props }, ref) => (
+ <SheetPrimitive.Title
+ ref={ref}
+ className={cn("text-foreground text-lg font-semibold", className)}
+ {...props}
+ />
+));
+SheetTitle.displayName = SheetPrimitive.Title.displayName;
+
+const SheetDescription = React.forwardRef<
+ React.ElementRef<typeof SheetPrimitive.Description>,
+ React.ComponentPropsWithoutRef<typeof SheetPrimitive.Description>
+>(({ className, ...props }, ref) => (
+ <SheetPrimitive.Description
+ ref={ref}
+ className={cn("text-muted-foreground text-sm", className)}
+ {...props}
+ />
+));
+SheetDescription.displayName = SheetPrimitive.Description.displayName;
+
+export {
+ Sheet,
+ SheetClose,
+ SheetContent,
+ SheetDescription,
+ SheetFooter,
+ SheetHeader,
+ SheetPortal,
+ SheetTitle,
+ SheetTrigger,
+};
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 31fce0a7b5..7c1772ef4f 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -278,9 +278,6 @@ importers:
react-markdown:
specifier: ^9.0.1
version: 9.0.1(@types/[email protected])([email protected])
- react-medium-image-zoom:
- specifier: ^5.1.7
react-parallax-tilt:
specifier: ^1.7.70
@@ -298,7 +295,7 @@ importers:
version: 6.1.1
rehype-pretty-code:
specifier: ^0.9.5
- version: 0.9.5([email protected])
+ version: 0.9.5([email protected])
rehype-slug:
specifier: ^5.1.0
version: 5.1.0
@@ -309,8 +306,8 @@ importers:
specifier: ^4.0.0
shiki:
- specifier: ^0.14.1
- version: 0.14.1
+ specifier: ^1.14.1
+ version: 1.14.1
sonner:
specifier: ^1.4.41
@@ -8280,6 +8277,12 @@ packages:
selderee: 0.11.0
dev: false
+ /@shikijs/[email protected]:
+ resolution: {integrity: sha512-KyHIIpKNaT20FtFPFjCQB5WVSTpLR/n+jQXhWHWVUMm9MaOaG9BGOG0MSyt7yA4+Lm+4c9rTc03tt3nYzeYSfw==}
+ dependencies:
+ '@types/hast': 3.0.4
+ dev: false
+
/@shuding/[email protected]:
resolution: {integrity: sha512-3NgmNyH3l/Hv6EvsWJbsvpcpUba6R8IREQ83nH83cyakCw7uM1arZKNfHwv1Wz6jgqrF/j4x5ELvR6PnK9nTcA==}
engines: {node: '>= 8.0.0'}
@@ -9178,7 +9181,7 @@ packages:
resolution: {integrity: sha512-WPs+bbQw5aCj+x6laNGWLH3wviHtoCv/P3+otBhbOhJgG8qtpdAMlTCxLtsTWA7LH1Oh/bFCHsBn0TPS5m30EQ==}
dependencies:
- '@types/unist': 2.0.8
+ '@types/unist': 3.0.2
dev: false
@@ -9229,7 +9232,7 @@ packages:
resolution: {integrity: sha512-kGaNbPh1k7AFzgpud/gMdvIm5xuECykRR+JnWKQno9TAXVa6WIVCGTPvYGekIDL4uwCZQSYbUxNBSb1aUo79oA==}
dependencies:
- '@types/unist': 2.0.8
+ '@types/unist': 3.0.2
dev: false
@@ -10263,10 +10266,6 @@ packages:
engines: {node: '>=12'}
dev: false
- resolution: {integrity: sha512-vJXt3yiaUL4UU546s3rPXlsry/RnM730G1+HkpKE012AN0sx1eOrxSu95oKDIonskeLTijMgqWZ3uDEe3NFvyg==}
- dev: false
-
resolution: {integrity: sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==}
engines: {node: '>=4'}
@@ -18042,16 +18041,6 @@ packages:
- supports-color
dev: false
- resolution: {integrity: sha512-GV+0aB8WZvMRZLm05su29SbA3CL0H5D8xV57Q1EjsgV2OP+LdLPgWVI1rFNLyZgBMVevxZqL/+6ZGz9l4X0wKw==}
- peerDependencies:
- react: ^16.8.0 || ^17.0.0 || ^18.0.0
- react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0
- dependencies:
- react: 18.2.0
- react-dom: 18.2.0([email protected])
- dev: false
-
resolution: {integrity: sha512-jLQXJ/URln51zskhgppGJ2ub7b2WFKGq3cl3NYKtlHoTG+dN2q7EzWrn3hN3EgPsTMvpR9tpq5ijdp7YwFZkag==}
dev: false
@@ -18569,7 +18558,7 @@ packages:
unist-util-visit: 4.1.2
dev: false
resolution: {integrity: sha512-TYA4oDxxn4z/YZ6ZNz7BX5BuyeJzi7D6XxI44T/eqUOBYypwwOd7RZ+IBb1NkERpian/k7sZ1+KsdIbWDRenQw==}
engines: {node: ^12.16.0 || >=13.2.0}
peerDependencies:
@@ -18577,7 +18566,7 @@ packages:
dependencies:
hash-obj: 4.0.0
parse-numeric-range: 1.3.0
- shiki: 0.14.1
+ shiki: 1.14.1
dev: false
@@ -19093,13 +19082,11 @@ packages:
resolution: {integrity: sha512-6j1W9l1iAs/4xYBI1SYOVZyFcCis9b4KCLQ8fgAGG07QvzaRLVVRQvAy85yNmmZSjYjg4MWh4gNvlPujU/5LpA==}
dev: false
- resolution: {integrity: sha512-+Jz4nBkCBe0mEDqo1eKRcCdjRtrCjozmcbTUjbPTX7OOJfEbTZzlUWlZtGe3Gb5oV1/jnojhG//YZc3rs9zSEw==}
+ resolution: {integrity: sha512-FujAN40NEejeXdzPt+3sZ3F2dx1U24BY2XTY01+MG8mbxCiA2XukXdcbyMyLAHJ/1AUUnQd1tZlvIjefWWEJeA==}
dependencies:
- ansi-sequence-parser: 1.1.1
- jsonc-parser: 3.2.0
- vscode-oniguruma: 1.7.0
- vscode-textmate: 8.0.0
+ '@shikijs/core': 1.14.1
+ '@types/hast': 3.0.4
dev: false
@@ -21017,14 +21004,6 @@ packages:
resolution: {integrity: sha512-gQpnTgkubC6hQgdIcRdYGDSDc+SaujOdyesZQMv6JlfQee/9Mp0Qhnys6WxDWvQnL5WZdT7o2Ul187aSt0Rq+w==}
dev: false
- resolution: {integrity: sha512-L9WMGRfrjOhgHSdOYgCt/yRMsXzLDJSL7BPrOZt73gU0iWO4mpqzqQzOz5srxqTvMBaR0XZTSrVWo4j55Rc6cA==}
- dev: false
-
- resolution: {integrity: sha512-AFbieoL7a5LMqcnOF04ji+rpXadgOXnZsxQr//r83kLPr7biP7am3g9zbaZIaBGwBRWeSvoMD4mgPdX3e4NWBg==}
- dev: false
-
resolution: {integrity: sha512-5hjyV/jLEIKD/jYl4cavMcnzKwjMKohureP8ejn3hhEjwhWIhWeuzL2kJAjzl/WyVsgPY56Sy4Z40C3lVshxXA==}
peerDependencies: