Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

Use mysql database driver (#1186)

Brendan Allan8efc75fb1837
diff --git a/apps/web/actions/analytics/track-user-signed-up.ts b/apps/web/actions/analytics/track-user-signed-up.ts
index 808fbc52c..652a55e4a 100644
--- a/apps/web/actions/analytics/track-user-signed-up.ts
+++ b/apps/web/actions/analytics/track-user-signed-up.ts
@@ -33,7 +33,7 @@ export async function checkAndMarkUserSignedUpTracked(): Promise<{
return { shouldTrack: false };
}
- const result = await db()
+ const [result] = await db()
.update(users)
.set({
preferences: sql`JSON_SET(COALESCE(${users.preferences}, JSON_OBJECT()), '$.trackedEvents.user_signed_up', true)`,
@@ -42,11 +42,7 @@ export async function checkAndMarkUserSignedUpTracked(): Promise<{
sql`(${users.id} = ${currentUser.id}) AND (${users.created_at} >= CURRENT_DATE()) AND JSON_CONTAINS(COALESCE(${users.preferences}, JSON_OBJECT()), CAST(true AS JSON), '$.trackedEvents.user_signed_up') = 0`,
);
- if (result.rowsAffected && result.rowsAffected > 0) {
- return { shouldTrack: true };
- }
-
- return { shouldTrack: false };
+ return { shouldTrack: result.affectedRows > 0 };
} catch {
return { shouldTrack: false };
}
diff --git a/apps/web/actions/organization/remove-invite.ts b/apps/web/actions/organization/remove-invite.ts
index a9039cdca..81db8dfd6 100644
--- a/apps/web/actions/organization/remove-invite.ts
+++ b/apps/web/actions/organization/remove-invite.ts
@@ -31,7 +31,7 @@ export async function removeOrganizationInvite(
throw new Error("Only the owner can remove organization invites");
}
- const result = await db()
+ const [result] = await db()
.delete(organizationInvites)
.where(
and(
@@ -40,9 +40,7 @@ export async function removeOrganizationInvite(
),
);
- if (result.rowsAffected === 0) {
- throw new Error("Invite not found");
- }
+ if (result.affectedRows === 0) throw new Error("Invite not found");
revalidatePath("/dashboard/settings/organization");
diff --git a/apps/web/actions/organization/remove-member.ts b/apps/web/actions/organization/remove-member.ts
index f7cfc6a13..a01e4af29 100644
--- a/apps/web/actions/organization/remove-member.ts
+++ b/apps/web/actions/organization/remove-member.ts
@@ -51,7 +51,7 @@ export async function removeOrganizationMember(
throw new Error("Owner cannot remove themselves");
}
- const result = await db()
+ const [result] = await db()
.delete(organizationMembers)
.where(
and(
@@ -60,9 +60,7 @@ export async function removeOrganizationMember(
),
);
- if (result.rowsAffected === 0) {
- throw new Error("Member not found");
- }
+ if (result.affectedRows === 0) throw new Error("Member not found");
revalidatePath("/dashboard/settings/organization");
return { success: true };
diff --git a/apps/web/app/api/desktop/[...route]/video.ts b/apps/web/app/api/desktop/[...route]/video.ts
index 6a4a037b2..90837ef8d 100644
--- a/apps/web/app/api/desktop/[...route]/video.ts
+++ b/apps/web/app/api/desktop/[...route]/video.ts
@@ -348,7 +348,7 @@ app.post(
{ status: 404 },
);
- const result = await db()
+ const [result] = await db()
.update(videoUploads)
.set({
uploaded,
@@ -362,7 +362,7 @@ app.post(
),
);
- if (result.rowsAffected === 0)
+ if (result.affectedRows === 0)
await db().insert(videoUploads).values({
videoId,
uploaded,
diff --git a/apps/web/app/api/upload/[...route]/multipart.ts b/apps/web/app/api/upload/[...route]/multipart.ts
index 89c8d200f..9130c82fd 100644
--- a/apps/web/app/api/upload/[...route]/multipart.ts
+++ b/apps/web/app/api/upload/[...route]/multipart.ts
@@ -300,7 +300,7 @@ app.post(
const videoId = "videoId" in body ? body.videoId : videoIdFromFileKey;
if (videoId) {
- const result = await db()
+ const [result] = await db()
.update(videos)
.set({
duration: updateIfDefined(body.durationInSecs, videos.duration),
@@ -316,7 +316,7 @@ app.post(
);
// This proves authentication
- if (result.rowsAffected > 0)
+ if (result.affectedRows > 0)
await db()
.delete(videoUploads)
.where(eq(videoUploads.videoId, Video.VideoId.make(videoId)));
diff --git a/apps/web/middleware.ts b/apps/web/middleware.ts
index 273c3a85c..9a5981de7 100644
--- a/apps/web/middleware.ts
+++ b/apps/web/middleware.ts
@@ -118,6 +118,7 @@ export async function middleware(request: NextRequest) {
}
export const config = {
+ runtime: "nodejs",
matcher: [
/*
* Match all request paths except for the ones starting with:
diff --git a/infra/sst.config.ts b/infra/sst.config.ts
index eb1dba675..40aa79008 100644
--- a/infra/sst.config.ts
+++ b/infra/sst.config.ts
@@ -49,7 +49,7 @@ export default $config({
{ key: "NEXT_PUBLIC_AXIOM_DATASET", value: AXIOM_DATASET },
{ key: "CAP_AWS_BUCKET", value: recordingsBucket.bucket },
{ key: "NEXT_PUBLIC_CAP_AWS_BUCKET", value: recordingsBucket.bucket },
- { key: "DATABASE_URL", value: secrets.DATABASE_URL_HTTP.value },
+ { key: "DATABASE_URL_MYSQL", value: secrets.DATABASE_URL_MYSQL.value },
];
// new aws.s3.BucketAccelerateConfigurationV2("RecordingsBucketAcceleration", {
@@ -174,7 +174,6 @@ export default $config({
function Secrets() {
return {
- DATABASE_URL_HTTP: new sst.Secret("DATABASE_URL_HTTP"),
DATABASE_URL_MYSQL: new sst.Secret("DATABASE_URL_MYSQL"),
CAP_AWS_ACCESS_KEY: new sst.Secret("CAP_AWS_ACCESS_KEY"),
CAP_AWS_SECRET_KEY: new sst.Secret("CAP_AWS_SECRET_KEY"),
diff --git a/packages/database/auth/drizzle-adapter.ts b/packages/database/auth/drizzle-adapter.ts
index 31802c103..5a6e0e5d8 100644
--- a/packages/database/auth/drizzle-adapter.ts
+++ b/packages/database/auth/drizzle-adapter.ts
@@ -1,13 +1,13 @@
import { STRIPE_AVAILABLE, stripe } from "@cap/utils";
import { Organisation, User } from "@cap/web-domain";
import { and, eq } from "drizzle-orm";
-import type { PlanetScaleDatabase } from "drizzle-orm/planetscale-serverless";
+import type { MySql2Database } from "drizzle-orm/mysql2";
import type { Adapter } from "next-auth/adapters";
import type Stripe from "stripe";
import { nanoId } from "../helpers.ts";
import { accounts, sessions, users, verificationTokens } from "../schema.ts";
-export function DrizzleAdapter(db: PlanetScaleDatabase): Adapter {
+export function DrizzleAdapter(db: MySql2Database): Adapter {
return {
async createUser(userData: any) {
await db.insert(users).values({
diff --git a/packages/database/index.ts b/packages/database/index.ts
index f63421113..0803e5d00 100644
--- a/packages/database/index.ts
+++ b/packages/database/index.ts
@@ -1,28 +1,10 @@
import { instrumentDrizzleClient } from "@kubiks/otel-drizzle";
-import { Client, type Config } from "@planetscale/database";
import { sql } from "drizzle-orm";
import type { AnyMySqlColumn } from "drizzle-orm/mysql-core";
-import { drizzle } from "drizzle-orm/planetscale-serverless";
+import { drizzle } from "drizzle-orm/mysql2";
function createDrizzle() {
- const URL = process.env.DATABASE_URL!;
-
- let fetchHandler: Promise<Config["fetch"]> | undefined;
-
- if (URL.startsWith("mysql://")) {
- fetchHandler = import("@mattrax/mysql-planetscale").then((m) =>
- m.createFetchHandler(URL),
- );
- }
-
- const connection = new Client({
- url: URL,
- fetch: async (input, init) => {
- return await ((await fetchHandler) || fetch)(input, init);
- },
- });
-
- return drizzle(connection);
+ return drizzle(process.env.DATABASE_URL_MYSQL!);
}
let _cached: ReturnType<typeof createDrizzle> | undefined;
diff --git a/packages/database/package.json b/packages/database/package.json
index 67f007e37..93a2e54e2 100644
--- a/packages/database/package.json
+++ b/packages/database/package.json
@@ -29,6 +29,7 @@
"drizzle-orm": "0.44.6",
"dub": "^0.64.0",
"effect": "^3.18.4",
+ "mysql2": "^3.15.2",
"nanoid": "^5.0.4",
"next": "15.5.4",
"next-auth": "^4.24.5",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 333f13d36..0bebfa9ca 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -112,7 +112,7 @@ importers:
version: 0.14.10([email protected])
'@solidjs/start':
specifier: ^1.1.3
'@tanstack/solid-query':
specifier: ^5.51.21
version: 5.75.4([email protected])
@@ -199,7 +199,7 @@ importers:
version: 9.0.1
vinxi:
specifier: ^0.5.6
webcodecs:
specifier: ^0.1.0
version: 0.1.0
@@ -701,7 +701,7 @@ importers:
next-auth:
specifier: ^4.24.5
next-contentlayer2:
specifier: ^0.5.3
@@ -1003,6 +1003,9 @@ importers:
effect:
specifier: ^3.18.4
version: 3.18.4
+ mysql2:
+ specifier: ^3.15.2
+ version: 3.15.2
nanoid:
specifier: ^5.0.4
version: 5.1.5
@@ -1011,7 +1014,7 @@ importers:
next-auth:
specifier: ^4.24.5
react-email:
specifier: ^4.0.16
@@ -3846,6 +3849,9 @@ packages:
'@napi-rs/[email protected]':
resolution: {integrity: sha512-DXj75ewm11LIWUk198QSKUTxjyRjsBwk09MuMk5DGK+GDUtyPhhEHOGP/Xwwj3DjQXXkivoBirmOnKrLfc0+9g==}
+ '@napi-rs/[email protected]':
+ resolution: {integrity: sha512-SeDnOO0Tk7Okiq6DbXmmBODgOAb9dp9gjlphokTUxmt8U3liIP1ZsozBahH69j/RJv+Rfs6IwUKHTgQYJ/HBAw==}
+
'@netlify/[email protected]':
resolution: {integrity: sha512-4wMPu9iN3/HL97QblBsBay3E1etIciR84izI3U+4iALY+JHCrI+a2jO0qbAZ/nxKoegypYEaiiqWXylm+/zfrw==}
@@ -5325,86 +5331,172 @@ packages:
cpu: [arm64]
os: [android]
+ '@rolldown/[email protected]':
+ resolution: {integrity: sha512-TP8bcPOb1s6UmY5syhXrDn9k0XkYcw+XaoylTN4cJxf0JOVS2j682I3aTcpfT51hOFGr2bRwNKN9RZ19XxeQbA==}
+ engines: {node: ^20.19.0 || >=22.12.0}
+ cpu: [arm64]
+ os: [android]
+
'@rolldown/[email protected]':
resolution: {integrity: sha512-abw/wtgJA8OCgaTlL+xJxnN/Z01BwV1rfzIp5Hh9x+IIO6xOBfPsQ0nzi0+rWx3TyZ9FZXyC7bbC+5NpQ9EaXQ==}
engines: {node: ^20.19.0 || >=22.12.0}
cpu: [arm64]
os: [darwin]
+ '@rolldown/[email protected]':
+ resolution: {integrity: sha512-kuVWnZsE4vEjMF/10SbSUyzucIW2zmdsqFghYMqy+fsjXnRHg0luTU6qWF8IqJf4Cbpm9NEZRnjIEPpAbdiSNQ==}
+ engines: {node: ^20.19.0 || >=22.12.0}
+ cpu: [arm64]
+ os: [darwin]
+
'@rolldown/[email protected]':
resolution: {integrity: sha512-Y/UrZIRVr8CvXVEB88t6PeC46r1K9/QdPEo2ASE/b/KBEyXIx+QbM6kv9QfQVWU2Atly2+SVsQzxQsIvuk3lZQ==}
engines: {node: ^20.19.0 || >=22.12.0}
cpu: [x64]
os: [darwin]
+ '@rolldown/[email protected]':
+ resolution: {integrity: sha512-u9Ps4sh6lcmJ3vgLtyEg/x4jlhI64U0mM93Ew+tlfFdLDe7yKyA+Fe80cpr2n1mNCeZXrvTSbZluKpXQ0GxLjw==}
+ engines: {node: ^20.19.0 || >=22.12.0}
+ cpu: [x64]
+ os: [darwin]
+
'@rolldown/[email protected]':
resolution: {integrity: sha512-zRM0oOk7BZiy6DoWBvdV4hyEg+j6+WcBZIMHVirMEZRu8hd18kZdJkg+bjVMfCEhwpWeFUfBfZ1qcaZ5UdYzlQ==}
engines: {node: ^20.19.0 || >=22.12.0}
cpu: [x64]
os: [freebsd]
+ '@rolldown/[email protected]':
+ resolution: {integrity: sha512-h9lUtVtXgfbk/tnicMpbFfZ3DJvk5Zn2IvmlC1/e0+nUfwoc/TFqpfrRRqcNBXk/e+xiWMSKv6b0MF8N+Rtvlg==}
+ engines: {node: ^20.19.0 || >=22.12.0}
+ cpu: [x64]
+ os: [freebsd]
+
'@rolldown/[email protected]':
resolution: {integrity: sha512-6RjFaC52QNwo7ilU8C5H7swbGlgfTkG9pudXwzr3VYyT18s0C9gLg3mvc7OMPIGqNxnQ0M5lU8j6aQCk2DTRVg==}
engines: {node: ^20.19.0 || >=22.12.0}
cpu: [arm]
os: [linux]
+ '@rolldown/[email protected]':
+ resolution: {integrity: sha512-IX2C6bA6wM2rX/RvD75ko+ix9yxPKjKGGq7pOhB8wGI4Z4fqX5B1nDHga/qMDmAdCAR1m9ymzxkmqhm/AFYf7A==}
+ engines: {node: ^20.19.0 || >=22.12.0}
+ cpu: [arm]
+ os: [linux]
+
'@rolldown/[email protected]':
resolution: {integrity: sha512-LMYHM5Sf6ROq+VUwHMDVX2IAuEsWTv4SnlFEedBnMGpvRuQ14lCmD4m5Q8sjyAQCgyha9oghdGoK8AEg1sXZKg==}
engines: {node: ^20.19.0 || >=22.12.0}
cpu: [arm64]
os: [linux]
+ '@rolldown/[email protected]':
+ resolution: {integrity: sha512-mcjd57vEj+CEQbZAzUiaxNzNgwwgOpFtZBWcINm8DNscvkXl5b/s622Z1dqGNWSdrZmdjdC6LWMvu8iHM6v9sQ==}
+ engines: {node: ^20.19.0 || >=22.12.0}
+ cpu: [arm64]
+ os: [linux]
+
'@rolldown/[email protected]':
resolution: {integrity: sha512-/bNTYb9aKNhzdbPn3O4MK2aLv55AlrkUKPE4KNfBYjkoZUfDr4jWp7gsSlvTc5A/99V1RCm9axvt616ZzeXGyA==}
engines: {node: ^20.19.0 || >=22.12.0}
cpu: [arm64]
os: [linux]
+ '@rolldown/[email protected]':
+ resolution: {integrity: sha512-Pa8QMwlkrztTo/1mVjZmPIQ44tCSci10TBqxzVBvXVA5CFh5EpiEi99fPSll2dHG2uT4dCOMeC6fIhyDdb0zXA==}
+ engines: {node: ^20.19.0 || >=22.12.0}
+ cpu: [arm64]
+ os: [linux]
+
'@rolldown/[email protected]':
resolution: {integrity: sha512-n/SLa4h342oyeGykZdch7Y3GNCNliRPL4k5wkeZ/5eQZs+c6/ZG1SHCJQoy7bZcmxiMyaXs9HoFmv1PEKrZgWg==}
engines: {node: ^20.19.0 || >=22.12.0}
cpu: [x64]
os: [linux]
+ '@rolldown/[email protected]':
+ resolution: {integrity: sha512-BgynXKMjeaX4AfWLARhOKDetBOOghnSiVRjAHVvhiAaDXgdQN8e65mSmXRiVoVtD3cHXx/cfU8Gw0p0K+qYKVQ==}
+ engines: {node: ^20.19.0 || >=22.12.0}
+ cpu: [x64]
+ os: [linux]
+
'@rolldown/[email protected]':
resolution: {integrity: sha512-4PSd46sFzqpLHSGdaSViAb1mk55sCUMpJg+X8ittXaVocQsV3QLG/uydSH8RyL0ngHX5fy3D70LcCzlB15AgHw==}
engines: {node: ^20.19.0 || >=22.12.0}
cpu: [x64]
os: [linux]
+ '@rolldown/[email protected]':
+ resolution: {integrity: sha512-VIsoPlOB/tDSAw9CySckBYysoIBqLeps1/umNSYUD8pMtalJyzMTneAVI1HrUdf4ceFmQ5vARoLIXSsPwVFxNg==}
+ engines: {node: ^20.19.0 || >=22.12.0}
+ cpu: [x64]
+ os: [linux]
+
'@rolldown/[email protected]':
resolution: {integrity: sha512-BmWoeJJyeZXmZBcfoxG6J9+rl2G7eO47qdTkAzEegj4n3aC6CBIHOuDcbE8BvhZaEjQR0nh0nJrtEDlt65Q7Sw==}
engines: {node: ^20.19.0 || >=22.12.0}
cpu: [arm64]
os: [openharmony]
+ '@rolldown/[email protected]':
+ resolution: {integrity: sha512-YDXTxVJG67PqTQMKyjVJSddoPbSWJ4yRz/E3xzTLHqNrTDGY0UuhG8EMr8zsYnfH/0cPFJ3wjQd/hJWHuR6nkA==}
+ engines: {node: ^20.19.0 || >=22.12.0}
+ cpu: [arm64]
+ os: [openharmony]
+
'@rolldown/[email protected]':
resolution: {integrity: sha512-2Ft32F7uiDTrGZUKws6CLNTlvTWHC33l4vpXrzUucf9rYtUThAdPCOt89Pmn13tNX6AulxjGEP2R0nZjTSW3eQ==}
engines: {node: '>=14.0.0'}
cpu: [wasm32]
+ '@rolldown/[email protected]':
+ resolution: {integrity: sha512-3M+2DmorXvDuAIGYQ9Z93Oy1G9ETkejLwdXXb1uRTgKN9pMcu7N+KG2zDrJwqyxeeLIFE22AZGtSJm3PJbNu9Q==}
+ engines: {node: '>=14.0.0'}
+ cpu: [wasm32]
+
'@rolldown/[email protected]':
resolution: {integrity: sha512-hC1kShXW/z221eG+WzQMN06KepvPbMBknF0iGR3VMYJLOe9gwnSTfGxFT5hf8XrPv7CEZqTWRd0GQpkSHRbGsw==}
engines: {node: ^20.19.0 || >=22.12.0}
cpu: [arm64]
os: [win32]
+ '@rolldown/[email protected]':
+ resolution: {integrity: sha512-/B1j1pJs33y9ywtslOMxryUPHq8zIGu/OGEc2gyed0slimJ8fX2uR/SaJVhB4+NEgCFIeYDR4CX6jynAkeRuCA==}
+ engines: {node: ^20.19.0 || >=22.12.0}
+ cpu: [arm64]
+ os: [win32]
+
'@rolldown/[email protected]':
resolution: {integrity: sha512-AICBYromawouGjj+GS33369E8Vwhy6UwhQEhQ5evfS8jPCsyVvoICJatbDGDGH01dwtVGLD5eDFzPicUOVpe4g==}
engines: {node: ^20.19.0 || >=22.12.0}
cpu: [ia32]
os: [win32]
+ '@rolldown/[email protected]':
+ resolution: {integrity: sha512-29oG1swCz7hNP+CQYrsM4EtylsKwuYzM8ljqbqC5TsQwmKat7P8ouDpImsqg/GZxFSXcPP9ezQm0Q0wQwGM3JA==}
+ engines: {node: ^20.19.0 || >=22.12.0}
+ cpu: [ia32]
+ os: [win32]
+
'@rolldown/[email protected]':
resolution: {integrity: sha512-XpZ0M+tjoEiSc9c+uZR7FCnOI0uxDRNs1elGOMjeB0pUP1QmvVbZGYNsyLbLoP4u7e3VQN8rie1OQ8/mB6rcJg==}
engines: {node: ^20.19.0 || >=22.12.0}
cpu: [x64]
os: [win32]
+ '@rolldown/[email protected]':
+ resolution: {integrity: sha512-eWBV1Ef3gfGNehxVGCyXs7wLayRIgCmyItuCZwYYXW5bsk4EvR4n2GP5m3ohjnx7wdiY3nLmwQfH2Knb5gbNZw==}
+ engines: {node: ^20.19.0 || >=22.12.0}
+ cpu: [x64]
+ os: [win32]
+
'@rolldown/[email protected]':
resolution: {integrity: sha512-N7pQzk9CyE7q0bBN/q0J8s6Db279r5kUZc6d7/wWRe9/zXqC52HQovVyu6iXPIDY4BEzzgbVLhVFXrOuGJ22ZQ==}
+ '@rolldown/[email protected]':
+ resolution: {integrity: sha512-5Uxg7fQUCmfhax7FJke2+8B6cqgeUJUD9o2uXIKXhD+mG0mL6NObmVoi9wXEU1tY89mZKgAYA6fTbftx3q2ZPQ==}
+
'@rollup/[email protected]':
resolution: {integrity: sha512-PR9zDb+rOzkRb2VD+EuKB7UC41vU5DIwZ5qqCpk0KJudcWAyi8rvYOhS7+L5aZCspw1stTViLgN5v6FF1p5cgQ==}
engines: {node: '>=14.0.0'}
@@ -11297,10 +11389,6 @@ packages:
resolution: {integrity: sha512-wmunL3uoPhma/tWy8PrDPZkvJpXvSFBwbD3KkC4PG8Ztjfb1X3hRJwGUAQyRz7z99b/ovLm2UTTitrkvStjH4w==}
- resolution: {integrity: sha512-7ytuPQJjQB8TNAYX/H2yhL+iQOnIBjAMam361R7UAL0lOVXWjtdrmoL9HYKqKoLp/8UUTRcvo1QPvK9KL7wA8w==}
- engines: {node: '>= 8.0'}
-
resolution: {integrity: sha512-kFm5+jbwR5mC+lo+3Cy46eHiykWSpUtTLOH3GE+AR7GeLq8PgfJcvpMiyVWk9/O53DjQsqm6a3VOOfq7gYWFRg==}
engines: {node: '>= 8.0'}
@@ -12598,6 +12686,11 @@ packages:
engines: {node: ^20.19.0 || >=22.12.0}
hasBin: true
+ resolution: {integrity: sha512-6RcqyRx0tY1MlRLnjXPp/849Rl/CPFhzpGGwNPEPjKwqBMqPq/Rbbkxasa8s0x+IkUk46ty4jazb5skZ/Vgdhw==}
+ engines: {node: ^20.19.0 || >=22.12.0}
+ hasBin: true
+
resolution: {integrity: sha512-ptg9PQwzs3orn4jkgXJ74bfs5vYz1NCZlSQMBUA0wKcGp5i5pA1AO3fOUEte8enhGUC+iapTCzEWw2jEFFUO/w==}
deprecated: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-inject.
@@ -17255,7 +17348,7 @@ snapshots:
'@mattrax/[email protected]':
dependencies:
'@planetscale/database': 1.19.0
- mysql2: 3.14.1
+ mysql2: 3.15.2
dependencies:
@@ -17399,6 +17492,13 @@ snapshots:
'@tybys/wasm-util': 0.10.1
optional: true
+ '@napi-rs/[email protected]':
+ dependencies:
+ '@emnapi/core': 1.5.0
+ '@emnapi/runtime': 1.5.0
+ '@tybys/wasm-util': 0.10.1
+ optional: true
+
'@netlify/[email protected]': {}
'@netlify/[email protected]':
@@ -19085,49 +19185,95 @@ snapshots:
'@rolldown/[email protected]':
optional: true
+ '@rolldown/[email protected]':
+ optional: true
+
'@rolldown/[email protected]':
optional: true
+ '@rolldown/[email protected]':
+ optional: true
+
'@rolldown/[email protected]':
optional: true
+ '@rolldown/[email protected]':
+ optional: true
+
'@rolldown/[email protected]':
optional: true
+ '@rolldown/[email protected]':
+ optional: true
+
'@rolldown/[email protected]':
optional: true
+ '@rolldown/[email protected]':
+ optional: true
+
'@rolldown/[email protected]':
optional: true
+ '@rolldown/[email protected]':
+ optional: true
+
'@rolldown/[email protected]':
optional: true
+ '@rolldown/[email protected]':
+ optional: true
+
'@rolldown/[email protected]':
optional: true
+ '@rolldown/[email protected]':
+ optional: true
+
'@rolldown/[email protected]':
optional: true
+ '@rolldown/[email protected]':
+ optional: true
+
'@rolldown/[email protected]':
optional: true
+ '@rolldown/[email protected]':
+ optional: true
+
'@rolldown/[email protected]':
dependencies:
'@napi-rs/wasm-runtime': 1.0.6
optional: true
+ '@rolldown/[email protected]':
+ dependencies:
+ '@napi-rs/wasm-runtime': 1.0.7
+ optional: true
+
'@rolldown/[email protected]':
optional: true
+ '@rolldown/[email protected]':
+ optional: true
+
'@rolldown/[email protected]':
optional: true
+ '@rolldown/[email protected]':
+ optional: true
+
'@rolldown/[email protected]':
optional: true
+ '@rolldown/[email protected]':
+ optional: true
+
'@rolldown/[email protected]': {}
+ '@rolldown/[email protected]': {}
+
optionalDependencies:
rollup: 4.40.2
@@ -19852,11 +19998,11 @@ snapshots:
dependencies:
solid-js: 1.9.6
dependencies:
'@tanstack/server-functions-plugin': 1.119.2(@types/[email protected])([email protected])([email protected])([email protected])
defu: 6.1.4
error-stack-parser: 2.1.4
html-to-image: 1.11.13
@@ -19867,7 +20013,7 @@ snapshots:
source-map-js: 1.2.1
terracotta: 1.0.6([email protected])
tinyglobby: 0.2.13
transitivePeerDependencies:
- '@testing-library/jest-dom'
@@ -21210,7 +21356,7 @@ snapshots:
untun: 0.1.3
uqr: 0.1.2
dependencies:
'@babel/parser': 7.27.2
acorn: 8.14.1
@@ -21221,18 +21367,18 @@ snapshots:
magicast: 0.2.11
recast: 0.23.11
tslib: 2.8.1
dependencies:
acorn: 8.14.1
acorn-loose: 8.5.0
acorn-typescript: 1.4.13([email protected])
astring: 1.9.0
magicast: 0.2.11
recast: 0.23.11
'@virtual-grid/[email protected]': {}
@@ -23327,8 +23473,8 @@ snapshots:
'@typescript-eslint/parser': 7.18.0([email protected]([email protected]))([email protected])
eslint: 9.30.1([email protected])
eslint-import-resolver-node: 0.3.9
+ eslint-import-resolver-typescript: 3.10.1([email protected])([email protected]([email protected]))
eslint-plugin-jsx-a11y: 6.10.2([email protected]([email protected]))
eslint-plugin-react: 7.37.5([email protected]([email protected]))
eslint-plugin-react-hooks: 5.2.0([email protected]([email protected]))
@@ -23356,33 +23502,33 @@ snapshots:
transitivePeerDependencies:
- supports-color
dependencies:
'@nolyfill/is-core-module': 1.0.39
debug: 4.4.0([email protected])
- eslint: 9.30.1([email protected])
+ eslint: 8.57.1
get-tsconfig: 4.10.0
is-bun-module: 2.0.0
stable-hash: 0.0.5
tinyglobby: 0.2.13
unrs-resolver: 1.7.2
optionalDependencies:
transitivePeerDependencies:
- supports-color
dependencies:
'@nolyfill/is-core-module': 1.0.39
debug: 4.4.0([email protected])
- eslint: 8.57.1
+ eslint: 9.30.1([email protected])
get-tsconfig: 4.10.0
is-bun-module: 2.0.0
stable-hash: 0.0.5
tinyglobby: 0.2.13
unrs-resolver: 1.7.2
optionalDependencies:
transitivePeerDependencies:
- supports-color
@@ -23408,14 +23554,14 @@ snapshots:
transitivePeerDependencies:
- supports-color
dependencies:
debug: 3.2.7
optionalDependencies:
'@typescript-eslint/parser': 7.18.0([email protected]([email protected]))([email protected])
eslint: 9.30.1([email protected])
eslint-import-resolver-node: 0.3.9
+ eslint-import-resolver-typescript: 3.10.1([email protected])([email protected]([email protected]))
transitivePeerDependencies:
- supports-color
@@ -23477,7 +23623,7 @@ snapshots:
- eslint-import-resolver-webpack
- supports-color
dependencies:
'@rtsao/scc': 1.1.0
array-includes: 3.1.8
@@ -23488,7 +23634,7 @@ snapshots:
doctrine: 2.1.0
eslint: 9.30.1([email protected])
eslint-import-resolver-node: 0.3.9
hasown: 2.0.2
is-core-module: 2.16.1
is-glob: 4.0.3
@@ -26431,18 +26577,6 @@ snapshots:
- dependencies:
- aws-ssl-profiles: 1.1.2
- denque: 2.1.0
- generate-function: 2.3.1
- iconv-lite: 0.6.3
- long: 5.3.2
- lru.min: 1.1.2
- named-placeholders: 1.1.3
- seq-queue: 0.0.5
- sqlstring: 2.3.3
-
dependencies:
aws-ssl-profiles: 1.1.2
@@ -26494,7 +26628,7 @@ snapshots:
p-wait-for: 5.0.2
qs: 6.14.0
dependencies:
'@babel/runtime': 7.27.1
'@panva/hkdf': 1.2.1
@@ -26569,7 +26703,7 @@ snapshots:
cors: 2.8.5
dependencies:
'@cloudflare/kv-asset-handler': 0.4.0
'@netlify/functions': 3.1.5([email protected])([email protected])
@@ -26623,7 +26757,7 @@ snapshots:
pretty-bytes: 6.1.1
radix3: 1.1.2
rollup: 4.40.2
- rollup-plugin-visualizer: 5.14.0([email protected])
+ rollup-plugin-visualizer: 5.14.0([email protected])([email protected])
scule: 1.3.0
semver: 7.7.2
serve-placeholder: 2.0.2
@@ -27979,7 +28113,7 @@ snapshots:
dependencies:
glob: 7.2.3
dependencies:
'@babel/generator': 7.28.3
'@babel/parser': 7.28.4
@@ -27990,7 +28124,7 @@ snapshots:
dts-resolver: 2.1.2
get-tsconfig: 4.11.0
magic-string: 0.30.19
- rolldown: 1.0.0-beta.42
+ rolldown: 1.0.0-beta.43
optionalDependencies:
typescript: 5.8.3
transitivePeerDependencies:
@@ -28018,6 +28152,27 @@ snapshots:
'@rolldown/binding-win32-ia32-msvc': 1.0.0-beta.42
'@rolldown/binding-win32-x64-msvc': 1.0.0-beta.42
+ dependencies:
+ '@oxc-project/types': 0.94.0
+ '@rolldown/pluginutils': 1.0.0-beta.43
+ ansis: 4.2.0
+ optionalDependencies:
+ '@rolldown/binding-android-arm64': 1.0.0-beta.43
+ '@rolldown/binding-darwin-arm64': 1.0.0-beta.43
+ '@rolldown/binding-darwin-x64': 1.0.0-beta.43
+ '@rolldown/binding-freebsd-x64': 1.0.0-beta.43
+ '@rolldown/binding-linux-arm-gnueabihf': 1.0.0-beta.43
+ '@rolldown/binding-linux-arm64-gnu': 1.0.0-beta.43
+ '@rolldown/binding-linux-arm64-musl': 1.0.0-beta.43
+ '@rolldown/binding-linux-x64-gnu': 1.0.0-beta.43
+ '@rolldown/binding-linux-x64-musl': 1.0.0-beta.43
+ '@rolldown/binding-openharmony-arm64': 1.0.0-beta.43
+ '@rolldown/binding-wasm32-wasi': 1.0.0-beta.43
+ '@rolldown/binding-win32-arm64-msvc': 1.0.0-beta.43
+ '@rolldown/binding-win32-ia32-msvc': 1.0.0-beta.43
+ '@rolldown/binding-win32-x64-msvc': 1.0.0-beta.43
+
dependencies:
estree-walker: 0.6.1
@@ -28028,13 +28183,14 @@ snapshots:
dependencies:
rollup-plugin-inject: 3.0.2
dependencies:
open: 8.4.2
picomatch: 4.0.3
source-map: 0.7.4
yargs: 17.7.2
optionalDependencies:
+ rolldown: 1.0.0-beta.43
rollup: 4.40.2
@@ -29232,8 +29388,8 @@ snapshots:
diff: 8.0.2
empathic: 2.0.0
hookable: 5.5.3
- rolldown: 1.0.0-beta.42
- rolldown-plugin-dts: 0.16.11([email protected])([email protected])
+ rolldown: 1.0.0-beta.43
+ rolldown-plugin-dts: 0.16.11([email protected])([email protected])
semver: 7.7.2
tinyexec: 1.0.1
tinyglobby: 0.2.15
@@ -29825,7 +29981,7 @@ snapshots:
'@types/unist': 3.0.3
vfile-message: 4.0.2
dependencies:
'@babel/core': 7.27.1
'@babel/plugin-syntax-jsx': 7.27.1(@babel/[email protected])
@@ -29847,7 +30003,7 @@ snapshots:
hookable: 5.5.3
http-proxy: 1.18.1
micromatch: 4.0.8
node-fetch-native: 1.6.6
path-to-regexp: 6.3.0
pathe: 1.1.2