Skip to content

Open-source status page, incident response and uptime monitoring

feat: status-page icon svg upload (#2035)

Maximilian Kaske0c64af2d4e6e
diff --git a/apps/dashboard/src/components/forms/status-page/form-general.tsx b/apps/dashboard/src/components/forms/status-page/form-general.tsx
index 80bcd5ef9..2d09bc98b 100644
--- a/apps/dashboard/src/components/forms/status-page/form-general.tsx
+++ b/apps/dashboard/src/components/forms/status-page/form-general.tsx
@@ -226,7 +226,7 @@ export function FormGeneral({
) : (
<Input
type="file"
- accept="image/png,image/x-icon"
+ accept="image/png,image/x-icon,image/svg+xml"
onChange={async (e) => {
const file = e.target.files?.[0];
if (!file) return;
@@ -250,8 +250,8 @@ export function FormGeneral({
</FormControl>
<FormMessage />
<FormDescription>
- Select an icon for your status page. Ideally sized
- 512x512px. Will be used as favicon.
+ Select an icon for your status page. PNG/ICO: 512x512px
+ recommended. SVG also supported. Will be used as favicon.
</FormDescription>
</FormItem>
)}
diff --git a/apps/dashboard/src/lib/trpc/shared.ts b/apps/dashboard/src/lib/trpc/shared.ts
index b9a05f0e0..23af94147 100644
--- a/apps/dashboard/src/lib/trpc/shared.ts
+++ b/apps/dashboard/src/lib/trpc/shared.ts
@@ -16,6 +16,7 @@ const lambdas = [
"emailRouter",
"apiKeyRouter",
"integrationRouter",
+ "blob",
];
export const endingLink = (opts?: {
diff --git a/apps/status-page/src/app/(status-page)/[domain]/layout.tsx b/apps/status-page/src/app/(status-page)/[domain]/layout.tsx
index b52958cb1..cf7fdc378 100644
--- a/apps/status-page/src/app/(status-page)/[domain]/layout.tsx
+++ b/apps/status-page/src/app/(status-page)/[domain]/layout.tsx
@@ -106,7 +106,9 @@ export async function generateMetadata({
default: page?.title,
},
description: page?.description,
- icons: page?.icon,
+ icons: page?.icon?.toLowerCase().endsWith(".svg")
+ ? { icon: { url: page.icon, type: "image/svg+xml" } }
+ : page?.icon,
alternates: {
canonical: page?.customDomain
? `https://${page.customDomain}`
diff --git a/packages/api/package.json b/packages/api/package.json
index aa22b6662..60b52cd1a 100644
--- a/packages/api/package.json
+++ b/packages/api/package.json
@@ -9,13 +9,12 @@
},
"dependencies": {
"@openstatus/analytics": "workspace:*",
- "@openstatus/subscriptions": "workspace:*",
"@openstatus/assertions": "workspace:*",
"@openstatus/db": "workspace:*",
"@openstatus/emails": "workspace:*",
"@openstatus/error": "workspace:*",
- "@openstatus/locales": "workspace:*",
"@openstatus/importers": "workspace:*",
+ "@openstatus/locales": "workspace:*",
"@openstatus/notification-discord": "workspace:*",
"@openstatus/notification-google-chat": "workspace:*",
"@openstatus/notification-grafana-oncall": "workspace:*",
@@ -27,6 +26,7 @@
"@openstatus/notification-twillio-whatsapp": "workspace:*",
"@openstatus/notification-webhook": "workspace:*",
"@openstatus/regions": "workspace:*",
+ "@openstatus/subscriptions": "workspace:*",
"@openstatus/tinybird": "workspace:*",
"@openstatus/upstash": "workspace:*",
"@openstatus/utils": "workspace:*",
@@ -36,6 +36,8 @@
"@unkey/api": "2.2.0",
"@vercel/blob": "0.23.3",
"date-fns": "3.6.0",
+ "dompurify": "3.3.3",
+ "jsdom": "29.0.1",
"nanoid": "5.0.7",
"nanoid-dictionary": "5.0.0-beta.1",
"next": "16.1.6",
@@ -46,6 +48,7 @@
},
"devDependencies": {
"@openstatus/tsconfig": "workspace:*",
+ "@types/jsdom": "28.0.1",
"@types/react": "19.2.2",
"@types/react-dom": "19.2.2",
"bun-types": "1.0.8",
diff --git a/packages/api/src/edge.ts b/packages/api/src/edge.ts
index 49972c733..753dbf84b 100644
--- a/packages/api/src/edge.ts
+++ b/packages/api/src/edge.ts
@@ -1,4 +1,3 @@
-import { blobRouter } from "./router/blob";
import { checkerRouter } from "./router/checker";
import { domainRouter } from "./router/domain";
import { feedbackRouter } from "./router/feedback";
@@ -39,7 +38,6 @@ export const edgeRouter = createTRPCRouter({
maintenance: maintenanceRouter,
member: memberRouter,
checker: checkerRouter,
- blob: blobRouter,
feedback: feedbackRouter,
statusPage: statusPageRouter,
privateLocation: privateLocationRouter,
diff --git a/packages/api/src/lambda.ts b/packages/api/src/lambda.ts
index ce4b0f6f5..6b993f2d0 100644
--- a/packages/api/src/lambda.ts
+++ b/packages/api/src/lambda.ts
@@ -1,4 +1,5 @@
import { apiKeyRouter } from "./router/apiKey";
+import { blobRouter } from "./router/blob";
import { emailRouter } from "./router/email";
import { integrationRouter } from "./router/integration";
import { stripeRouter } from "./router/stripe";
@@ -9,6 +10,7 @@ export const lambdaRouter = createTRPCRouter({
emailRouter: emailRouter,
apiKeyRouter: apiKeyRouter,
integrationRouter: integrationRouter,
+ blob: blobRouter,
});
export { stripe } from "./router/stripe/shared";
diff --git a/packages/api/src/router/blob.test.ts b/packages/api/src/router/blob.test.ts
new file mode 100644
index 000000000..d11b8740b
--- /dev/null
+++ b/packages/api/src/router/blob.test.ts
@@ -0,0 +1,138 @@
+import { describe, expect, it } from "bun:test";
+import { isSvgFile, sanitizeSvg } from "./blob";
+
+describe("isSvgFile", () => {
+ it("detects .svg extension", () => {
+ expect(isSvgFile("logo.svg")).toBe(true);
+ });
+
+ it("is case-insensitive", () => {
+ expect(isSvgFile("logo.SVG")).toBe(true);
+ expect(isSvgFile("logo.Svg")).toBe(true);
+ });
+
+ it("rejects non-svg extensions", () => {
+ expect(isSvgFile("logo.png")).toBe(false);
+ expect(isSvgFile("logo.ico")).toBe(false);
+ expect(isSvgFile("logo.svg.png")).toBe(false);
+ });
+});
+
+describe("sanitizeSvg", () => {
+ it("keeps valid SVG content", async () => {
+ const svg =
+ '<svg xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="40"/></svg>';
+ const result = await sanitizeSvg(svg);
+ expect(result).toContain("<circle");
+ expect(result).toContain("<svg");
+ });
+
+ it("strips <script> tags", async () => {
+ const svg =
+ '<svg xmlns="http://www.w3.org/2000/svg"><script>alert("xss")</script><circle cx="50" cy="50" r="40"/></svg>';
+ const result = await sanitizeSvg(svg);
+ expect(result).not.toContain("<script");
+ expect(result).not.toContain("alert");
+ expect(result).toContain("<circle");
+ });
+
+ it("strips onclick attributes", async () => {
+ const svg =
+ '<svg xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="40" onclick="alert(1)"/></svg>';
+ const result = await sanitizeSvg(svg);
+ expect(result).not.toContain("onclick");
+ expect(result).toContain("<circle");
+ });
+
+ it("strips onload attributes", async () => {
+ const svg =
+ '<svg xmlns="http://www.w3.org/2000/svg" onload="alert(1)"><rect width="100" height="100"/></svg>';
+ const result = await sanitizeSvg(svg);
+ expect(result).not.toContain("onload");
+ expect(result).toContain("<rect");
+ });
+
+ it("strips onerror attributes", async () => {
+ const svg =
+ '<svg xmlns="http://www.w3.org/2000/svg"><image onerror="alert(1)"/></svg>';
+ const result = await sanitizeSvg(svg);
+ expect(result).not.toContain("onerror");
+ });
+
+ it("strips onmouseover and onfocus attributes", async () => {
+ const svg =
+ '<svg xmlns="http://www.w3.org/2000/svg"><rect width="100" height="100" onmouseover="alert(1)" onfocus="alert(2)"/></svg>';
+ const result = await sanitizeSvg(svg);
+ expect(result).not.toContain("onmouseover");
+ expect(result).not.toContain("onfocus");
+ expect(result).toContain("<rect");
+ });
+
+ it("strips onanimationend and ontouchstart attributes", async () => {
+ const svg =
+ '<svg xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="40" onanimationend="alert(1)" ontouchstart="alert(2)"/></svg>';
+ const result = await sanitizeSvg(svg);
+ expect(result).not.toContain("onanimationend");
+ expect(result).not.toContain("ontouchstart");
+ expect(result).toContain("<circle");
+ });
+
+ it("strips foreignObject tags", async () => {
+ const svg =
+ '<svg xmlns="http://www.w3.org/2000/svg"><foreignObject><body xmlns="http://www.w3.org/1999/xhtml"><script>alert(1)</script></body></foreignObject></svg>';
+ const result = await sanitizeSvg(svg);
+ expect(result).not.toContain("foreignObject");
+ expect(result).not.toContain("<script");
+ });
+
+ it("strips javascript: protocol in href", async () => {
+ const svg =
+ '<svg xmlns="http://www.w3.org/2000/svg"><a href="javascript:alert(1)"><circle cx="50" cy="50" r="40"/></a></svg>';
+ const result = await sanitizeSvg(svg);
+ expect(result).not.toContain("javascript");
+ });
+
+ it("returns empty string for fully malicious SVG", async () => {
+ const svg = '<script>alert("xss")</script>';
+ const result = await sanitizeSvg(svg);
+ expect(result.trim()).toBe("");
+ });
+
+ it("preserves common SVG elements", async () => {
+ const svg = `<svg xmlns="http://www.w3.org/2000/svg">
+ <defs>
+ <linearGradient id="grad">
+ <stop offset="0%" stop-color="red"/>
+ <stop offset="100%" stop-color="blue"/>
+ </linearGradient>
+ </defs>
+ <g>
+ <path d="M10 10 H 90 V 90 H 10 Z"/>
+ <rect width="50" height="50" fill="url(#grad)"/>
+ <circle cx="25" cy="25" r="10"/>
+ <ellipse cx="50" cy="50" rx="30" ry="20"/>
+ <line x1="0" y1="0" x2="100" y2="100"/>
+ <polyline points="0,0 50,50 100,0"/>
+ <polygon points="50,0 100,100 0,100"/>
+ <text x="10" y="20">Hello</text>
+ </g>
+ </svg>`;
+ const result = await sanitizeSvg(svg);
+ for (const tag of [
+ "path",
+ "rect",
+ "circle",
+ "ellipse",
+ "line",
+ "polyline",
+ "polygon",
+ "text",
+ "g",
+ "defs",
+ "linearGradient",
+ "stop",
+ ]) {
+ expect(result).toContain(`<${tag}`);
+ }
+ });
+});
diff --git a/packages/api/src/router/blob.ts b/packages/api/src/router/blob.ts
index 60134371d..7737a485e 100644
--- a/packages/api/src/router/blob.ts
+++ b/packages/api/src/router/blob.ts
@@ -4,6 +4,44 @@ import { z } from "zod";
import { TRPCError } from "@trpc/server";
import { createTRPCRouter, protectedProcedure } from "../trpc";
+const SVG_MAX_SIZE_BYTES = 100 * 1024; // 100KB
+
+export function isSvgFile(filename: string): boolean {
+ return filename.toLowerCase().endsWith(".svg");
+}
+
+// Cached DOMPurify instance to avoid recreating JSDOM on every call
+let cachedDOMPurify: Awaited<ReturnType<typeof initDOMPurify>> | null = null;
+
+async function initDOMPurify() {
+ const { JSDOM } = await import("jsdom");
+ const createDOMPurify = (await import("dompurify")).default;
+ return createDOMPurify(new JSDOM("").window);
+}
+
+async function getDOMPurify() {
+ if (!cachedDOMPurify) {
+ cachedDOMPurify = await initDOMPurify();
+ }
+ return cachedDOMPurify;
+}
+
+export async function sanitizeSvg(svgContent: string): Promise<string> {
+ // Lazy imports because root.ts merges edge + lambda routers,
+ // so this module is evaluated in both runtimes — jsdom can't load on edge
+ const DOMPurify = await getDOMPurify();
+ return DOMPurify.sanitize(svgContent, {
+ USE_PROFILES: { svg: true, svgFilters: true },
+ // DOMPurify's SVG profile strips all on* event handlers by default.
+ // We explicitly forbid foreignObject (can embed arbitrary HTML),
+ // and script (direct code execution).
+ // FORBID_CONTENTS ensures text inside forbidden tags is also removed
+ // (e.g. alert(...) text from <script> won't leak into the output).
+ FORBID_TAGS: ["foreignObject", "script"],
+ FORBID_CONTENTS: ["foreignObject", "script"],
+ });
+}
+
export const blobRouter = createTRPCRouter({
upload: protectedProcedure
.input(
@@ -28,7 +66,32 @@ export const blobRouter = createTRPCRouter({
});
}
- const buffer = Buffer.from(base64, "base64");
+ let buffer = Buffer.from(base64, "base64");
+
+ if (isSvgFile(filename)) {
+ if (buffer.byteLength > SVG_MAX_SIZE_BYTES) {
+ throw new TRPCError({
+ code: "BAD_REQUEST",
+ message: "SVG file must be under 100KB",
+ });
+ }
+
+ const sanitized = await sanitizeSvg(buffer.toString("utf-8"));
+ if (!sanitized.trim()) {
+ throw new TRPCError({
+ code: "BAD_REQUEST",
+ message: "SVG file contains no valid content after sanitization",
+ });
+ }
+ const sanitizedBuffer = Buffer.from(sanitized, "utf-8");
+ if (sanitizedBuffer.byteLength > SVG_MAX_SIZE_BYTES) {
+ throw new TRPCError({
+ code: "BAD_REQUEST",
+ message: "SVG file must be under 100KB",
+ });
+ }
+ buffer = sanitizedBuffer;
+ }
const blob = await put(`${opts.ctx.workspace.slug}/${filename}`, buffer, {
access: "public",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 947c108a6..b36546463 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -1294,6 +1294,12 @@ importers:
date-fns:
specifier: 3.6.0
version: 3.6.0
+ dompurify:
+ specifier: 3.3.3
+ version: 3.3.3
+ jsdom:
+ specifier: 29.0.1
+ version: 29.0.1(@noble/[email protected])
nanoid:
specifier: 5.0.7
version: 5.0.7
@@ -1319,6 +1325,9 @@ importers:
'@openstatus/tsconfig':
specifier: workspace:*
version: link:../tsconfig
+ '@types/jsdom':
+ specifier: 28.0.1
+ version: 28.0.1
'@types/react':
specifier: 19.2.2
version: 19.2.2
@@ -2357,6 +2366,17 @@ packages:
'@apm-js-collab/[email protected]':
resolution: {integrity: sha512-Vu1CbmPURlN5fTboVuKMoJjbO5qcq9fA5YXpskx3dXe/zTBvjODFoerw+69rVBlRLrJpwPqSDqEuJDEKIrTldw==}
+ '@asamuzakjp/[email protected]':
+ resolution: {integrity: sha512-iGWN8E45Ws0XWx3D44Q1t6vX2LqhCKcwfmwBYCDsFrYFS6m4q/Ks61L2veETaLv+ckDC6+dTETJoaAAb7VjLiw==}
+ engines: {node: ^20.19.0 || ^22.12.0 || >=24.0.0}
+
+ '@asamuzakjp/[email protected]':
+ resolution: {integrity: sha512-jXR6x4AcT3eIrS2fSNAwJpwirOkGcd+E7F7CP3zjdTqz9B/2huHOL8YJZBgekKwLML+u7qB/6P1LXQuMScsx0w==}
+ engines: {node: ^20.19.0 || ^22.12.0 || >=24.0.0}
+
+ '@asamuzakjp/[email protected]':
+ resolution: {integrity: sha512-n8GuYSrI9bF7FFZ/SjhwevlHc8xaVlb/7HmHelnc/PZXBD2ZR49NnN9sMMuDdEGPeeRQ5d0hqlSlEpgCX3Wl0Q==}
+
'@asteasolutions/[email protected]':
resolution: {integrity: sha512-u05zNUirlukJAf9oEHmxSF31L1XQhz9XdpVILt7+xhrz65oQqBpiOWFkGvRWL0IpjOUJ878idKoNmYPxrFnkeg==}
peerDependencies:
@@ -2881,6 +2901,10 @@ packages:
cpu: [x64]
os: [win32]
+ '@bramus/[email protected]':
+ resolution: {integrity: sha512-ctxtJ/eA+t+6q2++vj5j7FYX3nRu311q1wfYH3xjlLOsczhlhxAg2FWNUXhpGvAw3BWo1xBcvOV6/YLc2r5FJw==}
+ hasBin: true
+
'@bufbuild/[email protected]':
resolution: {integrity: sha512-ybwjZ8hFpDiSfTY8ltuNulh6e4CYcojZX+joo/VocFb4InRFyF08S+JSO+1ld+nTmJ24ziGwXZTg8qXiiN6qog==}
engines: {node: '>=12'}
@@ -2991,6 +3015,42 @@ packages:
resolution: {integrity: sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw==}
engines: {node: '>=12'}
+ '@csstools/[email protected]':
+ resolution: {integrity: sha512-LMGQLS9EuADloEFkcTBR3BwV/CGHV7zyDxVRtVDTwdI2Ca4it0CCVTT9wCkxSgokjE5Ho41hEPgb8OEUwoXr6Q==}
+ engines: {node: '>=20.19.0'}
+
+ '@csstools/[email protected]':
+ resolution: {integrity: sha512-HJ26Z/vmsZQqs/o3a6bgKslXGFAungXGbinULZO3eMsOyNJHeBBZfup5FiZInOghgoM4Hwnmw+OgbJCNg1wwUQ==}
+ engines: {node: '>=20.19.0'}
+ peerDependencies:
+ '@csstools/css-parser-algorithms': ^4.0.0
+ '@csstools/css-tokenizer': ^4.0.0
+
+ '@csstools/[email protected]':
+ resolution: {integrity: sha512-0GEfbBLmTFf0dJlpsNU7zwxRIH0/BGEMuXLTCvFYxuL1tNhqzTbtnFICyJLTNK4a+RechKP75e7w42ClXSnJQw==}
+ engines: {node: '>=20.19.0'}
+ peerDependencies:
+ '@csstools/css-parser-algorithms': ^4.0.0
+ '@csstools/css-tokenizer': ^4.0.0
+
+ '@csstools/[email protected]':
+ resolution: {integrity: sha512-+B87qS7fIG3L5h3qwJ/IFbjoVoOe/bpOdh9hAjXbvx0o8ImEmUsGXN0inFOnk2ChCFgqkkGFQ+TpM5rbhkKe4w==}
+ engines: {node: '>=20.19.0'}
+ peerDependencies:
+ '@csstools/css-tokenizer': ^4.0.0
+
+ '@csstools/[email protected]':
+ resolution: {integrity: sha512-5GkLzz4prTIpoyeUiIu3iV6CSG3Plo7xRVOFPKI7FVEJ3mZ0A8SwK0XU3Gl7xAkiQ+mDyam+NNp875/C5y+jSA==}
+ peerDependencies:
+ css-tree: ^3.2.1
+ peerDependenciesMeta:
+ css-tree:
+ optional: true
+
+ '@csstools/[email protected]':
+ resolution: {integrity: sha512-QxULHAm7cNu72w97JUNCBFODFaXpbDg+dP8b/oWFAZ2MTRppA3U00Y2L1HqaS4J6yBqxwa/Y3nMBaxVKbB/NsA==}
+ engines: {node: '>=20.19.0'}
+
resolution: {integrity: sha512-kzyuwOAQnXJNLS9PSyrk0CWk35nWJW/zl/6KvnTBMFK65gm7U1/Z5BqjxeapjZCIhQcM/DsrEmcbRwDyXyXK4A==}
engines: {node: '>=14'}
@@ -3422,6 +3482,15 @@ packages:
cpu: [x64]
os: [win32]
+ '@exodus/[email protected]':
+ resolution: {integrity: sha512-UY0nlA+feH81UGSHv92sLEPLCeZFjXOuHhrIo0HQydScuQc8s0A7kL/UdgwgDq8g8ilksmuoF35YVTNphV2aBQ==}
+ engines: {node: ^20.19.0 || ^22.12.0 || >=24.0.0}
+ peerDependencies:
+ '@noble/hashes': ^1.8.0 || ^2.0.0
+ peerDependenciesMeta:
+ '@noble/hashes':
+ optional: true
+
'@expressive-code/[email protected]':
resolution: {integrity: sha512-9qzohqU7O0+JwMEEgQhnBPOw5DtsQRBXhW++5fvEywsuX44vCGGof1SL5OvPElvNgaWZ4pFZAFSlkNOkGyLwSQ==}
@@ -7253,6 +7322,9 @@ packages:
resolution: {integrity: sha512-k4MGaQl5TGo/iipqb2UDG2UwjXziSWkh0uysQelTlJpX1qGlpUZYm8PnO4DxG1qBomtJUdYJ6qR6xdIah10JLg==}
+ '@types/[email protected]':
+ resolution: {integrity: sha512-GJq2QE4TAZ5ajSoCasn5DOFm8u1mI3tIFvM5tIq3W5U/RTB6gsHwc6Yhpl91X9VSDOUVblgXmG+2+sSvFQrdlw==}
+
resolution: {integrity: sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==}
@@ -7355,6 +7427,9 @@ packages:
resolution: {integrity: sha512-/Ad8+nIOV7Rl++6f1BdKxFSMgmoqEoYbHRpPcx3JEfv8VRsQe9Z4mCXeJBzxs7mbHY/XOZZuXlRNfhpVPbs6ZA==}
+ '@types/[email protected]':
+ resolution: {integrity: sha512-ScaPdn1dQczgbl0QFTeTOmVHFULt394XJgOQNoyVhZ6r2vLnMLJfBPd53SB52T/3G36VI1/g2MZaX0cwDuXsfw==}
+
resolution: {integrity: sha512-CmBKiL6NNo/OqgmMn95Fk9Whlp2mtvIv+KNpQKN2F4SjvrEesubTRWGYSg+BnWZOnlCaSTU1sMpsBOzgbYhnsA==}
@@ -7721,6 +7796,9 @@ packages:
resolution: {integrity: sha512-GlF5wPWnSa/X5LKM1o0wz0suXIINz1iHRLvTS+sLyi7XPbe5ycmYI3DlZqVGZZtDgl4DmasFg7gOB3JYbphV5g==}
hasBin: true
+ resolution: {integrity: sha512-RKshQI1R3YQ+n9YJz2QQ147P66ELpa1FQEg20Dk8oW9t2KgLbpDLLp9aGZ7y8WHSshDknG0bknqGw5/tyCs5tw==}
+
resolution: {integrity: sha512-Ko0uX15oIUS7wJ3Rb30Fs6SkVbLmPBAKdlm7q9+ak9bbIeFf0MwuBsQV6z7+X768/cHsfg+WlysDWJcmthjsjQ==}
@@ -8110,6 +8188,10 @@ packages:
resolution: {integrity: sha512-0eW44TGN5SQXU1mWSkKwFstI/22X2bG1nYzZTYMAWjylYURhse752YgbE4Cx46AC+bAvI+/dYTPRk1LqSUnu6w==}
engines: {node: ^10 || ^12.20.0 || ^14.13.0 || >=15.0.0}
+ resolution: {integrity: sha512-X7sjQzceUhu1u7Y/ylrRZFU2FS6LRiFVp6rKLPg23y3x3c3DOKAwuXGDp+PAGjh6CSnCjYeAul8pcT8bAl+lSA==}
+ engines: {node: ^10 || ^12.20.0 || ^14.13.0 || >=15.0.0}
+
resolution: {integrity: sha512-u/O3vwbptzhMs3L1fQE82ZSLHQQfto5gyZzwteVIEyeaY5Fc7R4dapF/BvRoSYFeqfBk4m0V1Vafq5Pjv25wvA==}
engines: {node: '>= 6'}
@@ -8181,6 +8263,10 @@ packages:
resolution: {integrity: sha512-7hvf7/GW8e86rW0ptuwS3OcBGDjIi6SZva7hCyWC0yYry2cOPmLIjXAUHI6DK2HsnwJd9ifmt57i8eV2n4YNpw==}
engines: {node: '>= 14'}
+ resolution: {integrity: sha512-23XHcCF+coGYevirZceTVD7NdJOqVn+49IHyxgszm+JIiHLoB2TkmPtsYkNWT1pvRSGkc35L6NHs0yHkN2SumA==}
+ engines: {node: ^20.19.0 || ^22.12.0 || >=24.0.0}
+
resolution: {integrity: sha512-OAtcLdB9vxSXTWHdT8b398ARImVwQMyjfYGkKD2zaGpHseG2UPHbHjXELReErZFxWdSLph3c2zOaaTyHfOhERQ==}
peerDependencies:
@@ -8346,6 +8432,9 @@ packages:
resolution: {integrity: sha512-cgwlv/1iFQiFnU96XXgROh8xTeetsnJiDsTc7TYCLFd9+/WNkIqPTxiM/8pSd8VIrhXGTf1Ny1q1hquVqDJB5w==}
engines: {node: '>= 4'}
+ resolution: {integrity: sha512-Oj6pzI2+RqBfFG+qOaOLbFXLQ90ARpcGG6UePL82bJLtdsa6CYJD7nmiU8MW9nQNOtCHV3lZ/Bzq1X0QYbBZCA==}
+
resolution: {integrity: sha512-6kZKyUajlDuqlHKVX1w7gyslj9MPIXzIFiz/rGu35uC1wMi+kMhQwGhl4lt9unC9Vb9INnY9Z3/ZA3+FhASLaw==}
@@ -9137,6 +9226,10 @@ packages:
resolution: {integrity: sha512-Yc+BQe8SvoXH1643Qez1zqLRmbA5rCL+sSmk6TVos0LWVfNIB7PGncdlId77WzLGSIB5KaWgTaNTs2lNVEI6VQ==}
+ resolution: {integrity: sha512-CV9TW3Y3f8/wT0BRFc1/KAVQ3TUHiXmaAb6VW9vtiMFf7SLoMd1PdAc4W3KFOFETBJUb90KatHqlsZMWV+R9Gg==}
+ engines: {node: ^20.19.0 || ^22.12.0 || >=24.0.0}
+
resolution: {integrity: sha512-RuMffC89BOWQoY0WKGpIhn5gX3iI54O6nRA0yC124NYVtzjmFWBIiFd8M0x+ZdX0P9R4lADg1mgP8C7PxGOWuQ==}
@@ -9370,6 +9463,9 @@ packages:
resolution: {integrity: sha512-VRSzKkbMm5jMDoKLbltAkFQ5Qr7VDiTFGXxYFXXowVj387GeGNOCsOH6Msy00SGZ3Fp84b1Naa1psqgcCIEP5Q==}
engines: {node: '>=0.10.0'}
+ resolution: {integrity: sha512-bCYeRA2rVibKZd+s2625gGnGF/t7DSqDs4dP7CrLA1m7jKWz6pps0LpYLJN8Q64HtmPKJ1hrN3nzPNKFEKOUiQ==}
+
resolution: {integrity: sha512-hvpoI6korhJMnej285dSg6nu1+e6uxs7zG3BYAm5byqDsgJNWwxzM6z6iZiAgQR4TJ30JmBTOwqZUw3WlyH3AQ==}
@@ -9468,6 +9564,15 @@ packages:
resolution: {integrity: sha512-qQKT4zQxXl8lLwBtHMWwaTcGfFOZviOJet3Oy/xmGk2gZH677CJM9EvtfdSkgWcATZhj/55JZ0rmy3myCT5lsA==}
hasBin: true
+ resolution: {integrity: sha512-z6JOK5gRO7aMybVq/y/MlIpKh8JIi68FBKMUtKkK2KH/wMSRlCxQ682d08LB9fYXplyY/UXG8P4XXTScmdjApg==}
+ engines: {node: ^20.19.0 || ^22.13.0 || >=24.0.0}
+ peerDependencies:
+ canvas: ^3.0.0
+ peerDependenciesMeta:
+ canvas:
+ optional: true
+
resolution: {integrity: sha512-/sM3dO2FOzXjKQhJuo0Q173wf2KOo8t4I8vHy6lF9poUp7bKT0/NHE8fPX23PwfhnykfqnC2xRxOnVw5XuGIaA==}
engines: {node: '>=6'}
@@ -9715,6 +9820,10 @@ packages:
resolution: {integrity: sha512-F9ODfyqML2coTIsQpSkRHnLSZMtkU8Q+mSfcaIyKwy58u+8k5nvAYeiNhsyMARvzNcXJ9QfWVrcPsC9e9rAxtg==}
engines: {node: 20 || >=22}
+ resolution: {integrity: sha512-aY/R+aEsRelme17KGQa/1ZSIpLpNYYrhcrepKTZgE+W3WM16YMCaPwOHLHsmopZHELU0Ojin1lPVxKR0MihncA==}
+ engines: {node: 20 || >=22}
+
resolution: {integrity: sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==}
@@ -9820,6 +9929,9 @@ packages:
resolution: {integrity: sha512-IEn+pegP1aManZuckezWCO+XZQDplx1366JoVhTpMpBB1sPey/SbveZQUosKiKiGYjg1wH4pMlNgXbCiYgihQA==}
+ resolution: {integrity: sha512-9Yubnt3e8A0OKwxYSXyhLymGW4sCufcLG6VdiDdUGVkPhpqLxlvP5vl1983gQjJl3tqbrM731mjaZaP68AgosQ==}
+
resolution: {integrity: sha512-aisnrDP4GNe06UcKFnV5bfMNPBUw4jsLGaWwWfnH3v02GnBuXX2MCVn5RbrWo0j3pczUilYblq7fQ7Nw2t5XKw==}
engines: {node: '>= 0.8'}
@@ -10433,6 +10545,9 @@ packages:
resolution: {integrity: sha512-IInvU7fabl34qmi9gY8XOVxhYyMyuH2xUNpb2q8/Y+7552KlejkRvqvD19nMoUW/uQGGbqNpA6Tufu5FL5BZgw==}
+ resolution: {integrity: sha512-9m4m5GSgXjL4AjumKzq1Fgfp3Z8rsvjRNbnkVwfu2ImRqE5D0LnY2QfDen18FSY9C573YU5XxSapdHZTZ2WolA==}
+
resolution: {integrity: sha512-e6qHKe3a9HWr0oMRVDTRhKce+bRO8VGQR3NyVwcjwrbhMmFCX9KszEV35+rn4AdilFAq9VPxP/Fe1wC9Qjd2lw==}
@@ -11102,6 +11217,10 @@ packages:
resolution: {integrity: sha512-yqYn1JhPczigF94DMS+shiDMjDowYO6y9+wB/4WgO0Y19jWYk0lQ4tuG5KI7kj4FTp1wxPj5IFfcrz/s1c3jjQ==}
+ resolution: {integrity: sha512-xAg7SOnEhrm5zI3puOOKyy1OMcMlIJZYNJY7xLBwSze0UjhPLnWfj2GF2EpT0jmzaJKIWKHLsaSSajf35bcYnA==}
+ engines: {node: '>=v12.22.7'}
+
resolution: {integrity: sha512-eNv+WrVbKu1f3vbYJT/xtiF5syA5HPIMtf9IgY/nKg0sWqzAUEvqY/xm7OcZc/qafLx/iO9FgOmeSAp4v5ti/Q==}
@@ -11479,6 +11598,9 @@ packages:
peerDependencies:
react: ^16.11.0 || ^17.0.0 || ^18.0.0 || ^19.0.0
+ resolution: {integrity: sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw==}
+
resolution: {integrity: sha512-yEFYrVhod+hdNyx7g5Bnkkb0G6si8HJurOoOEgC8B/O0uXLHlaey/65KRv6cuWBNhBgHKAROVpc7QyYqE5gFng==}
engines: {node: '>=20'}
@@ -11604,12 +11726,20 @@ packages:
resolution: {integrity: sha512-kXuRi1mtaKMrsLUxz3sQYvVl37B0Ns6MzfrtV5DvJceE9bPyspOqk9xxv7XbZWcfLWbFmm997vl83qUWVJA64w==}
engines: {node: '>=16'}
+ resolution: {integrity: sha512-LktZQb3IeoUWB9lqR5EWTHgW/VTITCXg4D21M+lvybRVdylLrRMnqaIONLVb5mav8vM19m44HIcGq4qASeu2Qw==}
+ engines: {node: '>=16'}
+
resolution: {integrity: sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==}
resolution: {integrity: sha512-dTpowEjclQ7Kgx5SdBkqRzVhERQXov8/l9Ft9dVM9fmg0W0KQSVaXX9T4i6twCPNtYiZM53lpSSUAwJbFPOHxA==}
+ resolution: {integrity: sha512-bLVMLPtstlZ4iMQHpFHTR7GAGj2jxi8Dg0s2h2MafAE4uSWF98FC/3MomU51iQAMf8/qDUbKWf5GxuvvVcXEhw==}
+ engines: {node: '>=20'}
+
resolution: {integrity: sha512-L0Orpi8qGpRG//Nd+H90vFB+3iHnue1zSSGmNOOCh1GLJ7rUKVwV2HvijphGQS2UmhUZewS9VgvxYIdgr+fG1A==}
hasBin: true
@@ -11779,6 +11909,9 @@ packages:
resolution: {integrity: sha512-Zz+aZWSj8LE6zoxD+xrjh4VfkIG8Ya6LvYkZqtUQGJPZjYl53ypCaUwWqo7eI0x66KBGeRo+mlBEkMSeSZ38Nw==}
+ resolution: {integrity: sha512-WRNW+sJgj5OBN4/0JpHFqtqzhpbnV0GuB+OozA9gCL7a993SmU+1JBZCzLNxYsbMfIeDL+lTsphD5jN5N+n0zg==}
+
resolution: {integrity: sha512-9UJ2xGDvQ43tYyVMpuHlsgApydB8ZKfVYTsLDhXkFL/6gfkp+U8xTGdh8pMJv1SpZna0zxG1DwsKZsreLbXBxw==}
@@ -11786,6 +11919,10 @@ packages:
resolution: {integrity: sha512-raqeBD6NQK4SkWhQzeYKd1KmIG6dllBOTt55Rmkt4HtI9mwdWtJljnrXjAFUBLTSN67HWrOIZ3EPF4kjUw80Bg==}
engines: {node: '>=14.0'}
+ resolution: {integrity: sha512-Xi4agocCbRzt0yYMZGMA6ApD7gvtUFaxm4ZmeacWI4cZxaF6C+8I8QfofC20NAePiB/IcvZmzkJ7XPa471AEtA==}
+ engines: {node: '>=20.18.1'}
+
resolution: {integrity: sha512-CLjCCLQ6UuMxWnbIylkisbRj31qxHPAurvena/0iwSVbQ2G1VY5/HjV0IRabOEbDHlzZlRdCrD4NhB0JtU40Pg==}
@@ -12202,6 +12339,10 @@ packages:
resolution: {integrity: sha512-/BpdSx+yCQGnCvecbyXdxHDkuk55/G3xwnC0GqY4gmQ3j+A+g8kzzgB4Nk/SINjqn6+waqw3EgbVF2QKExkRxQ==}
+ resolution: {integrity: sha512-o8qghlI8NZHU1lLPrpi2+Uq7abh4GGPpYANlalzWxyWteJOCsr/P+oPBA49TOLu5FTZO4d3F9MnWJfiMo4BkmA==}
+ engines: {node: '>=18'}
+
resolution: {integrity: sha512-3hu+tD8YzSLGuFYtPRb48vdhKMi0KQV5sn+uWr8+7dMEq/2G/dtLrdDinkLjqq5TIbIBjYJ4Ax/n3YiaW7QM8A==}
engines: {node: 20 || >=22}
@@ -12226,6 +12367,10 @@ packages:
resolution: {integrity: sha512-YQ+BmxuTgd6UXZW3+ICGfyqRyHXVlD5GtQr5+qjiNW7bF0cqrzX500HVXPBOvgXb5YnzDd+h0zqyv61KUD7+Sg==}
+ resolution: {integrity: sha512-BMhLD/Sw+GbJC21C/UgyaZX41nPt8bUTg+jWyDeg7e7YN4xOM05YPSIXceACnXVtqyEw/LMClUQMtMZ+PGGpqQ==}
+ engines: {node: '>=20'}
+
resolution: {integrity: sha512-yd1RBzSGanHkitROoPFd6qsrxt+oFhg/129YzheDGqeustzX0vTZJZsSsQjVQC4yzBQ56K55XU8gaNCtIzOnTg==}
engines: {node: '>=10.13.0'}
@@ -12249,6 +12394,14 @@ packages:
resolution: {integrity: sha512-EqhiFU6daOA8kpjOWTL0olhVOF3i7OrFzSYiGsEMB8GcXS+RrzauAERX65xMeNWVqxA6HXH2m69Z9LaKKdisfg==}
+ resolution: {integrity: sha512-sXcNcHOC51uPGF0P/D4NVtrkjSU2fNsm9iog4ZvZJsL3rjoDAzXZhkm2MWt1y+PUdggKAYVoMAIYcs78wJ51Cw==}
+ engines: {node: '>=20'}
+
+ resolution: {integrity: sha512-1to4zXBxmXHV3IiSSEInrreIlu02vUOvrhxJJH5vcxYTBDAx51cqZiKdyTxlecdKNSjj8EcxGBxNf6Vg+945gw==}
+ engines: {node: ^20.19.0 || ^22.12.0 || >=24.0.0}
+
resolution: {integrity: sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==}
@@ -12330,6 +12483,13 @@ packages:
resolution: {integrity: sha512-7rVi2KMfwfWFl+GpPg6m80IVMWXLRjO+PxTq7V2CDhoGak0wzYzFgUY2m4XJ47OGdXd8eLE8EmwfAmdjw7lC1g==}
hasBin: true
+ resolution: {integrity: sha512-EvGK8EJ3DhaHfbRlETOWAS5pO9MZITeauHKJyb8wyajUfQUenkIg2MvLDTZ4T/TgIcm3HU0TFBgWWboAZ30UHg==}
+ engines: {node: '>=18'}
+
+ resolution: {integrity: sha512-JZnDKK8B0RCDw84FNdDAIpZK+JuJw+s7Lz8nksI7SIuU3UXJJslUthsi+uWBUYOwPFwW7W7PRLRfUKpxjtjFCw==}
+
resolution: {integrity: sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==}
engines: {node: '>=0.4'}
@@ -12490,6 +12650,24 @@ snapshots:
transitivePeerDependencies:
- supports-color
+ '@asamuzakjp/[email protected]':
+ dependencies:
+ '@csstools/css-calc': 3.1.1(@csstools/[email protected](@csstools/[email protected]))(@csstools/[email protected])
+ '@csstools/css-color-parser': 4.0.2(@csstools/[email protected](@csstools/[email protected]))(@csstools/[email protected])
+ '@csstools/css-parser-algorithms': 4.0.0(@csstools/[email protected])
+ '@csstools/css-tokenizer': 4.0.0
+ lru-cache: 11.2.7
+
+ '@asamuzakjp/[email protected]':
+ dependencies:
+ '@asamuzakjp/nwsapi': 2.3.9
+ bidi-js: 1.0.3
+ css-tree: 3.2.1
+ is-potential-custom-element-name: 1.0.1
+ lru-cache: 11.2.7
+
+ '@asamuzakjp/[email protected]': {}
+
dependencies:
openapi3-ts: 4.5.0
@@ -13479,6 +13657,10 @@ snapshots:
'@biomejs/[email protected]':
optional: true
+ '@bramus/[email protected]':
+ dependencies:
+ css-tree: 3.2.1
+
'@bufbuild/[email protected]':
optional: true
@@ -13569,6 +13751,30 @@ snapshots:
dependencies:
'@jridgewell/trace-mapping': 0.3.9
+ '@csstools/[email protected]': {}
+
+ '@csstools/[email protected](@csstools/[email protected](@csstools/[email protected]))(@csstools/[email protected])':
+ dependencies:
+ '@csstools/css-parser-algorithms': 4.0.0(@csstools/[email protected])
+ '@csstools/css-tokenizer': 4.0.0
+
+ '@csstools/[email protected](@csstools/[email protected](@csstools/[email protected]))(@csstools/[email protected])':
+ dependencies:
+ '@csstools/color-helpers': 6.0.2
+ '@csstools/css-calc': 3.1.1(@csstools/[email protected](@csstools/[email protected]))(@csstools/[email protected])
+ '@csstools/css-parser-algorithms': 4.0.0(@csstools/[email protected])
+ '@csstools/css-tokenizer': 4.0.0
+
+ '@csstools/[email protected](@csstools/[email protected])':
+ dependencies:
+ '@csstools/css-tokenizer': 4.0.0
+
+ optionalDependencies:
+ css-tree: 3.2.1
+
+ '@csstools/[email protected]': {}
+
'@ctrl/[email protected]': {}
'@date-fns/[email protected]': {}
@@ -13901,6 +14107,10 @@ snapshots:
'@esbuild/[email protected]':
optional: true
+ optionalDependencies:
+ '@noble/hashes': 1.8.0
+
'@expressive-code/[email protected]':
dependencies:
'@ctrl/tinycolor': 4.2.0
@@ -17917,6 +18127,13 @@ snapshots:
'@types/[email protected]': {}
+ '@types/[email protected]':
+ dependencies:
+ '@types/node': 24.0.8
+ '@types/tough-cookie': 4.0.5
+ parse5: 7.3.0
+ undici-types: 7.24.6
+
'@types/[email protected]': {}
'@types/[email protected]': {}
@@ -18026,6 +18243,9 @@ snapshots:
'@types/[email protected]': {}
+ '@types/[email protected]':
+ optional: true
+
'@types/[email protected]': {}
'@types/[email protected]': {}
@@ -18522,6 +18742,10 @@ snapshots:
+ dependencies:
+ require-from-string: 2.0.2
+
@@ -18924,6 +19148,11 @@ snapshots:
mdn-data: 2.12.2
source-map-js: 1.2.1
+ dependencies:
+ mdn-data: 2.27.1
+ source-map-js: 1.2.1
+
@@ -18978,6 +19207,13 @@ snapshots:
+ dependencies:
+ whatwg-mimetype: 5.0.0
+ whatwg-url: 16.0.1(@noble/[email protected])
+ transitivePeerDependencies:
+ - '@noble/hashes'
+
dependencies:
date-fns: 3.6.0
@@ -19105,6 +19341,10 @@ snapshots:
dependencies:
domelementtype: 2.3.0
+ optionalDependencies:
+ '@types/trusted-types': 2.0.7
+
dependencies:
dom-serializer: 2.0.0
@@ -20119,6 +20359,12 @@ snapshots:
+ dependencies:
+ '@exodus/bytes': 1.15.0(@noble/[email protected])
+ transitivePeerDependencies:
+ - '@noble/hashes'
+
@@ -20359,6 +20605,8 @@ snapshots:
+
@@ -20439,6 +20687,32 @@ snapshots:
dependencies:
argparse: 2.0.1
+ dependencies:
+ '@asamuzakjp/css-color': 5.1.1
+ '@asamuzakjp/dom-selector': 7.0.4
+ '@bramus/specificity': 2.4.2
+ '@csstools/css-syntax-patches-for-csstree': 1.1.2([email protected])
+ '@exodus/bytes': 1.15.0(@noble/[email protected])
+ css-tree: 3.2.1
+ data-urls: 7.0.0(@noble/[email protected])
+ decimal.js: 10.6.0
+ html-encoding-sniffer: 6.0.0(@noble/[email protected])
+ is-potential-custom-element-name: 1.0.1
+ lru-cache: 11.2.7
+ parse5: 8.0.0
+ saxes: 6.0.0
+ symbol-tree: 3.2.4
+ tough-cookie: 6.0.1
+ undici: 7.24.6
+ w3c-xmlserializer: 5.0.0
+ webidl-conversions: 8.0.1
+ whatwg-mimetype: 5.0.0
+ whatwg-url: 16.0.1(@noble/[email protected])
+ xml-name-validator: 5.0.0
+ transitivePeerDependencies:
+ - '@noble/hashes'
+
@@ -20652,6 +20926,8 @@ snapshots:
+
dependencies:
yallist: 3.1.1
@@ -20875,6 +21151,8 @@ snapshots:
+
@@ -21740,6 +22018,10 @@ snapshots:
dependencies:
entities: 6.0.1
+ dependencies:
+ entities: 6.0.1
+
dependencies:
leac: 0.6.0
@@ -22622,6 +22904,10 @@ snapshots:
+ dependencies:
+ xmlchars: 2.2.0
+
@@ -23205,6 +23491,8 @@ snapshots:
react: 19.2.3
use-sync-external-store: 1.6.0([email protected])
+
@@ -23330,12 +23618,20 @@ snapshots:
dependencies:
tldts: 7.0.19
+ dependencies:
+ tldts: 7.0.19
+
dependencies:
punycode: 2.3.1
+ dependencies:
+ punycode: 2.3.1
+
@@ -23548,12 +23844,16 @@ snapshots:
optional: true
+
dependencies:
'@fastify/busboy': 2.1.1
+
dependencies:
base64-js: 1.5.1
@@ -23943,6 +24243,10 @@ snapshots:
+ dependencies:
+ xml-name-validator: 5.0.0
+
@@ -23962,6 +24266,8 @@ snapshots:
+
@@ -24002,6 +24308,16 @@ snapshots:
+
+ dependencies:
+ '@exodus/bytes': 1.15.0(@noble/[email protected])
+ tr46: 6.0.0
+ webidl-conversions: 8.0.1
+ transitivePeerDependencies:
+ - '@noble/hashes'
+
dependencies:
tr46: 0.0.3
@@ -24070,6 +24386,10 @@ snapshots:
dependencies:
sax: 1.4.3
+
+