diff --git a/README.md b/README.md index 527732c..1789ff5 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,7 @@ monsters, and a real-time encounter/combat tracker. | `docs/ENCOUNTERS.md` | Battles and NPC quests, turns, rewards, trade, what players see | | `docs/MONSTERS.md` | The monster list and built-in bestiary | | `docs/NPCS.md` | Non-player characters, what they sell and the rates they change money at | +| `docs/SEEDS.md` | World seeds: ready-made campaigns a DM starts from a code, and how to add one | `CLAUDE_BUILD_PROMPT.md`, `docs/GAME_RULES_REFERENCE.md` and `docs/ROLL_YOUR_CHARACTER.md` are the original specifications the first @@ -48,12 +49,12 @@ including a character sheet or an encounter) and **Account**. ## Stack -- **Backend:** Node.js + Express, JavaScript, Prisma ORM, PostgreSQL, Socket.io, JWT auth (bcrypt + jsonwebtoken), zod validation. +- **Backend:** Node.js + Express, JavaScript, Prisma ORM (with the `pg` driver adapter), PostgreSQL, Socket.io, JWT auth (bcrypt + jsonwebtoken), zod validation. - **Frontend:** React + Vite + TypeScript, React Router, TanStack Query, socket.io-client. ## Prerequisites -- Node.js 18+ (tested on Node 22) +- Node.js 20.19+ (tested on Node 24) - A running PostgreSQL instance (local install, Docker, or a hosted service like Neon/Supabase) ## First-time setup @@ -65,7 +66,8 @@ npm install # installs both workspaces (backend + frontend) cd backend cp .env.example .env # edit DATABASE_URL and JWT_SECRET npx prisma migrate dev --name init -npx prisma db seed # adds the admin account + the Aldenfell campaign if missing (see output for login/invite code) +npx prisma generate # migrate no longer does this itself +npx prisma db seed # adds the admin account if it is missing (see output for the login and the world codes) # Frontend cd ../frontend @@ -82,26 +84,33 @@ npm run dev:frontend # Vite dev server, prints its own port (5173 by default) ``` Open the frontend URL, register an account (or log in with the seeded admin -account — see the seed script's console output for credentials and invite -code), and start playing. +account — see the seed script's console output for the credentials), and +start playing. -The seed only adds: it never touches an existing account or campaign, so it is -safe to run on a server with real data. It skips the campaign if the admin -already has an active "Aldenfell"; archive or delete that one in the app -(Campaign Settings) and run it again for a fresh copy. `SEED_ADMIN_EMAIL`, -`SEED_ADMIN_PASSWORD` and `SEED_ADMIN_NAME` set the account it creates. -`npx prisma db seed -- --reset` wipes every user and campaign first. +The database seed creates the admin account and nothing else. It only adds: an +existing account, and its password, is left alone, so it is safe to run on a +server with real data. `SEED_ADMIN_EMAIL`, `SEED_ADMIN_PASSWORD` and +`SEED_ADMIN_NAME` set the account it creates. `npx prisma db seed -- --reset` +wipes every user and campaign first. -A second campaign, Hollowcrown: The Rift Between Worlds, has its own seed and -is not part of the default one. It follows the same rules (it only adds, and -skips if the admin already has an active Hollowcrown): +## Worlds -```bash -cd backend -npm run seed:hollowcrown -``` +Campaigns are created in the app: blank, or from a **world seed** by its +code. On the Campaigns page click "+ New Campaign" and enter a code under "Or +start from a ready-made world"; the whole world is built for you as its DM. -On a server, after pulling a new version, run `npm run deploy` in `backend` +| Code | World | +|---|---| +| `ALDENF` | Aldenfell | +| `HOLLOW` | Hollowcrown: The Rift Between Worlds | + +Each world is one file in `/backend/seeds`. Drop another file in and its code +works straight away, with no restart; `npm run seeds:check` (from the repo +root or `backend`) checks every file and says what is wrong with one. +`docs/SEEDS.md` has the format. + +On a server, after pulling a new version, run `npm install` in the repo root +(when dependencies changed) and then `npm run deploy` in `backend` and then restart the backend. It applies new migrations **and** regenerates the Prisma client; without the second half the server keeps running with the old data model and pages that use anything new fail to load (for example @@ -115,8 +124,9 @@ cd backend npm test ``` -The calculation engine (`src/game/calculations.js`) is fully unit tested and -runs with no external dependencies. The route-level integration tests in +The calculation engine (`src/game/calculations.js`) and the world seeds +(`src/seeds`, which also checks every file in `/backend/seeds`) are unit +tested and run with no external dependencies. The route-level integration tests in `src/routes/api.integration.test.js` need a real, migrated database reachable via `DATABASE_URL` — they skip themselves gracefully (with a console warning) if the DB isn't reachable, so `npm test` still passes in an environment with @@ -126,14 +136,17 @@ no database configured. ``` /backend — Express + Prisma API, Socket.io server - /prisma — schema.prisma, seed.js - /seed-data — reference JSON (weapons seeded per-campaign; species/classes/skills - are ported into src/game/data/*.js and used directly by the - calculation engine, not stored as DB rows) + prisma.config.js — where the Prisma CLI finds the schema, the database and the seed + /prisma — schema.prisma, migrations, seed.js (the admin account only) + /seeds — world seeds: one file per ready-made campaign, created by code + /seed-data — reference JSON (species/classes/skills/weapons, ported into + src/game/data/*.js and used directly by the calculation engine, + not stored as DB rows) /src /game — calculations.js (the ONLY place D&D formulas live) + buildFlow.js /middleware — auth + campaign/character authorization /routes — auth, campaigns, characters, encounters, notes + /seeds — finds, checks and creates campaigns from the world seeds /sockets — Socket.io room wiring /frontend — React + Vite + TypeScript app /docs — game rules & character-builder specs (reference material) diff --git a/backend/package.json b/backend/package.json index 30e616d..8f0628d 100644 --- a/backend/package.json +++ b/backend/package.json @@ -1,12 +1,9 @@ { "name": "backend", - "version": "1.11.1", + "version": "1.12.0", "private": true, "type": "commonjs", "main": "src/index.js", - "prisma": { - "seed": "node prisma/seed.js" - }, "scripts": { "dev": "node --watch src/index.js", "start": "node src/index.js", @@ -15,23 +12,24 @@ "prisma:migrate": "prisma migrate dev", "prisma:generate": "prisma generate", "prisma:seed": "prisma db seed", + "seeds:check": "node scripts/check-seeds.js", "deploy": "prisma migrate deploy && prisma generate", - "seed:hollowcrown": "node prisma/seed-hollowcrown.js", "prisma:studio": "prisma studio" }, "dependencies": { - "@prisma/client": "^5.20.0", - "bcrypt": "^5.1.1", + "@prisma/adapter-pg": "^7.10.0", + "@prisma/client": "^7.10.0", + "bcrypt": "^6.0.0", "cors": "^2.8.5", - "dotenv": "^16.4.5", - "express": "^4.21.0", + "dotenv": "^18.0.6", + "express": "^5.2.1", "jsonwebtoken": "^9.0.2", "socket.io": "^4.8.0", - "zod": "^3.23.8" + "zod": "^4.6.5" }, "devDependencies": { - "jest": "^29.7.0", - "prisma": "^5.20.0", + "jest": "^30.5.2", + "prisma": "^7.10.0", "supertest": "^7.0.0" } } diff --git a/backend/prisma.config.js b/backend/prisma.config.js new file mode 100644 index 0000000..aa94a54 --- /dev/null +++ b/backend/prisma.config.js @@ -0,0 +1,15 @@ +// Prisma CLI configuration: where the schema and migrations live, which +// database to run them against, and the command behind `prisma db seed`. +require('dotenv').config({ quiet: true }); +const { defineConfig, env } = require('prisma/config'); + +module.exports = defineConfig({ + schema: 'prisma/schema.prisma', + migrations: { + path: 'prisma/migrations', + seed: 'node prisma/seed.js', + }, + datasource: { + url: env('DATABASE_URL'), + }, +}); diff --git a/backend/prisma/schema.prisma b/backend/prisma/schema.prisma index 80369ae..dc4a90b 100644 --- a/backend/prisma/schema.prisma +++ b/backend/prisma/schema.prisma @@ -1,7 +1,8 @@ // D&D Campaign Manager — Prisma schema -// Postgres. Run `npx prisma migrate dev --name init` after `DATABASE_URL` is set, -// then `npx prisma db seed` using the seed script built from /seed-data/*.json -// (see CLAUDE_BUILD_PROMPT.md, "Database" section). +// Postgres. The connection (DATABASE_URL) is set in prisma.config.js, not here. +// Run `npx prisma migrate dev` then `npx prisma generate`; `npx prisma db seed` +// adds the admin account (prisma/seed.js). Worlds are created in the app from +// the seeds in /backend/seeds. generator client { provider = "prisma-client-js" @@ -9,7 +10,6 @@ generator client { datasource db { provider = "postgresql" - url = env("DATABASE_URL") } // --------------------------------------------------------------------------- diff --git a/backend/prisma/seed-hollowcrown.js b/backend/prisma/seed-hollowcrown.js deleted file mode 100644 index 5a3cac6..0000000 --- a/backend/prisma/seed-hollowcrown.js +++ /dev/null @@ -1,32 +0,0 @@ -// Adds the Hollowcrown: The Rift Between Worlds campaign -// (seed-data/hollowcrown.js) for the admin account. Not part of the default -// seed — run it on its own: -// -// npm run seed:hollowcrown -// -// Like every seed it only adds (see seedCampaign.js): it never touches other -// campaigns, and does nothing if the admin already has an active Hollowcrown. -const { run, fromLibrary } = require('./seedCampaign'); -const { WEAPON_LIBRARY, SPELL_LIBRARY, MONSTER_LIBRARY } = require('../src/game/data/library'); -const hollowcrown = require('../seed-data/hollowcrown.js'); - -const startingSpells = new Set(hollowcrown.startingSpells); -for (const key of startingSpells) fromLibrary(SPELL_LIBRARY, key); // fail early on a misspelt key - -run({ - ...hollowcrown, - // The book's starting picks come from the site library; its modern relics - // and magic weapons are never starting options. - weapons: [ - ...hollowcrown.libraryWeapons.map((key) => fromLibrary(WEAPON_LIBRARY, key, { isStartingOption: true })), - ...hollowcrown.weapons, - ], - // The whole spell library goes in, so a spell is there to hand out the - // moment a character unlocks it; only the book's Session 0 list is offered - // in the builder. - spells: [ - ...SPELL_LIBRARY.map(({ key }) => fromLibrary(SPELL_LIBRARY, key, { isStartingOption: startingSpells.has(key) })), - ...hollowcrown.spells, - ], - monsters: [...hollowcrown.libraryMonsters.map((key) => fromLibrary(MONSTER_LIBRARY, key)), ...hollowcrown.monsters], -}); diff --git a/backend/prisma/seed.js b/backend/prisma/seed.js index e05c540..6cba667 100644 --- a/backend/prisma/seed.js +++ b/backend/prisma/seed.js @@ -1,32 +1,54 @@ -// The default seed: the Aldenfell campaign (seed-data/aldenfell.js) for the -// admin account. See seedCampaign.js for what a seed does and why it is safe -// to run against a live database. +// The database seed: makes sure the admin account exists, and nothing else. // -// npx prisma db seed add what is missing +// npx prisma db seed create the admin account if it is missing // npx prisma db seed -- --reset DESTRUCTIVE: delete every user, campaign, // character, note, etc. first // -// Other campaigns have their own command (npm run seed:hollowcrown). +// It only ever adds, so it is safe against a live database: an existing +// account, and its password, is left alone. SEED_ADMIN_EMAIL / +// SEED_ADMIN_PASSWORD / SEED_ADMIN_NAME override the account that is created. // -// Species/classes/skills are NOT seeded as rows — they're fixed game-rule -// tables ported into src/game/data/*.js, as is the default weapon/spell/monster -// library DMs pull from. The default weapons (seed-data/weapons.json) ARE -// seeded, into the campaign, since weapons are per-campaign in the schema. -const { run, fromLibrary } = require('./seedCampaign'); -const { SPELL_LIBRARY } = require('../src/game/data/library'); -const defaultWeapons = require('../seed-data/weapons.json'); -const aldenfell = require('../seed-data/aldenfell.js'); +// Worlds are not seeded here. A campaign is created in the app, blank or from +// one of the world seeds in /backend/seeds by its code (docs/SEEDS.md). +// +// Species/classes/skills are not rows either: they are fixed game-rule tables +// in src/game/data/*.js, as is the library DMs pull weapons, items, spells +// and monsters from. +const bcrypt = require('bcrypt'); +const prisma = require('../src/db'); +const { loadSeeds } = require('../src/seeds'); -run( - { - ...aldenfell, - // Everyday weapons are what a new character picks from; the rest are earned. - weapons: [...defaultWeapons.map((w) => ({ ...w, isStartingOption: true })), ...aldenfell.weapons], - items: aldenfell.items.map(({ starting, ...item }) => ({ ...item, isStartingOption: Boolean(starting) })), - spells: [ - ...aldenfell.spells.starting.map((key) => fromLibrary(SPELL_LIBRARY, key, { isStartingOption: true })), - ...aldenfell.spells.earned.map((key) => fromLibrary(SPELL_LIBRARY, key, { isStartingOption: false })), - ], - }, - { reset: process.argv.includes('--reset') }, -); +const ADMIN_EMAIL = process.env.SEED_ADMIN_EMAIL || 'joshua@crosscode.co.za'; +const ADMIN_PASSWORD = process.env.SEED_ADMIN_PASSWORD || '12345678'; +const ADMIN_NAME = process.env.SEED_ADMIN_NAME || 'Joshua'; + +async function seed({ reset = false } = {}) { + if (reset) { + // Truncating the two roots cascades through every table that references them. + await prisma.$executeRawUnsafe('TRUNCATE TABLE "users", "campaigns" RESTART IDENTITY CASCADE'); + console.log('Database reset: every user and campaign was deleted.'); + } + + if (await prisma.user.findUnique({ where: { email: ADMIN_EMAIL } })) { + console.log(`Admin account ${ADMIN_EMAIL} already exists — left as it is.`); + } else { + await prisma.user.create({ + data: { email: ADMIN_EMAIL, passwordHash: await bcrypt.hash(ADMIN_PASSWORD, 12), displayName: ADMIN_NAME }, + }); + console.log(`Admin/DM login created: ${ADMIN_EMAIL} / ${ADMIN_PASSWORD}`); + console.log(' Change that password from the account page ("Account" in the navigation) once you are logged in.'); + } + + const worlds = loadSeeds().filter((world) => !world.error); + if (worlds.length) { + console.log('Worlds to start a campaign from (Campaigns → New Campaign → world code):'); + for (const { code, seed: world } of worlds) console.log(` ${code} ${world.campaign.name}`); + } +} + +seed({ reset: process.argv.includes('--reset') }) + .catch((err) => { + console.error(err); + process.exitCode = 1; + }) + .finally(() => prisma.$disconnect()); diff --git a/backend/prisma/seedCampaign.js b/backend/prisma/seedCampaign.js deleted file mode 100644 index 3724f59..0000000 --- a/backend/prisma/seedCampaign.js +++ /dev/null @@ -1,210 +0,0 @@ -// Shared by the campaign seeds (seed.js, seed-hollowcrown.js): makes sure the -// admin account exists, then adds one fully-built campaign for it. -// -// A seed only ever ADDS, so it is safe against a live database. The admin -// account is created if it is missing (an existing one, and its password, is -// left alone), and the campaign is added unless that account already owns an -// active campaign of the same name. To get a fresh copy, archive or delete the -// old one in the app and run the seed again. -// -// SEED_ADMIN_EMAIL / SEED_ADMIN_PASSWORD / SEED_ADMIN_NAME override the -// account that is created. -// -// `content` is one campaign, with every pool as rows shaped like the Prisma -// models minus ids: -// campaign, locations, weapons, items, spells, monsters, npcs, -// sharedNotes, dmNotes (note bodies, in reading order), and -// encounters, in the order they should list: -// { name, mode, description, dmNotes, -// location: a location's name (optional) — where the scene is, -// monsters: [[monster name, count, display name?, max HP?], ...], -// npcs: [NPC name | { name, hp }, ...], -// rewards: [{ gold } | { weapon } | { item }, each with optional -// quantity, level (defaults to the entry's starting level) -// and note] } -const bcrypt = require('bcrypt'); -const { PrismaClient } = require('@prisma/client'); -const { generateInviteCode } = require('../src/utils/inviteCode'); - -const prisma = new PrismaClient(); - -const ADMIN_EMAIL = process.env.SEED_ADMIN_EMAIL || 'joshua@crosscode.co.za'; -const ADMIN_PASSWORD = process.env.SEED_ADMIN_PASSWORD || '12345678'; -const ADMIN_NAME = process.env.SEED_ADMIN_NAME || 'Joshua'; - -// Notes list newest-first on screen, so they are stamped a second apart, -// backwards: the first entry in the seed data is the one at the top. -function bookOrder(index) { - return new Date(Date.now() - index * 1000); -} - -function byName(rows) { - return new Map(rows.map((row) => [row.name, row])); -} - -function lookup(map, name, what, encounterName) { - const row = map.get(name); - if (!row) throw new Error(`Encounter "${encounterName}" references unknown ${what} "${name}"`); - return row; -} - -async function createCampaign(db, admin, content) { - const campaign = await db.campaign.create({ - data: { - ...content.campaign, - inviteCode: generateInviteCode(), - ownerId: admin.id, - members: { create: { userId: admin.id, role: 'DM' } }, - }, - }); - const campaignId = campaign.id; - const inCampaign = (rows) => rows.map((row) => ({ ...row, campaignId })); - - await db.location.createMany({ data: inCampaign(content.locations) }); - await db.weapon.createMany({ data: inCampaign(content.weapons) }); - await db.item.createMany({ data: inCampaign(content.items) }); - await db.spell.createMany({ data: inCampaign(content.spells) }); - await db.monster.createMany({ data: inCampaign(content.monsters) }); - await db.npc.createMany({ data: inCampaign(content.npcs) }); - - const monsters = byName(await db.monster.findMany({ where: { campaignId } })); - const npcs = byName(await db.npc.findMany({ where: { campaignId } })); - const weapons = byName(await db.weapon.findMany({ where: { campaignId } })); - const items = byName(await db.item.findMany({ where: { campaignId } })); - const locations = byName(await db.location.findMany({ where: { campaignId } })); - - let rewardCount = 0; - for (const [index, enc] of content.encounters.entries()) { - const participants = []; - for (const [name, count, displayName, hp] of enc.monsters || []) { - const monster = lookup(monsters, name, 'monster', enc.name); - const label = displayName || monster.name; - const maxHp = hp ?? monster.maxHp; - for (let i = 1; i <= count; i++) { - participants.push({ - monsterId: monster.id, - displayName: count > 1 ? `${label} #${i}` : label, - currentHp: maxHp, - maxHp, - isMonster: true, - }); - } - } - for (const entry of enc.npcs || []) { - const { name, hp } = typeof entry === 'string' ? { name: entry } : entry; - const npc = lookup(npcs, name, 'NPC', enc.name); - // An NPC with no combat stats takes part with no hit points to track. - const maxHp = hp ?? npc.maxHp ?? 0; - participants.push({ npcId: npc.id, displayName: npc.name, currentHp: maxHp, maxHp, isMonster: false }); - } - - // Rewards list oldest-first, so these are stamped forwards. - const rewards = (enc.rewards || []).map(({ gold, weapon, item, quantity, level, note }, i) => { - const createdAt = new Date(Date.now() + i); - if (gold) return { type: 'GOLD', gold, note, createdAt }; - const entry = weapon ? lookup(weapons, weapon, 'weapon', enc.name) : lookup(items, item, 'item', enc.name); - return { - type: weapon ? 'WEAPON' : 'ITEM', - [weapon ? 'weaponId' : 'itemId']: entry.id, - quantity: quantity ?? 1, - level: Math.max(level ?? entry.minLevel, entry.minLevel), - note, - createdAt, - }; - }); - rewardCount += rewards.length; - - await db.encounter.create({ - data: { - campaignId, - name: enc.name, - mode: enc.mode, - description: enc.description, - dmNotes: enc.dmNotes, - locationId: enc.location ? lookup(locations, enc.location, 'location', enc.name).id : null, - sortOrder: index, - participants: { create: participants }, - rewards: { create: rewards }, - }, - }); - } - - const notes = [ - ...content.sharedNotes.map((body) => ({ body, visibility: 'SHARED' })), - ...content.dmNotes.map((body) => ({ body, visibility: 'DM_ONLY' })), - ]; - await db.note.createMany({ - data: notes.map((n, i) => ({ ...n, campaignId, authorId: admin.id, createdAt: bookOrder(i) })), - }); - - const starting = (rows) => rows.filter((row) => row.isStartingOption).length; - console.log(` Campaign: ${campaign.name} — invite code ${campaign.inviteCode}`); - console.log( - ` ${content.weapons.length} weapons (${starting(content.weapons)} starting), ${content.items.length} items ` + - `(${starting(content.items)} starting), ${content.spells.length} spells (${starting(content.spells)} starting), ` + - `${content.locations.length} locations`, - ); - console.log( - ` ${content.monsters.length} monsters, ${content.npcs.length} NPCs, ${content.encounters.length} encounters ` + - `(${rewardCount} rewards lined up), ${notes.length} notes`, - ); -} - -async function resetDatabase() { - // Truncating the two roots cascades through every table that references them. - await prisma.$executeRawUnsafe('TRUNCATE TABLE "users", "campaigns" RESTART IDENTITY CASCADE'); -} - -// `reset` is DESTRUCTIVE: every user, campaign, character, note, etc. is -// deleted before anything is added. -async function seed(content, { reset = false } = {}) { - if (reset) { - await resetDatabase(); - console.log('Database reset: every user and campaign was deleted.'); - } - - let admin = await prisma.user.findUnique({ where: { email: ADMIN_EMAIL } }); - if (admin) { - console.log(`Admin account ${ADMIN_EMAIL} already exists — left as it is.`); - } else { - admin = await prisma.user.create({ - data: { email: ADMIN_EMAIL, passwordHash: await bcrypt.hash(ADMIN_PASSWORD, 12), displayName: ADMIN_NAME }, - }); - console.log(`Admin/DM login created: ${ADMIN_EMAIL} / ${ADMIN_PASSWORD}`); - console.log(' Change that password from the account page (click your name, top right) once you are logged in.'); - } - - const existing = await prisma.campaign.findFirst({ - where: { ownerId: admin.id, name: content.campaign.name, archivedAt: null }, - }); - if (existing) { - console.log(`${ADMIN_EMAIL} already has an active "${existing.name}" campaign — nothing added.`); - console.log(' For a fresh copy, archive or delete it under Campaign Settings and run the seed again.'); - return; - } - - // One transaction, so a failed seed doesn't leave half a campaign behind. - console.log('Seeding campaign...'); - await prisma.$transaction((tx) => createCampaign(tx, admin, content), { timeout: 120000, maxWait: 20000 }); - console.log('Seed complete.'); -} - -// Runs a seed script to completion: exit code 1 on failure, connection closed either way. -function run(content, options) { - return seed(content, options) - .catch((err) => { - console.error(err); - process.exitCode = 1; - }) - .finally(() => prisma.$disconnect()); -} - -// A copy of a library entry as a pool row: its `key` and picker-only tags dropped. -function fromLibrary(library, key, extra = {}) { - const template = library.find((entry) => entry.key === key); - if (!template) throw new Error(`Unknown library entry "${key}"`); - const { key: _key, category, classes, ...row } = template; - return { ...row, ...extra }; -} - -module.exports = { run, fromLibrary }; diff --git a/backend/scripts/check-seeds.js b/backend/scripts/check-seeds.js new file mode 100644 index 0000000..1561d6d --- /dev/null +++ b/backend/scripts/check-seeds.js @@ -0,0 +1,27 @@ +// Checks every world seed in /backend/seeds and says what each one holds, or +// what is wrong with it. Run it after dropping in or editing a seed file: +// +// npm run seeds:check +const { loadSeeds, SEEDS_DIR } = require('../src/seeds'); + +const results = loadSeeds(); +if (results.length === 0) console.log(`No seed files in ${SEEDS_DIR}.`); + +for (const { file, code, seed, error } of results) { + if (error) { + console.error(`✗ ${file}\n${error.replace(/^/gm, ' ')}`); + process.exitCode = 1; + continue; + } + const starting = (rows) => rows.filter((row) => row.isStartingOption).length; + const count = (rows, of) => rows.reduce((sum, row) => sum + (row[of] || []).length, 0); + console.log(`✓ ${file} — code ${code} — ${seed.campaign.name}`); + console.log( + ` ${seed.weapons.length} weapons (${starting(seed.weapons)} starting), ${seed.items.length} items (${starting(seed.items)} starting), ` + + `${seed.spells.length} spells (${starting(seed.spells)} starting), ${seed.locations.length} locations`, + ); + console.log( + ` ${seed.monsters.length} monsters, ${seed.npcs.length} NPCs (${count(seed.npcs, 'wares')} wares), ${seed.encounters.length} encounters ` + + `(${count(seed.encounters, 'rewards')} rewards, ${count(seed.encounters, 'wares')} wares), ${seed.sharedNotes.length + seed.dmNotes.length} notes`, + ); +} diff --git a/backend/seed-data/aldenfell.js b/backend/seeds/aldenfell.js similarity index 81% rename from backend/seed-data/aldenfell.js rename to backend/seeds/aldenfell.js index dc0f6e3..6f4ee56 100644 --- a/backend/seed-data/aldenfell.js +++ b/backend/seeds/aldenfell.js @@ -1,8 +1,9 @@ -// Aldenfell campaign content: the gazetteer, bestiary and notes are condensed -// from the Aldenfell Campaign Book; the gear, item pool, NPC list and scenes -// are built out from it to use everything a campaign can hold. -// Consumed by prisma/seed.js. Shapes match the Prisma models minus ids, except -// where a section's comment says otherwise. +// Aldenfell: a world seed (docs/SEEDS.md). A DM starts a campaign from it by +// entering its code. +// +// The gazetteer, bestiary and notes are condensed from the Aldenfell Campaign +// Book; the gear, item pool, NPC list and scenes are built out from it to use +// everything a campaign can hold. const campaign = { name: 'Aldenfell', @@ -137,17 +138,30 @@ const monsters = [ specialTrait: 'Keen hearing and smell — advantage on Perception checks that rely on them.', notes: 'Medium beast, 25 XP. Bite +3 (1d6+1 piercing, DC 11 Str or prone). A chapel mastiff gone half-wild in the Sunken Vaults’ Old Crypt Hall (Room 2). Starving, not vicious — DC 12 Animal Handling or a thrown ration ends the fight.', }, + { + name: 'The Hollow King', challengeRating: '10', ac: 16, maxHp: 190, speed: 30, + strScore: 18, dexScore: 14, conScore: 18, intScore: 18, wisScore: 18, chaScore: 20, attackBonus: 9, damageDice: '4d8', + specialTrait: 'Many, not one — it is the will of everyone the founders sacrificed, so it cannot be charmed or frightened, and it speaks in several voices. Echoing dread — starting a turn within 30 ft: DC 16 Wis or frightened. What the Court remembers (recharge 5–6): each creature within 30 ft, DC 16 Wis or 6d6 psychic and lose its reaction (half on success).', + notes: 'A STARTING POINT, NOT THE BOOK’S: the Campaign Book gives no stat block for E26 and tells you to build one to your party’s level and the resources they brought. This one suits four level 7–8 characters; change the numbers freely. Fly 30 ft (hover). Multiattack (two Chilling Touch +9, 4d8 necrotic). Three legendary actions a round: move without provoking, one Chilling Touch, or (2 actions) pull a creature 20 ft toward the seal (DC 16 Str). The fight should never be only a sword fight — what the party does with the truth (E19, E22) matters more than its hit points.', + }, ]; // --------------------------------------------------------------------------- -// Weapons the party earns. The everyday weapons (seed-data/weapons.json) are -// seeded as starting options; these are not, so they only reach a character as -// a reward or a gift. damageDice is the damage at minLevel, and a character -// must be at least a held copy's level to use it. damageScaling: 1 standard, -// 2 powerful, 3 legendary. +// Weapons. The everyday ones are copies from the site library and are what a +// new character picks from. The rest are not starting options, so they only +// reach a character as a reward, a gift or a purchase. damageDice is the +// damage at minLevel, and a character must be at least a held copy's level to +// use it. damageScaling: 1 standard, 2 powerful, 3 legendary. // --------------------------------------------------------------------------- +const everydayWeapons = [ + 'dagger', 'shortsword', 'rapier', 'longsword', 'greatsword', 'battleaxe', 'handaxe', 'warhammer', 'mace', + 'quarterstaff', 'spear', 'shortbow', 'longbow', 'light-crossbow', 'dart', +]; + const weapons = [ + ...everydayWeapons.map((library) => ({ library, isStartingOption: true })), + { name: 'Unarmed Strike', damageDice: '1', damageType: 'bludgeoning', attackAbility: 'STR', properties: [], isStartingOption: true }, { name: 'Masterwork Dagger', damageDice: '1d6', damageType: 'piercing', attackAbility: 'FINESSE', properties: ['finesse', 'light', 'thrown'], rangeNormal: 20, rangeLong: 60, minLevel: 2, damageScaling: 1 }, { name: 'Smuggler’s Cutlass', damageDice: '1d8', damageType: 'slashing', attackAbility: 'FINESSE', properties: ['finesse'], rangeNormal: null, rangeLong: null, minLevel: 2, damageScaling: 1 }, { name: 'Warden’s Longbow', damageDice: '1d10', damageType: 'piercing', attackAbility: 'DEX', properties: ['ammunition', 'heavy', 'two-handed'], rangeNormal: 150, rangeLong: 600, minLevel: 2, damageScaling: 2 }, @@ -159,38 +173,47 @@ const weapons = [ ]; // --------------------------------------------------------------------------- -// Item pool. Items are descriptive: holding one never changes a number on the -// sheet. `starting: true` offers the item in the character builder. +// Item pool. Most items are descriptive. The ones with `effects` change the +// sheet of whoever has them equipped (armor is an item with an AC effect), and +// `effectNote` says what a number cannot. `isStartingOption: true` offers the +// item in the character builder. // --------------------------------------------------------------------------- const items = [ // Starting kit - { name: 'Potion of Healing', description: 'A red liquid that glimmers when shaken. Drink it (an action) to regain the hit points shown.', damageDice: '2d4+2', starting: true }, - { name: 'Traveller’s Pack', description: 'Bedroll, mess kit, tinderbox, waterskin and five days of rations.', starting: true }, - { name: 'Rope (50 ft)', description: 'Hempen rope. Holds a climber; DC 17 Strength to burst.', starting: true }, - { name: 'Torches (bundle of 5)', description: 'Each burns for an hour: bright light for 20 feet, dim for 20 more.', starting: true }, - { name: 'Healer’s Kit', description: 'Ten uses. Spend one to stabilise a creature at 0 hit points without a Medicine check.', starting: true }, - { name: 'Thieves’ Tools', description: 'Picks, a small file and a mirror on a handle. Needed to pick a lock or disarm a trap.', starting: true }, - { name: 'Shield', description: 'A wooden or steel shield, +2 Armor Class while carried. Ask the DM to add it to your armor bonus.', starting: true }, - { name: 'Leather Armor', description: 'Boiled leather, Armor Class 11 + Dexterity. Ask the DM to set your armor bonus.', starting: true }, - { name: 'Spellcasting Focus', description: 'A wand, holy symbol, crystal or carved staff that your spells are cast through.', starting: true }, - { name: 'Founding Fair Token', description: 'A stamped brass token from the Lantern Market. Good for one drink at any stall, or a small favour from whoever ran the game you won it at.', starting: true }, + { name: 'Potion of Healing', description: 'A red liquid that glimmers when shaken. Drink it (an action) to regain the hit points shown.', damageDice: '2d4+2', isStartingOption: true }, + { name: 'Traveller’s Pack', description: 'Bedroll, mess kit, tinderbox, waterskin and five days of rations.', isStartingOption: true }, + { name: 'Rope (50 ft)', description: 'Hempen rope. Holds a climber; DC 17 Strength to burst.', isStartingOption: true }, + { name: 'Torches (bundle of 5)', description: 'Each burns for an hour: bright light for 20 feet, dim for 20 more.', isStartingOption: true }, + { name: 'Healer’s Kit', description: 'Ten uses. Spend one to stabilise a creature at 0 hit points without a Medicine check.', isStartingOption: true }, + { name: 'Thieves’ Tools', description: 'Picks, a small file and a mirror on a handle. Needed to pick a lock or disarm a trap.', isStartingOption: true }, + { name: 'Shield', description: 'A wooden or steel shield carried on one arm.', isStartingOption: true, effects: [{ stat: 'AC', amount: 2 }], effectNote: 'Takes a hand: no two-handed weapon while it is up.' }, + { name: 'Leather Armor', description: 'Boiled leather, light enough to sleep and sneak in.', isStartingOption: true, effects: [{ stat: 'AC', amount: 1 }] }, + { name: 'Spellcasting Focus', description: 'A wand, holy symbol, crystal or carved staff that your spells are cast through.', isStartingOption: true }, + { name: 'Founding Fair Token', description: 'A stamped brass token from the Lantern Market. Good for one drink at any stall, or a small favour from whoever ran the game you won it at.', isStartingOption: true }, // Found and earned { name: 'Potion of Greater Healing', description: 'A deeper red than the common potion. Drink it (an action) to regain the hit points shown.', damageDice: '4d4+4', minLevel: 3 }, + { library: 'studded-leather' }, + { library: 'chain-shirt' }, + { library: 'chain-mail' }, { name: 'Alchemist’s Fire', description: 'A sticky flask that ignites in air. Throw it up to 20 feet: the target burns for the damage shown at the start of each of its turns until someone spends an action putting it out.', damageDice: '1d4' }, { name: 'Silver Locket', description: 'A tarnished locket from the Old Crypt Hall, worth about 15 gp. The portrait inside has been scratched out.' }, { name: 'Smugglers’ Ledger Page', description: 'A torn page from a crate in the Sunken Vaults, stamped with a merchant sigil nobody at the Concord Exchange recognises. Half a name survives in the margin.' }, { name: 'Bell-Ringer’s Keepsake', description: 'A worn brass bell-clapper charm, pressed into your hand with more gratitude than its owner could put into words.' }, { name: 'Grey Dawn Signet', description: 'An iron ring bearing the Order’s rising sun. Shown at Grey Dawn Hall or to any patrol, it marks you as someone the Order vouches for.' }, { name: 'Concord Writ of Passage', description: 'A sealed Merchant Concord contract. Waives tolls and gate fees across Aldenfell while the Concord still considers you good for business.' }, - { name: 'Warden’s Charm', description: 'A knot of greywood bark and red thread. The Wardens will know you by it, and the forest’s paths seem a little easier to find while you carry it.' }, + { name: 'Warden’s Charm', description: 'A knot of greywood bark and red thread. The Wardens will know you by it, and the forest’s paths seem a little easier to find while you carry it.', effects: [{ stat: 'SKILL_SURVIVAL', amount: 1 }] }, { name: 'Stonejaw Oath-Token', description: 'A river stone the size of a fist, carved with the Stonejaw clan mark. Proof that your word was tested and held.' }, { name: 'Half-Burned Letter', description: 'Found among a missing person’s belongings in the Root. Most of it is ash. What is left mentions payments, a shrine, and a family crest.' }, { name: 'Silver Shrine Relic', description: 'A small silver figure lifted from black water beneath the Greywood, worth about 75 gp. Its style is older than the kingdom.' }, { name: 'Sealed Letter', description: 'Heavy paper, an unbroken wax seal, and a servant’s whispered warning about who must never know you have it.' }, { name: 'Root-Fiber Scrap', description: 'A length of pale root that is still, very slightly, moving. It is cold, and it does not rot.' }, { name: 'Seal-Stone Fragment', description: 'A shard of worked stone from the edge of the breach. Script runs along one face. It is warm, and holding it makes the bell script easier to look at.' }, + { name: 'Seized House Documents', description: 'Ledgers and letters taken from the noble house after it was confronted. No value in coin; a great deal of value to anyone building a case.' }, + { name: 'House Records', description: 'The fallen house’s private records: names, payments and meeting places for its contacts across Aldenfell.' }, + { name: 'Masterwork Chain Mail', description: 'Close-linked mail from the Grey Dawn’s own armoury, fitted rather than issued.', minLevel: 5, effects: [{ stat: 'AC', amount: 7 }, { stat: 'SPEED', amount: -10 }], effectNote: 'Disadvantage on Stealth checks.' }, + { name: 'The Seal-Stone', description: 'The stone at the heart of the seal, whole again and quiet. It is heavier than it looks, and it is never quite cold.', minLevel: 7, effects: [{ stat: 'SAVE_WIS', amount: 2 }], effectNote: 'Grows warm near anything of the Hollow Below. Its other properties are the DM’s to decide: something tied to binding, warding or detecting.' }, ]; // --------------------------------------------------------------------------- @@ -200,7 +223,7 @@ const items = [ // DM to teach later. // --------------------------------------------------------------------------- -const spells = { +const spellKeys = { starting: [ 'chill-touch', 'eldritch-blast', 'fire-bolt', 'guidance', 'light', 'mage-hand', 'minor-illusion', 'prestidigitation', 'produce-flame', 'ray-of-frost', 'sacred-flame', 'shocking-grasp', 'spare-the-dying', @@ -216,6 +239,11 @@ const spells = { ], }; +const spells = [ + ...spellKeys.starting.map((library) => ({ library, isStartingOption: true })), + ...spellKeys.earned, +]; + // --------------------------------------------------------------------------- // NPCs. `description` is what the party sees once the NPC is in a scene; // `dmNotes` never leaves the DM's screen. Combat stats only where a fight is @@ -242,7 +270,17 @@ const npcs = [ { name: 'Mireille Costa', role: 'Merchant Concord representative', disposition: 'NEUTRAL', description: 'Charming and transactional, usually found at the Concord Exchange with a contract already drafted. She always has a job, and she always pays what she promised.', - dmNotes: 'Source of paying side work (E4B → The Smugglers’ Tithe). The Concord is neutral and pragmatic, and drops anyone who becomes bad for business — including the party.', + dmNotes: 'Source of paying side work (E4B → The Smugglers’ Tithe). The Concord is neutral and pragmatic, and drops anyone who becomes bad for business — including the party. She also sells: Concord goods at Concord prices, in any scene she is in (DC 12 Persuasion to haggle, per the DM Tables).', + wares: [ + { item: 'Potion of Healing', price: 50 }, + { item: 'Potion of Greater Healing', price: 150 }, + { item: 'Alchemist’s Fire', price: 50 }, + { item: 'Healer’s Kit', price: 5 }, + { item: 'Thieves’ Tools', price: 25 }, + { item: 'Studded Leather', price: 45 }, + { item: 'Chain Shirt', price: 50 }, + { item: 'Chain Mail', price: 75 }, + ], }, { name: 'Ashwen', role: 'Warden of the Greywood', disposition: 'NEUTRAL', @@ -311,6 +349,8 @@ const npcs = [ // handed out. { gold } | { weapon } | { item }, with optional // quantity, level (defaults to the entry's starting level) and // note. +// wares — for sale at the scene itself (a stall), as on an NPC: +// { weapon | item, price, currency?, level?, stock? }. // --------------------------------------------------------------------------- const encounters = [ @@ -319,6 +359,18 @@ const encounters = [ description: 'Highcrown’s Lantern Market at the height of the Founding Fair: lantern-strung stalls, contests of strength and skill, minstrels, and strangers from every corner of the kingdom. This is where you meet.', dmNotes: 'Character creation happens here (Roll-Your-Character System) — it can be the whole first half of session one. No combat. Let each PC win or lose something small at a stall, and introduce Mireille and Ser Kavan in passing so they are familiar faces by E4. Ends when the chapel bell fails to ring → E2.', npcs: ['Mireille Costa', 'Ser Kavan Thorne'], + // The market stalls: everyday kit at everyday prices. + wares: [ + { item: 'Traveller’s Pack', price: 2 }, + { item: 'Rope (50 ft)', price: 1 }, + { item: 'Torches (bundle of 5)', price: 5, currency: 'COPPER' }, + { item: 'Spellcasting Focus', price: 10 }, + { item: 'Shield', price: 10 }, + { item: 'Leather Armor', price: 10 }, + { weapon: 'Dagger', price: 2 }, + { weapon: 'Shortbow', price: 25 }, + { weapon: 'Longsword', price: 15 }, + ], }, { name: 'E2 — The Bell That Wasn’t Ringing', mode: 'QUEST', location: 'Highcrown — The Founding Chapel', @@ -329,9 +381,9 @@ const encounters = [ { name: 'E3 — Sunken Vaults: The Old Crypt Hall', mode: 'BATTLE', location: 'Hollow Below — The Sunken Vaults (Layer 1)', description: 'A long hall of burial niches beneath the chapel, some sealed, some broken open. Something is growling in the dark between the pillars.', - dmNotes: 'Vault Room 2, the hub (→ Rooms 3, 4, stair to 6). The dog is starving, not vicious: DC 12 Animal Handling or a thrown ration ends it. DC 13 Investigation: the open niches are just old theft. DC 12 Perception finds the locket.', + dmNotes: 'Vault Room 2, the hub (→ Rooms 3, 4, stair to 6). The dog is starving, not vicious: DC 12 Animal Handling or a thrown ration ends it. DC 13 Investigation: the open niches are just old theft. DC 12 Investigation spots the locket.', monsters: [['Feral Guard Dog', 1]], - rewards: [{ item: 'Silver Locket', note: 'Room 2 — DC 12 Perception' }], + rewards: [{ item: 'Silver Locket', note: 'Room 2 — DC 12 Investigation' }], }, { name: 'E3 — Sunken Vaults: The Restless Ossuary', mode: 'BATTLE', location: 'Hollow Below — The Sunken Vaults (Layer 1)', @@ -360,6 +412,17 @@ const encounters = [ { item: 'Concord Writ of Passage', note: 'E4B — on taking Mireille’s contract' }, ], }, + { + name: 'E5 — Omens Montage', mode: 'QUEST', location: 'Greywood — The Old Shrine Sites', + description: 'Small things, weeks apart. A farmer’s cattle gone dry overnight out past the shrine road. A stranger at the next table describing, detail for detail, the dream you had last night. None of it is an attack. All of it is wrong.', + dmNotes: 'Pure atmosphere, no treasure. Run two or three as short scenes spread across sessions, never back to back:\n• Livestock and crops failing near an old shrine.\n• Shared nightmares around Highcrown — DC 12 Insight for a PC to realise their own dream matched a stranger’s account.\n• A minor noble behaving with odd, unearned loyalty to no one in particular (the corrupted house — a background detail, not a spotlight).\nThe Drowned Shrine (Root Room 5) is a good place to point an omen at. → E6 whenever it feels earned.', + }, + { + name: 'E7 — A Closer Look', mode: 'QUEST', + description: 'One noble house keeps turning up at the edge of things: generous, quiet, a little too pleased with itself. Asking after it gets polite answers and closed doors.', + dmNotes: 'If the party actively investigates the odd house from E5 they find only dead ends at this stage — by design. Stage 1 omens accumulate; they do not resolve.\nException: a party that took E2C makes a DC 13 Insight check (not 15) to catch one real thread — a servant who flinched at the mention of the house’s name. Note what they learn for E10.\n→ E8: once they have engaged with two or more E4 threads and one full E5 omen, advance the clock to Stage 2 and move to Act 2.', + npcs: ['King Aldric Veyrmont', 'Princess Isolde Veyrmont'], + }, { name: 'E6 — The Bell-Ringer’s Debt: Collectors', mode: 'BATTLE', description: 'Three hard-faced men are waiting outside the bell-ringer’s door when you arrive. They are not here to hear him ring.', @@ -440,6 +503,23 @@ const encounters = [ npcs: ['Threndir Ashclaw'], rewards: [{ weapon: 'Threndir’s Fang', note: 'A shed tooth, set in a hilt — given only if he comes to respect them' }], }, + { + name: 'The Spine — Wyvern Pass', mode: 'BATTLE', location: 'The Spine — Ironvein', + description: 'The pass above Ironvein narrows to a ledge, and the ledge runs under a shelf of rock streaked white with droppings. Something large shifts up there and looks down at you.', + dmNotes: 'Optional travel encounter (Random Encounters, the Spine). Territorial, not evil: it attacks anything that lingers near the nest and ignores a party that keeps moving — DC 13 Stealth or Survival to pass without a fight. Stinger: DC 15 Con or poisoned for a minute. Ironvein below is the resupply stop, with its own rumours (miners going quiet, deeper tunnels avoided).', + monsters: [['Spine Wyvern', 1]], + }, + { + name: 'The Spine — Sevrisk’s Hollow', mode: 'BATTLE', location: 'The Spine — Sevrisk’s Hollow', + description: 'A low, wet cave mouth breathing green-tinged mist. The bones outside it have been arranged, not dropped. From inside comes a voice like a blade being drawn: slow, amused, and very sure of itself.', + dmNotes: 'Optional, and dangerous: Sevrisk is the straightforward dragon fight, in contrast to Threndir. Territorial and opportunistic — she will bargain only to gain an edge, and breaks a bargain the moment it stops paying. Poison breath (recharge 5–6): 30-ft cone, DC 14 Con, 8d6. CR 5: too much for a party below level 4 without help or a plan. Her hoard is the treasure.', + monsters: [['Sevrisk (young green dragon)', 1, 'Sevrisk']], + rewards: [ + { gold: 400, note: 'Sevrisk’s hoard — coin and plate' }, + { item: 'Potion of Greater Healing', quantity: 2, note: 'In the hoard' }, + { weapon: 'Grey Dawn Longsword', note: 'In the hoard — a knight came here once and did not leave' }, + ], + }, { name: 'E9 — The Root: Weeping Passage', mode: 'BATTLE', location: 'Hollow Below — The Weeping Passage', description: 'A long tunnel beneath the Greywood where the walls weep, and the sound they make is almost a voice. Somewhere ahead, very faintly, a bell tolls.', @@ -467,6 +547,12 @@ const encounters = [ { weapon: 'Masterwork Dagger', note: 'Still in a dead hand' }, ], }, + { + name: 'E9 — The Root: The Drowned Shrine', mode: 'QUEST', location: 'Hollow Below — The Root (Layer 2)', + description: 'A shrine older than anything in the vaults above, half sunk in still black water. The altar is whole. The symbol carved into it belongs to no faith anyone above has practised in a very long time.', + dmNotes: 'Root Room 5. A pre-kingdom holy site, connected to the Sunken Library in the Greywood. DC 16 History or Religion: the symbol is older than Aldenfell itself — a thread toward the Hollow King’s origin, without the full truth. A good place for a vision or omen (E5 can point here).\nThe relic: DC 13 Athletics or Investigation to lift it without disturbing the water. Disturbing it summons nothing, only ripples that spread wrong. Exits: back to Room 2, or a narrow crawl to Room 6.', + rewards: [{ item: 'Silver Shrine Relic', note: 'In the water — DC 13 Athletics or Investigation' }], + }, { name: 'E9 — The Root: Bellcrawler Gallery', mode: 'BATTLE', location: 'Hollow Below — The Root (Layer 2)', description: 'Narrow ledges over a drop your torch cannot find the bottom of. From three different directions at once, a bell begins to toll.', @@ -474,7 +560,7 @@ const encounters = [ monsters: [['Bellcrawler', 3]], rewards: [ { gold: 90, note: 'Scattered along the ledges' }, - { item: 'Potion of Healing', note: 'In a fallen pack' }, + { item: 'Potion of Healing', note: 'In a fallen pack — the book has the coin or the potion, DM’s choice' }, ], }, { @@ -482,7 +568,10 @@ const encounters = [ description: 'Back in Highcrown with a name, a ledger, and a question nobody at court wants asked out loud: what do you do with it?', dmNotes: 'The ledger: every shrine “donation” falls three days after a livestock death.\n• E10A confront the house directly: DC 16 Persuasion/Intimidation with proof, DC 20 without.\n• E10B report to the crown, Isolde or Kavan: sets up Act 3 politics; if E9C, Kavan already suspected (trust bump).\n• E10C (E2C + the servant thread): private DC 13 check at advantage → confession and the sealed letter; the house never learns it is suspected. Best route into Act 3.', npcs: ['Princess Isolde Veyrmont', 'Ser Kavan Thorne'], - rewards: [{ item: 'Sealed Letter', note: 'E10C only' }], + rewards: [ + { item: 'Sealed Letter', note: 'E10C only — the servant’s evidence' }, + { item: 'Seized House Documents', note: 'E10A only — taken at the confrontation' }, + ], }, { name: 'E11 — Silence on the Border', mode: 'QUEST', location: 'Bramble Marches — Greyford Keep', @@ -508,6 +597,27 @@ const encounters = [ monsters: [['Hollowed', 4]], rewards: [{ item: 'Seal-Stone Fragment', note: 'Key item — from the breach’s edge' }], }, + { + name: 'E15 — The House Falls (or Doesn’t)', mode: 'BATTLE', + description: 'Word travels faster than truth in Highcrown. By the time you reach the house, half the city already has an opinion about what happened there — and most of them are wrong.', + dmNotes: 'Plays very differently by Act 2 route.\n• E15A (took E10A): the house has spent Act 2 preparing — hired guards, an alibi, perhaps a scapegoat servant. DC 18 to break the cover story, or this fight: house guards and one Hollowed-touched retainer.\n• E15B (took E10B): a tense public tribunal, no fight. DC 16 Persuasion or Insight steers it toward exile rather than execution (matters for a returning villain).\n• E15C (took E10C): the house suspects nothing. Move on its masters — the cult in Highcrown. Only this route reaches E15C-1: a cult lieutenant taken alive, who gives up the Hollow Court’s surface entrance (→ E18B).\nRemove the monsters for E15B and E15C. → E16.', + monsters: [['Bandit Captain', 2, 'House Guard Sergeant'], ['Highcrown Cutthroat', 4, 'House Guard'], ['Hollowed', 1, 'The Retainer']], + npcs: ['Princess Isolde Veyrmont', 'Ser Kavan Thorne'], + rewards: [{ item: 'House Records', note: 'Names other cult contacts across Aldenfell — seeds for a side quest, or safely ignored' }], + }, + { + name: 'E16 — What the Marches Cost', mode: 'QUEST', location: 'Bramble Marches — Greyford Keep', + description: 'Smoke on the horizon means something different out here than it does in Highcrown. Out here, it usually means someone made a choice that can’t be unmade.', + dmNotes: 'The consequences of E11. No loot: this is about consequence.\n• E16A — Greyford was reinforced (E11C, Spine Clans allied): the keep holds. A rare unambiguous good outcome; let them feel it. Spine Clan standing rises.\n• E16B — Greyford was under-supplied (Smugglers’ Tithe unresolved): the keep falls or is abandoned for good. The named refugee from Refugees of the Marches is lost unless the party steps in — DC 16 Athletics or Survival chase and rescue.\n→ E17 (pay off any debt the party has run up: the E14A weakening, an unresolved side quest, unchased omens — or a quiet breather with the bell-ringer) → E18.', + npcs: ['Greyford’s Commander'], + }, + { + name: 'E18 — Into the Hollow Court', mode: 'BATTLE', location: 'Hollow Below — The Hollow Court (Layer 3)', + description: 'The stair doesn’t so much end as stop pretending to be a stair. What’s beneath Aldenfell was never built — it grew, the way a wound grows scar tissue, except the scar tissue is watching you.', + dmNotes: 'Hollow Court Rooms 1–3. E18A enters by the Bent Stair; E18B (cult lieutenant from E15C-1) skips straight to the Memory Pool.\n• Room 1, The Bent Stair: DC 15 Wis save or lose track of how long the descent took (atmosphere, or 10 minutes lost). No monster.\n• Room 2, The Memory Pool: each PC who looks sees a vision tied to a choice they made — the payoff for the branch points. No damage; DC 17 Insight to understand it.\n• Room 3, The Court of Whispers: Vessa may speak plainly here. DC 16 Insight: she believes what she says. If it comes to a fight it is with these Hollowed guardians, never with her — remove them if the party talks.\n→ E19.', + monsters: [['Hollowed', 4, 'Hollowed Guardian']], + npcs: ['Vessa Hollow'], + }, { name: 'Mid-campaign scare — The Hollow King’s Shadow', mode: 'BATTLE', description: 'The light goes thin and the air goes cold. Something tall is standing where the wall should be, and the wall does not seem to mind.', @@ -525,14 +635,20 @@ const encounters = [ description: 'One last gathering before the descent. Whoever is going to stand with you is here now — and they do not all agree about what happens next.', dmNotes: 'Who shows up depends on the branch list — remove anyone the party lost or alienated.\n• E21A Grey Dawn track: Kavan and his wardens, by the book.\n• E21B Spine Clans track: Korgath’s war-band; advantage on the first Survival check at E22.\n• E21C Independent: no reinforcements; every choice stays theirs.\n• Several tracks: the groups arrive and disagree — the party mediates.', npcs: ['Princess Isolde Veyrmont', 'Ser Kavan Thorne', 'Korgath Stonejaw', 'Ashwen'], - rewards: [{ item: 'Potion of Greater Healing', quantity: 2, note: 'Going-away gift from whoever stands with them' }], + rewards: [ + { item: 'Potion of Greater Healing', quantity: 2, note: 'Going-away gift from whoever stands with them' }, + { item: 'Masterwork Chain Mail', note: 'E21A — from the Grey Dawn armoury, if the Order stands with them' }, + ], }, { name: 'E22 — The Seal Chamber', mode: 'QUEST', location: 'Hollow Below — The Hollow Court (Layer 3)', description: 'A wound in the world, stitched shut long ago, and coming undone one thread at a time. Whatever you came here to decide, this is where you decide it.', dmNotes: 'Court Room 5 — the key branch. DC 18 Arcana/Religion reveals the seal is a suppression of many. Optional DC 14 Wis saves vs disorientation.\n• E22A reinforce (DC 18 Arcana/Religion): the Sealed Ending — time bought.\n• E22B break it deliberately: E23 on the party’s terms — the only path to true victory.\n• E22C do nothing: the seal fails anyway; E24–E25 are harder.\nHollowbane is the campaign’s single most significant magic item: legendary growth, starts at level 7.', npcs: ['Vessa Hollow'], - rewards: [{ weapon: 'Hollowbane', note: 'Drawn from the seal itself' }], + rewards: [ + { weapon: 'Hollowbane', note: 'Drawn from the seal itself — the campaign’s one significant magic item' }, + { item: 'The Seal-Stone', note: 'E22A only — the seal, reinforced rather than broken' }, + ], }, { name: 'E25 — The Last Approach', mode: 'BATTLE', location: 'Hollow Below — The Hollow Court (Layer 3)', @@ -540,6 +656,19 @@ const encounters = [ dmNotes: 'A gauntlet of horror-register creatures; whichever faction the party rallied fights alongside them (add those NPCs). Grey Dawn = a disciplined line; Spine Clans = terrain and ritual (collapse passages); Independent = hardest, and entirely theirs. → E26, the Hollow King: build that stat block from DM Secrets, scaled to the party.', monsters: [['Root Stalker', 1], ['Bellcrawler', 2]], }, + { + name: 'E23–E24 — The Waking', mode: 'QUEST', location: 'Hollow Below — The Hollow Court (Layer 3)', + description: 'The Waking isn’t loud. That’s the wrong word for it. It’s the sound of something enormous remembering it has a name.', + dmNotes: 'Hollow Court Room 6. The seal gives way, one way or another.\n• Broke it deliberately (E22B): the party arrives prepared, on their own timing — full resources, no surprise round against them.\n• It failed on its own (E22C): the Hollow King is already partly awake — apply one stage of escalation before the party acts, and E25–E26 are noticeably harder.\nE24, What the Court Remembers: not combat. Its memories bleed into the room, fragments of who it was before. DC 14 Insight recognises a fragment as manipulation rather than truth — it is recruiting sympathy, not confessing. → E25.', + npcs: ['Vessa Hollow'], + }, + { + name: 'E26 — The Hollow King', mode: 'BATTLE', location: 'Hollow Below — The Hollow Court (Layer 3)', + description: 'There is no throne and no crown. There is a shape made of everyone who was put down here, and it has finally turned to look at you.', + dmNotes: 'The final confrontation. The book gives no stat block — it asks you to build one to the party’s level and what they brought. The “The Hollow King” monster here is a starting point for four level 7–8 characters: change it.\nThree shapes:\n• Grey Dawn track — disciplined tactics: Kavan’s wardens hold a line while the party lands the killing blow. Add Ser Kavan Thorne.\n• Spine Clans track — terrain and ritual: collapsing passages, the Memory Pool as a weapon. Add Korgath Stonejaw.\n• Independent — hardest: no reinforcements, and every choice in the last round is theirs.\nNegotiating through Vessa is a legitimate ending. → E27, Endings: Sealed, Grey Dawn, Spine Clans or Independent — and close where it opened, at the Lantern Market a year later.', + monsters: [['The Hollow King', 1]], + npcs: ['Vessa Hollow'], + }, ]; // --------------------------------------------------------------------------- @@ -803,4 +932,4 @@ The Salt Coast: 1 smugglers wary of witnesses · 2 short-handed fishing crew · The Bramble Marches: 1 Bandit Captain’s crew · 2 refugees on the road · 3 tense border patrol · 4 signs of the neighboring power · 5 a skirmish in progress · 6 watchful quiet.`, ]; -module.exports = { campaign, locations, monsters, weapons, items, spells, npcs, encounters, sharedNotes, dmNotes }; +module.exports = { code: 'ALDENF', campaign, locations, monsters, weapons, items, spells, npcs, encounters, sharedNotes, dmNotes }; diff --git a/backend/seed-data/hollowcrown.js b/backend/seeds/hollowcrown.js similarity index 87% rename from backend/seed-data/hollowcrown.js rename to backend/seeds/hollowcrown.js index 0ae9130..86560d6 100644 --- a/backend/seed-data/hollowcrown.js +++ b/backend/seeds/hollowcrown.js @@ -1,29 +1,31 @@ -// Hollowcrown: The Rift Between Worlds — campaign content for prisma/seed-hollowcrown.js. +// Hollowcrown: The Rift Between Worlds: a world seed (docs/SEEDS.md). A DM +// starts a campaign from it by entering its code. // // Taken from the Hollowcrown Dungeon Master's Book, which is written for this // site: stat blocks, NPC entries, weapons, items and spells are the book's own // tables (Appendices A–F), locations are its gazetteer, and each battle's DM // notes are the book's encounter box. // +// `book` holds the content; the export at the bottom of the file puts the +// pools together from it and the site library: // libraryWeapons / libraryMonsters keys into src/game/data/*Library.js +// libraryItems library items, with what to change on +// the copy (starting option, level, text) // startingSpells library spell keys offered in the builder; // every other library spell is added too, // for the DM to teach later -// weapons / items / spells / monsters / npcs rows as the Prisma models hold -// them (the book's custom content) -// encounters in story order. monsters are -// [name, count, display name?, max HP?]; -// location is a location name or null; -// npcs are names or { name, hp }; -// rewards are { gold } | { weapon } | { item } -// with quantity, level and note -module.exports = { +// weapons / items / spells / monsters / npcs the book's own content +// encounters in story order +const book = { "campaign": { "name": "Hollowcrown: The Rift Between Worlds", "description": "The Concord Crown is shattered and the sky is splitting open. Purple Seams are tearing between the kingdom of Aldervane and a city of glass towers and roaring machines — and something chained in the dark beneath both is waking. A dark-fantasy campaign for levels 1 to 10.", "startingGold": 50, - "startingItemCount": 3, - "startingSpellCount": 3 + "startingItemCount": 4, + "startingSpellCount": 3, + "maxEquipped": 3, + "maxEquippedWeapons": 1, + "areaAttackAcPenalty": 2 }, "locations": [ { @@ -160,7 +162,11 @@ module.exports = { "shortsword", "warhammer", "hand-crossbow", - "longbow" + "longbow", + "paired-daggers", + "paired-shortswords", + "paired-scimitars", + "paired-handaxes" ], "weapons": [ { @@ -176,7 +182,9 @@ module.exports = { "rangeLong": 150, "minLevel": 3, "damageScaling": 1, - "isStartingOption": false + "isStartingOption": false, + "effects": [], + "effectNote": "Loud. Jams on a natural 1. Range 50/150 ft. 15 shots per magazine." }, { "name": "Shotgun", @@ -192,7 +200,9 @@ module.exports = { "rangeLong": 90, "minLevel": 5, "damageScaling": 1, - "isStartingOption": false + "isStartingOption": false, + "effects": [], + "effectNote": "Two-handed. Loud. Jams on a natural 1. Half damage beyond 30 ft. Knockback 5 ft." }, { "name": "Taser", @@ -206,7 +216,9 @@ module.exports = { "rangeLong": null, "minLevel": 2, "damageScaling": 1, - "isStartingOption": false + "isStartingOption": false, + "effects": [], + "effectNote": "Range 15 ft. DC 12 CON save or speed 0 and no reactions. 3 charges." }, { "name": "Baseball Bat", @@ -218,7 +230,9 @@ module.exports = { "rangeLong": null, "minLevel": 1, "damageScaling": 1, - "isStartingOption": false + "isStartingOption": false, + "effects": [], + "effectNote": "Clang on a critical hit: DC 10 WIS save or frightened." }, { "name": "Crowbar", @@ -230,7 +244,9 @@ module.exports = { "rangeLong": null, "minLevel": 1, "damageScaling": 1, - "isStartingOption": false + "isStartingOption": false, + "effects": [], + "effectNote": "Advantage on Strength checks to force things open." }, { "name": "Fire Axe", @@ -244,7 +260,9 @@ module.exports = { "rangeLong": null, "minLevel": 1, "damageScaling": 1, - "isStartingOption": false + "isStartingOption": false, + "effects": [], + "effectNote": "Two-handed. Double damage to wooden doors, barricades and objects." }, { "name": "Flare Gun", @@ -258,7 +276,9 @@ module.exports = { "rangeLong": 120, "minLevel": 2, "damageScaling": 1, - "isStartingOption": false + "isStartingOption": false, + "effects": [], + "effectNote": "Loading. Target burns: 1d4 fire each turn until put out." }, { "name": "Nail Gun", @@ -273,7 +293,9 @@ module.exports = { "rangeLong": 60, "minLevel": 2, "damageScaling": 1, - "isStartingOption": false + "isStartingOption": false, + "effects": [], + "effectNote": "Loud. Jams on a natural 1. Rapid fire: second shot as a bonus action." }, { "name": "Chainsaw", @@ -288,7 +310,14 @@ module.exports = { "rangeLong": null, "minLevel": 5, "damageScaling": 1, - "isStartingOption": false + "isStartingOption": false, + "effects": [ + { + "stat": "SPEED", + "amount": -5 + } + ], + "effectNote": "Two-handed, heavy. Very loud. Stalls on a natural 1. +1d10 vs plants and Blight." }, { "name": "Dawnblade", @@ -302,7 +331,9 @@ module.exports = { "rangeLong": null, "minLevel": 5, "damageScaling": 2, - "isStartingOption": false + "isStartingOption": false, + "effects": [], + "effectNote": "Dawnstrike 1/long rest: +2d6 radiant. Glows near undead." }, { "name": "Silverbough Longbow", @@ -316,7 +347,14 @@ module.exports = { "rangeLong": null, "minLevel": 5, "damageScaling": 2, - "isStartingOption": false + "isStartingOption": false, + "effects": [ + { + "stat": "SKILL_PERCEPTION", + "amount": 2 + } + ], + "effectNote": "Two-handed. No disadvantage at long range. Binding Arrow 1/short rest, DC 13 STR." }, { "name": "Oathkeeper", @@ -330,7 +368,14 @@ module.exports = { "rangeLong": null, "minLevel": 3, "damageScaling": 2, - "isStartingOption": false + "isStartingOption": false, + "effects": [ + { + "stat": "SAVE_WIS", + "amount": 1 + } + ], + "effectNote": "+1d6 radiant vs undead if Aldric’s oath is sworn. Aldric’s Vigil 1/long rest." }, { "name": "Thinker", @@ -344,7 +389,14 @@ module.exports = { "rangeLong": null, "minLevel": 5, "damageScaling": 2, - "isStartingOption": false + "isStartingOption": false, + "effects": [ + { + "stat": "SPEED", + "amount": -5 + } + ], + "effectNote": "Two-handed, heavy. Debate Swing 1/short rest, DC 13 INT." }, { "name": "Hexthorn Staff", @@ -358,7 +410,9 @@ module.exports = { "rangeLong": null, "minLevel": 3, "damageScaling": 2, - "isStartingOption": false + "isStartingOption": false, + "effects": [], + "effectNote": "Thorn-Hex 1/long rest (+1d6 necrotic, concentration); costs 1d4 piercing each use." }, { "name": "Emberfang", @@ -370,7 +424,9 @@ module.exports = { "rangeLong": null, "minLevel": 7, "damageScaling": 3, - "isStartingOption": false + "isStartingOption": false, + "effects": [], + "effectNote": "Sheds light 10 ft. Dragon’s Breath 1/long rest: 15-ft cone, 4d6 fire, DC 15 DEX." }, { "name": "Hollowbane", @@ -384,7 +440,9 @@ module.exports = { "rangeLong": null, "minLevel": 8, "damageScaling": 3, - "isStartingOption": false + "isStartingOption": false, + "effects": [], + "effectNote": "+1d8 radiant vs undead, Shadow Wyrmlings and Nyxaloth. Bright light 30 ft in darkness." }, { "name": "Riftbreaker", @@ -398,7 +456,9 @@ module.exports = { "rangeLong": 180, "minLevel": 6, "damageScaling": 2, - "isStartingOption": false + "isStartingOption": false, + "effects": [], + "effectNote": "No ammo. Range 60/180 ft. +1d8 force vs rift creatures. Seam Shot 1/long rest." }, { "name": "Bramblewick's Sickle", @@ -410,7 +470,14 @@ module.exports = { "rangeLong": null, "minLevel": 4, "damageScaling": 2, - "isStartingOption": false + "isStartingOption": false, + "effects": [ + { + "stat": "SKILL_NATURE", + "amount": 2 + } + ], + "effectNote": "+1d6 vs plant and Blight creatures. Root Hook 1/short rest." }, { "name": "Skyrend's Talon", @@ -422,7 +489,14 @@ module.exports = { "rangeLong": null, "minLevel": 5, "damageScaling": 2, - "isStartingOption": false + "isStartingOption": false, + "effects": [ + { + "stat": "SPEED", + "amount": 5 + } + ], + "effectNote": "Returns when thrown (30/120 ft). Windleap 1/long rest." }, { "name": "Crane's Cane", @@ -434,7 +508,14 @@ module.exports = { "rangeLong": null, "minLevel": 5, "damageScaling": 2, - "isStartingOption": false + "isStartingOption": false, + "effects": [ + { + "stat": "SKILL_ARCANA", + "amount": 2 + } + ], + "effectNote": "Borrowed Step 1/long rest (teleport 30 ft); roll d6, on a 1 Morvain knows." }, { "name": "Seamcutter", @@ -448,7 +529,9 @@ module.exports = { "rangeLong": null, "minLevel": 7, "damageScaling": 3, - "isStartingOption": false + "isStartingOption": false, + "effects": [], + "effectNote": "Two-handed, heavy. Cut the Veil 1/long rest (teleport 60 ft); d20, on a 1 Rift Surge." }, { "name": "Gloamfang", @@ -460,7 +543,14 @@ module.exports = { "rangeLong": null, "minLevel": 8, "damageScaling": 3, - "isStartingOption": false + "isStartingOption": false, + "effects": [ + { + "stat": "SKILL_STEALTH", + "amount": 2 + } + ], + "effectNote": "Hide as a bonus action in dim light. Drink the Dark 1/short rest." }, { "name": "Mournbell", @@ -472,7 +562,14 @@ module.exports = { "rangeLong": null, "minLevel": 9, "damageScaling": 3, - "isStartingOption": false + "isStartingOption": false, + "effects": [ + { + "stat": "SAVE_WIS", + "amount": 1 + } + ], + "effectNote": "Toll for the Dead 1/long rest: undead DC 15 WIS or frightened; allies heal 1d8." }, { "name": "Unarmed Strike", @@ -488,14 +585,6 @@ module.exports = { } ], "items": [ - { - "name": "Healing Potion", - "description": "A red potion that glimmers when shaken. Drink it (action) to regain hit points equal to the dice shown.", - "damageDice": "2d4+2", - "minLevel": 1, - "damageScaling": 1, - "isStartingOption": true - }, { "name": "Greater Healing Potion", "description": "A deep crimson potion in a heavy flask. Drink it (action) to regain hit points equal to the dice shown.", @@ -566,7 +655,9 @@ module.exports = { "damageDice": null, "minLevel": 1, "damageScaling": 1, - "isStartingOption": true + "isStartingOption": true, + "effects": [], + "effectNote": "Held in a hand to give light." }, { "name": "Smartphone", @@ -646,7 +737,9 @@ module.exports = { "damageDice": null, "minLevel": 4, "damageScaling": 1, - "isStartingOption": false + "isStartingOption": false, + "effects": [], + "effectNote": "Sheds daylight 20 ft. Advantage on saves against being frightened. It works while carried; equipping it is optional." }, { "name": "Shard of Iron", @@ -654,7 +747,9 @@ module.exports = { "damageDice": "2d6", "minLevel": 4, "damageScaling": 1, - "isStartingOption": false + "isStartingOption": false, + "effects": [], + "effectNote": "Once per day, reduce damage you take by 2d6. It works while carried; equipping it is optional." }, { "name": "Shard of Tides", @@ -662,7 +757,9 @@ module.exports = { "damageDice": null, "minLevel": 4, "damageScaling": 1, - "isStartingOption": false + "isStartingOption": false, + "effects": [], + "effectNote": "Breathe underwater. Cast Mending at will. It works while carried; equipping it is optional." }, { "name": "Shard of Ember", @@ -670,7 +767,9 @@ module.exports = { "damageDice": null, "minLevel": 4, "damageScaling": 1, - "isStartingOption": false + "isStartingOption": false, + "effects": [], + "effectNote": "Resistance to fire damage. It works while carried; equipping it is optional." }, { "name": "Shard of Night", @@ -678,7 +777,9 @@ module.exports = { "damageDice": null, "minLevel": 4, "damageScaling": 1, - "isStartingOption": false + "isStartingOption": false, + "effects": [], + "effectNote": "See invisible creatures. It whispers to you. It works while carried; equipping it is optional." }, { "name": "Concord Crown", @@ -686,7 +787,14 @@ module.exports = { "damageDice": null, "minLevel": 9, "damageScaling": 1, - "isStartingOption": false + "isStartingOption": false, + "effects": [ + { + "stat": "SAVES", + "amount": 1 + } + ], + "effectNote": "All four shard powers: daylight 20 ft, advantage vs fear, 2d6 damage reduction once per day, water-breathing and Mending, fire resistance. Advantage on Whispers saves in its light." }, { "name": "Hex Doll", @@ -710,7 +818,9 @@ module.exports = { "damageDice": null, "minLevel": 4, "damageScaling": 1, - "isStartingOption": false + "isStartingOption": false, + "effects": [], + "effectNote": "Advantage on Persuasion with Aldervane officials, soldiers and innkeepers. It works while carried; equipping it is optional." }, { "name": "Ferryman's Coin", @@ -726,7 +836,9 @@ module.exports = { "damageDice": null, "minLevel": 9, "damageScaling": 1, - "isStartingOption": false + "isStartingOption": false, + "effects": [], + "effectNote": "Advantage on attacks against Morvain while he is invisible. It works while carried; equipping it is optional." }, { "name": "Pip's Panpipes", @@ -742,7 +854,9 @@ module.exports = { "damageDice": null, "minLevel": 5, "damageScaling": 1, - "isStartingOption": false + "isStartingOption": false, + "effects": [], + "effectNote": "Once per long rest, turn a hit against you into a miss. It works while carried; equipping it is optional." }, { "name": "Gloam Lantern", @@ -750,7 +864,9 @@ module.exports = { "damageDice": null, "minLevel": 1, "damageScaling": 1, - "isStartingOption": false + "isStartingOption": false, + "effects": [], + "effectNote": "Held in a hand to give light. Its light draws no wandering monsters in the Deep." }, { "name": "Griffon Whistle", @@ -762,11 +878,18 @@ module.exports = { }, { "name": "Shield Ward", - "description": "A silver shield charm worn on the forearm; it unfolds into a disc of pale light. Counts as a shield (+2 armor bonus). Once per long rest, as a reaction when hit, gain +5 AC against that attack.", + "description": "A silver shield charm worn on the forearm; it unfolds into a disc of pale light. Counts as a shield (+2 AC). Once per long rest, as a reaction when hit, gain +5 AC against that attack.", "damageDice": null, "minLevel": 7, "damageScaling": 1, - "isStartingOption": false + "isStartingOption": false, + "effects": [ + { + "stat": "AC", + "amount": 2 + } + ], + "effectNote": "Takes the place of a shield: not with a Shield or Tower Shield. Once per long rest, reaction when hit: +5 AC against that attack." }, { "name": "Silverbough Cloak", @@ -774,7 +897,14 @@ module.exports = { "damageDice": null, "minLevel": 1, "damageScaling": 1, - "isStartingOption": false + "isStartingOption": false, + "effects": [ + { + "stat": "SKILL_STEALTH", + "amount": 5 + } + ], + "effectNote": "Elven cloak, made for forests and dusk; in bright open ground the DM may ignore the bonus." }, { "name": "Dwarf War-Horn", @@ -798,7 +928,14 @@ module.exports = { "damageDice": "1d8", "minLevel": 3, "damageScaling": 1, - "isStartingOption": false + "isStartingOption": false, + "effects": [ + { + "stat": "SAVE_WIS", + "amount": 1 + } + ], + "effectNote": "Once per long rest (action): one creature within 30 ft heals the dice shown, or loses one Despair." }, { "name": "Tidekeeper's Pearl", @@ -806,7 +943,9 @@ module.exports = { "damageDice": null, "minLevel": 4, "damageScaling": 1, - "isStartingOption": false + "isStartingOption": false, + "effects": [], + "effectNote": "Once per day, you and up to four friends breathe underwater for 1 hour. It works while carried; equipping it is optional." }, { "name": "Vessa's Moth Locket", @@ -830,7 +969,9 @@ module.exports = { "damageDice": null, "minLevel": 7, "damageScaling": 1, - "isStartingOption": false + "isStartingOption": false, + "effects": [], + "effectNote": "Once per day, reaction: take half damage from one source of fire. It works while carried; equipping it is optional." }, { "name": "Hollow Knight's Helm", @@ -838,7 +979,14 @@ module.exports = { "damageDice": null, "minLevel": 8, "damageScaling": 1, - "isStartingOption": false + "isStartingOption": false, + "effects": [ + { + "stat": "AC", + "amount": 1 + } + ], + "effectNote": "Darkvision 60 ft. Disadvantage on Whispers saves while worn." }, { "name": "Quillon's Spare Spectacles", @@ -846,39 +994,14 @@ module.exports = { "damageDice": null, "minLevel": 3, "damageScaling": 1, - "isStartingOption": false - }, - { - "name": "Rations (1 day)", - "description": "Dry bread, cheese and hard sausage. One day of food.", - "damageDice": null, - "minLevel": 1, - "damageScaling": 1, - "isStartingOption": false - }, - { - "name": "Torch (×10)", - "description": "Bright light 20 ft and dim 20 ft more for 1 hour. Burns blue and half as long in the Hollow Deep.", - "damageDice": null, - "minLevel": 1, - "damageScaling": 1, - "isStartingOption": false - }, - { - "name": "Lantern, hooded", - "description": "Bright light 30 ft, dim 30 ft more, 6 hours per flask of oil. Can be shuttered to dim.", - "damageDice": null, - "minLevel": 1, - "damageScaling": 1, - "isStartingOption": false - }, - { - "name": "Rope, hempen (50 ft)", - "description": "50 feet of strong rope. DC 17 Strength to snap.", - "damageDice": null, - "minLevel": 1, - "damageScaling": 1, - "isStartingOption": false + "isStartingOption": false, + "effects": [ + { + "stat": "SKILL_INVESTIGATION", + "amount": 2 + } + ], + "effectNote": "Once per day each: read any writing (Comprehend Languages), or see magic auras for 10 minutes (Detect Magic)." }, { "name": "Crowbar (tool)", @@ -888,22 +1011,6 @@ module.exports = { "damageScaling": 1, "isStartingOption": false }, - { - "name": "Thieves' tools", - "description": "Picks and files. Needed to pick locks and disarm traps.", - "damageDice": null, - "minLevel": 1, - "damageScaling": 1, - "isStartingOption": false - }, - { - "name": "Healer's kit", - "description": "10 uses. Use one (action) to stabilise a creature at 0 HP without a Medicine check.", - "damageDice": null, - "minLevel": 1, - "damageScaling": 1, - "isStartingOption": false - }, { "name": "Ball bearings (bag)", "description": "Cover a 10-ft square; DC 10 DEX save or fall prone.", @@ -943,6 +1050,213 @@ module.exports = { "minLevel": 1, "damageScaling": 1, "isStartingOption": false + }, + { + "name": "Kevlar Vest", + "description": "A black Meridian vest of woven fibre, made to stop bullets. Vantage guards wear them.", + "damageDice": null, + "minLevel": 1, + "damageScaling": 1, + "isStartingOption": false, + "effects": [ + { + "stat": "AC", + "amount": 3 + } + ], + "effectNote": "Medium: counts at most +2 from Dexterity. Damage from firearms reduced by 3." + }, + { + "name": "Riot Gear", + "description": "A helmet with a clear visor, pads and a vest, as Meridian police wear to a riot. It is hot.", + "damageDice": null, + "minLevel": 1, + "damageScaling": 1, + "isStartingOption": false, + "effects": [ + { + "stat": "AC", + "amount": 7 + }, + { + "stat": "SPEED", + "amount": -10 + } + ], + "effectNote": "Heavy: adds no Dexterity; needs Strength 13. Disadvantage on Stealth checks. Advantage on saves against being blinded by light or smoke." + }, + { + "name": "Riot Shield", + "description": "A tall clear plastic shield from Port Meridian.", + "damageDice": null, + "minLevel": 1, + "damageScaling": 1, + "isStartingOption": false, + "effects": [ + { + "stat": "AC", + "amount": 2 + } + ], + "effectNote": "+2 more AC against ranged attacks. Crouching, gives half cover to one ally behind." + }, + { + "name": "Motorcycle Leathers", + "description": "Jacket, trousers, gloves and boots, all scuffed. Light armor for heroes who still want to look cool.", + "damageDice": null, + "minLevel": 1, + "damageScaling": 1, + "isStartingOption": false, + "effects": [ + { + "stat": "AC", + "amount": 2 + } + ], + "effectNote": "Light armor. Half damage from being dragged, falling down stairs or sliding across gravel." + }, + { + "name": "Mage Armor (spell)", + "description": "A shimmering skin of force. Equip it when you cast Mage Armor; unequip it when the spell ends.", + "damageDice": null, + "minLevel": 1, + "damageScaling": 1, + "isStartingOption": false, + "effects": [ + { + "stat": "AC", + "amount": 3 + } + ], + "effectNote": "Only while the spell lasts (8 hours). Not with armor." + }, + { + "name": "Silverleaf Mail", + "description": "A chain shirt woven from leaves of living silver, cool and quiet, light as a summer shirt. A gift of the Silverbough Court.", + "damageDice": null, + "minLevel": 5, + "damageScaling": 1, + "isStartingOption": false, + "effects": [ + { + "stat": "AC", + "amount": 4 + } + ], + "effectNote": "Elven mail: no DEX cap, no Stealth disadvantage. Advantage on saves against Blight effects and Vessa’s thorns." + }, + { + "name": "Cinderscale Armor", + "description": "Scale mail made from red dragon scales that Cindermaw shed as a wyrmling, still warm.", + "damageDice": null, + "minLevel": 7, + "damageScaling": 1, + "isStartingOption": false, + "effects": [ + { + "stat": "AC", + "amount": 5 + } + ], + "effectNote": "Medium: counts at most +2 from Dexterity. Disadvantage on Stealth checks. Resistance to fire damage." + }, + { + "name": "Gauntlet Plate", + "description": "The silver plate armor of a fallen knight of the Silver Gauntlet, polished in the chapel for a hundred years.", + "damageDice": null, + "minLevel": 8, + "damageScaling": 1, + "isStartingOption": false, + "effects": [ + { + "stat": "AC", + "amount": 9 + }, + { + "stat": "SPEED", + "amount": -10 + } + ], + "effectNote": "Heavy: adds no Dexterity; needs Strength 15. Disadvantage on Stealth checks. Advantage on saves against being frightened. Hollow Knights target the wearer first." + }, + { + "name": "Lanternshield", + "description": "A round Underkin shield with a glass-fronted lantern set in its boss, burning a cold blue fungus-flame that never goes out.", + "damageDice": null, + "minLevel": 9, + "damageScaling": 1, + "isStartingOption": false, + "effects": [ + { + "stat": "AC", + "amount": 3 + } + ], + "effectNote": "Sheds light 20 ft bright, 20 ft dim; shutter as a bonus action. Once per long rest, reaction: reveal an invisible or hidden creature within 30 ft until the end of its next turn." + }, + { + "name": "Power Bank", + "description": "A brick of stored lightning. Fully recharges one flashlight or phone, once.", + "damageDice": null, + "minLevel": 1, + "damageScaling": 1, + "isStartingOption": false + }, + { + "name": "Fire Extinguisher", + "description": "Action: a 15-ft cone of white foam puts out all fire and alchemist’s fire in it; a fire creature takes 2d6 cold. 3 uses.", + "damageDice": null, + "minLevel": 1, + "damageScaling": 1, + "isStartingOption": false + }, + { + "name": "Walkie-Talkies (pair)", + "description": "Two radios. Talk to each other within 1 mile. 6 charges each.", + "damageDice": null, + "minLevel": 1, + "damageScaling": 1, + "isStartingOption": false + }, + { + "name": "Binoculars", + "description": "See far things as if ten times closer. Advantage on Perception at long range.", + "damageDice": null, + "minLevel": 1, + "damageScaling": 1, + "isStartingOption": false + }, + { + "name": "Duct Tape", + "description": "Fixes anything once. Action: bind a grappled creature’s hands (DC 15 STR to break).", + "damageDice": null, + "minLevel": 1, + "damageScaling": 1, + "isStartingOption": false + }, + { + "name": "King's Signet Ring", + "description": "King Aldous’s ring. Opens every door in Highmarch.", + "damageDice": null, + "minLevel": 7, + "damageScaling": 1, + "isStartingOption": false + }, + { + "name": "Zuri's Drawing", + "description": "A crayon bus with wings. Hold it and describe home: +2 on Whispers saves.", + "damageDice": null, + "minLevel": 1, + "damageScaling": 1, + "isStartingOption": false + }, + { + "name": "Vantage Keycard", + "description": "Opens every Vantage Tower door except the private lift.", + "damageDice": null, + "minLevel": 4, + "damageScaling": 1, + "isStartingOption": false } ], "startingSpells": [ @@ -1148,7 +1462,7 @@ module.exports = { "wisScore": 16, "chaScore": 10, "attackBonus": 7, - "damageDice": "2d8+4", + "damageDice": "2d8+4 bludgeoning", "specialTrait": "Hook and Haul — when the Warden hits a creature with its pole, it can pull the target 10 feet toward itself, and the target is grappled (escape DC 15). Lantern Sight — the Warden always knows where anyone who gave a peace-token is, while inside the Deep.", "notes": "Speed 30, climb 30. Multiattack (two pole attacks). Never kills; drops anyone at 0 HP unconscious and stable. Speaks in whispers. Cannot be bribed (DC 25 Persuasion and the Warden is insulted anyway)." }, @@ -1165,7 +1479,7 @@ module.exports = { "wisScore": 10, "chaScore": 12, "attackBonus": 4, - "damageDice": "2d6+2", + "damageDice": "2d6+2 slashing", "specialTrait": "Rift Pulse (recharges when Old Jack rolls a 6 on a d6 at the start of his turn) — purple light bursts from his mouth. Every creature within 10 ft makes a DC 11 Constitution save or takes 2d6 necrotic damage (half on a success). Vulnerable to fire. Rooted: while within 15 ft of his post, he regains 3 HP at the start of each turn.", "notes": "A tall scarecrow with a carved turnip head, fed by a pinhole Seam under his post. Claws of sharpened twigs. Whispers \"keep out, keep out\" in a voice like dry leaves. When destroyed, his turnip head cracks and the purple light pours out and fades." }, @@ -1182,7 +1496,7 @@ module.exports = { "wisScore": 11, "chaScore": 16, "attackBonus": 5, - "damageDice": "2d6+3", + "damageDice": "2d6+3 slashing", "specialTrait": "Stolen Song — while holding the Glade Pipes, Mother Shriek can use her action to play them: every creature within 300 ft that can hear makes a DC 12 Wisdom save or is charmed until the end of its next turn and must move toward her. A creature that takes damage gets a new save.", "notes": "Speed 20, fly 40. An ancient harpy matriarch with a soot-painted face and a necklace of spoons. Multiattack: two claw attacks. Vain and greedy; loves shiny things and flattery. Talks in a sing-song voice and calls everyone \"dearie\"." }, @@ -1199,7 +1513,7 @@ module.exports = { "wisScore": 14, "chaScore": 17, "attackBonus": 5, - "damageDice": "2d6+2", + "damageDice": "2d6+2 cold", "specialTrait": "Oathbound — cannot be harmed by anything until his oath is honoured. Incorporeal: can move through walls and creatures. Grave Chill: a creature hit makes a DC 12 Constitution save or its speed is halved until the end of its next turn.", "notes": "Speed 0, fly 40 (hover). The ghost of a knight 300 years dead. Noble, sad, courteous. Speaks in old-fashioned phrases (\"Well struck, friend!\"). If made hostile (lied to and attacked repeatedly), he fights only to drive the party out of his barrow and never pursues past the door." }, @@ -1216,7 +1530,7 @@ module.exports = { "wisScore": 13, "chaScore": 9, "attackBonus": 7, - "damageDice": "2d6+4", + "damageDice": "2d6+4 slashing", "specialTrait": "Regeneration — regains 10 HP at the start of each turn unless he took fire or acid damage since his last turn. Lie-Sense: knows when a creature within 30 ft tells a deliberate lie (unless it beats DC 16 with Deception).", "notes": "An enormous, bookish troll with reading spectacles and a door-sized book of secrets. Multiattack: bite and two claws. NOT meant as a fair fight for a level 3–5 party; if the party fights him, he fights until they surrender and then demands two secrets each as \"fine and penalty\". He never kills anyone who surrenders." }, @@ -1233,7 +1547,7 @@ module.exports = { "wisScore": 12, "chaScore": 8, "attackBonus": 6, - "damageDice": "2d8+3+1d8", + "damageDice": "2d8+3 slashing + 1d8 lightning", "specialTrait": "Multiattack (two claw attacks). Surge (recharge 5–6): purple lightning in a 15-ft cone, 4d8 lightning, DEX DC 14 half. Capacitor Link: regains 10 HP each turn while within 10 ft of the rift capacitor.", "notes": "Damage 2d8+3 slashing + 1d8 lightning. A corpse supercharged by rift-energy. It speaks in snatches of radio static and stolen phone calls (\"...your call is important to us...\"). Immune to poison and to being frightened. When it drops to 0 HP, it does not fall: the light drains out of it and it simply stands there, peaceful, then lies down." }, @@ -1250,7 +1564,7 @@ module.exports = { "wisScore": 12, "chaScore": 10, "attackBonus": 6, - "damageDice": "2d8+3", + "damageDice": "2d8+3 lightning", "specialTrait": "Static Burst (recharge 5–6): 15-ft radius burst of crackling light, 4d6 lightning, DEX DC 14 half; anyone who fails can't take reactions until their next turn. Lightning Body: immune to lightning; any creature that hits it with a metal weapon takes 1d6 lightning. Storm-fed: lightning strikes heal it instead of hurting it.", "notes": "Speed fly 60 (hover). A crackling shape of rain and light with a flickering face, like a bad video call. It hisses words it has heard through the tower: weather reports, ringtones, \"can you hear me now?\". When destroyed, it bursts into a shower of warm rain." }, @@ -1267,7 +1581,7 @@ module.exports = { "wisScore": 12, "chaScore": 4, "attackBonus": 7, - "damageDice": "2d10+4+2d6", + "damageDice": "2d10+4 bludgeoning + 2d6 poison", "specialTrait": "Rot Spores (recharge 5–6): black spores fill a 20-ft radius; CON DC 15 or 6d6 poison and poisoned until the end of its next turn, half on a success. Multiattack (two tendril slams, reach 15 ft). Vulnerable to fire; resistant to bludgeoning. Bright light (Dawn shard, daylight spells) gives it disadvantage on attacks.", "notes": "Damage 2d10+4 bludgeoning + 2d6 poison. A giant black mushroom grown from nightrot, its cap split like a mouth, its tendrils dripping. It moans in the voices of the Whispers. When destroyed, the King's roots shiver and the black veins begin to pull back." }, @@ -1284,7 +1598,7 @@ module.exports = { "wisScore": 6, "chaScore": 3, "attackBonus": 5, - "damageDice": "2d6+2", + "damageDice": "2d6+2 psychic", "specialTrait": "Empty Touch: a creature hit must make a DC 13 Wisdom save or forget what it was doing; it loses its bonus action and reaction until its next turn. Nothing Left: immune to being charmed or frightened, and to psychic damage.", "notes": "Grey, silent people who sold every memory they had. They are not evil; they just obey whoever holds their memories. If the party breaks Vell's jars of their memories (labelled with faces), the Forgotten stop, blink, and slowly start to remember. One of them is Sir Gareth, a Silver Gauntlet knight missing for twenty years." }, @@ -1301,7 +1615,7 @@ module.exports = { "wisScore": 14, "chaScore": 10, "attackBonus": 8, - "damageDice": "2d10+5+1d8", + "damageDice": "2d10+5 bludgeoning + 1d8 necrotic", "specialTrait": "Multiattack (two strikes with its collar-hammer). Brood Call (once per fight, bonus action): every collared wyrmling within 60 ft can move up to its speed and make one attack as a reaction. Shadow-Blooded: resistance to necrotic and cold damage; any creature that touches it or hits it with an unarmed strike takes 1d8 cold damage.", "notes": "Damage 2d10+5 bludgeoning + 1d8 necrotic. A Hollowborn giant who has tended the brood so long that shadow has seeped into him. He hums lullabies to the eggs in a deep, cracked voice. If the eggs are being destroyed he goes berserk: advantage on attacks, but enemies have advantage against him too." }, @@ -1318,7 +1632,7 @@ module.exports = { "wisScore": 12, "chaScore": 13, "attackBonus": 5, - "damageDice": "2d8+3", + "damageDice": "2d8+3 fire", "specialTrait": "Smother — instead of attacking, it wraps itself around the head of a creature it hit this turn: the target is Grappled (escape DC 13), can't breathe or speak, and takes 2d8+3 fire at the start of each of its turns until it breaks free.", "notes": "Speed fly 40. Burning touch, +5, 2d8+3 fire, one attack per turn. Uses Smother on a lone PC, never on a PC standing next to a friend. Flies out of the ash, strikes, and flies back into it; in an ash storm it sees normally while the party is heavily obscured. Incorporeal: can move through creatures and objects (1d10 force if it ends a turn inside one). Resistant to nonmagical weapon damage; immune to fire and poison; cannot be Grappled, Prone or Poisoned. Hates water and cold: any cold damage costs it its next turn's movement, and a bucket of water thrown on it (action, +4 to hit) deals 1d6 and ends Smother. Darkvision 60 ft. Understands Dwarvish but only screams. Drops: nothing but warm ash; the buried dwarves it haunts may still wear old gear." }, @@ -1335,7 +1649,7 @@ module.exports = { "wisScore": 13, "chaScore": 8, "attackBonus": 5, - "damageDice": "2d8+3", + "damageDice": "2d8+3 piercing", "specialTrait": "Charge — if the stag moves at least 20 feet straight toward a target and then hits with its antlers, the target takes an extra 2d6 piercing and makes a DC 13 Strength save or is knocked Prone.", "notes": "Huge thorn-antlers, +5, 2d8+3 piercing. Hooves, +5, 2d6+3 bludgeoning, only against a Prone creature (bonus action). Charges every turn it can, backing off 20 feet first if it must. Thornlings rise around it from dead flowers. The stag is not evil, only sick: a druid, ranger or anyone with the Heartroot can calm it for a round with a DC 14 Wisdom (Animal Handling) check, and the Trial of Courage is won by saving it, not killing it (see The Rotting Wood). Vulnerable to fire (the Blight is dry). Darkvision 60 ft. Drops: if saved, nothing (it leads the party to safety); if slain, its thorn antlers (a curiosity elves will be angry to see)." }, @@ -1352,7 +1666,7 @@ module.exports = { "wisScore": 12, "chaScore": 5, "attackBonus": 5, - "damageDice": "2d6+3", + "damageDice": "2d6+3 bludgeoning", "specialTrait": "Drag Under — a creature it hits is Grappled (escape DC 13). On its next turn it swims away with the grappled creature and pulls it under water.", "notes": "Speed 20, swim 40. One bite/slam per turn, +5, 2d6+3 bludgeoning. While it holds a creature it can only attack that creature. Grabs the smallest PC first. A PC under water can hold their breath for 1 + CON modifier minutes, but cannot speak or cast spells with words. Hides perfectly in murky water (looks like a mossy log until it moves). At 15 HP or less it lets go and sinks into the mud to escape. Can breathe air and water. Darkvision 60 ft. Drops: its nest of rotting reeds holds earlier victims' coins (about 20 gp) and sometimes old gear (see Act I)." }, @@ -1369,7 +1683,7 @@ module.exports = { "wisScore": 8, "chaScore": 5, "attackBonus": 9, - "damageDice": "3d10+5", + "damageDice": "3d10+5 bludgeoning", "specialTrait": "Black Heart — a flame in its chest powers it. A creature who climbs it (DC 16 Strength (Athletics) as an action) or flies up can attack the heart: AC 14, and damage to the heart is doubled (on top of bludgeoning vulnerability).", "notes": "Huge. Multiattack: two slams, +9, 3d10+5 bludgeoning each. Grab and Absorb (replaces one slam): a creature is Grappled (escape DC 17) and takes 2d10 bludgeoning at the start of each of its turns. Bone Storm (recharge 5–6): 30-foot radius burst of splinters, DC 16 Dexterity save, 8d6 piercing, half on a success. If a creature is climbing it, it tries to shake them off: DC 15 Strength save or fall 20 feet (2d6). Vulnerable to bludgeoning (double damage from clubs, maces, hammers, falling rocks). Immune to necrotic and poison; cannot be Frightened, Poisoned or Exhausted. Slow-witted: slams the nearest PC, then grabs whoever hurt it most. Fights until destroyed. Darkvision 60 ft. Drops: the black heart burns out into a fist-sized lump of obsidian (worth 100 gp at the Underkin Market)." }, @@ -1386,7 +1700,7 @@ module.exports = { "wisScore": 8, "chaScore": 9, "attackBonus": 4, - "damageDice": "1d6+2", + "damageDice": "1d6+2 piercing", "specialTrait": "Pack Tactics — advantage on attacks against a creature if another kobold is within 5 feet of it.", "notes": "Spear, +4, 1d6+2 piercing. Fire-pot: ranged, +4, range 20/60, 1d6 fire, and the target's square burns for 1 round (anyone entering or starting there takes 1d6 fire). Each kobold carries 2 fire-pots. Fights in groups, throws pots from rocks and doorways, runs when half the group is down. Resistant to fire. Sunlight doesn't bother these ones (they live by lava light). Darkvision 60 ft. Speaks Draconic and a little Common (\"Burning One great! You small!\"). Drops: 1d6 sp, a lucky scale, sometimes a polished gold coin \"for the god\"." }, @@ -1403,7 +1717,7 @@ module.exports = { "wisScore": 11, "chaScore": 17, "attackBonus": 6, - "damageDice": "2d10+3", + "damageDice": "2d10+3 force", "specialTrait": "Misty Step — as a bonus action, teleports up to 30 feet to a space it can see (3 times per fight).", "notes": "Eldritch Blast ×2: two beams per action, +6 each, range 120 ft, 2d10+3 force each, each at the same or different targets. Hex (bonus action, once): one target takes +1d6 necrotic from its blasts and has disadvantage on checks with one ability the Hexer chooses. Corporate Shield (reaction, twice): +4 AC against one attack (\"Legal has reviewed this\"). Stays behind agents, Misty Steps away from melee, focuses spellcasters. Surrenders when below 10 HP if it thinks it can sell out Crane. Speaks Common in buzzwords. Drops: a Vantage keycard, a smartphone (see Smartphone), $200 in cash (4 gp), a business card that is warm to the touch." }, @@ -1420,7 +1734,7 @@ module.exports = { "wisScore": 14, "chaScore": 11, "attackBonus": 4, - "damageDice": "2d8", + "damageDice": "2d8 lightning", "specialTrait": "Vanish — as a bonus action, it turns invisible (or visible again). It stays invisible until it attacks or chooses to appear.", "notes": "Speed fly 50. Shock, +4, 2d8 lightning, one per turn, reach 5 ft. Lure: mimics voices (a child calling for help, a friend's voice) to draw the PC with the lowest Wisdom into a sinking bog: DC 12 Strength save each turn in the bog or Restrained; two failures in a row and they go under. Consume Life (bonus action): a creature at 0 HP within 5 feet must make a DC 10 Constitution save or fail one death save; the Lantern regains 3d6 HP. When hit, it vanishes and moves. Smart counters: a net or cloak thrown over it (attack vs AC 17, then it can't vanish until it escapes), a flashlight or Light spell (attacks against it have advantage while lit). Gives up after 3 rounds if the party stays on the path. Immune to lightning and poison; resistant to acid, cold, fire, necrotic and thunder, and to nonmagical weapons. Darkvision 120 ft. Drops: a weakened Lantern can be caught in a glass jar (DC 13 Dexterity at half HP or less), which Brannoc wants for the bus battery in The Last Bus Home." }, @@ -1437,7 +1751,7 @@ module.exports = { "wisScore": 14, "chaScore": 8, "attackBonus": 7, - "damageDice": "2d8+4", + "damageDice": "2d8+4 slashing", "specialTrait": "Shadow Cloak — while in dim light or darkness it is invisible. In bright light it is visible and has disadvantage on attacks.", "notes": "Multiattack: two blade-arm attacks, +7, 2d8+4 slashing each. Ambush: in the first round of combat it has advantage on attacks against any creature that hasn't acted yet, and its first hit deals an extra 2d8. Shadow Leap (bonus action): teleports up to 30 feet from one dark spot to another. It hunts lone PCs and anyone carrying bright light (it snuffs lanterns first: a hit on a creature holding a torch or lantern knocks it from their hand). Retreats into darkness at 25 HP and comes back later. Gloam lanterns don't reveal it; a Light spell, a flashlight, the Shard of Dawn or the Crown do. Resistant to necrotic; vulnerable to radiant. Blindsight 30 ft, darkvision 120 ft. Speaks no language; it clicks. Drops: its blade-arms dissolve into smoke, leaving 1d4 black glass teeth (10 gp each to collectors at the Market)." }, @@ -1454,7 +1768,7 @@ module.exports = { "wisScore": 8, "chaScore": 8, "attackBonus": 4, - "damageDice": "1d6+2", + "damageDice": "1d6+2 slashing", "specialTrait": "Nimble Escape — it can take the Disengage or Hide action as a bonus action on each of its turns.", "notes": "Scimitar, +4, 1d6+2 slashing. Or shortbow, +4, range 80/320, 1d6+2 piercing. Gloam Rage (once): when first damaged, its black veins pulse and it deals +1d4 necrotic on its next hit. Attacks, then hides behind cover; ganging up on whoever is alone. Flees when half the group is down, or when a big PC roars at it (DC 12 Charisma (Intimidation) as an action makes one goblin flee). Darkvision 60 ft. Speaks Goblin and broken Common. Drops: 1d6 cp, a stolen trinket, sometimes something from the Route 42 bus (a seat-belt buckle, a passenger's sunglasses)." }, @@ -1471,7 +1785,7 @@ module.exports = { "wisScore": 10, "chaScore": 7, "attackBonus": 4, - "damageDice": "1d6+2", + "damageDice": "1d6+2 necrotic", "specialTrait": "Shadow Step — a gloamling in dim light or darkness can teleport up to 15 feet to another dim or dark spot instead of moving.", "notes": "Speed 30, fly 30. Shadow claws, +4, 1d6+2 necrotic. Weak to bright light: within 20 feet of a bright light source (bus headlights, a lit torch, a Road Flare, a flashlight, a Light spell, the Shard of Dawn) it has disadvantage on attack rolls, and it avoids bright areas if it can. Snatches shiny things (phones, shards) and flies off with them if the target is distracted. Swarms the weakest-looking PC; flees when only one is left. In the smoke of the Siege, everywhere counts as dim for them. Resistant to necrotic. Darkvision 60 ft. Understands Common, speaks only giggles. Drops: nothing; they melt into black smoke that smells like burnt sugar." }, @@ -1488,7 +1802,7 @@ module.exports = { "wisScore": 10, "chaScore": 13, "attackBonus": 4, - "damageDice": "2d4+2", + "damageDice": "2d4+2 slashing", "specialTrait": "Terrifying Glare — as a bonus action, it stares at one creature within 30 feet: DC 11 Wisdom save or Frightened until the end of the scarecrow's next turn.", "notes": "Two claws counted as one attack, +4, 2d4+2 slashing. Uses Terrifying Glare, then attacks. False Appearance: while it stands still on its pole it looks like an ordinary scarecrow. Vulnerable to fire (double damage); a torch swung as a club deals 1d4 fire. No resistances (it is a level 1–2 fight). Immune to poison; cannot be Frightened, Poisoned or Exhausted. Darkvision 60 ft. Understands the voice of whoever hexed it. Drops: a turnip head with a purple glow fading out of its eyes; sometimes a stolen farm tool." }, @@ -1505,7 +1819,7 @@ module.exports = { "wisScore": 11, "chaScore": 13, "attackBonus": 3, - "damageDice": "1d6+1+1d6", + "damageDice": "1d6+1 + Hex 1d6 necrotic", "specialTrait": "Dark Devotion — advantage on saving throws against being Charmed or Frightened.", "notes": "Damage 1d6+1 + Hex 1d6 necrotic. Dagger, +3, 1d6+1 piercing. Hex: the first creature it hits each fight is hexed; every later hit on that creature adds 1d6 necrotic. A cultist that drops to 0 HP while a hexed target is within 10 feet can scream Morvain's name: that target makes a DC 11 Wisdom save or is Frightened until the end of its next turn. Fights in groups, chanting; protects any Hollow Knight or bigger servant; never surrenders while a leader stands, then breaks quickly. Speaks Common. Drops: 2d6 sp, a black-veined hand sigil (an upside-down crown on a cord), sometimes a letter from a higher-up." }, @@ -1522,7 +1836,7 @@ module.exports = { "wisScore": 12, "chaScore": 14, "attackBonus": 6, - "damageDice": "2d8+3+1d6", + "damageDice": "2d8+3 slashing + 1d6 necrotic", "specialTrait": "Unholy Resilience — the first time it drops to 0 HP, it makes a Constitution save with DC 10 (or the damage taken, if higher; it adds +3); on a success it stays at 1 HP. This doesn't work if the damage was radiant.", "notes": "Damage 2d8+3 slashing + 1d6 necrotic. Multiattack: two longsword attacks, +6, 2d8+3 slashing + 1d6 necrotic each. Shield of Night (reaction): +2 AC against one melee attack it can see. Steps forward to duel whoever charges first; protects cultists and gloamlings; never retreats unless ordered. Remember Your Name: a Hollow Knight was once a true knight. A PC who speaks its old name or the Ironwarden's oath (DC 15 Charisma (Persuasion) as an action, once per knight) makes it lower its sword for 1 round; if it is below half HP, it may kneel and crumble to dust instead (your call). Immune to necrotic and poison; cannot be Charmed, Frightened, Poisoned or Exhausted. Darkvision 60 ft. Speaks Common in a hollow echo. Drops: black plate too cursed to wear; 2d10 gp; sometimes an old badge of the Silver Gauntlet (Rowena will want to bury it)." }, @@ -1539,7 +1853,7 @@ module.exports = { "wisScore": 10, "chaScore": 8, "attackBonus": 4, - "damageDice": "1d8+2", + "damageDice": "1d8+2 slashing", "specialTrait": "Shield Wall — while it stands next to another Hollowborn, it has +2 AC (16 instead of 14).", "notes": "Black-glass sword, +4, 1d8+2 slashing. Or javelin, +4, range 30/120, 1d6+2 piercing. Light Sensitivity: in bright light (sunlight, a Light spell, the Crown), disadvantage on attack rolls. Forms lines in gates and corridors; flanks; obeys Hollow Knights instantly. They are people, not undead: they surrender if their leader falls and they are outnumbered, and a captured Hollowborn will talk (DC 13 Charisma (Intimidation or Persuasion)) about guard rotas and the Citadel's doors. Darkvision 120 ft. Speaks Undercommon and a little Common. Drops: 1d10 gp in Underkin coin, a black-glass blade (5 gp), sometimes a gloam lantern." }, @@ -1556,7 +1870,7 @@ module.exports = { "wisScore": 15, "chaScore": 21, "attackBonus": 11, - "damageDice": "2d10+6", + "damageDice": "2d10+6 piercing (bite)", "specialTrait": "Bound by the Crown — while the Concord Crown (with all five shards) is within 300 feet, its AC drops to 17 and it cannot fly higher than the ledge. The Crown-bearer's powers are in the Abyssal Seal.", "notes": "Damage 2d10+6 piercing (bite). Speed 40, fly 80. Gargantuan. Multiattack: one bite (+11, 2d10+6 piercing) and two claws (+11, 2d6+6 slashing each). Frightful Presence: the first time each PC sees it, DC 17 Wisdom save or Frightened for 1 minute (save again at the end of each turn; the Shard of Dawn gives advantage). Breath of the Devourer (recharge 5–6): 60-foot cone of soul-eating shadow, DC 18 Dexterity save, 12d8 necrotic, half on a success; a creature killed by it has its soul eaten and can't be brought back unless Nyxaloth is defeated." }, @@ -1573,7 +1887,7 @@ module.exports = { "wisScore": 14, "chaScore": 12, "attackBonus": 6, - "damageDice": "2d6+4", + "damageDice": "2d6+4 bludgeoning", "specialTrait": "Shield of Bones — as a reaction when hit, a whirl of bones gives it +3 AC against that attack (possibly turning it into a miss). Three times per fight.", "notes": "Bone staff, +6, 2d6+4 bludgeoning. Spells (save DC 13): Hold Person (one humanoid within 60 feet, Wisdom save or Paralysed; it repeats the save at the end of each of its turns; once per fight), Bone Rattle (at will, ranged +6, 60 feet, 2d6 necrotic), Healing Grunt (bonus action, twice: one ogre within 30 feet regains 2d8+2 HP). Opens with Hold Person on the toughest fighter, heals Gorrug or his guards, then bonks anyone in reach. Can be persuaded to \"fumble\" (see The Ogre King's Gambit). Darkvision 60 ft. Speaks Giant and Common. Drops: a necklace of 2d6 painted knucklebones (5 gp), a pouch of 30 gp, a pot of ogre war-paint." }, @@ -1590,7 +1904,7 @@ module.exports = { "wisScore": 11, "chaScore": 6, "attackBonus": 7, - "damageDice": "2d10+4", + "damageDice": "2d10+4 bludgeoning", "specialTrait": "Headlight Glare — as a bonus action, it blazes its headlight-eyes in a 30-foot cone: each creature in it makes a DC 13 Constitution save or is Blinded until the end of its next turn (recharge 5–6).", "notes": "Large. Multiattack: two attacks: one bumper-slam (+7, 2d10+4 bludgeoning) and one claw (+7, 2d6+4 slashing). Horn Blast (recharge 5–6): a deafening car-horn roar; every creature within 20 feet in front of it makes a DC 13 Constitution save or takes 3d8 thunder and is Deafened and pushed 10 feet (half damage, not pushed, on a success). Ram: if it moves 20 feet straight at a target before slamming, the target makes a DC 15 Strength save or is knocked Prone. Charges the PC carrying the most shards; Glares at ranged attackers; Horn Blasts when three PCs are in front of it; fights to the death. Resistant to bludgeoning from nonmagical weapons (metal hide). Lightning damage makes its engine stall: it loses its bonus action on its next turn. Darkvision 60 ft. Drops: a licence plate, a car battery (useful for The Last Bus Home), a hubcap." }, @@ -1607,7 +1921,7 @@ module.exports = { "wisScore": 12, "chaScore": 6, "attackBonus": 4, - "damageDice": "1d8+2", + "damageDice": "1d8+2 piercing", "specialTrait": "Blink — as a bonus action, it teleports up to 10 feet in a flash of purple light.", "notes": "Bite, +4, 1d8+2 piercing; on a hit against a Medium or smaller creature, DC 11 Strength save or Prone. Pack Tactics: advantage on attacks if an ally is within 5 feet of the target. Keen Smell: advantage on Perception checks that use smell; it can smell an open Seam a mile away. Blinks past the front line to bite the weakest-looking target; runs when below 5 HP. Darkvision 60 ft. Drops: nothing; its body flickers and vanishes back into the Seam it came from, leaving a smell like a thunderstorm." }, @@ -1624,7 +1938,7 @@ module.exports = { "wisScore": 12, "chaScore": 7, "attackBonus": 6, - "damageDice": "2d8+4", + "damageDice": "2d8+4 bludgeoning", "specialTrait": "Thorn Burst (recharge 5–6) — every creature within 10 feet makes a DC 14 Dexterity save or takes 3d6 piercing (half on a success).", "notes": "Large. Slam, +6, 2d8+4 bludgeoning, reach 10 ft; a PC on a slippery bank who is hit makes a DC 12 Dexterity save or slides into the water. One slam per turn. False Appearance: looks like an old dead oak while still. Swings at the closest PC; uses Thorn Burst when three or more PCs are within reach; never leaves its pond. Vulnerable to fire (double damage). Resistant to bludgeoning and piercing. Can be calmed: kind words in Sylvan or Elvish, or a druid, with a DC 15 Charisma (Persuasion) check; on a success it loses its next turn, and if the party saved the Blighted Stag, it does not fight at all. If not defeated or calmed, it joins Vessa's Phase 2. Darkvision 60 ft. Understands Sylvan, Elvish. Drops: a heartwood knot that glows faintly green again once the Blight Heart is destroyed (the elves will plant it)." }, @@ -1641,7 +1955,7 @@ module.exports = { "wisScore": 11, "chaScore": 13, "attackBonus": 6, - "damageDice": "1d10+4", + "damageDice": "1d10+4 piercing", "specialTrait": "Shadow Breath (recharge 5–6) — a 15-foot cone of hungry darkness: DC 13 Dexterity save, 5d6 necrotic, half on a success.", "notes": "Speed 30, fly 60. Bite, +6, 1d10+4 piercing. One bite per turn. Living Shadow: in dim light or darkness it has advantage on Dexterity (Stealth) checks and attacks against it have disadvantage if the attacker can't see in the dark. Flies up out of reach, breathes on the biggest group, then dives at whoever is alone or holding a light. Guards its eggs fiercely: anyone attacking an egg is targeted first. At the finale, each ally who arrives kills one wyrmling automatically. Immune to necrotic; resistant to cold. Hollowbane deals an extra 1d8 to it. Blindsight 10 ft, darkvision 60 ft. Speaks Draconic in a baby's echo of its parent's stolen voices. Drops: 1d4 black scales (25 gp each to a smith; Brannoc can work them into armour trim)." }, @@ -1658,7 +1972,7 @@ module.exports = { "wisScore": 10, "chaScore": 3, "attackBonus": 5, - "damageDice": "2d6", + "damageDice": "2d6 necrotic", "specialTrait": "Drain Life — a creature hit by the swarm also has its hit point maximum reduced by the damage dealt, until it finishes a long rest. A creature whose maximum drops to 0 dies.", "notes": "Speed 10, swim 30. Bites, +5, 2d6 necrotic (only 1d6 if the swarm is at half HP or less). Swarm: it can occupy another creature's space and move through tiny gaps; it can't regain HP or gain temporary HP. Rises out of the River of Whispers around the ferry, attacking whoever leans over the side or falls in. Fire and radiant scatter it: resistant to bludgeoning, piercing and slashing, but vulnerable to fire and radiant. Holy water deals 2d6 radiant (doubled). Immune to Charmed, Frightened, Grappled, Prone, Restrained. Blindsight 30 ft. Drops: nothing; the Ferryman takes the dead leeches as an offering." }, @@ -1675,7 +1989,7 @@ module.exports = { "wisScore": 10, "chaScore": 3, "attackBonus": 3, - "damageDice": "1d4+1", + "damageDice": "1d4+1 piercing", "specialTrait": "Dead Brush — while it stays still, it looks exactly like a tangle of dead brambles. A PC who walks into one is surprised.", "notes": "Thorn lash, +3, 1d4+1 piercing. Grasp: a creature hit by two thornlings in the same round has its speed halved until the end of its next turn. Rises from grey ground and dead flowers in groups of three to six, surrounds a target, and never retreats. Vulnerable to fire. During Vessa's lair action \"The Heart's beat\", destroyed thornlings rise again with 1 HP. Blindsight 30 ft (blind beyond). Speaks nothing; rustles. Drops: grey twigs that crumble to dust when the Blight Heart dies." }, @@ -1692,7 +2006,7 @@ module.exports = { "wisScore": 10, "chaScore": 8, "attackBonus": 4, - "damageDice": "2d6+2", + "damageDice": "2d6+2 slashing", "specialTrait": "Stench — any creature that starts its turn within 5 feet must make a DC 10 Constitution save or be Poisoned until the start of its next turn. A creature that succeeds is immune to that ghast's stench for 24 hours.", "notes": "Claws, +4, 2d6+2 slashing; a non-elf target must make a DC 10 Constitution save or be Paralysed for 1 minute (save again at the end of each of its turns). Bite, +4, 2d6+2 piercing, only against a Paralysed creature (bonus action). Lurks in dark tunnels, morgues and subway cars; ambushes from above or behind; drags paralysed victims away. Flees from bright light if below half HP. Immune to necrotic and poison; cannot be Charmed, Exhausted or Poisoned. Darkvision 60 ft. Speaks a few words of whatever language it spoke in life (\"Mind the gap\"). Drops: a Metro pass, loose change worth 1d4 gp, sometimes a smartphone with a cracked screen." }, @@ -1709,7 +2023,7 @@ module.exports = { "wisScore": 12, "chaScore": 10, "attackBonus": 4, - "damageDice": "2d6+2", + "damageDice": "2d6+2 piercing (pistol)", "specialTrait": "Radio for Backup — as an action, it calls for help. Add 1 to the tower's Alarm (see The Glass Tower); outside the tower, a second agent arrives in 1d4 rounds.", "notes": "Damage 2d6+2 piercing (pistol). Pistol, +4, range 50/150, 2d6+2 piercing. Loud: wakes everything within 300 feet. Jams on a natural 1 (action to clear). Taser: +4, range 15 ft, 1d4 lightning and the target makes a DC 12 Constitution save or is Stunned until the end of its next turn (once per fight). Kevlar: already counted in its AC. Takes cover, shouts \"Down on the ground!\", radios before fighting. They are ordinary people paid to guard a building: they surrender when hurt and outnumbered, and they do not know what Crane really is. Speaks Common (the Meridian kind). Drops: a Pistol and 1d2 Magazines, a Taser, a Flashlight, a radio, a Vantage keycard (level 1 access)." }, @@ -1726,7 +2040,7 @@ module.exports = { "wisScore": 12, "chaScore": 1, "attackBonus": 5, - "damageDice": "1d8+3", + "damageDice": "1d8+3 lightning", "specialTrait": "Alarm — the first time a drone sees an intruder it isn't programmed to ignore, it shrieks a siren. Add 1 to the tower's Alarm unless it is destroyed before its next turn.", "notes": "Speed fly 40. Taser dart, +5, range 30/60, 1d8+3 lightning. One shot per turn. Hover: it can't be knocked Prone and stays 10 feet up out of melee reach unless lured down. Scanner: advantage on Perception checks using sight; it sees in the dark (night-vision camera, 60 ft). Lightning damage, a Mending spell used backwards, or a thrown coat over the camera (attack vs AC 14) shuts it down for a round. Immune to poison and psychic; cannot be Charmed, Frightened, Poisoned or Exhausted. Drops: a battery (powers a phone or flashlight to full), scrap parts Brannoc loves." }, @@ -1743,7 +2057,7 @@ module.exports = { "wisScore": 14, "chaScore": 15, "attackBonus": 5, - "damageDice": "2d6+3", + "damageDice": "2d6+3 slashing", "specialTrait": "Coven — while three crones are alive and within 30 feet of each other, the coven shares 3 spells per fight (any crone can cast one as her action; save DC 13).", "notes": "Claws, +5, 2d6+3 slashing. Coven spells: Hold Person (one PC, DC 13 Wisdom save or Paralysed, save again at the end of each turn); Witch Thorns (15-foot square of briars, DC 13 Dexterity save or Restrained and 1d6 piercing); Hex (one PC has disadvantage on checks with one ability, and crone hits deal +1d6 necrotic to them). If one crone dies or they are split more than 30 feet apart, the shared spells stop. Burning the king's Hex Doll also ends them. Mimicry: can imitate any voice she has heard. Lair (their hut's cellar): roll a d4 on initiative 20 (see Act I). Alone, a crone casts Hex once per day and nothing else. The last crone standing begs for mercy. Darkvision 60 ft. Speaks Common, Sylvan, Giant. Drops: 1d6 x 5 gp in a jar of teeth; charms, herbs and rotten sweets; the leader's staff becomes the Hexthorn Staff." }, @@ -1760,7 +2074,7 @@ module.exports = { "wisScore": 12, "chaScore": 6, "attackBonus": 7, - "damageDice": "2d6+4", + "damageDice": "2d6+4 piercing", "specialTrait": "Venom Sting — the sting's 7d6 poison is halved on a DC 15 Constitution save.", "notes": "Damage 2d6+4 piercing; sting 2d6+4 + 7d6 poison. Speed 20, fly 80. Large. Multiattack: two attacks: one bite (+7, reach 10 ft, 2d6+4 piercing) and one sting (+7, reach 10 ft, 2d6+4 piercing plus 7d6 poison, DC 15 Constitution save for half the poison). While flying it can use claws instead of the bite (+7, 2d8+4 slashing). Swoops from the cliffs, stings the toughest PC, and flies off; it dives at anyone on a narrow ledge. At 30 HP or less it flees to its nest. Darkvision 60 ft. Speaks nothing. Drops: its nest among goat bones holds 2d20 gp, a dwarf-made helmet and a broken kobold spear; its venom sac (careful extraction, DC 15 Medicine) sells for 100 gp." }, @@ -1788,7 +2102,7 @@ module.exports = { "maxHp": 30, "speed": 40, "attackBonus": 6, - "damageDice": "2d8+3", + "damageDice": "2d8+3 necrotic", "specialTrait": "Hidden until Phase 2 of the fight with Dr. Crane.", "notes": "Damage 2d8+3 necrotic. Add it to the fight when Crane drops to 51 HP or less.", "strScore": 10, @@ -1888,11 +2202,31 @@ module.exports = { "role": "Innkeeper of the Crooked Lantern", "disposition": "FRIENDLY", "description": "A round, rosy halfling in a flour-dusted apron, with a frying pan never far from her hand. She knows everyone in Thornwick and everything they've done.", - "dmNotes": "The party's home base: rooms, hot meals, rumours. On Harvest Night she hides the villagers in her cellar. Hiding a bad feeling about the Chancellor ever since he stayed one night and \"didn't eat his pie\".\n\nDamage: 1d4 bludgeoning (frying pan).\n\nVoice: Warm, fast, nosy. \"Dearie.\" Feeds people while interrogating them.\n\nWants / fears / secret: Wants her village safe and everyone fed. Fears losing Thornwick. Secret: she was an adventurer's cook once and is braver than anyone guesses.\n\nAppears in: Act I; Thornwick visits throughout; the Epilogue.", + "dmNotes": "The party's home base: rooms, hot meals, rumours. On Harvest Night she hides the villagers in her cellar. Hiding a bad feeling about the Chancellor ever since he stayed one night and \"didn't eat his pie\".\n\nDamage: 1d4 bludgeoning (frying pan).\n\nVoice: Warm, fast, nosy. \"Dearie.\" Feeds people while interrogating them.\n\nWants / fears / secret: Wants her village safe and everyone fed. Fears losing Thornwick. Secret: she was an adventurer's cook once and is braver than anyone guesses.\n\nAppears in: Act I; Thornwick visits throughout; the Epilogue.\n\nTrade: her back room sells torches (1 cp), rations (5 sp), rope and bedrolls (1 gp each). A room and two meals is 2 sp 5 cp for heroes: a spend in the money log.", "ac": 10, "maxHp": 9, "attackBonus": 2, - "damageDice": "1d4" + "damageDice": "1d4", + "wares": [ + { + "item": "Torch", + "price": 1, + "currency": "COPPER" + }, + { + "item": "Rations (1 day)", + "price": 5, + "currency": "SILVER" + }, + { + "item": "Rope (50 ft)", + "price": 1 + }, + { + "item": "Bedroll", + "price": 1 + } + ] }, { "name": "Master Quillon Fenwick", @@ -1965,22 +2299,80 @@ module.exports = { "role": "Swamp witch of the Witchfen", "disposition": "NEUTRAL", "description": "A tiny, bent old woman with a nose like a parsnip, in a hut on stilts with thirteen cats named after sins and vegetables. Despair bites.", - "dmNotes": "Not good, not evil: fair. Never lies. Helps against the Sisters for a price; her quest is sq-06 (a griffon feather, a lie told by a king, a phone charger). The captured lie can make Morvain's first spell fail. If attacked, she and her hut vanish into the mist.\n\nVoice: Snappy, rude. \"Wipe your feet, dumplings.\"\n\nWants / fears / secret: Wants her fen left alone. Fears nothing she'll admit. Secret: she was once a Sister herself, and left.\n\nAppears in: Act I, sq-06.", + "dmNotes": "Not good, not evil: fair. Never lies. Helps against the Sisters for a price; her quest is sq-06 (a griffon feather, a lie told by a king, a phone charger). The captured lie can make Morvain's first spell fail. If attacked, she and her hut vanish into the mist.\n\nVoice: Snappy, rude. \"Wipe your feet, dumplings.\"\n\nWants / fears / secret: Wants her fen left alone. Fears nothing she'll admit. Secret: she was once a Sister herself, and left.\n\nAppears in: Act I, sq-06.\n\nTrade: Healing Potion 75 gp, Antitoxin 30 gp. She collects strange paper money and changes it at 1 gold = $100 — a terrible deal, and the only one in Aldervane.", "ac": null, "maxHp": null, "attackBonus": null, - "damageDice": null + "damageDice": null, + "exchangeGold": 1, + "exchangeCash": 100, + "wares": [ + { + "item": "Healing Potion", + "price": 75, + "stock": 3 + }, + { + "item": "Antitoxin", + "price": 30, + "stock": 5 + } + ] }, { "name": "Brannoc Ironvein", "role": "Dwarf master smith of Highmarch", "disposition": "FRIENDLY", "description": "A broad dwarf with a braided black beard singed at the ends, who talks to metal like it's alive.", - "dmNotes": "The only smith who can reforge the Crown (the Reforging). Upgrades gear for 100 gp × the new level; each PC's first upgrade at half price; only he does Powerful or Legendary gear. Rebuilds Dee's bus into the Rift Runner. Forges the Riftbreaker.\n\nSpecial trait: Stubborn — advantage on saves against being Frightened or knocked Prone.\n\nIn a fight: Warhammer, +6, 1d8+4 bludgeoning. Fights only to defend his forge.\n\nDamage: 1d8+4 bludgeoning.\n\nAbilities: STR 18 (+4), DEX 10 (+0), CON 17 (+3), INT 14 (+2), WIS 12 (+1), CHA 9 (-1)\n\nVoice: Gruff, blunt. \"Ugly. Honest. I like it.\"\n\nWants / fears / secret: Wants to make one perfect thing. Fears the Crown breaking in his hands. Secret: he's secretly in love with Meridian engines.\n\nAppears in: Act I, the Siege, the Reforging, sq-02.", + "dmNotes": "The only smith who can reforge the Crown (the Reforging). Upgrades gear for 100 gp × the new level; each PC's first upgrade at half price; only he does Powerful or Legendary gear. Rebuilds Dee's bus into the Rift Runner. Forges the Riftbreaker.\n\nSpecial trait: Stubborn — advantage on saves against being Frightened or knocked Prone.\n\nIn a fight: Warhammer, +6, 1d8+4 bludgeoning. Fights only to defend his forge.\n\nDamage: 1d8+4 bludgeoning.\n\nAbilities: STR 18 (+4), DEX 10 (+0), CON 17 (+3), INT 14 (+2), WIS 12 (+1), CHA 9 (-1)\n\nVoice: Gruff, blunt. \"Ugly. Honest. I like it.\"\n\nWants / fears / secret: Wants to make one perfect thing. Fears the Crown breaking in his hands. Secret: he's secretly in love with Meridian engines.\n\nAppears in: Act I, the Siege, the Reforging, sq-02.\n\nTrade: sells Brannoc’s Whetstone, Chain Shirt, Chain Mail, Shield, Breastplate, Half Plate, Plate Armor and (from Act III) the Gauntlets of Might. Upgrades are not a site trade: take 100 gp × the new level as a spend, then raise the gear level on the sheet.", "ac": 16, "maxHp": 45, "attackBonus": 6, - "damageDice": "1d8+4" + "damageDice": "1d8+4", + "wares": [ + { + "item": "Brannoc's Whetstone", + "price": 250, + "level": 4, + "stock": 2 + }, + { + "item": "Chain Shirt", + "price": 50 + }, + { + "item": "Chain Mail", + "price": 75 + }, + { + "item": "Shield", + "price": 10 + }, + { + "item": "Breastplate", + "price": 400, + "level": 4, + "stock": 2 + }, + { + "item": "Half Plate", + "price": 750, + "level": 5, + "stock": 1 + }, + { + "item": "Plate Armor", + "price": 1500, + "level": 7, + "stock": 1 + }, + { + "item": "Gauntlets of Might", + "price": 500, + "level": 6, + "stock": 1 + } + ] }, { "name": "Cindermaw", @@ -1998,11 +2390,13 @@ module.exports = { "role": "Route 42 bus driver", "disposition": "FRIENDLY", "description": "A tough Port Meridian bus driver in a transit uniform, with a tyre iron and a dry joke for every disaster.", - "dmNotes": "Her bus crashed through the Thornwick Seam in Session 1. Her daughter Zuri is in Meridian. Guides the party there. Brannoc turns the bus into the Rift Runner; she drives it into the Siege and the Seal.\n\nSpecial trait: Horn Blast — as an action from the bus, every gloamling within 30 feet makes a DC 11 Wisdom save or is Frightened for 1 round.\n\nIn a fight: Tyre iron, +3, 1d4+1 bludgeoning. Prefers driving to fighting. From Act III, raise her HP to 25 if she fights.\n\nDamage: 1d4+1 bludgeoning.\n\nAbilities: STR 13 (+1), DEX 12 (+1), CON 14 (+2), INT 12 (+1), WIS 14 (+2), CHA 13 (+1)\n\nVoice: City slang. \"You lot.\" \"We do not stab the Toyota.\"\n\nWants / fears / secret: Wants to get home to Zuri. Fears Zuri thinks she's dead. Secret: she's starting to love Aldervane.\n\nAppears in: Act I, sq-02, The Glass Tower, the Siege, the Abyssal Seal, Epilogue.", + "dmNotes": "Her bus crashed through the Thornwick Seam in Session 1. Her daughter Zuri is in Meridian. Guides the party there. Brannoc turns the bus into the Rift Runner; she drives it into the Siege and the Seal.\n\nSpecial trait: Horn Blast — as an action from the bus, every gloamling within 30 feet makes a DC 11 Wisdom save or is Frightened for 1 round.\n\nIn a fight: Tyre iron, +3, 1d4+1 bludgeoning. Prefers driving to fighting. From Act III, raise her HP to 25 if she fights.\n\nDamage: 1d4+1 bludgeoning.\n\nAbilities: STR 13 (+1), DEX 12 (+1), CON 14 (+2), INT 12 (+1), WIS 14 (+2), CHA 13 (+1)\n\nVoice: City slang. \"You lot.\" \"We do not stab the Toyota.\"\n\nWants / fears / secret: Wants to get home to Zuri. Fears Zuri thinks she's dead. Secret: she's starting to love Aldervane.\n\nAppears in: Act I, sq-02, The Glass Tower, the Siege, the Abyssal Seal, Epilogue.\n\nTrade: she will change a little money at 1 gold = $40 (“I’m not a bank”). Ray’s pawn shop gives $50.", "ac": 11, "maxHp": 13, "attackBonus": 3, - "damageDice": "1d4+1" + "damageDice": "1d4+1", + "exchangeGold": 1, + "exchangeCash": 40 }, { "name": "Zuri Okafor", @@ -2042,11 +2436,19 @@ module.exports = { "role": "Gloam-gnome guide", "disposition": "NEUTRAL", "description": "A gnome no taller than your belt, slate-grey skin, enormous silver eyes, and a coat with about a hundred pockets.", - "dmNotes": "Sells information, never lies. Guide: 25 gp a day or 150 gp to the Citadel walls (100 with DC 15 Persuasion or an honest promise). Knows the Glass Drains. Never fights; hides.\n\nVoice: Only ever whispers. \"Shh. Listen.\"\n\nWants / fears / secret: Wants fair pay. Fears the Citadel. Secret: she has never seen the sun; promise to show her and she is fiercely loyal.\n\nAppears in: Underkin Market, the River of Whispers, the Bone Cathedral.", + "dmNotes": "Sells information, never lies. Guide: 25 gp a day or 150 gp to the Citadel walls (100 with DC 15 Persuasion or an honest promise). Knows the Glass Drains. Never fights; hides.\n\nVoice: Only ever whispers. \"Shh. Listen.\"\n\nWants / fears / secret: Wants fair pay. Fears the Citadel. Secret: she has never seen the sun; promise to show her and she is fiercely loyal.\n\nAppears in: Underkin Market, the River of Whispers, the Bone Cathedral.\n\nTrade: spare Gloam Lanterns from her pockets. Her fee, her rumours (10 gp) and the Shadow Veil spell (100 gp) are services: record them as spends and grant the spell on the sheet.", "ac": null, "maxHp": null, "attackBonus": null, - "damageDice": null + "damageDice": null, + "wares": [ + { + "item": "Gloam Lantern", + "price": 30, + "level": 9, + "stock": 2 + } + ] }, { "name": "Gary Pruitt", @@ -2240,11 +2642,41 @@ module.exports = { "role": "Smuggler boss", "disposition": "NEUTRAL", "description": "Met in Saltmere.", - "dmNotes": "Smuggler boss, really a Doppelganger. Charming, slippery.", + "dmNotes": "Smuggler boss, really a Doppelganger. Charming, slippery.\n\nTrade (only if the party makes peace with the real Silas): 1 gold = $30, and black-market goods at 25 gp each. Odile disapproves of the guns; whether she finds out is up to you.", "ac": null, "maxHp": null, "attackBonus": null, - "damageDice": null + "damageDice": null, + "exchangeGold": 1, + "exchangeCash": 30, + "wares": [ + { + "weapon": "Pistol", + "price": 25, + "level": 4, + "stock": 2 + }, + { + "item": "Magazine", + "price": 25, + "stock": 2 + }, + { + "item": "Flashlight", + "price": 25, + "stock": 2 + }, + { + "item": "Energy Drink", + "price": 25, + "stock": 2 + }, + { + "item": "Road Flare", + "price": 25, + "stock": 3 + } + ] }, { "name": "Mother Gannet", @@ -2343,7 +2775,14 @@ module.exports = { "ac": null, "maxHp": null, "attackBonus": null, - "damageDice": null + "damageDice": null, + "wares": [ + { + "item": "Gloam Lantern", + "price": 30, + "level": 9 + } + ] }, { "name": "Mother Moss", @@ -2354,18 +2793,66 @@ module.exports = { "ac": null, "maxHp": null, "attackBonus": null, - "damageDice": null + "damageDice": null, + "wares": [ + { + "item": "Healing Potion", + "price": 60, + "level": 9 + }, + { + "item": "Antitoxin", + "price": 60, + "level": 9 + }, + { + "item": "Greater Healing Potion", + "price": 180, + "level": 9, + "stock": 4 + } + ] }, { "name": "Tallow", "role": "Curio-seller", "disposition": "NEUTRAL", "description": "Met in the Hollow Deep.", - "dmNotes": "Curio-seller, Skrit's ex-goblin. Nervous; flinches at Skrit's name.", + "dmNotes": "Curio-seller, Skrit's ex-goblin. Nervous; flinches at Skrit's name.\n\nTrade: curios from above, and 1 gold = $100 for Meridian cash. If a PC mentions Skrit, halve each of his prices (Edit on the ware) before they buy.", "ac": null, "maxHp": null, "attackBonus": null, - "damageDice": null + "damageDice": null, + "exchangeGold": 1, + "exchangeCash": 100, + "wares": [ + { + "item": "Road Flare", + "price": 20, + "level": 9 + }, + { + "item": "Energy Drink", + "price": 15, + "level": 9 + }, + { + "item": "Alchemist's Fire", + "price": 50, + "level": 9 + }, + { + "item": "Holy Water", + "price": 25, + "level": 9 + }, + { + "item": "Smoke Grenade", + "price": 75, + "level": 9, + "stock": 2 + } + ] }, { "name": "Nemeth", @@ -2376,7 +2863,15 @@ module.exports = { "ac": null, "maxHp": null, "attackBonus": null, - "damageDice": null + "damageDice": null, + "wares": [ + { + "item": "Ward Charm", + "price": 250, + "level": 9, + "stock": 3 + } + ] }, { "name": "Nurse Tamsin Okoro", @@ -2443,6 +2938,145 @@ module.exports = { "maxHp": null, "attackBonus": null, "damageDice": null + }, + { + "name": "Old Tobbin Ashby", + "role": "Blacksmith of Thornwick", + "disposition": "FRIENDLY", + "description": "A sooty, curious old smith who keeps trying to take bits off the bus “to see how they’re made”.", + "dmNotes": "Ashby’s Forge, Thornwick. Sells library weapons, Leather Armor, Chain Shirt, Chain Mail and Shields at Appendix D prices. Raises Standard gear levels for 100 gp × the new level: record it as a spend in the money log, then raise the level on the sheet.", + "ac": null, + "maxHp": null, + "attackBonus": null, + "damageDice": null, + "wares": [ + { + "weapon": "Club", + "price": 1, + "currency": "SILVER" + }, + { + "weapon": "Dagger", + "price": 2 + }, + { + "weapon": "Spear", + "price": 1 + }, + { + "weapon": "Handaxe", + "price": 5 + }, + { + "weapon": "Longsword", + "price": 15, + "stock": 1 + }, + { + "weapon": "Battleaxe", + "price": 10, + "stock": 1 + }, + { + "weapon": "Warhammer", + "price": 15, + "stock": 1 + }, + { + "item": "Leather Armor", + "price": 10, + "stock": 1 + }, + { + "item": "Chain Shirt", + "price": 50, + "stock": 1 + }, + { + "item": "Chain Mail", + "price": 75, + "stock": 1 + }, + { + "item": "Shield", + "price": 10, + "stock": 1 + } + ] + }, + { + "name": "Sister Fenna", + "role": "Young priestess of the village shrine", + "disposition": "FRIENDLY", + "description": "Earnest, nervous and very kind. She prays out loud when she is scared.", + "dmNotes": "Thornwick’s shrine. Sells Healing Potions, 50 gp, and has only 3.", + "ac": null, + "maxHp": null, + "attackBonus": null, + "damageDice": null, + "wares": [ + { + "item": "Healing Potion", + "price": 50, + "stock": 3 + } + ] + }, + { + "name": "Ray", + "role": "Owner of Ray’s Cash for Gold", + "disposition": "NEUTRAL", + "description": "Bored and unshockable. He weighs gold on a kitchen scale and asks no questions.", + "dmNotes": "Pawn shop on Canal Street, Port Meridian. The campaign’s reference rate: 1 gold = $50. He buys gold, gems and jewellery only ($50 per gold piece of value: a 100 gp gem is $5,000) — there is no selling on the site, so record what he pays as a cash gain in the money log. He sells nothing.", + "ac": null, + "maxHp": null, + "attackBonus": null, + "damageDice": null, + "exchangeGold": 1, + "exchangeCash": 50 + }, + { + "name": "Hasp and Clasp", + "role": "Smiths of the Rust and Rivet", + "disposition": "NEUTRAL", + "description": "Two soot-grey Underkin smiths who finish each other’s hammer strokes, at a stall hung with armor that has outlived its owners.", + "dmNotes": "The Rust and Rivet, Underkin Market. One Shield Ward (400 gp) and library armor: Half Plate, Plate, Shield and Tower Shield, one of each.", + "ac": null, + "maxHp": null, + "attackBonus": null, + "damageDice": null, + "wares": [ + { + "item": "Shield Ward", + "price": 400, + "level": 9, + "stock": 1 + }, + { + "item": "Half Plate", + "price": 750, + "level": 9, + "stock": 1 + }, + { + "item": "Plate Armor", + "price": 1500, + "level": 9, + "stock": 1 + }, + { + "item": "Shield", + "price": 10, + "level": 9, + "stock": 1 + }, + { + "item": "Tower Shield", + "price": 30, + "level": 9, + "stock": 1 + } + ] } ], "encounters": [ @@ -2561,6 +3195,20 @@ module.exports = { "rewards": [], "location": "Thornwick" }, + { + "name": "Shopping in Thornwick", + "mode": "QUEST", + "description": "Thornwick the morning after: the forge is ringing, the shrine door is open, and Hattie has thrown wide the back room of the Crooked Lantern. Whatever you need for the road, somebody here will sell it to you.", + "dmNotes": "Last-minute shopping before the Kingsroad. Hattie’s back room has everyday goods; Sister Fenna’s shrine has 3 healing potions at 50 gp; Old Tobbin’s forge sells weapons and armor and raises Standard gear levels (the book’s Thornwick chapter says 50 gp × the level, its NPC appendix 100 gp × the new level: pick one), a spend in the money log followed by raising the level on the sheet.\n\nBuying and changing money only work in an NPC quest that is in progress, with the seller in the scene: click Begin Quest when the party walks in and Complete Quest when they leave. There is no selling or haggling on the site — record a sale as a gain in the money log, or Edit a ware’s price before they click Buy.", + "monsters": [], + "npcs": [ + "Hattie Mossbottom", + "Sister Fenna", + "Old Tobbin Ashby" + ], + "rewards": [], + "location": "Thornwick" + }, { "name": "Spice Wagon Ambush", "mode": "BATTLE", @@ -2575,7 +3223,15 @@ module.exports = { "npcs": [], "rewards": [ { - "gold": 9, + "gold": 6, + "note": "Goblin purses" + }, + { + "silver": 25, + "note": "Goblin purses" + }, + { + "copper": 50, "note": "Goblin purses" }, { @@ -2601,7 +3257,11 @@ module.exports = { "npcs": [], "rewards": [ { - "gold": 4, + "gold": 3, + "note": "With a pouch of sling stones and the copper gong (worth 2 gp, very loud)" + }, + { + "silver": 10, "note": null } ], @@ -2625,7 +3285,15 @@ module.exports = { "npcs": [], "rewards": [ { - "gold": 18, + "gold": 12, + "note": "Mixed coins. Also a Meridian wristwatch: 5 gp to a collector here, $250 from Ray (a cash gain by hand)" + }, + { + "silver": 50, + "note": "Mixed coins" + }, + { + "copper": 100, "note": "Mixed coins" }, { @@ -2664,7 +3332,15 @@ module.exports = { "note": "Skrit hides it in his mouth when he bargains" }, { - "gold": 32, + "gold": 25, + "note": "Skrit’s hoard, with a silver locket (15 gp), Dee’s red toolbox and the hubcap crown" + }, + { + "silver": 60, + "note": "Skrit’s hoard" + }, + { + "copper": 100, "note": "Skrit’s hoard" } ], @@ -2699,6 +3375,18 @@ module.exports = { ], "location": "Highmarch" }, + { + "name": "Highmarch: Brannoc’s Forge", + "mode": "QUEST", + "description": "Heat rolls out of an open-fronted forge under the castle wall. A broad dwarf with a singed beard is arguing with a breastplate, and winning.", + "dmNotes": "Brannoc sells armor and his whetstone here, and raises gear levels for 100 gp × the new level (a spend, then raise the level). The Breastplate, Half Plate, Plate Armor and Gauntlets of Might are priced for later acts: the Gauntlets are only on his shelf from Act III. Come back here between the Act II quests.\n\nBuying and changing money only work in an NPC quest that is in progress, with the seller in the scene: click Begin Quest when the party walks in and Complete Quest when they leave. There is no selling or haggling on the site — record a sale as a gain in the money log, or Edit a ware’s price before they click Buy.", + "monsters": [], + "npcs": [ + "Brannoc Ironvein" + ], + "rewards": [], + "location": "Highmarch" + }, { "name": "Side Quest — The Faun’s Stolen Song: Creeping Blight", "mode": "BATTLE", @@ -2762,8 +3450,12 @@ module.exports = { "npcs": [], "rewards": [ { - "gold": 15, + "gold": 12, "note": "A drowned traveller’s satchel, with a silver ring worth 10 more" + }, + { + "silver": 30, + "note": "The satchel" } ], "location": "The Witchfen" @@ -2867,6 +3559,18 @@ module.exports = { { "gold": 40, "note": "In a jar of teeth" + }, + { + "gold": 45, + "note": "H4 — the chest under Old Nettle’s bed (DC 13 thieves’ tools), with a silver comb worth 15 gp" + }, + { + "silver": 120, + "note": "H4 — the chest" + }, + { + "copper": 300, + "note": "H4 — the chest" } ], "location": "The Sisters’ Hut" @@ -2963,6 +3667,31 @@ module.exports = { "rewards": [], "location": "Silverbough" }, + { + "name": "Silverbough: The Market of Leaves", + "mode": "QUEST", + "description": "Stalls woven from living branches spiral up around a silver-barked trunk. Elves glance at you, then at whoever is standing beside you, and only then name a price.", + "dmNotes": "Humans may shop only with an elf beside them (Thalion or Pip will do). Elvish cloaks at 60 gp, healing potions (faun salve) at 40 gp, 20 arrows for 1 gp 5 sp (a spend in the money log). The elves take no Meridian cash.\n\nBuying and changing money only work in an NPC quest that is in progress, with the seller in the scene: click Begin Quest when the party walks in and Complete Quest when they leave. There is no selling or haggling on the site — record a sale as a gain in the money log, or Edit a ware’s price before they click Buy.", + "monsters": [], + "npcs": [ + "Thalion Duskleaf", + "Pip Thistlehoof" + ], + "rewards": [], + "location": "Silverbough", + "wares": [ + { + "item": "Silverbough Cloak", + "price": 60, + "stock": 4 + }, + { + "item": "Healing Potion", + "price": 40, + "stock": 3 + } + ] + }, { "name": "The Blighted Stag", "mode": "BATTLE", @@ -3011,8 +3740,8 @@ module.exports = { "npcs": [], "rewards": [ { - "gold": 25, - "note": "A dead scout’s pack" + "silver": 250, + "note": "A dead elf scout’s pack" }, { "item": "Healing Potion", @@ -3082,7 +3811,7 @@ module.exports = { "note": "Thalion’s own bow — see the Dawnblade" }, { - "gold": 150, + "silver": 1500, "note": "Elven silver from the royal treasury" }, { @@ -3090,6 +3819,12 @@ module.exports = { "quantity": 4, "level": null, "note": "One per hero" + }, + { + "item": "Silverleaf Mail", + "quantity": 1, + "level": null, + "note": "A gift of the Silverbough Court, to heroes who earned the queen’s trust" } ], "location": "The Rotheart Grove" @@ -3112,8 +3847,16 @@ module.exports = { "npcs": [], "rewards": [ { - "gold": 75, - "note": "A barrow-urn of ancient coins and an old silver knight’s badge" + "gold": 30, + "note": "A sealed barrow-urn of ancient coins. Also an old silver knight’s badge, worth 30 gp" + }, + { + "silver": 100, + "note": "The barrow-urn" + }, + { + "copper": 500, + "note": "The barrow-urn" } ], "location": "The Barrowdowns" @@ -3279,10 +4022,46 @@ module.exports = { "quantity": 2, "level": null, "note": "From the hoard in S7" + }, + { + "gold": 250, + "note": "S7 — the tribe’s treasure, in a locked iron cage (DC 15, or the key on Gorrug’s belt), with a gold candlestick worth 25 gp" + }, + { + "silver": 1000, + "note": "S7 — the tribe’s treasure" + }, + { + "copper": 5000, + "note": "S7 — the tribe’s treasure" } ], "location": "Skullcrag" }, + { + "name": "Skullcrag: The Swap-Pile", + "mode": "QUEST", + "description": "A heap of everything the ogres have ever taken off a traveller, with a very large ogre sitting next to it who has learned the word “price” and enjoys saying it.", + "dmNotes": "Only once the ogres are friends (the Gut-Clash won, or Gorrug persuaded). Skullcrag folk do not take Meridian cash, though a Meridian item of any kind thrills them.\n\nBuying and changing money only work in an NPC quest that is in progress, with the seller in the scene: click Begin Quest when the party walks in and Complete Quest when they leave. There is no selling or haggling on the site — record a sale as a gain in the money log, or Edit a ware’s price before they click Buy.", + "monsters": [], + "npcs": [ + "Gorrug Skullbreaker" + ], + "rewards": [], + "location": "Skullcrag", + "wares": [ + { + "item": "Healing Potion", + "price": 50, + "stock": 2 + }, + { + "item": "Alchemist's Fire", + "price": 50, + "stock": 2 + } + ] + }, { "name": "Side Quest — The Ogre Who Wanted to Cook: Gristle's Kitchen", "mode": "BATTLE", @@ -3377,6 +4156,85 @@ module.exports = { ], "location": "Harbor Park" }, + { + "name": "Port Meridian: Ray’s Cash for Gold and the Shops", + "mode": "QUEST", + "description": "Canal Street: a pawn shop with a flickering sign, a hardware store, a pharmacy and a phone shop, all under electric light. Nobody here wants your gold. Ray, behind his kitchen scale, is the exception.", + "dmNotes": "Everything in Meridian is priced in cash ($), a separate balance: coins never pay a cash price. Ray changes gold at 1 gold = $50 (gold only, whole multiples); Dee gives $40. Hale won’t touch it. Dee warns the party not to change everything: “Rent here is a crime.”\nFor sale here: Fixit Hardware (crowbar, baseball bat, fire axe, flashlight, road flare, one nail gun, one chainsaw), CityCare Pharmacy (first aid kit, energy drink), any phone shop (a cheap prepaid smartphone), an army-surplus store (riot shield) and a bike shop (motorcycle leathers).\nNot wares: a burger at Big Lou’s is $10, a Metro ticket $3, a phone charger $10, drinks for the ex-guard $20 — cash spends in the money log. Jewellery or loot sold to Ray is a cash gain by hand. A pistol is $2,500 or more on the black market, never in a shop, and Hale will be furious.\n\nBuying and changing money only work in an NPC quest that is in progress, with the seller in the scene: click Begin Quest when the party walks in and Complete Quest when they leave. There is no selling or haggling on the site — record a sale as a gain in the money log, or Edit a ware’s price before they click Buy.", + "monsters": [], + "npcs": [ + "Ray", + "Dee Okafor" + ], + "rewards": [], + "location": "Port Meridian", + "wares": [ + { + "weapon": "Crowbar", + "price": 30, + "currency": "CASH" + }, + { + "weapon": "Baseball Bat", + "price": 30, + "currency": "CASH" + }, + { + "weapon": "Fire Axe", + "price": 60, + "currency": "CASH" + }, + { + "item": "Flashlight", + "price": 25, + "currency": "CASH" + }, + { + "item": "Road Flare", + "price": 5, + "currency": "CASH" + }, + { + "weapon": "Nail Gun", + "price": 150, + "currency": "CASH", + "level": 2, + "stock": 1 + }, + { + "weapon": "Chainsaw", + "price": 300, + "currency": "CASH", + "level": 5, + "stock": 1 + }, + { + "item": "First Aid Kit", + "price": 40, + "currency": "CASH" + }, + { + "item": "Energy Drink", + "price": 3, + "currency": "CASH" + }, + { + "item": "Smartphone", + "price": 150, + "currency": "CASH" + }, + { + "item": "Riot Shield", + "price": 250, + "currency": "CASH" + }, + { + "item": "Motorcycle Leathers", + "price": 400, + "currency": "CASH" + } + ] + }, { "name": "Side Quest — The Last Bus Home: Unwelcome Visitors", "mode": "BATTLE", @@ -3396,7 +4254,14 @@ module.exports = { "Dee Okafor", "Zuri Okafor" ], - "rewards": [], + "rewards": [ + { + "item": "Zuri's Drawing", + "quantity": 1, + "level": null, + "note": "Zuri’s gift, once she trusts them" + } + ], "location": "Port Meridian" }, { @@ -3467,8 +4332,20 @@ module.exports = { "note": null }, { - "gold": 6, - "note": "$300 in cash" + "cash": 300, + "note": "From the agents, with an all-floors keycard and their radios" + }, + { + "item": "Vantage Keycard", + "quantity": 1, + "level": null, + "note": "All floors except the private lift" + }, + { + "item": "Kevlar Vest", + "quantity": 1, + "level": null, + "note": "Off a Vantage guard, if someone wants to wear it" } ], "location": "Vantage Tower" @@ -3537,8 +4414,8 @@ module.exports = { "note": null }, { - "gold": 100, - "note": "Crane’s safe: $5,000" + "cash": 5000, + "note": "Crane’s safe (V4): DC 15 Sleight of Hand, or the code 0713. 100 gold at Ray’s rate" }, { "item": "First Aid Kit", @@ -3596,6 +4473,18 @@ module.exports = { ], "location": "Saltmere" }, + { + "name": "Side Quest — Smugglers of Saltmere: Crook’s Back Room", + "mode": "QUEST", + "description": "A net-loft over the Gullmouth, stacked with crates that have writing on them in no alphabet Saltmere knows. The real Silas Crook spreads his hands: business is business.", + "dmNotes": "Only if the party makes peace with the real Silas Crook. He is still a crook: 1 gold = $30 (worse than Ray’s $50), and black-market goods at 25 gp each — a pistol at level 4, magazines, flashlights, energy drinks and (Act II only) road flares. Odile disapproves of the guns; whether she finds out is up to you.\n\nBuying and changing money only work in an NPC quest that is in progress, with the seller in the scene: click Begin Quest when the party walks in and Complete Quest when they leave. There is no selling or haggling on the site — record a sale as a gain in the money log, or Edit a ware’s price before they click Buy.", + "monsters": [], + "npcs": [ + "Captain Silas Crook" + ], + "rewards": [], + "location": "Saltmere" + }, { "name": "Side Quest — The Troll Under Tollbridge: Hounds on the Bridge", "mode": "BATTLE", @@ -3614,7 +4503,36 @@ module.exports = { "npcs": [ "Kev Marsh" ], - "rewards": [], + "rewards": [ + { + "item": "Road Flare", + "quantity": 4, + "level": null, + "note": "From Kev’s van — he gives the party anything they want from it" + }, + { + "item": "Flashlight", + "quantity": 1, + "level": null, + "note": "From the van (10 charges)" + }, + { + "item": "Energy Drink", + "quantity": 6, + "level": null, + "note": "From the van" + }, + { + "weapon": "Crowbar", + "quantity": 1, + "level": null, + "note": "From the van’s toolkit" + }, + { + "cash": 20, + "note": "Kev’s twenty-dollar note: worth nothing here, a burger in Meridian" + } + ], "location": "The Kingsroad" }, { @@ -3771,7 +4689,15 @@ module.exports = { "npcs": [], "rewards": [ { - "gold": 220, + "gold": 180, + "note": "The nest: the gear of past victims" + }, + { + "silver": 300, + "note": "The nest" + }, + { + "copper": 1000, "note": "The nest" }, { @@ -3826,6 +4752,12 @@ module.exports = { "quantity": 1, "level": 7, "note": "A bargain worth 6+ points" + }, + { + "item": "Cinderscale Armor", + "quantity": 1, + "level": null, + "note": "Part of a generous bargain" } ], "location": "Ashpeak" @@ -3870,6 +4802,12 @@ module.exports = { "quantity": 1, "level": 7, "note": null + }, + { + "item": "Cinderscale Armor", + "quantity": 1, + "level": null, + "note": "In the hoard" } ], "location": "Ashpeak" @@ -4077,6 +5015,10 @@ module.exports = { ], "npcs": [], "rewards": [ + { + "cash": 15000, + "note": "Sealed bags of Meridian money in the Beast’s steel shell — split it. Paper in Aldervane; 300 gold at Ray’s ($50), or a bad $100 to the gold from Bramblewick or Tallow" + }, { "item": "Flashlight", "quantity": 1, @@ -4130,6 +5072,18 @@ module.exports = { { "gold": 1000, "note": "The king’s reward: 250 gp per hero — split it" + }, + { + "item": "King's Signet Ring", + "quantity": 1, + "level": null, + "note": "If the king entrusts it to them" + }, + { + "item": "Gauntlet Plate", + "quantity": 1, + "level": null, + "note": "Dame Rowena’s offer to a hero who fought on the walls" } ], "location": "Highmarch" @@ -4156,6 +5110,68 @@ module.exports = { ], "location": "Highmarch" }, + { + "name": "Highmarch Market", + "mode": "QUEST", + "description": "The shops are open again, slowly: shutters half-mended, shelves half-full, and every merchant in Highmarch trying to press something into the hands of the Wardens who saved the city.", + "dmNotes": "Downtime before the descent. Everything is sold at level 8. Most merchants give the Wardens 10% off (Edit the ware’s price), or free if the party saved their street. Only 4 greater healing potions are for sale. The Ward Charm is from the Ferryman’s temple; the Gloam Lantern is Quillon’s work (free if they ask nicely); the Cloak of Protection is Quillon’s too. Brannoc does one free upgrade per PC this week.\nRemind the players that the Hollow Deep is dark: a party that leaves without lanterns, torches, flares or light spells will have a bad time.\n\nBuying and changing money only work in an NPC quest that is in progress, with the seller in the scene: click Begin Quest when the party walks in and Complete Quest when they leave. There is no selling or haggling on the site — record a sale as a gain in the money log, or Edit a ware’s price before they click Buy.", + "monsters": [], + "npcs": [ + "Brannoc Ironvein", + "Master Quillon Fenwick" + ], + "rewards": [], + "location": "Highmarch", + "wares": [ + { + "item": "Healing Potion", + "price": 50, + "level": 8 + }, + { + "item": "Greater Healing Potion", + "price": 150, + "level": 8, + "stock": 4 + }, + { + "item": "Holy Water", + "price": 25, + "level": 8 + }, + { + "item": "Alchemist's Fire", + "price": 50, + "level": 8 + }, + { + "item": "Antitoxin", + "price": 50, + "level": 8 + }, + { + "item": "Ward Charm", + "price": 200, + "level": 8 + }, + { + "item": "Gloam Lantern", + "price": 100, + "level": 8 + }, + { + "item": "Boots of Striding", + "price": 300, + "level": 8 + }, + { + "item": "Cloak of Protection", + "price": 500, + "level": 8, + "stock": 1 + } + ] + }, { "name": "The Last Train", "mode": "BATTLE", @@ -4231,11 +5247,30 @@ module.exports = { ], "location": "The Weeping Gate" }, + { + "name": "The Old Shrine at the Weeping Gate", + "mode": "QUEST", + "description": "A shrine to the Pale Ferryman, older than the stair itself: a stone bowl, a worn oar carved above it, and the feeling of being patiently watched.", + "dmNotes": "An offering left here with a tear or a drop of blood turns cold and silver: a Ferryman’s Coin, which pays one soul’s passage across the River of Whispers. One per PC. Buying the coin for 1 cp is leaving the offering — let them work it out; the stone queen’s whisper on the Stair is a hint. If a player shares a heartfelt moment from their character’s past, make a big deal of it. Set the stock to the number of PCs.\n\nBuying and changing money only work in an NPC quest that is in progress, with the seller in the scene: click Begin Quest when the party walks in and Complete Quest when they leave. There is no selling or haggling on the site — record a sale as a gain in the money log, or Edit a ware’s price before they click Buy.", + "monsters": [], + "npcs": [], + "rewards": [], + "location": "The Weeping Gate", + "wares": [ + { + "item": "Ferryman's Coin", + "price": 1, + "currency": "COPPER", + "level": 9, + "stock": 4 + } + ] + }, { "name": "Underkin Market", "mode": "QUEST", "description": "A small grey hand tugs at your sleeve. Looking up at you is a gnome no taller than your belt, with skin the colour of wet slate and enormous silver eyes that catch the lantern light like a cat's. She wears a coat with about a hundred pockets. \"You're the Wardens,\" she whispers, and grins. \"Everyone's talking about you. Want to know what they're saying? First one's free.\"", - "dmNotes": "Arriving at the Market\nThe Market sits inside a ring of tall iron posts, each topped with a violet lantern. This is the Lantern Ring, and everything inside it is neutral ground. At the main entrance, a pair of Market Wardens (tall, grey-skinned gnomes in long coats of beetle-shell plate, carrying hooked poles) stop the party.\nThe Wardens are polite but firm. They ask three questions, in a dry whisper:\n- \"Names?\" (Any name will do. They write it in a huge book.)\n- \"Business?\" (Any answer will do, except \"killing someone here.\")\n- \"Do you swear by the Lantern to keep the Peace?\" (They must say yes.)\nThen each PC must hand over one thing they are carrying as a \"peace-token\": a small item, a coin, a lock of hair. It is returned when they leave. If anyone breaks the Peace, the Wardens can use the token to find them anywhere in the Deep. The Wardens tell the party this plainly. They are not threatening; they are informing.\nDM Tip The players might worry about handing over the Crown or the shards. They do not have to. The token can be anything — even a button. The Wardens care about the oath, not the object. If a player hands over something meaningful anyway, have a Warden nod with respect and say, \"Kept safe. Always.\"\nWhat the party notices first:\n- Hollow Court soldiers are here. Three Hollowborn Warriors are buying lamp oil at a stall. They see the party, stiffen, and do nothing. Under the Lantern they cannot. This is a good, tense moment; let the players stew in it.\n- Refugees from both worlds. Gnomes, a few goblins, a family of lizardfolk, a pale human woman in a hospital gown who came through a Seam from Meridian months ago and now sells hot \"soup\" (it is noodles from a Meridian vending machine she found). Her name is Nurse Tamsin Okoro; she knows nothing important but is delighted to meet anyone who has seen the sun recently.\n- The Whispers are quieter here. The violet lanterns are made with an old gnome trick that dampens Nyxaloth's voice. While inside the Lantern Ring, PCs do not make Whispers saves, and a long rest here removes one Despair as normal (see Despair).\n\nMarket Rules\nRead or paraphrase this to the players when they arrive; a Warden recites it in a bored whisper as if they have said it ten thousand times (they have).\nThe Peace of the Lantern No blood under the Lantern. No attacks, no harmful spells, no shoving anyone off a bridge. Not even a slap. No theft. What you take, you pay for. A deal is a deal. If you shake on it, you keep it. The Wardens' word is final. Argue with them later, outside the Ring. Lights stay violet. No torches, no flares, no Light spells above candle-bright inside the Market. Bright light hurts gloam-gnome eyes and \"brings the dark things.\"\nWhat counts as breaking the Peace? Any attack, any spell that deals damage or forces a saving throw on an unwilling creature, stealing (if caught), or breaking a shaken deal. Casting a harmless spell (like Mending or Detect Magic) is fine. Lighting a road flare is not violence, but it breaks Rule 5 and gets the party a stern warning and a 20-gold fine the first time.\nThe Market Wardens. There are about forty of them, and they are tough. Treat them as an unbeatable police force: the point is not to fight them, the point is to run (see Breaking the Peace).\nMarket Warden (site stats) Create this as a monster on the site if you need it. Name: Market Warden. Gloam-gnome enforcer in beetle-shell armour, carries a hooked pole and a violet lantern. AC · HP · Speed · Attack · Damage · CR\n17 · 65 · 30, climb 30 · +7 · 2d8+4 bludgeoning · 5\nSTR · DEX · CON · INT · WIS · CHA\n14 (+2) · 16 (+3) · 16 (+3) · 12 (+1) · 16 (+3) · 10 (+0)\nSpecial trait: Hook and Haul — when the Warden hits a creature with its pole, it can pull the target 10 feet toward itself, and the target is grappled (escape DC 15). Lantern Sight — the Warden always knows where anyone who gave a peace-token is, while inside the Deep.\nNotes: Multiattack (two pole attacks). Never kills; drops anyone at 0…", + "dmNotes": "Arriving at the Market\nThe Market sits inside a ring of tall iron posts, each topped with a violet lantern. This is the Lantern Ring, and everything inside it is neutral ground. At the main entrance, a pair of Market Wardens (tall, grey-skinned gnomes in long coats of beetle-shell plate, carrying hooked poles) stop the party.\nThe Wardens are polite but firm. They ask three questions, in a dry whisper:\n- \"Names?\" (Any name will do. They write it in a huge book.)\n- \"Business?\" (Any answer will do, except \"killing someone here.\")\n- \"Do you swear by the Lantern to keep the Peace?\" (They must say yes.)\nThen each PC must hand over one thing they are carrying as a \"peace-token\": a small item, a coin, a lock of hair. It is returned when they leave. If anyone breaks the Peace, the Wardens can use the token to find them anywhere in the Deep. The Wardens tell the party this plainly. They are not threatening; they are informing.\nDM Tip The players might worry about handing over the Crown or the shards. They do not have to. The token can be anything — even a button. The Wardens care about the oath, not the object. If a player hands over something meaningful anyway, have a Warden nod with respect and say, \"Kept safe. Always.\"\nWhat the party notices first:\n- Hollow Court soldiers are here. Three Hollowborn Warriors are buying lamp oil at a stall. They see the party, stiffen, and do nothing. Under the Lantern they cannot. This is a good, tense moment; let the players stew in it.\n- Refugees from both worlds. Gnomes, a few goblins, a family of lizardfolk, a pale human woman in a hospital gown who came through a Seam from Meridian months ago and now sells hot \"soup\" (it is noodles from a Meridian vending machine she found). Her name is Nurse Tamsin Okoro; she knows nothing important but is delighted to meet anyone who has seen the sun recently.\n- The Whispers are quieter here. The violet lanterns are made with an old gnome trick that dampens Nyxaloth's voice. While inside the Lantern Ring, PCs do not make Whispers saves, and a long rest here removes one Despair as normal (see Despair).\n\nMarket Rules\nRead or paraphrase this to the players when they arrive; a Warden recites it in a bored whisper as if they have said it ten thousand times (they have).\nThe Peace of the Lantern No blood under the Lantern. No attacks, no harmful spells, no shoving anyone off a bridge. Not even a slap. No theft. What you take, you pay for. A deal is a deal. If you shake on it, you keep it. The Wardens' word is final. Argue with them later, outside the Ring. Lights stay violet. No torches, no flares, no Light spells above candle-bright inside the Market. Bright light hurts gloam-gnome eyes and \"brings the dark things.\"\nWhat counts as breaking the Peace? Any attack, any spell that deals damage or forces a saving throw on an unwilling creature, stealing (if caught), or breaking a shaken deal. Casting a harmless spell (like Mending or Detect Magic) is fine. Lighting a road flare is not violence, but it breaks Rule 5 and gets the party a stern warning and a 20-gold fine the first time.\nThe Market Wardens. There are about forty of them, and they are tough. Treat them as an unbeatable police force: the point is not to fight them, the point is to run (see Breaking the Peace).\nThe “Market Warden” monster has their numbers.\n\nOn the site: the six stalls are the NPCs here, each with their own wares, all sold at level 9 and priced in gp. Tallow is also the money changer (1 gold = $100): the Market takes gold, silver and copper but not Meridian cash anywhere else. “For sale here” holds what the other stalls offer (worn gear, the Gloam-Gnome Satchel, the Lanternshield).\nNot wares: fungus oil, bandanas, candles, batteries, repairs, silver-coating, arrowheads, hope-caps, whisper-thread, blessings, Whisper’s fee and rumours — record a spend in the money log. Anything not listed costs about half again the normal price.\nBuying and changing money only work while this quest is in progress.", "monsters": [], "npcs": [ "Whisper", @@ -4243,10 +5278,42 @@ module.exports = { "Mother Moss", "Tallow", "Nemeth", - "Nurse Tamsin Okoro" + "Nurse Tamsin Okoro", + "Hasp and Clasp" ], "rewards": [], - "location": "Underkin Market" + "location": "Underkin Market", + "wares": [ + { + "item": "Gloves of Thievery", + "price": 150, + "level": 9 + }, + { + "item": "Ring of Protection", + "price": 600, + "level": 9, + "stock": 1 + }, + { + "item": "Amulet of Health", + "price": 700, + "level": 9, + "stock": 1 + }, + { + "item": "Gloam-Gnome Satchel", + "price": 500, + "level": 9, + "stock": 1 + }, + { + "item": "Lanternshield", + "price": 900, + "level": 9, + "stock": 1 + } + ] }, { "name": "Breaking the Peace", @@ -4553,13 +5620,14 @@ module.exports = { ], "sharedNotes": [ "Welcome to Hollowcrown: The Rift Between Worlds\n\nThe kingdom of Aldervane has slept safely for a thousand years beneath the Concord Crown, a relic that keeps a monster chained in the dark and keeps our world separate from another one: a world without magic, full of glass towers, roaring machines and people who carry little glowing windows in their pockets. Ten days ago, someone shattered the Crown. Now the sky is splitting open. Purple rifts called Seams tear across the land, dumping strange things from the other world into ours, and things from our nightmares into theirs. You are ordinary people in the village of Thornwick, celebrating the harvest, when the sky above the square rips like wet paper. What happens next will decide the fate of two worlds.\n\nA dark-fantasy campaign for levels 1 to 10. Think of a fantasy film that is happy to scare you but always lets the heroes win if they are brave enough.", - "How this campaign works — house rules\n\n• No XP. Everyone levels up together at story milestones.\n• Starting out: 50 gold, 3 starting items (weapons and items share that allowance) and, for casters, 3 starting spells.\n• Gear levels. Every weapon and item you hold has a level from 1 to 9, and its dice grow as that level rises. You can hold gear above your own level, but you can’t use it until you catch up.\n• Armor is one number. Tell the DM what armor and shield you wear and they set your armor bonus.\n• Things from the other world are strange here. Guns and engines are LOUD (everything within 300 feet hears them), they jam on a natural 1, ammunition is counted, and batteries run down.\n• Dark magic works, and it has a cost." + "How this campaign works — house rules\n\n• No XP. Everyone levels up together at story milestones.\n• Starting out: 50 gold, 4 starting items (weapons, armor and items share that allowance) and, for casters, 3 starting spells.\n• Gear levels. Every weapon and item you hold has a level from 1 to 9, and its dice grow as that level rises. You can hold gear above your own level, but you can’t use it until you catch up.\n• Armor is something you carry. Equip your armor and shield and the site adds them to your Armor Class. You can have 3 things equipped at once (4 from Act II), and only one of them a weapon — a pair of daggers counts as one.\n• Money. You carry gold, silver and copper (1 gp = 10 sp = 100 cp) and, in the other world, cash ($). Coins never pay a cash price, and only a few people will change one for the other.\n• Things from the other world are strange here. Guns and engines are LOUD (everything within 300 feet hears them), they jam on a natural 1, ammunition is counted, and batteries run down.\n• Dark magic works, and it has a cost." ], "dmNotes": [ "The Story in One Page (DM only)\n\nMorvain Ashgrave, once the Royal Archmage of Highmarch, made a pact with Nyxaloth, the Devourer Beneath, a colossal shadow dragon chained in the underworld. With the help of a spy, Chancellor Malvoy, Morvain stole into the royal vault and shattered the Concord Crown. Its five shards scattered across both worlds. With the Crown broken, the Veil between Aldervane and Port Meridian is tearing.\nIn Act I, the first Seam opens over Thornwick during the harvest festival. A city bus driven by Dee Okafor crashes through, chased by shadow creatures. The heroes escort the old court wizard Master Quillon to Highmarch, clear a goblin cave on the way and win a Riftstone that points toward Crown shards. They find King Aldous cursed into an endless sleep by three swamp witches who serve Morvain's lieutenant, Vessa Thorne. The heroes break the curse in the Witchfen. The king wakes, names them Wardens of the Crown and sends them after the shards.\nIn Act II, the heroes recover three shards in any order: the Shard of Dawn from the dying elven forest, where Vessa's Blight is killing the trees; the Shard of Iron from Gorrug Skullbreaker, an ogre warlord the shard has made clever and pompous; and the Shard of Tides from Dr. Julian Crane, a Port Meridian tech billionaire who is secretly Morvain's warlock. When the third shard is won, Morvain appears to the heroes as a shadow and tempts each of them.\nIn Act III, the heroes bargain with or battle the red dragon Cindermaw for the Shard of Ember, then return to find Highmarch under siege: Malvoy has opened the gates to Morvain's undead knights. They save the city (and perhaps the king), and the dwarf smith Brannoc reforges four shards into an incomplete Crown.\nIn Act IV, the heroes descend into the Hollow Deep, cross an underworld market, a river of whispering dead and a cathedral of bone, storm Morvain's Obsidian Citadel, defeat him, take the last shard and face Nyxaloth itself at the Abyssal Seal. They must reseal the dragon (and someone must stay behind as the Crown's Keeper) or slay it for good.", "Campaign at a Glance\n\nPart · Levels · Sessions · Where · The party's goal\nAct I: The Night the Sky Tore · 1 to 4 · 1 to 7 · Thornwick, the Kingsroad, Highmarch, the Witchfen · Survive the first Seam, reach the capital and break the curse on the sleeping king\nAct II: Shards of Two Worlds · 4 to 7 · 8 to 16 · the Elderwood, the Grimtooth Hills, Port Meridian · Recover three Crown Shards, in any order, from an elf queen, an ogre warlord and a tech billionaire\nAct III: Fire and Betrayal · 7 to 9 · 17 to 21 · Ashpeak, Highmarch · Win the fourth shard from a red dragon, survive the siege of the capital and reforge the Crown\nAct IV: Into the Hollow Deep · 9 to 10 · 22 to 28 · the Hollow Deep, the Obsidian Citadel · Descend into the underworld, defeat the Hollow King and reseal or slay the dragon\nEpilogue · 10 · After 28 · Both worlds · Decide what happens to the gate, the allies and the heroes\nSide Quests · 1 to 10 · Any time · Everywhere · Fourteen short detours with rewards and new allies\n\nMILESTONE LEVELLING (no XP)\nLevel reached · When\n2 · After Session 2 (the party sets out on the Kingsroad)\n3 · After Session 4 (arrival in Highmarch)\n4 · After Session 7 (end of Act I: the king wakes)\n5 · After Session 10 (first Act II shard won)\n6 · After Session 13 (second Act II shard won)\n7 · After Session 16 (end of Act II: Morvain's projection)\n8 · After Session 19 (the Siege of Highmarch is won or lost)\n9 · After Session 21 (the Reforging; end of Act III)\n10 · After Session 25 (the Bone Cathedral)", "The 28-Session Roadmap\n\nAct II’s three quests can be played in any order; swap the rows but keep the levels where they are.\n\nSession · Level · Where · What happens · Key encounters · Level up after?\n1 · 1 · Act I, Thornwick · Harvest Night: the sky tears, Dee's bus crashes into the square · Gloamlings, Rift Hounds · No\n2 · 1 · Act I, Hexed Scarecrows · Quillon arrives on Parsnip; scarecrows stalk Farmer Bodkin's fields; Last Bus Home begins; the party sets out · Hexed Scarecrows · Yes: level 2\n3 · 2 · Act I, Kingsroad · Goblin ambush, Rattlejaw Cave, Skrit and the Riftstone · Gloam-touched Goblins, Skrit · No\n4 · 2 · Act I, Highmarch · The cursed king, Rowena, Malvoy, Brannoc; the shattered vault · Social and investigation; optional street brawl · Yes: level 3\n5 · 3 · Act I, Witchfen · Into the swamp; Mother Bramblewick names her price · Fen Lanterns, Bog Lurker · No\n6 · 3 · Act I, Witchfen · Finding the Sisters' hut; traps, thornlings, crone tricks · Thornlings, one Witchfen Crone scouting · No\n7 · 3 · Act I, the Sisters' hut · The Three Sisters; destroy the Hex Doll; Vessa gloats; the king wakes; knighted Wardens · Three Witchfen Crones (Coven) · Yes: level 4\n8 · 4 · Act II, Elderwood · Thalion and Pip guide the party to Silverbough; Ilyndra's demand · Blighted wildlife, Thornlings · No\n9 · 4 · Act II, Silverbough · The Three Trials: Riddle Pool, Blighted Stag, the fauns · Blighted Stag · No\n10 · 4 · Act II, Rotheart Grove · Destroy the Blight Heart; Vessa's last stand; Shard of Dawn · Vessa Thorne, Rotwood Treant · Yes: level 5\n11 · 5 · Act II, Barrowdowns, Grimtooth · Crossing the barrows and hills; griffons; arrive at Skullcrag · Library Griffons, Wights · No\n12 · 5 · Act II, Skullcrag · The Great Gut-Clash, a heist, or open battle · Ogre Bone-Shaman, library Ogres · No\n13 · 5 · Act II, Skullcrag · Gorrug's fate; the Shard of Iron; maybe an ogre alliance · Gorrug · Yes: level 6\n14 · 6 · Act II, Port Meridian · Through the Seam with Dee; Zuri; Detective Hale; burgers and police · Tunnel Ghasts or Vantage agents · No\n15 · 6 · Act II, Vantage Tower · The heist: cameras, drones, hexers · Sentry Drones, Corporate Hexer · No\n16 · 6 · Act II, Vantage Tower basement · Dr. Crane and the Rift Engine; Shard of Tides; Morvain's projection and temptations · Dr. Crane, Rift Abomination · Yes: level 7\n17 · 7 · Act III, Ashpeak · Climbing the volcano · Cinderscale Kobolds, Ash Wraiths, Wyvern · No\n18 · 7 · Act III, Cindermaw's lair · Fight, trick or bargain with the dragon; Shard of Ember · Cindermaw · No\n19 · 7 · Act III, Highmarch · The Siege, part 1: smoke on the horizon, the gates are open, hold the walls · Hollow Knights, gloamlings, Wight captains · Yes: level 8\n20 · 8 · Act III, Highmarch castle · The Siege, part 2: save the king; unmask Malvoy in the throne room · Malvoy, Rift Abomination · No\n21 · 8 · Act III, Brannoc's forge · The Reforging; Quillon's confession; farewells · Roleplay; optional cultist raid · Yes: level 9\n22 · 9 · Act IV, Hollow Deep · Down the Sunken Stair to the Weeping Gate · Hollowborn Warriors, Hollow Cultists · No\n23 · 9 · Act IV, Underkin Market · Whisper the guide; buying information; Mushroom Court, Market of Lost Things · Mostly social · No\n24 · 9 · Act IV, River of Whispers · The ferry of the dead; voices of lost loved ones · Soul Leech Swarms · No\n25 · 9 · Act IV, Bone Cathedral · Redeem or fight the Bone Abbess · Bone Abbess, Bone Colossus · Yes: level 10\n26 · 10 · Act IV, Obsidian Citadel · Infiltration or assault · Gloam Stalkers, Hollow Knights · No\n27 · 10 · Act IV, the throne room · Morvain, the Hollow King, in two phases; the Shard of Night · Morvain · No\n28 · 10 · Act IV, the Abyssal Seal, Epilogue · Nyxaloth rises; allies arrive; reseal or slay; what comes after · Nyxaloth · Campaign ends", - "About this seeded campaign\n\nEverything in the Hollowcrown book that fits the site is already here: the weapon pool, spell list, item pool, monsters, NPCs, locations, and an encounter for every encounter box in the book plus the big talking scenes, in story order (side quests sit roughly where the book suggests running them).\n\n• The book advises adding magic weapons, later monsters and custom spells only as the story reaches them. They are all preloaded instead, so nothing needs typing mid-session. None of them is a starting option, and players only see what you give them or put in a scene.\n• Encounters are built for four players. Each one’s DM Notes hold the book’s full box: scaling for 3 and 5 players, terrain, tactics and what-ifs.\n• Rewards are lined up unawarded. “One per hero” rewards are set to a quantity of 4, and optional or either/or rewards say so in their note: remove what the party did not earn.\n• Bosses the party talks to before fighting (Skrit, Vessa, Gorrug, Crane, Malvoy, Cindermaw, the Bone Abbess, Morvain) are NPCs with combat stats. Their DM notes carry their attacks and phases.\n• Still to do by hand: set each character’s armor bonus after they are built (Appendix D), track spell slots on paper, and apply weapon special abilities yourself (see the notes below).\n• Malvoy is seeded Friendly. Flipping him to Hostile is a reveal every player sees: save it for the throne room.", + "About this seeded campaign\n\nEverything in the Hollowcrown book that fits the site is already here: the weapon pool, spell list, item pool, monsters, NPCs, locations, and an encounter for every encounter box in the book plus the big talking scenes, in story order (side quests sit roughly where the book suggests running them).\n\n• The book advises adding magic weapons, later monsters and custom spells only as the story reaches them. They are all preloaded instead, so nothing needs typing mid-session. None of them is a starting option, and players only see what you give them or put in a scene.\n• Encounters are built for four players. Each one’s DM Notes hold the book’s full box: scaling for 3 and 5 players, terrain, tactics and what-ifs.\n• Rewards are lined up unawarded. “One per hero” rewards are set to a quantity of 4, and optional or either/or rewards say so in their note: remove what the party did not earn.\n• Bosses the party talks to before fighting (Skrit, Vessa, Gorrug, Crane, Malvoy, Cindermaw, the Bone Abbess, Morvain) are NPCs with combat stats. Their DM notes carry their attacks and phases.\n• Gear effects are set. Every weapon and item carries the book’s “Effects (site)” numbers and note, so armor, shields and worn gear change the sheet by themselves once equipped. Extra AC is only for class features and Dexterity corrections (Appendix D): Unarmored Defense, the Defense fighting style, or −(DEX mod − 2) for medium armor and −DEX mod for heavy.\n• The equip limit starts at 3 things, 1 of them a weapon. Raise it to 4 in Campaign Settings at the start of Act II.\n• Shops, money changers and cash are set up: see “Money, shops and money changers” below.\n• Still to do by hand: track spell slots and charges on paper, and apply weapon special abilities yourself (see the notes below).\n• Malvoy is seeded Friendly. Flipping him to Hostile is a reveal every player sees: save it for the throne room.", + "Money, shops and money changers\n\nCoins and cash. Each character holds gold, silver and copper (1 gp = 10 sp = 100 cp; the site makes change) and cash ($), which is separate: a $ price is paid from cash only, and anything found in Port Meridian is awarded as cash.\n\nMoney changers (gold and cash only, whole multiples, during an NPC quest in progress with the NPC in the scene):\nRay, Port Meridian · 1 gold = $50 (the reference rate)\nDee Okafor · 1 gold = $40\nCaptain Silas Crook, Saltmere · 1 gold = $30\nMother Bramblewick and Tallow · 1 gold = $100 (the only way to turn leftover cash into gold in Aldervane or the Deep)\nDetective Hale does not change money. Other Aldervane folk will not take cash at all.\n\nShops are NPC quests, already in the encounter list where the story reaches them:\nShopping in Thornwick · Hattie (everyday goods), Sister Fenna (3 healing potions), Old Tobbin Ashby (weapons and armor)\nHighmarch: Brannoc’s Forge · armor, Brannoc’s Whetstone, the Gauntlets of Might from Act III\nMother Bramblewick’s Bargain · healing potions and antitoxin\nSilverbough: The Market of Leaves · Silverbough Cloaks and faun salve\nSkullcrag: The Swap-Pile · only once the ogres are friends\nPort Meridian: Ray’s Cash for Gold and the Shops · everything priced in $\nSmugglers of Saltmere: Crook’s Back Room · black-market goods\nHighmarch Market · before the descent, at level 8\nThe Old Shrine at the Weeping Gate · a Ferryman’s Coin for an offering\nUnderkin Market · six stalls, at level 9\n\nAn NPC’s wares follow them into every quest they are in; “For sale here” belongs to one encounter. A ware is sold at its level, for its price, until its stock runs out.\n\nBy hand: there is no selling and no haggling on the site. Merchants pay half price for ordinary goods and potions and full value for gems and art; record it as a gain in the money log. To haggle, Edit the ware’s price before they click Buy. Smiths’ upgrades (100 gp × the new level) are a spend, then raise the gear level on the sheet. Rooms, meals, rumours and services are spends too.", "Factions\n\nFaction · Leader · Starting attitude · Where\nKnights of the Silver Gauntlet · Dame Rowena Vance · Neutral, then Friendly · Highmarch\nThe Silverbough Court · Queen Ilyndra · Unfriendly · Silverbough\nThe Witchfen Coven · Vessa Thorne · Hostile · The Witchfen\nVantage Dynamics · Dr. Julian Crane · Hostile (pretends Neutral) · Port Meridian\nThe Hollow Court · Morvain Ashgrave · Hostile · The Hollow Deep\nThe Skullcrag Ogres · Gorrug Skullbreaker · Hostile, but can be won · The Grimtooth Hills\nThe Underkin · The Market Wardens · Neutral · The Hollow Deep\n\nKNIGHTS OF THE SILVER GAUNTLET\nGoal: Protect the king; find who broke the Crown. Leader: Dame Rowena Vance. Attitude: Neutral, then Friendly once the king wakes and names the party Wardens of the Crown. About sixty knights and two hundred men-at-arms, sworn to the Ironwarden, brave and stubborn, baffled by phones.\n- Help: Escorts, horses, rooms in Gauntlet Hall, healing from their chaplains, and twelve knights at your side in the Siege of Highmarch.\n- Hinder: They arrest anyone waving a gun in the city and distrust witches, warlocks and \"other-siders\". A PC warlock should mind their words near Rowena.\n\nTHE SILVERBOUGH COURT\nGoal: Save the Elderwood from the Blight; keep the Shard of Dawn from humans. Leader: Queen Ilyndra. Attitude: Unfriendly: \"the humans let the Crown be broken.\" Her nephew Thalion Duskleaf is the exception; he wants elves and humans to stand together again.\n- Help: After the Three Trials: the Shard of Dawn, a magic bow or blade, and Silverbough archers for the siege and the finale.\n- Hinder: No humans in the city without a guide; riddles instead of answers; the shard stays put until the party proves itself.\n\nTHE WITCHFEN COVEN\nGoal: Serve the Hollow King; spread the Blight; seize the Shard of Dawn. Leader: Vessa Thorne, the Hexmother. Attitude: Hostile. Its strongest members are the Three Sisters of the Witchfen, Old Nettle, Grey Agatha and Little Moth (Witchfen Crones), who cursed the king. Mother Bramblewick is not one of them and hates them all.\n- Hinder: Curses, hexed scarecrows, thornlings, moth and crow spies, the Blight.\n- Help: Almost never; a captured lesser witch might trade a secret for her freedom.\n\nVANTAGE DYNAMICS\nGoal: Officially \"clean energy\". Really, widen the Seams with the Rift Engine so the worlds merge. Leader: Dr. Julian Crane, secretly Morvain's warlock. Attitude: Hostile, though Crane plays friendly as long as he can. Most of its employees have no idea.\n- Hinder: Security agents, drones, cordon \"contractors\", a press office that calls the party \"dangerous cosplayers\", and money that makes police reports vanish.\n- Help: Crane's offer of \"partnership\" is a trap, but a junior scientist who sees the truth can become an inside contact in Act II.\n\nTHE HOLLOW COURT\nGoal: Wake Nyxaloth, merge the worlds, crown Morvain. Leader: Morvain Ashgrave, the Hollow King. Attitude: Hostile. Hollow Knights, Hollowborn Warriors, gloamlings, gloam stalkers and Hollow Cultists. Their sign is a crown turned upside down.\n- Hinder: Everything; they also have a spy in Highmarch (Chancellor Malvoy).\n- Help: Never as a group, but Morvain tempts individual PCs with offers (Act II, Act IV).\n\nTHE SKULLCRAG OGRES\nGoal: Whatever Gorrug says: right now \"King of All Hills\", a raid on Highmarch and a proper library. Leader: Gorrug Skullbreaker. Attitude: Hostile, not evil. About forty loud, hungry, contest-loving ogres, with hill giants and an Ogre Bone-Shaman or two.\n- Hinder: Raids, thrown rocks, the planned attack on Highmarch.\n- Help: Win the Great Gut-Clash or Gorrug's respect and they march to the siege and the finale.\n\nTHE UNDERKIN\nGoal: Stay alive, stay neutral, make a profit. Leader: None; the Market Wardens keep the peace. Attitude: Neutral. Small, grey, huge-eyed gloam-gnomes who have traded with everyone in the Deep for a thousand years.\n- Help: Guides such as Whisper, gloam lanterns, food, information, a safe place to rest.\n- Hinder: They sell information to anyone who pays, including the Hollow Court.", "Malvoy Clue Reminders\n\nChancellor Malvoy is Morvain's spy. He gave Morvain the vault key, and in Act III he will open Highmarch's gates to the Hollow Court. Act II is where you build the case against him, one small clue at a time, so that when the betrayal comes the players slap the table and say \"I KNEW it!\"\nKeep track of every clue you drop on the Malvoy Clue Tracker. Aim for one clue per quest, plus one each time the party visits Highmarch. Never more than two in one session.\nWhen · The clue · How to play it\nThe King's Council · Malvoy copies the map \"for the archive\" and asks which way they will go. His fingertips are stained black, not the blue-black of ordinary ink. · If asked, he chuckles: \"Occupational hazard. The royal ink is very old.\"\nReturning to Highmarch with any shard · Malvoy asks to hold the shard \"to record its weight and size\". He holds it a moment too long and his hand shakes. · If the party refuses, he bows politely and says \"Of course, of course.\" Rowena backs the party.\nThe Rotting Wood · In Vessa's shrine (G5) the party finds a letter: \"Our friend with the black fingers says the Wardens leave for the wood in three days.\" · The letter is unsigned. The handwriting is very neat, like a clerk's.\nThe Ogre King's Gambit · Gorrug boasts that \"a little man of letters\" wrote to warn him the Wardens would come to steal Thinker. He can't remember the name: \"Mal... Malvo... MALODOROUS!\" · If the party has the letter, its paper has the royal watermark of Highmarch.\nThe Glass Tower · Crane's files include a note: \"Our man in Highmarch confirms the Wardens have two shards. He asks again about his payment.\" · The note calls him \"the Ink Man\".\nAny visit to Brannoc · Brannoc grumbles that \"the Chancellor\" came by asking how hard it would be to melt a shard. \"Daft question. You can't melt them. I told him so.\" · Brannoc does not think it suspicious. He thinks Malvoy is just nosy.", "Side Adventures Index\n\nTitle · Region · Level · Sessions · Best time · Reward highlight\nThe Hexed Scarecrows · Thornwick · 1–2 · 1 · Act I · Bodkin's gratitude, healing potions, a free room for life\nThe Last Bus Home · Thornwick / Port Meridian · 1–9 (5 stages) · 5 × ½ · Whole campaign · Bus Keys → the Rift Runner\nThe Faun's Stolen Song · The Elderwood · 2–4 · 1 · Act I · Pip's Panpipes, faun allies\nThe Knight Who Never Came Home · The Barrowdowns · 3–5 · 1 · Late Act I / Act II · Oathkeeper\nThe Troll Under Tollbridge · The Kingsroad · 3–5 · ½–1 · Act I or II · Delivery van loot, a troll who owes you\nMother Bramblewick's Price · The Witchfen · 3–6 · 1 (spread out) · Act I into Act II · Ward Charm, a witch's favour\nGraveyard Shift · Port Meridian · 5–7 · 1 · Act II (Glass Tower) · First Aid Kits, Hale's trust\nSmugglers of Saltmere · Saltmere · 4–6 · 1 · Act II · Pistol, Magazines, proof against Malvoy\nThe Ogre Who Wanted to Cook · Grimtooth Hills · 4–6 · ½–1 · Act II (Ogre King) · Win the Gut-Clash cooking round\nThe Griffon's Egg · Grimtooth Hills · 5–7 · 1 · Act II · Griffon Whistle, a griffon ally\nSignal in the Storm · Highmarch plains · 6–8 · 1 · End Act II / Act III · Riftbreaker or a working Smartphone\nThe Mushroom Court · The Hollow Deep · 9–10 · 1 · Act IV · Safe path to the Obsidian Citadel\nMarket of Lost Things · The Hollow Deep · 9–10 · ½–1 · Act IV · A PC's lost memory; Ferryman's Coin\nThe Wyrmling Clutch · Ashpeak / The Hollow Deep · 7–9 · 1 · Act III · Fewer dragons at the finale; Hollowbane", @@ -4567,6 +5635,168 @@ module.exports = { "Magic & Legendary Weapons — special abilities (apply by hand) (1 of 2)\n\nDawnblade (starts at level 5, Powerful growth)\nSpecial ability.\n- Sunlit Edge: as a bonus action the wielder makes the blade shed bright light for 20 ft and dim light for 20 ft more, or puts it out. It glows on its own (a soft gold light, 10 ft) whenever undead are within 60 ft, which warns the party. Gloamlings in its bright light have disadvantage on attacks.\n- Dawnstrike (once per long rest): when the wielder hits, they deal an extra 2d6 radiant damage. If the target is undead, it must also make a DC 13 Wisdom save or be frightened of the wielder until the end of its next turn.\n- Versatile: like a longsword, used two-handed it rolls one rung higher than the site shows.\nWhere found. Queen Ilyndra's gift in The Rotting Wood, awarded at level 5. The party chooses the Dawnblade or the Silverbough Longbow; if they passed all three trials, they get both.\n\nSilverbough Longbow (starts at level 5, Powerful growth)\nSpecial ability.\n- Elf-sight: range 150/600 ft, and the wielder does not have disadvantage when shooting at long range.\n- Binding Arrow (once per short rest): when the wielder hits a creature, silver vines burst from the arrow and wrap it. The creature must make a DC 13 Strength save or be restrained until the end of the wielder's next turn. Blight creatures fail automatically.\n- Two-handed. No shield while shooting it.\nWhere found. Thalion's gift in The Rotting Wood, awarded at level 5 (the alternative to the Dawnblade, or both if all three trials were passed).\n\nOathkeeper (starts at level 3, Powerful growth)\nSpecial ability.\n- Oath-light: if the wielder swore Aldric's oath, the blade glows blue when undead are within 60 ft, and the wielder's hits deal an extra 1d6 radiant damage to undead.\n- Aldric's Vigil (once per long rest): as a reaction when a creature the wielder can see within 5 ft is hit by an attack, Aldric's ghostly shield appears: the target gains +4 AC against that attack, which may turn the hit into a miss.\n- The oath bites: a wielder who tries to abandon the quest for the Crown finds the sword heavy and cold (disadvantage on attacks with it until they recommit). When the Crown is reforged in The Reforging, the sword hums happily.\n- Versatile: used two-handed it rolls one rung higher than the site shows.\nWhere found. The reward for The Knight Who Never Came Home, at level 3. In The Siege of Highmarch, Aldric's ghost can rise from the blade to fight once more.\nOathkeeper starts a little behind a well-kept longsword at level 3, catches it at level 4 and races ahead from level 5. If the hero cannot afford Brannoc's prices, use Oathkeeper's Vigil and radiant bite to keep it special.\n\nThinker (starts at level 5, Powerful growth)\nSpecial ability.\n- Big Words: the wielder sometimes says long words without meaning to (\"Behold my... perspicacity!\"). Pure flavour; encourage it.\n- Debate Swing (once per short rest): when the wielder hits, the target must make a DC 13 Intelligence save or be baffled: it cannot take reactions and has disadvantage on its next attack roll, as it tries to work out what just happened. Ogres fail automatically.\n- Two-handed, heavy. No shield. Gnomes and halflings attack with disadvantage (and look magnificent).\nWhere found. Gorrug's club, won in The Ogre King's Gambit by contest, theft, persuasion or battle. Award at level 5. The Shard of Iron is a separate item; give both.\n\nHexthorn Staff (starts at level 3, Powerful growth)\nSpecial ability.\n- Thorn-Hex (once per long rest): as a bonus action, the wielder curses a creature they can see within 60 ft for 1 minute. While cursed, the creature takes an extra 1d6 necrotic damage from the wielder's attacks and spells, and has disadvantage on one kind of ability check the wielder chooses (such as Strength). It works like the Hex spell and needs concentration.\n- The price: each time Thorn-Hex is used, the thorns bite the wielder's palm (1d4 piercing damage that cannot be reduced). The first time it is used each day, the wielder must make a DC 10 Wisdom save; on a failure they hear Old Nettle's voice whispering advice that is always cruel and sometimes useful. Roleplay it.\n- Finesse: a wizard or warlock with a good DEX can swing it with DEX.\n- Versatile: used two-handed it rolls one rung higher than the site shows.\nWhere found. In the Sisters' Hut in the Witchfen in Act I, at level 3. A hero who uses the staff for a long time might be noticed by Vessa Thorne, who offers to \"teach them properly\". That is a great temptation beat. Burning the staff in Mother Bramblewick's stove is also a fine ending for it.\n\nEmberfang (starts at level 7, Legendary growth)\nSpecial ability.\n- Living flame: the blade sheds bright light for 10 ft and lights anything flammable it touches.\n- Dragon's Breath (once per long rest): as an action, the wielder roars and fire pours from the blade in a 15-ft cone. Each creature in it makes a DC 15 Dexterity save, taking 4d6 fire damage on a failure or half on a success.\n- Kin-steel: against creatures immune to fire (red dragons, fire elementals), treat its damage as slashing instead.\nWhere found. Cindermaw's hoard at Ashpeak, at level 7: a gift if the party bargains, loot if they trick or fight him. If Cindermaw is an ally, he always knows where the sword is.\n\nHollowbane (starts at level 8, Legendary growth)\nSpecial ability.\n- Brightest in the dark: in darkness, the blade sheds bright light for 30 ft. Shadow creatures cannot hide in that light.\n- Bane of the Deep: it deals an extra 1d8 radiant damage to undead, to Shadow Wyrmlings and to Nyxaloth. An undead creature it hits cannot regain hit points until the start of the wielder's next turn.\n- Versatile: used two-handed it rolls one rung higher than the site shows.\nWhere found. One Hollowbane exists. It is either the Silver Gauntlet's chapel relic, given by Dame Rowena after The Siege of Highmarch, or found in the frozen hand of Dame Elspeth Harrow in The Wyrmling Clutch. Use whichever happens first; the other source gives 300 gold and Rowena's gratitude instead. Award at level 8.\n\nRiftbreaker (starts at level 6, Powerful growth)\nSpecial ability.\n- No magazine: it never needs ammo. Range 60/180 ft.\n- Rift-bane: an extra 1d8 force damage against creatures born of the rifts and the dark: Gloamlings, Rift Hounds, the Rift Abomination, Gloam Stalkers, Shadow Wyrmlings and Nyxaloth.\n- Seam Shot (once per long rest): fired into a Seam, it can hold the Seam open or shut for 1 minute, or force a creature halfway through it back where it came from (no save). This matters in the finale and the Epilogue.\n- Loud. On a natural 1 it overloads instead of jamming: it cannot fire until the end of the wielder's next turn.\nWhere found. Forged by Brannoc from the tower's core in Signal in the Storm, at level 6. Morvain also carries a Riftbreaker of his own; it can be taken in The Obsidian Citadel. If the party already has one, give the second as a copy (the site stacks it) so another hero can carry it.\n\nBramblewick's Sickle (starts at level 4, Powerful growth)\nSpecial ability.\n- Weedcutter: it deals an extra 1d6 damage to plant and Blight creatures, and cuts through any vine, thorn wall or web in one swing.\n- Root Hook (once per short rest): on a hit, the target's speed becomes 0 until the end of its next turn as roots grab its ankles.\n- Light: good for fighting with a weapon in each hand.\n- The catch: Bramblewick wants it back one day, along with a favour. She will choose the worst possible moment to ask.\nWhere found. Bramblewick's payment for Mother Bramblewick's Price, at level 4. Perfect timing for the Blight in The Rotting Wood.\n\nSkyrend's Talon (starts at level 5, Powerful growth)\nSpecial ability.\n- Homing: thrown (range 30/120 ft), it flies back to the wielder's hand at the end of the turn.\n- Windleap (once per long rest): as a bonus action, the wielder leaps up to 30 ft in any direction, gliding down safely, without provoking opportunity attacks.\n- Friend of griffons: griffons are never hostile to the wielder unless attacked.\nWhere found. The reward for The Griffon's Egg, at level 5.\n\nCrane's Cane (starts at level 5, Powerful growth)\nSpecial ability.\n- Borrowed Step (once per long rest): as a bonus action, the wielder vanishes in a puff of black glitter and reappears up to 30 ft away in a space they can see.\n- The price: each time it is used, roll a d6. On a 1, Morvain feels it and learns roughly where the wielder is. He may send a whisper (\"Still carrying Julian's toy? How sentimental.\") or something worse.\n- Breaking it releases a pulse of dark energy (3d6 necrotic to the breaker, no save) and frees the party from Morvain's attention for good. Holding on to power with a cost, or destroying it, is a real choice. Let the players make it.\nWhere found. On Crane's body (or dropped as he flees) in The Glass Tower, at level 5.", "Magic & Legendary Weapons — special abilities (apply by hand) (2 of 2)\n\nSeamcutter (starts at level 7, Legendary growth)\nSpecial ability.\n- Cut the Veil (once per long rest): as a bonus action, the wielder slashes a tiny Seam in the air, steps through, and appears up to 60 ft away in a space they can see.\n- The price: each time Cut the Veil is used, roll a d20. On a 1, a Rift Surge bursts out (roll on the table in Rift Surges).\n- Two-handed, heavy. No shield.\nWhere found. The wreck of the Rift Abomination in the Act II finale, at level 7.\n\nGloamfang (starts at level 8, Legendary growth)\nSpecial ability.\n- Shadowsheath: in dim light or darkness, the wielder can take the Hide action as a bonus action.\n- Drink the Dark (once per short rest): on a hit, the wielder regains hit points equal to the damage dealt. After the third use without a long rest, the wielder gains one level of exhaustion, and their reflection looks faintly grey until they rest.\n- Finesse, light, thrown (20/60 ft).\nWhere found. For sale at a shadowy stall in the Underkin Market (1,200 gp, or a secret), or as the prize in Market of Lost Things. Award it at level 9 (the party's level in the Market); its starting level of 8 only matters if you drop it earlier, as loot from a Gloam Stalker.\n\nMournbell (starts at level 9, Legendary growth)\nSpecial ability.\n- Toll for the Dead (once per long rest): as an action, the wielder rings the bell. Every undead within 30 ft must make a DC 15 Wisdom save or be frightened for 1 minute (repeating the save at the end of each of its turns). Each ally within 30 ft regains 1d8 hit points.\n- Peaceful passage: undead slain by it crumble to dust and cannot rise again.\nWhere found. From the redeemed Bone Abbess in the Bone Cathedral, Act IV, at level 9. Mournbell already starts at the top level, so its Legendary growth never shows; it is a finished artifact.", "Modern Relics — weapon rules (apply by hand)\n\nThe four modern rules: LOUD (guns, the nail gun and the chainsaw wake everything within 300 feet). JAMS on a natural 1; clearing it takes an action. AMMO is the Magazine item: a pistol magazine holds 15 shots, a shotgun’s 6 shells, a nail gun’s 30 nails. STRANGE to Aldervane: folk think modern weapons are wizardry, or cursed.\n\nPistol (starts at level 3, Standard growth)\nA black semi-automatic handgun, the kind every Vantage Dynamics security agent wears on their hip. It is the most common firearm the heroes will see, and the most tempting.\n- Range: 50/150 ft. Disadvantage on the attack beyond 50 ft, or with an enemy within 5 ft.\n- Ammo: 15 shots per Magazine. Firing uses one shot per attack.\n- Loud, jams on a natural 1.\n- Where found: two pistols from the guards in The Glass Tower (give them at level 4), one from the smugglers in Smugglers of Saltmere (level 4), and on the random loot tables in Appendix G. On the black market in Meridian, 50 gp or more, and Detective Hale will be furious.\n- Damage by level: Lv 3: 2d6 · Lv 4: 1d6+1d8 · Lv 5: 2d8 · Lv 6: 1d8+1d10 · Lv 7: 2d10 · Lv 8: 1d10+1d12 · Lv 9: 2d12.\n\nShotgun (starts at level 5, Standard growth)\nA pump-action shotgun with a scuffed wooden stock. Brutal up close, useless far away.\n- Range: 30/90 ft. Beyond 30 ft, halve the damage as well as rolling with disadvantage: the pellets spread out.\n- Two-handed. No shield while firing it.\n- Ammo: 6 shells per Magazine (call it a box of shells).\n- Loud, jams on a natural 1.\n- Knockback: when it hits a Medium or smaller creature within 15 ft, the creature is pushed 5 ft away.\n- Where found: the Act III random loot table in Appendix G (give it at level 7).\n- Damage by level: Lv 5: 2d8 · Lv 6: 1d8+1d10 · Lv 7: 2d10 · Lv 8: 1d10+1d12 · Lv 9: 2d12.\n\nTaser (starts at level 2, Standard growth)\nA yellow plastic stun gun that fires two barbed darts on crackling wires. It is not meant to kill, and its damage is low, but it stops a charging enemy in its tracks.\n- Range: 15 ft only. It cannot fire further.\n- Stun: a creature hit must make a DC 12 Constitution saving throw. On a failure, its speed drops to 0 and it cannot take reactions until the start of the wielder's next turn. Constructs and undead are immune (no nerves to scramble), and so is anything Huge or bigger.\n- Charges: 3 shots, then it is dead until recharged like a phone (in Meridian, beside a Seam, or with Static Surge). Track the charges on paper, not as magazines.\n- Jams on a natural 1. It is not loud: just a sharp crackle.\n- Where found: three tasers from the guards in The Glass Tower (give them at level 4), and on the random loot tables.\n- Damage by level: Lv 2: 1d6 · Lv 3: 1d8 · Lv 4: 1d10 · Lv 5: 1d12 · Lv 6: 2d6 · Lv 7: 1d6+1d8 · Lv 8: 2d8 · Lv 9: 1d8+1d10.\n\nBaseball Bat (starts at level 1, Standard growth)\nAn aluminium bat with tape on the handle. A hero from Aldervane thinks it is a very well-made club. A hero from Meridian knows exactly what to do with it.\n- Properties: none, really. It is a club that rings like a bell.\n- Clang: on a critical hit, the hollow CLANG echoes. Any creature within 10 ft of the target (other than the wielder) must make a DC 10 Wisdom save or be frightened until the end of its next turn. Goblins hate it.\n- Where found: Fixit Hardware in Port Meridian (about 1 gp), the Act I loot tables in Appendix G (one has \"SLUGGER\" written on it in marker).\n- Damage by level: Lv 1: 1d6 · Lv 2: 1d8 · Lv 3: 1d10 · Lv 4: 1d12 · Lv 5: 2d6 · Lv 6: 1d6+1d8 · Lv 7: 2d8 · Lv 8: 1d8+1d10 · Lv 9: 2d10.\n\nCrowbar (starts at level 1, Standard growth)\nA heavy steel crowbar, hooked at one end and flat at the other. Half weapon, half key.\n- Pry: a hero holding a crowbar has advantage on Strength checks to force open doors, chests, crates, grates and coffins.\n- Where found: the delivery van in The Troll Under Tollbridge, Fixit Hardware in Port Meridian (about 1 gp), and the random loot tables.\n- Damage by level: Lv 1: 1d6 · Lv 2: 1d8 · Lv 3: 1d10 · Lv 4: 1d12 · Lv 5: 2d6 · Lv 6: 1d6+1d8 · Lv 7: 2d8 · Lv 8: 1d8+1d10 · Lv 9: 2d10.\n\nFire Axe (starts at level 1, Standard growth)\nA red emergency axe with a pick on the back and \"IN CASE OF EMERGENCY\" painted on the handle. The first fire axe in the campaign came off Dee's bus.\n- Two-handed. No shield while swinging it.\n- Breaker: a fire axe deals double damage to wooden doors, barricades and objects (and to the Hexed Scarecrows, which the players will love).\n- Where found: from the goblins in Rattlejaw Cave in Act I (level 1); Fixit Hardware in Port Meridian (about 2 gp); the random loot tables.\n- Damage by level: Lv 1: 1d10 · Lv 2: 1d12 · Lv 3: 2d6 · Lv 4: 1d6+1d8 · Lv 5: 2d8 · Lv 6: 1d8+1d10 · Lv 7: 2d10 · Lv 8: 1d10+1d12 · Lv 9: 2d12.\n\nFlare Gun (starts at level 2, Standard growth)\nA fat orange pistol from a boat's emergency kit. It shoots a blazing flare that turns night into a red, flickering day.\n- Range: 40/120 ft. Loading: one shot, then it must be reloaded (an action).\n- Burning: a creature hit catches fire and takes 1d4 fire damage at the start of each of its turns until it (or someone next to it) uses an action to put the flames out. Creatures immune to fire ignore this.\n- Signal: fired into the sky, the flare lights a 60-ft radius with bright light for 1 minute, and can be seen for miles. Gloamlings in that light have disadvantage. It also tells every enemy for miles where you are.\n- Ammo: flares, tracked with the Magazine item (one magazine = one flare). It usually comes with 2.\n- Jams on a natural 1 (the flare fizzles in the barrel). Not loud: a pop and a hiss.\n- Where found: the Act II random loot table (level 4); a fishing boat in Saltmere; a Seam-wrecked lifeboat in Smugglers of Saltmere.\n- Damage by level: Lv 2: 1d8 · Lv 3: 1d10 · Lv 4: 1d12 · Lv 5: 2d6 · Lv 6: 1d6+1d8 · Lv 7: 2d8 · Lv 8: 1d8+1d10 · Lv 9: 2d10.\n\nNail Gun (starts at level 2, Standard growth)\nA battery-powered builder's nail gun. Not designed as a weapon. Very effective as one.\n- Range: 20/60 ft.\n- Rapid fire: once per turn, when the wielder hits with it, they can fire a second nail at the same target as a bonus action (roll another attack). This uses 2 nails.\n- Pin: on a critical hit against a creature standing next to a wall or wooden floor, the creature's clothes or wings are nailed down: its speed is 0 until it uses an action to tear free.\n- Ammo: 30 nails per Magazine (a strip of nails). The battery has 6 charges like a phone; each fight uses one.\n- Loud, jams on a natural 1.\n- Where found: Fixit Hardware in Port Meridian (about 3 gp with a box of nails), the Act II random loot table (level 4).\n- Damage by level: Lv 2: 1d6 · Lv 3: 1d8 · Lv 4: 1d10 · Lv 5: 1d12 · Lv 6: 2d6 · Lv 7: 1d6+1d8 · Lv 8: 2d8 · Lv 9: 1d8+1d10.\n\nChainsaw (starts at level 5, Standard growth)\nA petrol chainsaw with a cracked orange casing. It is heavy, terrifying and absolutely not subtle. Every Meridian horror movie the players have ever seen is about to come true, on their side for once.\n- Two-handed, heavy. No shield. Gnomes and halflings attack with disadvantage.\n- Starting it: an action to pull the cord, or a bonus action on a roll of 11+ on a d20. Once running, it runs until the fuel runs out or it stalls.\n- Fuel: a full tank is 10 rounds of running. Track rounds on paper. It usually turns up with half a tank (5 rounds). A refill of petrol can be bought in Meridian for almost nothing.\n- Timber! It deals an extra 1d10 damage to plant creatures and Blight creatures: Thornlings, the Rotwood Treant, the Blighted Stag and Vessa's Blight-grown horrors. Elves will be appalled to see it used on trees.\n- Loud (very), stalls on a natural 1 (an action to restart).\n- Terrifying: the first time it roars in a fight, enemies with an Intelligence of 7 or lower (beasts, goblins, ogres) must make a DC 12 Wisdom save or be frightened of the wielder until the end of their next turn.\n- Where found: Fixit Hardware in Port Meridian (about 6 gp), the Act III random loot table in Appendix G (level 7).\n- Damage by level: Lv 5: 2d10 · Lv 6: 1d10+1d12 · Lv 7: 2d12 · Lv 8: 3d8 · Lv 9: 2d8+1d10.\nGORE DIAL — read ONE version", - "Item rules (what the item cards don’t say)\n\nHealing Potion: Regain 2d4+2 HP (more if given at a higher level). Also called a Potion of Healing in the acts. Price: 50 gp in Thornwick and Highmarch, 40 gp as faun salve, 60 gp in the Underkin Market, 75 gp from Mother Bramblewick. Found: Rattlejaw Cave and Highmarch (Act I), the Elderwood and Skullcrag (act2-rotting-wood, act2-ogre-king), the siege, sq-01, sq-02, sq-03.\n\nGreater Healing Potion: Regain 4d4+4 HP at level 7; more when given at level 9 in Act IV. Price: 150 gp in Highmarch (rare, only 4 for sale), 180 gp in the Underkin Market. Found: Ashpeak and the siege (act3-ashpeak, act3-siege), the Weeping Gate and the Citadel (ch-act4, act4-citadel), sq-14.\n\nHoly Water: Action: throw at a creature within 20 ft (ranged attack, DEX + proficiency) or splash one next to you. An undead or fiend takes 2d6 radiant; anything else is just wet. Poured into the dry font of the Bone Cathedral, it fills it with clean water. Price: 25 gp at the Ferryman's Tower in Highmarch and in the Underkin Market. Found: Quillon's gift (Act I), Vessa's shrine, the chapel in the siege.\n\nAlchemist's Fire: Action: throw at a creature within 20 ft (ranged attack). On a hit it takes the dice shown in fire damage at the start of each of its turns until someone uses an action and makes a DC 10 DEX check to put it out. Deadly to Hexed Scarecrows and the Rotwood Treant. Price: 50 gp. Found: Cinderscale kobold fire-pots.\n\nAntitoxin: Action to drink. Advantage on saves against poison for 1 hour. In the Witchfen it cures fen fever outright. Price: 50 gp in Highmarch, 30 gp from Bramblewick, 60 gp in the Underkin Market. Found: one per PC from Mother Bramblewick (Act I).\n\nBramble-Broth: Action: regain the dice shown and end one curse or the poisoned condition. Found: one of Bramblewick's Boons. Not for sale. \"I don't sell soup.\"\n\nPotion of Fire Resistance: Resistance to fire (half damage) for 1 hour. The best purchase before Ashpeak. Price: 150 gp from Quillon or Highmarch's apothecaries, from Act II onward. Found: the treasure tables.\n\nWyvern Poison: One dose per hit, wasted after 1 minute if unused. Found: 3 doses from the wyvern of Ashpeak with a DC 13 Medicine check.\n\nSpell Scroll: Add one pool entry per spell (\"Spell Scroll: Cure Wounds\") and set Starts at level to the character level needed for that spell under the Unlock Schedule (1st: 1, 2nd: 3, 3rd: 5). A non-caster can't use it. The scroll crumbles after one use. Price: 50 gp (1st), 150 gp (2nd), 300 gp (3rd), only from Quillon. Found: treasure tables.\n\nFlashlight: Gloamlings and other light-hating creatures in the beam have disadvantage on attacks. Recharge in Meridian, an hour within 30 ft of a Seam (1 charge), or Static Surge. The flashlight from sq-08 is a heavy-duty one with 10 charges. Found: Dee's bus kit (Act I), sq-05, the siege, the Gloam Line.\n\nSmartphone: Each scene of use spends a charge. The camera flash startles beasts and blinds a gloamling for 1 round (once per scene). Higher-level phones in the acts (Zuri's at 5, Rob's at 6) are simply sturdier and better charged. Found: Tyler's phone, battery dead (Act I); Zuri's and the Hexers' (act2-glass-tower, sq-02); Rob's phone that can call Meridian; Gus's in the Citadel.\n\nMagazine: Swapping magazines is free. There is no ammunition in Aldervane except what fell through. Found: Vantage Tower, the smugglers, the Underkin Market's Vantage box.\n\nRoad Flare: Bright light 30 ft, dim 30 ft more; seen for a mile in the Hollow Deep. Jammed into a creature (melee attack): the dice in fire damage. Lights a fuse or burns the Hex Doll. Price: 25 gp black-market (Act II), 20 gp in the Underkin Market. Found: Dee's bus kit and Lenny (Act I), act2-finale, the siege, the Gloam Line, sq-05, sq-08.\n\nFirst Aid Kit: Each kit is one use; lower the quantity. A creature can be patched once per short rest. Kits given at level 5 (the hospital's, sq-07) roll bigger dice. Price: $40 in Meridian (under 1 gp). Found: Priya's gift (Act I), Vantage Tower, act2-finale.\n\nEnergy Drink: Gain the dice in temporary HP and advantage on your next save against sleep or exhaustion within the hour. A second can within an hour: DC 10 CON save or jittery (poisoned) for 10 minutes. Price: $3 in Meridian; 25 gp black-market; 15 gp in the Underkin Market. Found: Vantage Tower, the Gloam Line vending machine, sq-05, sq-08.\n\nSmoke Grenade: Heavily obscured area; strong wind clears it in 1 round. Perfect for escaping the Citadel. Price: 75 gp in the Underkin Market (two in stock).\n\nBus Keys: At level 1 they just jingle. After sq-02 Stage 2, raise them to level 3 and the headlight power works. At Stage 4, remove them and give the Rift Runner.\n\nRift Runner: Opens its own Seam once per long rest, starting within 1 mile of a Seam. Speed 60 ft per round, 30 mph on roads, carries the party and 20 more. Headlight Glare as the keys, DC 14. AC 15, 120 HP; Brannoc repairs 10 HP per 10 gp. Ramming: each creature in its path takes 2d6 bludgeoning. Dee drives; a PC can (DC 12 DEX each round). Found: sq-02 Stage 4. Arrives at act3-siege and the finale.\n\nRiftstone: Warns of any Seam opening within 1 mile. Its pull spins confused until the king wakes, then points true. In Act IV it points down at the Shard of Night. Use it whenever the party is lost. Found: Skrit, Rattlejaw Cave (Act I).\n\nShard of Dawn: Its light is real daylight: gloamlings in it have disadvantage, and in the Deep it gives advantage on Whispers saves. Found: Queen Ilyndra, after Vessa falls.\n\nShard of Iron: Reaction-free; declare it after damage is rolled. Keep it at level 4 (2d6). Found: Gorrug's club Thinker.\n\nShard of Ember: Also protects from killing cold. Found: Cindermaw's hoard.\n\nShard of Night: Roleplay the whispers: it promises what the PC wants most. It sees through Shadow Veil. Once it touches the Crown, it snaps into place. Found: Morvain's staff; if Malvoy fled with a shard, he carries it in the Deep.\n\nHex Doll: Only if the party keeps it intact (most burn it). It warns of curses and hexes nearby: a fine early warning of Vessa's moths. Bramblewick offers 100 gp for it. Found: the Sisters' hut (Act I).\n\nHeartroot: The crones' root (level 3) is tainted: anyone healed by it hears Vessa laugh, until she dies. The Elderwood's gift (level 4) is clean. Found: the Sisters' hut (Act I); the Blighted Stag trial.\n\nWardens' Badge: Advantage on Persuasion with Aldervane officials, soldiers and innkeepers; free lodging at royal posts. In the Epilogue it becomes the badge of the Wardens of the Veil: raise it to level 9 as an honour. Found: the knighting (Act I).\n\nFerryman's Coin: One coin per PC per crossing; the Ferryman takes nothing else. Placed on a corpse's eyes, it stops that body being raised as undead. Found: the Old Shrine at the Weeping Gate, the leech swarms, the Bone Abbess, sq-13.\n\nSliver of Black Flame: In the Citadel, its holder has advantage on attacks against Morvain while he is invisible. Found: the ashes of the black heart in the Hollow Deep.\n\nPip's Panpipes: Anyone can play them; bards get advantage on Performance while using them. Found: sq-03.\n\nWard Charm: Declare after the hit is announced, before damage. Price: 200 gp (Ferryman's Tower), 250 gp (Underkin Market). Found: Skullcrag's hoard, the wyvern's nest at level 6, a gloam stalker's cloak at level 9. Bramblewick's charm: the pool entry starts at 5, so if the party finishes sq-06 below level 5, add a second entry, \"Bramblewick's Ward Charm\", identical but starting at level 3.\n\nGloam Lantern: No wandering-monster roll for its light in the Deep. Price: 30 gp (Underkin Market), 100 gp from Quillon in Highmarch (free if asked nicely) (act3-reforging, act4-underkin).\n\nGriffon Whistle: Use the library Griffon. Useless underground or in Meridian. Found: sq-10; used in the siege.\n\nShield Ward: Add +2 to the sheet's armor bonus while it is worn (not with a normal shield); the hand stays free for a spell focus or torch. Price: 400 gp (Underkin Market). Found: Cindermaw's hoard.\n\nVessa's Moth Locket: Morvain and anyone under Nondetection show only darkness. Found: treasure tables, Rotheart Grove.\n\nHollow Knight's Helm: A temptation item: very useful, quietly corrupting. Found: a fallen Hollow Knight after the siege." + "Item rules (what the item cards don’t say)\n\nHealing Potion: Regain 2d4+2 HP (more if given at a higher level). Also called a Potion of Healing in the acts. Price: 50 gp in Thornwick and Highmarch, 40 gp as faun salve, 60 gp in the Underkin Market, 75 gp from Mother Bramblewick. Found: Rattlejaw Cave and Highmarch (Act I), the Elderwood and Skullcrag (act2-rotting-wood, act2-ogre-king), the siege, sq-01, sq-02, sq-03.\n\nGreater Healing Potion: Regain 4d4+4 HP at level 7; more when given at level 9 in Act IV. Price: 150 gp in Highmarch (rare, only 4 for sale), 180 gp in the Underkin Market. Found: Ashpeak and the siege (act3-ashpeak, act3-siege), the Weeping Gate and the Citadel (ch-act4, act4-citadel), sq-14.\n\nHoly Water: Action: throw at a creature within 20 ft (ranged attack, DEX + proficiency) or splash one next to you. An undead or fiend takes 2d6 radiant; anything else is just wet. Poured into the dry font of the Bone Cathedral, it fills it with clean water. Price: 25 gp at the Ferryman's Tower in Highmarch and in the Underkin Market. Found: Quillon's gift (Act I), Vessa's shrine, the chapel in the siege.\n\nAlchemist's Fire: Action: throw at a creature within 20 ft (ranged attack). On a hit it takes the dice shown in fire damage at the start of each of its turns until someone uses an action and makes a DC 10 DEX check to put it out. Deadly to Hexed Scarecrows and the Rotwood Treant. Price: 50 gp. Found: Cinderscale kobold fire-pots.\n\nAntitoxin: Action to drink. Advantage on saves against poison for 1 hour. In the Witchfen it cures fen fever outright. Price: 50 gp in Highmarch, 30 gp from Bramblewick, 60 gp in the Underkin Market. Found: one per PC from Mother Bramblewick (Act I).\n\nBramble-Broth: Action: regain the dice shown and end one curse or the poisoned condition. Found: one of Bramblewick's Boons. Not for sale. \"I don't sell soup.\"\n\nPotion of Fire Resistance: Resistance to fire (half damage) for 1 hour. The best purchase before Ashpeak. Price: 150 gp from Quillon or Highmarch's apothecaries, from Act II onward. Found: the treasure tables.\n\nWyvern Poison: One dose per hit, wasted after 1 minute if unused. Found: 3 doses from the wyvern of Ashpeak with a DC 13 Medicine check.\n\nSpell Scroll: Add one pool entry per spell (\"Spell Scroll: Cure Wounds\") and set Starts at level to the character level needed for that spell under the Unlock Schedule (1st: 1, 2nd: 3, 3rd: 5). A non-caster can't use it. The scroll crumbles after one use. Price: 50 gp (1st), 150 gp (2nd), 300 gp (3rd), only from Quillon. Found: treasure tables.\n\nFlashlight: Gloamlings and other light-hating creatures in the beam have disadvantage on attacks. Recharge in Meridian, an hour within 30 ft of a Seam (1 charge), or Static Surge. The flashlight from sq-08 is a heavy-duty one with 10 charges. Found: Dee's bus kit (Act I), sq-05, the siege, the Gloam Line.\n\nSmartphone: Each scene of use spends a charge. The camera flash startles beasts and blinds a gloamling for 1 round (once per scene). Higher-level phones in the acts (Zuri's at 5, Rob's at 6) are simply sturdier and better charged. Found: Tyler's phone, battery dead (Act I); Zuri's and the Hexers' (act2-glass-tower, sq-02); Rob's phone that can call Meridian; Gus's in the Citadel.\n\nMagazine: Swapping magazines is free. There is no ammunition in Aldervane except what fell through. Found: Vantage Tower, the smugglers, the Underkin Market's Vantage box.\n\nRoad Flare: Bright light 30 ft, dim 30 ft more; seen for a mile in the Hollow Deep. Jammed into a creature (melee attack): the dice in fire damage. Lights a fuse or burns the Hex Doll. Price: 25 gp black-market (Act II), 20 gp in the Underkin Market. Found: Dee's bus kit and Lenny (Act I), act2-finale, the siege, the Gloam Line, sq-05, sq-08.\n\nFirst Aid Kit: Each kit is one use; lower the quantity. A creature can be patched once per short rest. Kits given at level 5 (the hospital's, sq-07) roll bigger dice. Price: $40 in Meridian (under 1 gp). Found: Priya's gift (Act I), Vantage Tower, act2-finale.\n\nEnergy Drink: Gain the dice in temporary HP and advantage on your next save against sleep or exhaustion within the hour. A second can within an hour: DC 10 CON save or jittery (poisoned) for 10 minutes. Price: $3 in Meridian; 25 gp black-market; 15 gp in the Underkin Market. Found: Vantage Tower, the Gloam Line vending machine, sq-05, sq-08.\n\nSmoke Grenade: Heavily obscured area; strong wind clears it in 1 round. Perfect for escaping the Citadel. Price: 75 gp in the Underkin Market (two in stock).\n\nBus Keys: At level 1 they just jingle. After sq-02 Stage 2, raise them to level 3 and the headlight power works. At Stage 4, remove them and give the Rift Runner.\n\nRift Runner: Opens its own Seam once per long rest, starting within 1 mile of a Seam. Speed 60 ft per round, 30 mph on roads, carries the party and 20 more. Headlight Glare as the keys, DC 14. AC 15, 120 HP; Brannoc repairs 10 HP per 10 gp. Ramming: each creature in its path takes 2d6 bludgeoning. Dee drives; a PC can (DC 12 DEX each round). Found: sq-02 Stage 4. Arrives at act3-siege and the finale.\n\nRiftstone: Warns of any Seam opening within 1 mile. Its pull spins confused until the king wakes, then points true. In Act IV it points down at the Shard of Night. Use it whenever the party is lost. Found: Skrit, Rattlejaw Cave (Act I).\n\nShard of Dawn: Its light is real daylight: gloamlings in it have disadvantage, and in the Deep it gives advantage on Whispers saves. Found: Queen Ilyndra, after Vessa falls.\n\nShard of Iron: Reaction-free; declare it after damage is rolled. Keep it at level 4 (2d6). Found: Gorrug's club Thinker.\n\nShard of Ember: Also protects from killing cold. Found: Cindermaw's hoard.\n\nShard of Night: Roleplay the whispers: it promises what the PC wants most. It sees through Shadow Veil. Once it touches the Crown, it snaps into place. Found: Morvain's staff; if Malvoy fled with a shard, he carries it in the Deep.\n\nHex Doll: Only if the party keeps it intact (most burn it). It warns of curses and hexes nearby: a fine early warning of Vessa's moths. Bramblewick offers 100 gp for it. Found: the Sisters' hut (Act I).\n\nHeartroot: The crones' root (level 3) is tainted: anyone healed by it hears Vessa laugh, until she dies. The Elderwood's gift (level 4) is clean. Found: the Sisters' hut (Act I); the Blighted Stag trial.\n\nWardens' Badge: Advantage on Persuasion with Aldervane officials, soldiers and innkeepers; free lodging at royal posts. In the Epilogue it becomes the badge of the Wardens of the Veil: raise it to level 9 as an honour. Found: the knighting (Act I).\n\nFerryman's Coin: One coin per PC per crossing; the Ferryman takes nothing else. Placed on a corpse's eyes, it stops that body being raised as undead. Found: the Old Shrine at the Weeping Gate, the leech swarms, the Bone Abbess, sq-13.\n\nSliver of Black Flame: In the Citadel, its holder has advantage on attacks against Morvain while he is invisible. Found: the ashes of the black heart in the Hollow Deep.\n\nPip's Panpipes: Anyone can play them; bards get advantage on Performance while using them. Found: sq-03.\n\nWard Charm: Declare after the hit is announced, before damage. Price: 200 gp (Ferryman's Tower), 250 gp (Underkin Market). Found: Skullcrag's hoard, the wyvern's nest at level 6, a gloam stalker's cloak at level 9. Bramblewick's charm: the pool entry starts at 5, so if the party finishes sq-06 below level 5, add a second entry, \"Bramblewick's Ward Charm\", identical but starting at level 3.\n\nGloam Lantern: No wandering-monster roll for its light in the Deep. Price: 30 gp (Underkin Market), 100 gp from Quillon in Highmarch (free if asked nicely) (act3-reforging, act4-underkin).\n\nGriffon Whistle: Use the library Griffon. Useless underground or in Meridian. Found: sq-10; used in the siege.\n\nShield Ward: +2 AC while equipped, set as its effect (not with a Shield or Tower Shield); the hand stays free. Once per long rest, as a reaction when hit, +5 AC against that attack. Uses one equip slot. Price: 400 gp (Underkin Market). Found: Cindermaw's hoard.\n\nVessa's Moth Locket: Morvain and anyone under Nondetection show only darkness. Found: treasure tables, Rotheart Grove.\n\nHollow Knight's Helm: A temptation item: very useful, quietly corrupting. Found: a fallen Hollow Knight after the siege.", + "Armor and AC on the site\n\nAC is 10 + Dexterity modifier + whatever equipped gear gives + the DM’s Extra AC. Armor is a flat bonus (its standard AC less 10), so medium and heavy armor need a correction in Extra AC for a nimble hero:\nLight (Padded +1, Leather +1, Studded Leather +2, Motorcycle Leathers +2) · none\nMedium (Hide +2, Chain Shirt +3, Kevlar Vest +3, Scale Mail +4, Breastplate +4, Half Plate +5, Cinderscale Armor +5) · −(DEX mod − 2) if the DEX mod is above +2\nHeavy (Ring Mail +4, Chain Mail +6, Splint +7, Riot Gear +7, Plate +8, Gauntlet Plate +9) · −DEX mod\nSilverleaf Mail (+4) has no DEX cap: no correction. Shields: Shield +2, Riot Shield +2 (+2 more against ranged, in the player’s head), Tower Shield +3, Lanternshield +3; the Shield Ward (+2) takes the place of a shield.\n\nExtra AC is also where class features go: barbarian Unarmored Defense (CON mod, no armor), monk Unarmored Defense (WIS mod, no armor or shield), Draconic Resilience (+3, no armor), the Defense fighting style (+1 in armor), the Toughened boon (+1). Never set it for the Shield spell.\n\nMage Armor: give each caster who knows it the “Mage Armor (spell)” item (+3 AC). They equip it when they cast the spell and unequip it when it ends; it takes an equip slot.\n\nStarting armor is free: a hero who did not pick any is given one that fits their class (leather for rogues and bards, chain mail for fighters and paladins, a chain shirt or hide for clerics, druids and rangers).\n\nMagic armor comes from the story: Silverleaf Mail (level 5) from the Silverbough Court for heroes who earn the queen’s trust; Cinderscale Armor (level 7) in Cindermaw’s hoard or bargain; Gauntlet Plate (level 8) from Dame Rowena after the siege, to a hero who fought on the walls; the Lanternshield (level 9) in the Underkin Market for 900 gp. A Kevlar Vest comes off a Vantage guard; Riot Gear from the police or the Vantage armoury.\n\nWorn gear from the library (one per hero per act at most; never both protection items to one hero before Act III): Sentinel Charm and Gloves of Thievery from level 3, Boots of Striding and Cloak of Elvenkind 4, Ring of Protection 5, Gauntlets of Might and Stone of Good Luck 6, Cloak of Protection and Amulet of Health 7, Headband of Intellect 8." + ], + "libraryItems": [ + { + "library": "padded-armor", + "isStartingOption": true + }, + { + "library": "leather-armor", + "isStartingOption": true + }, + { + "library": "studded-leather", + "isStartingOption": true + }, + { + "library": "hide-armor", + "isStartingOption": true + }, + { + "library": "chain-shirt", + "isStartingOption": true + }, + { + "library": "scale-mail", + "isStartingOption": true + }, + { + "library": "ring-mail", + "isStartingOption": true + }, + { + "library": "chain-mail", + "isStartingOption": true + }, + { + "library": "shield", + "isStartingOption": true + }, + { + "library": "healing-potion", + "isStartingOption": true, + "description": "A red potion that glimmers when shaken. Drink it (action) to regain hit points equal to the dice shown." + }, + { + "library": "rope", + "isStartingOption": true, + "description": "50 feet of strong rope. DC 17 Strength to snap." + }, + { + "library": "torch", + "isStartingOption": true, + "description": "Bright light 20 ft and dim 20 ft more for 1 hour. Burns blue and half as long in the Hollow Deep." + }, + { + "library": "lantern", + "isStartingOption": true, + "description": "Bright light 30 ft, dim 30 ft more, 6 hours per flask of oil. Can be shuttered to dim." + }, + { + "library": "rations", + "isStartingOption": true, + "description": "Dry bread, cheese and hard sausage. One day of food." + }, + { + "library": "bedroll", + "isStartingOption": true, + "description": "A rolled blanket and pad. Sleeping on the ground without one is a miserable night." + }, + { + "library": "thieves-tools", + "isStartingOption": true, + "description": "Picks and files. Needed to pick locks and disarm traps." + }, + { + "library": "healers-kit", + "isStartingOption": true, + "description": "10 uses. Use one (action) to stabilise a creature at 0 HP without a Medicine check." + }, + { + "library": "breastplate" + }, + { + "library": "half-plate" + }, + { + "library": "splint-armor" + }, + { + "library": "plate-armor" + }, + { + "library": "tower-shield" + }, + { + "library": "sentinel-charm", + "minLevel": 3 + }, + { + "library": "gloves-of-thievery", + "minLevel": 3 + }, + { + "library": "boots-of-striding", + "minLevel": 4 + }, + { + "library": "cloak-of-elvenkind", + "minLevel": 4 + }, + { + "library": "ring-of-protection", + "minLevel": 5 + }, + { + "library": "gauntlets-of-might", + "minLevel": 6 + }, + { + "library": "stone-of-good-luck", + "minLevel": 6 + }, + { + "library": "cloak-of-protection", + "minLevel": 7 + }, + { + "library": "amulet-of-health", + "minLevel": 7 + }, + { + "library": "headband-of-intellect", + "minLevel": 8 + } ] }; + +const { SPELL_LIBRARY } = require('../src/game/data/library'); + +const startingSpells = new Set(book.startingSpells); + +module.exports = { + code: 'HOLLOW', + campaign: book.campaign, + locations: book.locations, + // The book's starting picks come from the site library; its modern relics + // and magic weapons are never starting options. + weapons: [...book.libraryWeapons.map((library) => ({ library, isStartingOption: true })), ...book.weapons], + // Armor, shields, worn gear and everyday supplies are copies from the site + // library; everything else is the book’s own. + items: [...book.libraryItems, ...book.items], + // The whole spell library goes in, so a spell is there to hand out the + // moment a character unlocks it; only the book's Session 0 list is offered + // in the builder. + spells: [ + ...SPELL_LIBRARY.map(({ key }) => ({ library: key, isStartingOption: startingSpells.has(key) })), + ...book.spells, + ], + monsters: [...book.libraryMonsters, ...book.monsters], + npcs: book.npcs, + encounters: book.encounters, + sharedNotes: book.sharedNotes, + dmNotes: book.dmNotes, +}; diff --git a/backend/src/db.js b/backend/src/db.js index 0dbc802..515f0d8 100644 --- a/backend/src/db.js +++ b/backend/src/db.js @@ -1,5 +1,10 @@ +// Prisma no longer reads .env itself, and this is the first thing to need it. +require('dotenv').config({ quiet: true }); const { PrismaClient } = require('@prisma/client'); +const { PrismaPg } = require('@prisma/adapter-pg'); -const prisma = new PrismaClient(); +const prisma = new PrismaClient({ + adapter: new PrismaPg({ connectionString: process.env.DATABASE_URL }), +}); module.exports = prisma; diff --git a/backend/src/index.js b/backend/src/index.js index 7b00758..4ce244e 100644 --- a/backend/src/index.js +++ b/backend/src/index.js @@ -1,4 +1,4 @@ -require('dotenv').config(); +require('dotenv').config({ quiet: true }); const http = require('http'); const { Server } = require('socket.io'); const { createApp } = require('./app'); diff --git a/backend/src/routes/api.integration.test.js b/backend/src/routes/api.integration.test.js index a2f83a4..68c000e 100644 --- a/backend/src/routes/api.integration.test.js +++ b/backend/src/routes/api.integration.test.js @@ -2720,3 +2720,89 @@ describe('equipping', () => { expect((await wear('weapons', sword.id, true)).status).toBe(400); }); }); + +describe('a campaign from a world seed', () => { + async function registerDm() { + const res = await request(app).post('/auth/register').send({ email: uniqueEmail('seed-dm'), password: 'password123', displayName: 'Seed DM' }); + cleanupUserIds.push(res.body.user.id); + return { Authorization: `Bearer ${res.body.token}` }; + } + const fromSeed = (auth, code) => request(app).post('/campaigns/from-seed').set(auth).send({ code }); + + itIfDb('builds the whole world for whoever enters its code, as its DM', async () => { + const auth = await registerDm(); + const res = await fromSeed(auth, ' aldenf '); + expect(res.status).toBe(201); + const campaign = res.body.campaign; + cleanupCampaignIds.push(campaign.id); + expect(campaign).toMatchObject({ name: 'Aldenfell', role: 'DM', startingGold: 15 }); + expect(campaign.inviteCode).toMatch(/^[A-Z0-9]{6}$/); + + const get = async (path) => (await request(app).get(`/campaigns/${campaign.id}/${path}`).set(auth)).body; + const { weapons } = await get('weapons'); + const { items } = await get('items'); + const { npcs } = await get('npcs'); + const { encounters } = await get('encounters'); + expect((await get('locations')).locations.length).toBeGreaterThan(10); + expect((await get('monsters')).monsters.length).toBeGreaterThan(10); + expect((await get('notes')).notes.length).toBeGreaterThan(10); + + // Library copies and the seed's own rows, with what the seed set on them. + expect(weapons.find((w) => w.name === 'Longsword')).toMatchObject({ isStartingOption: true }); + expect(weapons.find((w) => w.name === 'Hollowbane')).toMatchObject({ isStartingOption: false, minLevel: 7 }); + expect(items.find((i) => i.name === 'Shield').effects).toEqual([{ stat: 'AC', amount: 2 }]); + + // An NPC's wares, and a stall's, point at the campaign's own pool entries. + const mireille = npcs.find((n) => n.name === 'Mireille Costa'); + const potion = mireille.wares.find((w) => w.item && w.item.name === 'Potion of Healing'); + expect(potion).toMatchObject({ price: 50, currency: 'GOLD', itemId: items.find((i) => i.name === 'Potion of Healing').id }); + const greater = mireille.wares.find((w) => w.item && w.item.name === 'Potion of Greater Healing'); + expect(greater.level).toBe(3); // sold at the item's own starting level + + // Encounters keep the seed's order, with their people, creatures and loot. + expect(encounters[0].name).toBe('E1 — The Founding Fair'); + const fair = (await request(app).get(`/encounters/${encounters[0].id}`).set(auth)).body.encounter; + expect(fair.wares.find((w) => w.item && w.item.name === 'Torches (bundle of 5)')).toMatchObject({ price: 5, currency: 'COPPER' }); + expect(fair.participants.map((p) => p.displayName)).toEqual(expect.arrayContaining(['Mireille Costa', 'Ser Kavan Thorne'])); + const ossuary = encounters.find((e) => e.name === 'E3 — Sunken Vaults: The Restless Ossuary'); + const fight = (await request(app).get(`/encounters/${ossuary.id}`).set(auth)).body.encounter; + expect(fight.participants.map((p) => p.displayName).sort()).toEqual(['Skeleton #1', 'Skeleton #2']); + expect(fight.rewards[0]).toMatchObject({ type: 'GOLD', gold: 25, currency: 'GOLD' }); + }); + + itIfDb('seeds cash, the other coins and money changers', async () => { + const auth = await registerDm(); + const res = await fromSeed(auth, 'HOLLOW'); + expect(res.status).toBe(201); + const campaign = res.body.campaign; + cleanupCampaignIds.push(campaign.id); + expect(campaign).toMatchObject({ startingItemCount: 4, maxEquipped: 3, maxEquippedWeapons: 1 }); + + const npcs = (await request(app).get(`/campaigns/${campaign.id}/npcs`).set(auth)).body.npcs; + expect(npcs.find((n) => n.name === 'Ray')).toMatchObject({ exchangeGold: 1, exchangeCash: 50 }); + const encounters = (await request(app).get(`/campaigns/${campaign.id}/encounters`).set(auth)).body.encounters; + const detail = async (name) => (await request(app).get(`/encounters/${encounters.find((e) => e.name === name).id}`).set(auth)).body.encounter; + expect((await detail('Security Response')).rewards).toEqual(expect.arrayContaining([expect.objectContaining({ type: 'GOLD', gold: 300, currency: 'CASH' })])); + expect((await detail('The Goblin Den')).rewards.filter((r) => r.type === 'GOLD').map((r) => `${r.gold} ${r.currency}`)).toEqual(['12 GOLD', '50 SILVER', '100 COPPER']); + const shops = await detail('Port Meridian: Ray’s Cash for Gold and the Shops'); + expect(shops.wares.find((w) => w.weapon && w.weapon.name === 'Chainsaw')).toMatchObject({ price: 300, currency: 'CASH', level: 5, stock: 1 }); + }); + + itIfDb('the same code can be used again, by anyone, for a copy of their own', async () => { + const first = await fromSeed(await registerDm(), 'ALDENF'); + const second = await fromSeed(await registerDm(), 'ALDENF'); + cleanupCampaignIds.push(first.body.campaign.id, second.body.campaign.id); + expect(second.status).toBe(201); + expect(second.body.campaign.id).not.toBe(first.body.campaign.id); + expect(second.body.campaign.inviteCode).not.toBe(first.body.campaign.inviteCode); + }); + + itIfDb('refuses a code that is no world, and needs a login', async () => { + const auth = await registerDm(); + expect((await fromSeed(auth, 'ZZZZZZ')).status).toBe(404); + expect((await fromSeed(auth, 'abc')).status).toBe(400); + expect((await request(app).post('/campaigns/from-seed').set(auth).send({})).status).toBe(400); + expect((await request(app).post('/campaigns/from-seed').send({ code: 'ALDENF' })).status).toBe(401); + expect((await request(app).get('/campaigns').set(auth)).body.campaigns).toEqual([]); + }); +}); diff --git a/backend/src/routes/campaigns.routes.js b/backend/src/routes/campaigns.routes.js index e4e68f7..cc78042 100644 --- a/backend/src/routes/campaigns.routes.js +++ b/backend/src/routes/campaigns.routes.js @@ -10,6 +10,8 @@ const { WEAPON_LIBRARY, ITEM_LIBRARY, SPELL_LIBRARY, MONSTER_LIBRARY } = require const { visitedLocationIds } = require('../utils/locations'); const { deathSaveInfo } = require('../utils/hp'); const { CURRENCIES } = require('../utils/grants'); +const { findSeed, normalizeCode, CODE_LENGTH } = require('../seeds'); +const { createCampaignFromSeed } = require('../seeds/createCampaign'); const router = express.Router(); @@ -96,6 +98,28 @@ router.post('/', async (req, res, next) => { } }); +// POST /campaigns/from-seed — a ready-made world (a file in /backend/seeds) +// as a new campaign, by its code. As with a blank campaign, whoever creates +// it is its DM and owner; the same code can be used again for another copy. +router.post('/from-seed', async (req, res, next) => { + try { + const parsed = z.object({ code: z.string().max(40) }).safeParse(req.body); + if (!parsed.success) return res.status(400).json({ error: parsed.error.flatten() }); + if (normalizeCode(parsed.data.code).length !== CODE_LENGTH) { + return res.status(400).json({ error: `A world code is ${CODE_LENGTH} letters or numbers` }); + } + const seed = findSeed(parsed.data.code); + if (!seed) return res.status(404).json({ error: 'There is no world with that code' }); + + // One transaction, so a failure doesn't leave half a world behind. A big + // world is thousands of rows, which is more than the default 5 seconds. + const campaign = await prisma.$transaction((tx) => createCampaignFromSeed(tx, req.user, seed), { timeout: 120000, maxWait: 20000 }); + res.status(201).json({ campaign: campaignSummary(campaign, 'DM') }); + } catch (err) { + next(err); + } +}); + // POST /campaigns/join/:inviteCode — must be before requireCampaignMember-gated routes below router.post('/join/:inviteCode', async (req, res, next) => { try { diff --git a/backend/src/routes/characters.routes.js b/backend/src/routes/characters.routes.js index 9173adf..d07f6e5 100644 --- a/backend/src/routes/characters.routes.js +++ b/backend/src/routes/characters.routes.js @@ -603,8 +603,8 @@ const chooseSchemas = { .optional(), }), CHOOSING_ABILITIES: z.object({ talents: z.array(z.string()) }), - CHOOSING_BACKGROUND: z.object({ picks: z.record(z.array(z.string())) }), - CHOOSING_APPEARANCE: z.object({ picks: z.record(z.array(z.string())) }), + CHOOSING_BACKGROUND: z.object({ picks: z.record(z.string(), z.array(z.string())) }), + CHOOSING_APPEARANCE: z.object({ picks: z.record(z.string(), z.array(z.string())) }), CHOOSING_EQUIPMENT: z.object({ weaponIds: z.array(z.string()).default([]), itemIds: z.array(z.string()).default([]), diff --git a/backend/src/seeds/createCampaign.js b/backend/src/seeds/createCampaign.js new file mode 100644 index 0000000..113fc34 --- /dev/null +++ b/backend/src/seeds/createCampaign.js @@ -0,0 +1,121 @@ +// Creates one campaign, fully built, from a checked seed (seeds/index.js, +// buildSeed), with `owner` as its DM. `db` is a transaction client, so a +// failure leaves nothing behind. +const { generateInviteCode } = require('../utils/inviteCode'); + +// Notes list newest-first on screen, so they are stamped a second apart, +// backwards: the first entry in the seed is the one at the top. +function bookOrder(index) { + return new Date(Date.now() - index * 1000); +} + +function byName(rows) { + return new Map(rows.map((row) => [row.name, row])); +} + +const MONEY = { gold: 'GOLD', silver: 'SILVER', copper: 'COPPER', cash: 'CASH' }; + +async function createCampaignFromSeed(db, owner, seed) { + let inviteCode = generateInviteCode(); + while (await db.campaign.findUnique({ where: { inviteCode } })) inviteCode = generateInviteCode(); + + const campaign = await db.campaign.create({ + data: { ...seed.campaign, inviteCode, ownerId: owner.id, members: { create: { userId: owner.id, role: 'DM' } } }, + }); + const campaignId = campaign.id; + const inCampaign = (rows) => rows.map((row) => ({ ...row, campaignId })); + + await db.location.createMany({ data: inCampaign(seed.locations) }); + await db.weapon.createMany({ data: inCampaign(seed.weapons) }); + await db.item.createMany({ data: inCampaign(seed.items) }); + await db.spell.createMany({ data: inCampaign(seed.spells) }); + await db.monster.createMany({ data: inCampaign(seed.monsters) }); + await db.npc.createMany({ data: inCampaign(seed.npcs.map(({ wares, ...npc }) => npc)) }); + + const where = { where: { campaignId } }; + const monsters = byName(await db.monster.findMany(where)); + const npcs = byName(await db.npc.findMany(where)); + const weapons = byName(await db.weapon.findMany(where)); + const items = byName(await db.item.findMany(where)); + const locations = byName(await db.location.findMany(where)); + + // A weapon or item named in a reward or a ware, with the level it is handed + // over at: its own starting level unless the seed asks for higher. + const gear = ({ weapon, item, level }) => { + const entry = weapon ? weapons.get(weapon) : items.get(item); + return { [weapon ? 'weaponId' : 'itemId']: entry.id, level: level ?? entry.minLevel }; + }; + const wares = (list, seller) => + (list || []).map(({ price, currency, stock, ...ware }, i) => ({ + ...seller, + ...gear(ware), + campaignId, + price, + currency: currency || 'GOLD', + stock: stock ?? null, + createdAt: new Date(Date.now() + i), // wares list in the order written + })); + + for (const npc of seed.npcs) { + if (npc.wares) await db.saleOffer.createMany({ data: wares(npc.wares, { npcId: npcs.get(npc.name).id }) }); + } + + for (const [index, enc] of seed.encounters.entries()) { + const participants = []; + for (const [name, count, displayName, hp] of enc.monsters || []) { + const monster = monsters.get(name); + const label = displayName || monster.name; + const maxHp = hp ?? monster.maxHp; + for (let i = 1; i <= count; i++) { + participants.push({ + monsterId: monster.id, + displayName: count > 1 ? `${label} #${i}` : label, + currentHp: maxHp, + maxHp, + isMonster: true, + }); + } + } + for (const entry of enc.npcs || []) { + const { name, hp } = typeof entry === 'string' ? { name: entry } : entry; + const npc = npcs.get(name); + // An NPC with no combat stats takes part with no hit points to track. + const maxHp = hp ?? npc.maxHp ?? 0; + participants.push({ npcId: npc.id, displayName: npc.name, currentHp: maxHp, maxHp, isMonster: false }); + } + + // Rewards list oldest-first, so these are stamped forwards. + const rewards = (enc.rewards || []).map(({ quantity, note, ...reward }, i) => { + const createdAt = new Date(Date.now() + i); + const coin = Object.keys(MONEY).find((key) => reward[key]); + if (coin) return { type: 'GOLD', gold: reward[coin], currency: MONEY[coin], note, createdAt }; + return { type: reward.weapon ? 'WEAPON' : 'ITEM', ...gear(reward), quantity: quantity ?? 1, note, createdAt }; + }); + + const encounter = await db.encounter.create({ + data: { + campaignId, + name: enc.name, + mode: enc.mode, + description: enc.description, + dmNotes: enc.dmNotes, + locationId: enc.location ? locations.get(enc.location).id : null, + sortOrder: index, + participants: { create: participants }, + rewards: { create: rewards }, + }, + }); + if (enc.wares) await db.saleOffer.createMany({ data: wares(enc.wares, { encounterId: encounter.id }) }); + } + + await db.note.createMany({ + data: [ + ...seed.sharedNotes.map((body) => ({ body, visibility: 'SHARED' })), + ...seed.dmNotes.map((body) => ({ body, visibility: 'DM_ONLY' })), + ].map((note, i) => ({ ...note, campaignId, authorId: owner.id, createdAt: bookOrder(i) })), + }); + + return campaign; +} + +module.exports = { createCampaignFromSeed }; diff --git a/backend/src/seeds/index.js b/backend/src/seeds/index.js new file mode 100644 index 0000000..d2f1ce9 --- /dev/null +++ b/backend/src/seeds/index.js @@ -0,0 +1,317 @@ +// World seeds: ready-made campaigns a DM starts from by typing a code. +// +// Every .js file in /backend/seeds is one world (docs/SEEDS.md has the full +// format). It exports its `code` and the campaign's content; this module +// finds the files, checks them, and turns one into rows for +// createCampaign.js. The folder is read again on every lookup, so a file +// dropped in is live without a restart. +const fs = require('fs'); +const path = require('path'); +const { z } = require('zod'); +const { GEAR_STATS, MAX_DAMAGE_SCALING, MAX_GEAR_LEVEL } = require('../game/calculations'); +const { WEAPON_LIBRARY, ITEM_LIBRARY, SPELL_LIBRARY, MONSTER_LIBRARY } = require('../game/data/library'); +const { CURRENCIES } = require('../utils/grants'); + +const SEEDS_DIR = path.join(__dirname, '..', '..', 'seeds'); +const CODE_LENGTH = 6; +const CODE_PATTERN = /^[A-Z0-9]{6}$/; + +// What someone types, as a seed file would have it. +function normalizeCode(code) { + return String(code || '').replace(/[\s-]/g, '').toUpperCase(); +} + +// --------------------------------------------------------------------------- +// The shape of a seed file. Objects are strict, so a misspelt field is an +// error rather than something silently left out of the campaign. The limits +// are the ones the app itself enforces (routes/*.js), so whatever a seed +// creates can still be edited on screen. +// --------------------------------------------------------------------------- + +const text = (max) => z.string().trim().min(1).max(max); +const optionalText = (max) => z.string().max(max).nullish(); +const dice = z.string().min(1).max(20).nullish(); +// A creature's damage may name its type: "1d6+2 necrotic". +const damage = z.string().min(1).max(60).nullish(); +const score = z.number().int().min(1).max(30).optional(); +const gearLevel = z.number().int().min(1).max(MAX_GEAR_LEVEL); + +const gear = { + damageScaling: z.number().int().min(1).max(MAX_DAMAGE_SCALING).optional(), + minLevel: gearLevel.optional(), + isStartingOption: z.boolean().optional(), + effects: z.array(z.strictObject({ stat: z.enum(GEAR_STATS), amount: z.number().int().min(-100).max(100) })).max(12).optional(), + effectNote: optionalText(300), +}; + +const POOLS = { + weapons: { + library: WEAPON_LIBRARY, + row: z.strictObject({ + name: text(80), + damageDice: z.string().min(1).max(20), + damageType: text(40), + attackAbility: z.enum(['STR', 'DEX', 'FINESSE']), + properties: z.array(z.string()).optional(), + rangeNormal: z.number().int().min(0).nullish(), + rangeLong: z.number().int().min(0).nullish(), + ...gear, + }), + }, + items: { + library: ITEM_LIBRARY, + row: z.strictObject({ name: text(120), description: optionalText(2000), damageDice: dice, ...gear }), + }, + spells: { + library: SPELL_LIBRARY, + row: z.strictObject({ + name: text(80), + level: z.number().int().min(0).max(9), + damageDice: dice, + school: optionalText(40), + castingTime: optionalText(80), + range: optionalText(80), + duration: optionalText(80), + description: optionalText(4000), + isStartingOption: z.boolean().optional(), + revives: z.boolean().optional(), + }), + }, + monsters: { + library: MONSTER_LIBRARY, + row: z.strictObject({ + name: text(80), + ac: z.number().int().min(0).max(40), + maxHp: z.number().int().min(1).max(10000), + speed: z.number().int().min(0).max(500).optional(), + strScore: score, + dexScore: score, + conScore: score, + intScore: score, + wisScore: score, + chaScore: score, + attackBonus: z.number().int().min(-10).max(30).optional(), + damageDice: damage, + challengeRating: optionalText(10), + specialTrait: optionalText(500), + notes: optionalText(2000), + }), + }, +}; + +const moneyAmount = z.number().int().min(1).max(1000000); + +// Something for sale: one weapon or one item from this seed's pools, by name. +const wareSchema = z + .strictObject({ + weapon: z.string().optional(), + item: z.string().optional(), + price: moneyAmount, + currency: z.enum(CURRENCIES).optional(), + level: gearLevel.nullish(), + stock: z.number().int().min(0).max(9999).nullish(), + }) + .refine((ware) => Boolean(ware.weapon) !== Boolean(ware.item), { message: 'A ware sells one weapon or one item' }); + +// Loot: money ({ gold: 25 }, or silver / copper / cash), a weapon or an item. +const rewardSchema = z + .strictObject({ + gold: moneyAmount.nullish(), + silver: moneyAmount.nullish(), + copper: moneyAmount.nullish(), + cash: moneyAmount.nullish(), + weapon: z.string().nullish(), + item: z.string().nullish(), + quantity: z.number().int().min(1).max(999).nullish(), + level: gearLevel.nullish(), + note: optionalText(200), + }) + .refine((reward) => ['gold', 'silver', 'copper', 'cash', 'weapon', 'item'].filter((key) => reward[key] != null).length === 1, { + message: 'A reward is one thing: gold, silver, copper, cash, a weapon or an item', + }); + +const npcSchema = z.strictObject({ + name: text(80), + role: optionalText(80), + disposition: z.enum(['FRIENDLY', 'NEUTRAL', 'HOSTILE']).optional(), + description: optionalText(2000), + dmNotes: optionalText(4000), + ac: z.number().int().min(0).max(40).nullish(), + maxHp: z.number().int().min(1).max(10000).nullish(), + attackBonus: z.number().int().min(-10).max(30).nullish(), + damageDice: damage, + // A money changer: exchangeGold gold for exchangeCash cash, either way. + exchangeGold: moneyAmount.nullish(), + exchangeCash: moneyAmount.nullish(), + wares: z.array(wareSchema).optional(), +}); + +const encounterSchema = z.strictObject({ + name: text(120), + mode: z.enum(['BATTLE', 'QUEST']).optional(), + description: optionalText(4000), + dmNotes: optionalText(4000), + location: z.string().nullish(), + // [monster name, how many, display name?, max HP?] + monsters: z + .array(z.tuple([z.string(), z.number().int().min(1).max(50)]).rest(z.union([z.string(), z.number().int().min(1), z.null(), z.undefined()]))) + .optional(), + npcs: z.array(z.union([z.string(), z.strictObject({ name: z.string(), hp: z.number().int().min(0).optional() })])).optional(), + rewards: z.array(rewardSchema).optional(), + wares: z.array(wareSchema).optional(), +}); + +// A pool entry is a full row, or one copied from the site library: its key +// alone, or { library: key } with fields to change on the copy. The rows +// themselves are checked once the copies are made (resolvePool). +const poolSchema = z.array(z.union([z.string(), z.record(z.string(), z.any())])).default([]); + +const seedSchema = z.strictObject({ + code: z.string().regex(CODE_PATTERN, `The code is ${CODE_LENGTH} capital letters or digits`), + campaign: z.strictObject({ + name: text(120), + description: optionalText(2000), + startingGold: z.number().int().min(0).max(1000000).optional(), + startingItemCount: z.number().int().min(0).max(50).optional(), + startingSpellCount: z.number().int().min(0).max(50).optional(), + skipMotivationRoll: z.boolean().optional(), + showMonsterHp: z.boolean().optional(), + areaAttackAcPenalty: z.number().int().min(0).max(10).optional(), + maxEquipped: z.number().int().min(1).max(20).optional(), + maxEquippedWeapons: z.number().int().min(0).max(20).optional(), + }), + locations: z.array(z.strictObject({ name: text(80), description: optionalText(2000) })).default([]), + weapons: poolSchema, + items: poolSchema, + spells: poolSchema, + monsters: poolSchema, + npcs: z.array(npcSchema).default([]), + encounters: z.array(encounterSchema).default([]), + // Note bodies, in reading order. + sharedNotes: z.array(text(10000)).default([]), + dmNotes: z.array(text(10000)).default([]), +}); + +class SeedError extends Error {} + +function issueList(error) { + return error.issues.map((issue) => `${issue.path.join('.') || '(file)'}: ${issue.message}`); +} + +// Swaps library references for copies of the library's rows (less the key and +// the picker-only tags) and checks every row. Problems are pushed to `problems`. +function resolvePool(pool, entries, problems) { + const { library, row } = POOLS[pool]; + const rows = []; + entries.forEach((entry, index) => { + let candidate = entry; + if (typeof entry === 'string' || (entry && entry.library)) { + const { library: key, ...changes } = typeof entry === 'string' ? { library: entry } : entry; + const template = library.find((item) => item.key === key); + if (!template) return problems.push(`${pool}.${index}: there is no "${key}" in the ${pool} library`); + const { key: _key, category, classes, ...copy } = template; + candidate = { ...copy, ...changes }; + } + const parsed = row.safeParse(candidate); + if (!parsed.success) return problems.push(...issueList(parsed.error).map((issue) => `${pool}.${index} (${candidate.name || '?'}): ${issue}`)); + rows.push(parsed.data); + }); + return rows; +} + +// Checks a seed file's export and returns it ready to create: library +// references filled in, defaults applied. Throws a SeedError listing +// everything wrong with it. +function buildSeed(raw) { + const parsed = seedSchema.safeParse(raw); + if (!parsed.success) throw new SeedError(issueList(parsed.error).join('\n')); + const seed = parsed.data; + const problems = []; + for (const pool of Object.keys(POOLS)) seed[pool] = resolvePool(pool, seed[pool], problems); + + // Encounters, rewards and wares point at things by name, so within a pool a + // name can only be used once. + const names = {}; + for (const pool of ['locations', 'weapons', 'items', 'spells', 'monsters', 'npcs']) { + names[pool] = new Set(); + for (const { name } of seed[pool]) { + if (names[pool].has(name)) problems.push(`${pool}: "${name}" is there twice`); + names[pool].add(name); + } + } + const gearByName = { weapon: new Map(seed.weapons.map((w) => [w.name, w])), item: new Map(seed.items.map((i) => [i.name, i])) }; + const checkGear = (where, { weapon, item, level }) => { + const kind = weapon ? 'weapon' : 'item'; + const entry = gearByName[kind].get(weapon || item); + if (!entry) return problems.push(`${where}: there is no ${kind} called "${weapon || item}"`); + if (level && level < (entry.minLevel || 1)) problems.push(`${where}: "${entry.name}" starts at level ${entry.minLevel}, so it can't be level ${level}`); + }; + + for (const npc of seed.npcs) { + if (Boolean(npc.exchangeGold) !== Boolean(npc.exchangeCash)) problems.push(`NPC "${npc.name}": an exchange rate needs both exchangeGold and exchangeCash`); + (npc.wares || []).forEach((ware) => checkGear(`NPC "${npc.name}" wares`, ware)); + } + for (const encounter of seed.encounters) { + const where = `Encounter "${encounter.name}"`; + if (encounter.location && !names.locations.has(encounter.location)) problems.push(`${where}: there is no location called "${encounter.location}"`); + for (const [monster] of encounter.monsters || []) { + if (!names.monsters.has(monster)) problems.push(`${where}: there is no monster called "${monster}"`); + } + for (const entry of encounter.npcs || []) { + const name = typeof entry === 'string' ? entry : entry.name; + if (!names.npcs.has(name)) problems.push(`${where}: there is no NPC called "${name}"`); + } + for (const reward of encounter.rewards || []) if (reward.weapon || reward.item) checkGear(`${where} rewards`, reward); + (encounter.wares || []).forEach((ware) => checkGear(`${where} wares`, ware)); + } + + if (problems.length) throw new SeedError(problems.join('\n')); + return seed; +} + +// --------------------------------------------------------------------------- +// The folder +// --------------------------------------------------------------------------- + +// Every seed file, good or bad: [{ file, code, seed } | { file, error }]. +// A file is only built again when it has changed on disk. +const built = new Map(); + +function loadSeeds(dir = SEEDS_DIR) { + if (!fs.existsSync(dir)) return []; + const results = []; + const codes = new Map(); + for (const file of fs.readdirSync(dir).filter((name) => name.endsWith('.js')).sort()) { + const fullPath = path.join(dir, file); + const { mtimeMs } = fs.statSync(fullPath); + let entry = built.get(fullPath); + if (!entry || entry.mtimeMs !== mtimeMs) { + try { + delete require.cache[require.resolve(fullPath)]; + const seed = buildSeed(require(fullPath)); + entry = { mtimeMs, result: { file, code: seed.code, seed } }; + } catch (err) { + entry = { mtimeMs, result: { file, error: err.message } }; + } + built.set(fullPath, entry); + } + let { result } = entry; + if (result.code && codes.has(result.code)) { + result = { file, error: `Its code ${result.code} is already used by ${codes.get(result.code)}` }; + } else if (result.code) { + codes.set(result.code, file); + } + results.push(result); + } + return results; +} + +// The world behind a code, or null. A file with something wrong in it is +// never offered; `npm run seeds:check` says what is wrong. +function findSeed(code, dir = SEEDS_DIR) { + const wanted = normalizeCode(code); + const match = loadSeeds(dir).find((result) => result.code === wanted && !result.error); + return match ? match.seed : null; +} + +module.exports = { SEEDS_DIR, CODE_LENGTH, SeedError, normalizeCode, buildSeed, loadSeeds, findSeed }; diff --git a/backend/src/seeds/seeds.test.js b/backend/src/seeds/seeds.test.js new file mode 100644 index 0000000..aa6f7aa --- /dev/null +++ b/backend/src/seeds/seeds.test.js @@ -0,0 +1,138 @@ +const fs = require('fs'); +const os = require('os'); +const path = require('path'); +const { buildSeed, loadSeeds, findSeed, normalizeCode, SeedError } = require('./index'); + +// The smallest seed there is, with whatever a test adds or changes. +function seedWith(extra = {}) { + return { code: 'TEST01', campaign: { name: 'Test World' }, ...extra }; +} + +describe('the seeds in /backend/seeds', () => { + const results = loadSeeds(); + + test('every file is a valid world', () => { + expect(results.length).toBeGreaterThan(0); + for (const { file, error } of results) expect({ file, error }).toEqual({ file, error: undefined }); + }); + + test('each has its own code', () => { + const codes = results.map((result) => result.code); + expect(new Set(codes).size).toBe(codes.length); + }); +}); + +describe('buildSeed', () => { + test('fills in what is left out', () => { + const seed = buildSeed(seedWith()); + expect(seed.weapons).toEqual([]); + expect(seed.encounters).toEqual([]); + expect(seed.sharedNotes).toEqual([]); + }); + + test('copies library entries, with changes, and drops the library-only fields', () => { + const seed = buildSeed(seedWith({ weapons: ['dagger', { library: 'longsword', isStartingOption: true, minLevel: 2 }], monsters: ['goblin'] })); + expect(seed.weapons[0]).toMatchObject({ name: 'Dagger', damageDice: '1d4' }); + expect(seed.weapons[1]).toMatchObject({ name: 'Longsword', isStartingOption: true, minLevel: 2 }); + expect(seed.weapons[0]).not.toHaveProperty('key'); + expect(seed.weapons[0]).not.toHaveProperty('category'); + expect(seed.monsters[0].name).toBe('Goblin'); + }); + + test('refuses a code that is not six capital letters or digits', () => { + for (const code of ['abc123', 'ABC12', 'ABC1234', 'ABC-12', undefined]) { + expect(() => buildSeed(seedWith({ code }))).toThrow(SeedError); + } + }); + + test('refuses a misspelt field rather than leaving it out', () => { + expect(() => buildSeed(seedWith({ npcs: [{ name: 'Mira', desciption: 'A baker' }] }))).toThrow(/desciption/); + expect(() => buildSeed(seedWith({ items: [{ name: 'Rope', starting: true }] }))).toThrow(/starting/); + }); + + test('refuses an unknown library key', () => { + expect(() => buildSeed(seedWith({ spells: ['fire-bolt', 'not-a-spell'] }))).toThrow(/no "not-a-spell" in the spells library/); + }); + + test('refuses the same name twice in a pool', () => { + expect(() => buildSeed(seedWith({ weapons: ['dagger', 'dagger'] }))).toThrow(/"Dagger" is there twice/); + }); + + test('refuses an encounter that points at something the seed does not have', () => { + const encounter = (extra) => seedWith({ encounters: [{ name: 'The Bridge', ...extra }] }); + expect(() => buildSeed(encounter({ location: 'Nowhere' }))).toThrow(/no location called "Nowhere"/); + expect(() => buildSeed(encounter({ monsters: [['Troll', 1]] }))).toThrow(/no monster called "Troll"/); + expect(() => buildSeed(encounter({ npcs: ['Mira'] }))).toThrow(/no NPC called "Mira"/); + expect(() => buildSeed(encounter({ rewards: [{ item: 'Rope' }] }))).toThrow(/no item called "Rope"/); + expect(() => buildSeed(encounter({ wares: [{ weapon: 'Dagger', price: 2 }] }))).toThrow(/no weapon called "Dagger"/); + }); + + test('a reward is exactly one thing', () => { + const rewards = (list) => seedWith({ items: [{ name: 'Rope' }], encounters: [{ name: 'The Bridge', rewards: list }] }); + expect(buildSeed(rewards([{ gold: 5 }, { cash: 20 }, { item: 'Rope', quantity: 2 }])).encounters[0].rewards).toHaveLength(3); + expect(() => buildSeed(rewards([{ gold: 5, item: 'Rope' }]))).toThrow(SeedError); + expect(() => buildSeed(rewards([{ note: 'nothing' }]))).toThrow(SeedError); + }); + + test('gear cannot be sold or handed out below its starting level', () => { + const world = (ware) => seedWith({ items: [{ name: 'Old Crown', minLevel: 4 }], npcs: [{ name: 'Mira', wares: [ware] }] }); + expect(buildSeed(world({ item: 'Old Crown', price: 100, level: 5 })).npcs[0].wares).toHaveLength(1); + expect(() => buildSeed(world({ item: 'Old Crown', price: 100, level: 2 }))).toThrow(/starts at level 4/); + }); + + test('an exchange rate needs both halves', () => { + expect(() => buildSeed(seedWith({ npcs: [{ name: 'Mira', exchangeGold: 1 }] }))).toThrow(/exchange rate/); + expect(buildSeed(seedWith({ npcs: [{ name: 'Mira', exchangeGold: 1, exchangeCash: 20 }] })).npcs[0].exchangeCash).toBe(20); + }); + + test('an effect has to be on a number the sheet has', () => { + const item = (effects) => seedWith({ items: [{ name: 'Shield', effects }] }); + expect(buildSeed(item([{ stat: 'AC', amount: 2 }])).items[0].effects).toEqual([{ stat: 'AC', amount: 2 }]); + expect(() => buildSeed(item([{ stat: 'LUCK', amount: 2 }]))).toThrow(SeedError); + }); +}); + +describe('the seeds folder', () => { + let dir; + const drop = (file, seed) => fs.writeFileSync(path.join(dir, file), `module.exports = ${JSON.stringify(seed)};`); + + beforeEach(() => { + dir = fs.mkdtempSync(path.join(os.tmpdir(), 'seeds-')); + }); + afterEach(() => { + fs.rmSync(dir, { recursive: true, force: true }); + }); + + test('a code finds its world however it is typed', () => { + drop('one.js', seedWith({ code: 'AB12CD' })); + expect(normalizeCode(' ab1-2cd ')).toBe('AB12CD'); + expect(findSeed(' ab1-2cd ', dir).campaign.name).toBe('Test World'); + expect(findSeed('ZZZZZZ', dir)).toBeNull(); + expect(findSeed('', dir)).toBeNull(); + }); + + test('a file dropped in later is picked up', () => { + expect(findSeed('LATER1', dir)).toBeNull(); + drop('later.js', seedWith({ code: 'LATER1' })); + expect(findSeed('LATER1', dir)).not.toBeNull(); + }); + + test('a broken file is reported and never offered, without hiding the good ones', () => { + drop('bad.js', seedWith({ code: 'BAD001', encounters: [{ name: 'X', monsters: [['Nobody', 1]] }] })); + drop('good.js', seedWith({ code: 'GOOD01' })); + fs.writeFileSync(path.join(dir, 'syntax.js'), 'module.exports = {'); + const byFile = Object.fromEntries(loadSeeds(dir).map((result) => [result.file, result])); + expect(byFile['bad.js'].error).toMatch(/no monster called "Nobody"/); + expect(byFile['syntax.js'].error).toBeTruthy(); + expect(byFile['good.js'].error).toBeUndefined(); + expect(findSeed('BAD001', dir)).toBeNull(); + expect(findSeed('GOOD01', dir)).not.toBeNull(); + }); + + test('two files cannot share a code: the first keeps it', () => { + drop('a.js', seedWith({ code: 'SAME01', campaign: { name: 'First' } })); + drop('b.js', seedWith({ code: 'SAME01', campaign: { name: 'Second' } })); + expect(loadSeeds(dir)[1].error).toMatch(/already used by a\.js/); + expect(findSeed('SAME01', dir).campaign.name).toBe('First'); + }); +}); diff --git a/docs/SEEDS.md b/docs/SEEDS.md new file mode 100644 index 0000000..4b0de56 --- /dev/null +++ b/docs/SEEDS.md @@ -0,0 +1,233 @@ +# World Seeds + +A world seed is a ready-made campaign: locations, weapons, items, spells, +monsters, NPCs with their wares, encounters with their rewards, and notes. A +DM starts a campaign from one by typing its code. + +This describes the code as it stands. Related: [ITEMS.md](ITEMS.md), +[WEAPONS.md](WEAPONS.md), [SPELLS.md](SPELLS.md), [MONSTERS.md](MONSTERS.md), +[NPCS.md](NPCS.md), [ENCOUNTERS.md](ENCOUNTERS.md). + +## Contents + +1. [The basics](#1-the-basics) +2. [Starting a campaign from a code](#2-starting-a-campaign-from-a-code) +3. [Adding a world](#3-adding-a-world) +4. [What a seed file holds](#4-what-a-seed-file-holds) +5. [Checking a seed](#5-checking-a-seed) +6. [The database seed](#6-the-database-seed) +7. [The worlds that come with the app](#7-the-worlds-that-come-with-the-app) + +--- + +## 1. The basics + +- Every `.js` file in `/backend/seeds` is one world. The file says what its + **code** is: six capital letters or digits. +- Anyone who is logged in and knows a code can create that world as a new + campaign. They become its DM and owner, exactly as with a blank campaign. +- The same code can be used any number of times. Each use makes a separate + campaign with its own invite code; nothing is shared between copies. +- A seed only says what a campaign **starts** as. Once created, the campaign + is the DM's to change, and changing the seed file later does not touch + campaigns already made from it. +- The folder is read each time a code is entered, so a new file is live as + soon as it is on the server. No restart, no migration. + +## 2. Starting a campaign from a code + +On the **Campaigns** page, click **+ New Campaign**. Under the form for a +blank campaign is **Or start from a ready-made world**: type the code and +click **Create From Code**. Capitals and spaces do not matter (`aldenf`, +`ALDENF` and `ald-enf` are the same code). + +The whole world is created in one go, and you land on its campaign page. If +anything in it fails, nothing is created. + +| Reply | Meaning | +|---|---| +| "A world code is 6 letters or numbers" | What was typed is not six characters long | +| "There is no world with that code" | No valid seed file has that code | + +The API is `POST /campaigns/from-seed` with `{ "code": "ALDENF" }`. It +answers with the new campaign, as `POST /campaigns` does. + +## 3. Adding a world + +1. Write the world as a file in `/backend/seeds`, for example + `/backend/seeds/my-world.js` (section 4). +2. Run `npm run seeds:check` (section 5) and fix whatever it reports. +3. Put the file on the server. The code works straight away. + +A file with a mistake in it is never offered: its code simply answers "There +is no world with that code" until the file is fixed. Two files cannot share a +code; the one whose file name comes first keeps it. + +To retire a world, delete its file. Campaigns already made from it stay. + +## 4. What a seed file holds + +A seed file is a JavaScript module that exports one object. Only `code` and +`campaign.name` are required; every list can be left out. + +```js +module.exports = { + code: 'MYWRLD', + campaign: { name: 'My World', description: '...', startingGold: 20, startingItemCount: 2, startingSpellCount: 2 }, + locations: [{ name: 'The Old Mill', description: '...' }], + weapons: [ + 'dagger', // a copy from the site library + { library: 'longsword', isStartingOption: true }, // a copy, with changes + { name: 'Millstone Hammer', damageDice: '2d6', damageType: 'bludgeoning', attackAbility: 'STR', minLevel: 3 }, + ], + items: [ + { library: 'shield', isStartingOption: true }, + { name: 'Miller’s Charm', description: '...', effects: [{ stat: 'SKILL_PERCEPTION', amount: 1 }] }, + ], + spells: [{ library: 'fire-bolt', isStartingOption: true }, 'fireball'], + monsters: ['goblin', { name: 'Mill Wraith', ac: 13, maxHp: 30, attackBonus: 4, damageDice: '1d8+2 necrotic' }], + npcs: [ + { + name: 'Old Hob', role: 'Miller', disposition: 'FRIENDLY', description: '...', dmNotes: '...', + wares: [{ item: 'Shield', price: 10 }, { weapon: 'Dagger', price: 2, stock: 3 }], + }, + ], + encounters: [ + { + name: 'The Mill at Night', mode: 'BATTLE', location: 'The Old Mill', description: '...', dmNotes: '...', + monsters: [['Goblin', 3], ['Mill Wraith', 1, 'The Miller’s Wife', 40]], + npcs: ['Old Hob'], + rewards: [{ gold: 25 }, { silver: 40 }, { weapon: 'Millstone Hammer', note: 'Behind the wheel' }], + }, + ], + sharedNotes: ['Welcome to My World...'], + dmNotes: ['The secret of the mill...'], +}; +``` + +The file is ordinary JavaScript, so it can build its lists however it likes +(the Hollowcrown seed adds the whole spell library with a `map`). + +### Top level + +| Field | What it is | +|---|---| +| `code` | Six capital letters or digits. What a DM types | +| `campaign` | The campaign's settings: `name`, and optionally `description`, `startingGold`, `startingItemCount`, `startingSpellCount`, `skipMotivationRoll`, `showMonsterHp`, `areaAttackAcPenalty`, `maxEquipped`, `maxEquippedWeapons`. Anything left out takes the app's default | +| `locations` | `{ name, description }` | +| `weapons`, `items`, `spells`, `monsters` | The pools. Each entry is a row or a library copy (below) | +| `npcs` | NPC rows, each optionally with `wares` | +| `encounters` | In the order they should list | +| `sharedNotes`, `dmNotes` | Note bodies, in reading order: the first is shown at the top. Shared notes are for everyone, DM notes for the DM | + +### Pool entries + +An entry in `weapons`, `items`, `spells` or `monsters` is one of: + +- **A library key** such as `'longsword'`: a copy of that entry from the + site's built-in library (`src/game/data/*Library.js`). +- **A library copy with changes**: `{ library: 'longsword', isStartingOption: true, minLevel: 2 }`. + Any field of the row can be changed, including its name. +- **A full row**, with the same fields the app's own forms have: + +| Pool | Fields (required in bold) | +|---|---| +| Weapon | **`name`**, **`damageDice`**, **`damageType`**, **`attackAbility`** (`STR`, `DEX` or `FINESSE`), `properties`, `rangeNormal`, `rangeLong`, `damageScaling` (1 to 3), `minLevel` (1 to 9), `isStartingOption`, `effects`, `effectNote` | +| Item | **`name`**, `description`, `damageDice`, `damageScaling`, `minLevel`, `isStartingOption`, `effects`, `effectNote` | +| Spell | **`name`**, **`level`** (0 to 9), `damageDice`, `school`, `castingTime`, `range`, `duration`, `description`, `isStartingOption`, `revives` | +| Monster | **`name`**, **`ac`**, **`maxHp`**, `speed`, `strScore` ... `chaScore`, `attackBonus`, `damageDice` (may name its type: `"1d6+2 necrotic"`), `challengeRating`, `specialTrait`, `notes` | + +`effects` is a list of `{ stat, amount }`, as described in +[ITEMS.md](ITEMS.md): armor is an item with an `AC` effect. + +Within a pool a name can only be used once, because everything else in the +file points at pool entries **by name**. + +### NPCs + +**`name`**, `role`, `disposition` (`FRIENDLY`, `NEUTRAL` or `HOSTILE`), +`description` (what players see), `dmNotes`, and for those who might fight +`ac`, `maxHp`, `attackBonus`, `damageDice`. + +- **A money changer** has `exchangeGold` and `exchangeCash` together: + `exchangeGold: 1, exchangeCash: 50` is 1 gold for $50, either way. +- **A shopkeeper** has `wares`, a list of things for sale (below). + +### Encounters + +| Field | What it is | +|---|---| +| **`name`** | | +| `mode` | `BATTLE` (the default) or `QUEST`. Buying and money changing only happen in a quest | +| `description` | The scene, shown to the players in it | +| `dmNotes` | DM only | +| `location` | A location's name | +| `monsters` | `[monster name, how many, display name, max HP]`. The last two are optional; more than one gets "#1", "#2"... | +| `npcs` | NPC names, or `{ name, hp }` to set the hit points for this scene | +| `rewards` | Lined up unawarded (below) | +| `wares` | For sale at the scene itself, with nobody behind it: a market, a vending machine | + +A **reward** is exactly one of `gold`, `silver`, `copper`, `cash` (an amount), +`weapon` or `item` (a name), with an optional `note`. A weapon or item can also +have `quantity` and `level`. + +A **ware** is `{ weapon | item, price }` with optional `currency` (`GOLD`, the +default, `SILVER`, `COPPER` or `CASH`), `level` and `stock` (left out: no +limit). + +A reward's or ware's `level` defaults to the entry's own starting level, and +cannot be below it. + +### Limits + +Text fields have the same length limits as the app's forms (for example 4,000 +characters for an encounter's DM notes and 10,000 for a note), so that +everything a seed creates can still be edited on screen. The checker says +which field is over. + +## 5. Checking a seed + +```bash +npm run seeds:check +``` + +lists every file in `/backend/seeds` with its code and what it holds, or +everything wrong with it: + +``` +✓ aldenfell.js — code ALDENF — Aldenfell + 24 weapons (16 starting), 31 items (10 starting), 45 spells (30 starting), 21 locations + 15 monsters, 13 NPCs (8 wares), 38 encounters (40 rewards, 9 wares), 23 notes +✗ my-world.js + npcs.0.desciption: Unrecognized key: "desciption" + Encounter "The Mill at Night": there is no monster called "Gobblin" +``` + +It checks the things that would otherwise only show up as a half-working +campaign: + +- A field name that is not one of the fields above (a typo). +- A library key that is not in the library. +- The same name twice in one pool. +- An encounter, reward or ware that names a location, monster, NPC, weapon or + item the file does not have. +- A reward that is not exactly one thing, or gear handed out below its + starting level. +- An exchange rate with only one half. + +`npm test` runs the same check on every seed in the folder. + +## 6. The database seed + +`npx prisma db seed` creates the admin account if it is missing, and nothing +else. It never adds a campaign: worlds come from codes, in the app. See the +README for the account it creates and `--reset`. + +## 7. The worlds that come with the app + +| Code | World | From | +|---|---|---| +| `ALDENF` | Aldenfell | The Aldenfell Campaign Book | +| `HOLLOW` | Hollowcrown: The Rift Between Worlds | The Hollowcrown Dungeon Master's Book (V3) | + +Change a world's code by editing `code` in its file. diff --git a/frontend/package.json b/frontend/package.json index 986dab9..76e086b 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -1,7 +1,7 @@ { "name": "frontend", "private": true, - "version": "1.11.1", + "version": "1.12.0", "type": "module", "scripts": { "dev": "vite", @@ -23,7 +23,7 @@ "@types/react-dom": "^19.2.7", "@vitejs/plugin-react": "^6.1.1", "oxlint": "^1.81.0", - "typescript": "~6.0.2", + "typescript": "~7.0.2", "vite": "^8.3.0" } } diff --git a/frontend/src/api/queries.ts b/frontend/src/api/queries.ts index f0d4922..34fbb95 100644 --- a/frontend/src/api/queries.ts +++ b/frontend/src/api/queries.ts @@ -62,6 +62,16 @@ export function useCreateCampaign() { }); } +// A ready-made world (a seed file on the server) as a new campaign, by its code. +export function useCreateCampaignFromSeed() { + const qc = useQueryClient(); + return useMutation({ + mutationFn: async (code: string) => + (await apiClient.post<{ campaign: Campaign }>('/campaigns/from-seed', { code })).data.campaign, + onSuccess: () => qc.invalidateQueries({ queryKey: ['campaigns'] }), + }); +} + export function useUpdateCampaign(campaignId: string) { const qc = useQueryClient(); return useMutation({ diff --git a/frontend/src/auth/AuthContext.tsx b/frontend/src/auth/AuthContext.tsx index 6ae5520..f0c0bde 100644 --- a/frontend/src/auth/AuthContext.tsx +++ b/frontend/src/auth/AuthContext.tsx @@ -1,28 +1,17 @@ -import { createContext, useContext, useEffect, useMemo, useState, type ReactNode } from 'react'; +import { useEffect, useMemo, useState, type ReactNode } from 'react'; import { apiClient, getStoredToken, setAuthToken } from '../api/client'; import type { User } from '../api/types'; - -interface AuthContextValue { - user: User | null; - token: string | null; - loading: boolean; - login: (token: string, user: User) => void; - logout: () => void; -} - -const AuthContext = createContext(undefined); +import { AuthContext } from './useAuth'; export function AuthProvider({ children }: { children: ReactNode }) { const [token, setToken] = useState(getStoredToken()); const [user, setUser] = useState(null); - const [loading, setLoading] = useState(true); + // With no stored token there is nothing to check, so nothing to wait for. + const [loading, setLoading] = useState(() => getStoredToken() !== null); useEffect(() => { const stored = getStoredToken(); - if (!stored) { - setLoading(false); - return; - } + if (!stored) return; setAuthToken(stored); apiClient .get<{ user: User }>('/auth/me') @@ -53,9 +42,3 @@ export function AuthProvider({ children }: { children: ReactNode }) { return {children}; } - -export function useAuth() { - const ctx = useContext(AuthContext); - if (!ctx) throw new Error('useAuth must be used within AuthProvider'); - return ctx; -} diff --git a/frontend/src/auth/useAuth.ts b/frontend/src/auth/useAuth.ts new file mode 100644 index 0000000..6df0222 --- /dev/null +++ b/frontend/src/auth/useAuth.ts @@ -0,0 +1,18 @@ +import { createContext, useContext } from 'react'; +import type { User } from '../api/types'; + +export interface AuthContextValue { + user: User | null; + token: string | null; + loading: boolean; + login: (token: string, user: User) => void; + logout: () => void; +} + +export const AuthContext = createContext(undefined); + +export function useAuth() { + const ctx = useContext(AuthContext); + if (!ctx) throw new Error('useAuth must be used within AuthProvider'); + return ctx; +} diff --git a/frontend/src/components/CharacterPanel.tsx b/frontend/src/components/CharacterPanel.tsx index 48fceea..5ec64fc 100644 --- a/frontend/src/components/CharacterPanel.tsx +++ b/frontend/src/components/CharacterPanel.tsx @@ -1,6 +1,6 @@ import { Link, useMatch } from 'react-router-dom'; import { useCampaign, useCampaignCharacters, usePatchCharacterWeapon, usePatchInventoryItem, useQuickStats } from '../api/queries'; -import { useAuth } from '../auth/AuthContext'; +import { useAuth } from '../auth/useAuth'; import { useLastCampaignId } from '../lib/lastCampaign'; import { closeCharacterPanel, openCharacterPanel, useCharacterPanelId } from '../lib/characterPanel'; import { CLASS_LABELS, SPECIES_LABELS, fmtMod, formatPurse, spellLevelLabel } from '../lib/format'; diff --git a/frontend/src/components/InfoTip.tsx b/frontend/src/components/InfoTip.tsx index d4e5e28..acbab6d 100644 --- a/frontend/src/components/InfoTip.tsx +++ b/frontend/src/components/InfoTip.tsx @@ -4,7 +4,7 @@ import { createPortal } from 'react-dom'; // Short explanations for the stat labels sprinkled across the sheet, quick // stats, party table, and builder — "what is this, and how is it worked // out" for someone who doesn't already know D&D 5e by heart. -export const STAT_HELP: Record = { +const STAT_HELP: Record = { AC: 'Armor Class — how hard you are to hit. 10 + your Dexterity modifier + any armor bonus.', HP: 'Hit Points — damage you can take before falling unconscious. Max HP is set by your class hit die, Constitution modifier, and level.', TEMP_HP: 'Temporary Hit Points — an extra buffer that absorbs damage first and disappears when it runs out (it does not stack with more temp HP).', diff --git a/frontend/src/components/Layout.tsx b/frontend/src/components/Layout.tsx index 7632d8f..3c80b8a 100644 --- a/frontend/src/components/Layout.tsx +++ b/frontend/src/components/Layout.tsx @@ -1,5 +1,5 @@ import { Link, NavLink, Outlet, useMatch } from 'react-router-dom'; -import { useAuth } from '../auth/AuthContext'; +import { useAuth } from '../auth/useAuth'; import { useLastCampaignId, useRememberCampaign } from '../lib/lastCampaign'; import { DiceRoller } from './DiceRoller'; import { CharacterPanel } from './CharacterPanel'; diff --git a/frontend/src/components/Paginated.tsx b/frontend/src/components/Paginated.tsx index 66840fa..df77d0e 100644 --- a/frontend/src/components/Paginated.tsx +++ b/frontend/src/components/Paginated.tsx @@ -1,27 +1,4 @@ -import { useMemo, useState } from 'react'; - -// Small generic pager shared by every list-turned-table in the app, so page -// state isn't hand-rolled per screen. Resets to page 1 whenever the -// underlying item count shrinks below the current page (e.g. after a delete -// or a filter change). -export function usePagination(items: T[] | undefined, pageSize = 10) { - const [page, setPage] = useState(1); - const all = items || []; - const pageCount = Math.max(1, Math.ceil(all.length / pageSize)); - const safePage = Math.min(page, pageCount); - const pageItems = useMemo(() => all.slice((safePage - 1) * pageSize, safePage * pageSize), [all, safePage, pageSize]); - - return { - page: safePage, - pageCount, - pageItems, - total: all.length, - setPage, - nextPage: () => setPage((p) => Math.min(pageCount, p + 1)), - prevPage: () => setPage((p) => Math.max(1, p - 1)), - }; -} - +// The controls for a paged list; the page state itself is hooks/usePagination. export function Pagination({ page, pageCount, diff --git a/frontend/src/components/ProtectedRoute.tsx b/frontend/src/components/ProtectedRoute.tsx index c555314..e0512ad 100644 --- a/frontend/src/components/ProtectedRoute.tsx +++ b/frontend/src/components/ProtectedRoute.tsx @@ -1,5 +1,5 @@ import { Navigate, Outlet } from 'react-router-dom'; -import { useAuth } from '../auth/AuthContext'; +import { useAuth } from '../auth/useAuth'; import { Spinner } from './Spinner'; export function ProtectedRoute() { diff --git a/frontend/src/hooks/useCampaignSocket.ts b/frontend/src/hooks/useCampaignSocket.ts index a92fbb7..21adf7b 100644 --- a/frontend/src/hooks/useCampaignSocket.ts +++ b/frontend/src/hooks/useCampaignSocket.ts @@ -2,7 +2,7 @@ import { useEffect } from 'react'; import { useQueryClient } from '@tanstack/react-query'; import { io, type Socket } from 'socket.io-client'; import { API_URL } from '../api/client'; -import { useAuth } from '../auth/AuthContext'; +import { useAuth } from '../auth/useAuth'; let sharedSocket: Socket | null = null; diff --git a/frontend/src/hooks/usePagination.ts b/frontend/src/hooks/usePagination.ts new file mode 100644 index 0000000..17e2b50 --- /dev/null +++ b/frontend/src/hooks/usePagination.ts @@ -0,0 +1,26 @@ +import { useMemo, useState } from 'react'; + +// Small generic pager shared by every list-turned-table in the app, so page +// state isn't hand-rolled per screen. Resets to page 1 whenever the +// underlying item count shrinks below the current page (e.g. after a delete +// or a filter change). +export function usePagination(items: T[] | undefined, pageSize = 10) { + const [page, setPage] = useState(1); + const total = items?.length ?? 0; + const pageCount = Math.max(1, Math.ceil(total / pageSize)); + const safePage = Math.min(page, pageCount); + const pageItems = useMemo( + () => (items || []).slice((safePage - 1) * pageSize, safePage * pageSize), + [items, safePage, pageSize], + ); + + return { + page: safePage, + pageCount, + pageItems, + total, + setPage, + nextPage: () => setPage((p) => Math.min(pageCount, p + 1)), + prevPage: () => setPage((p) => Math.max(1, p - 1)), + }; +} diff --git a/frontend/src/pages/AccountPage.tsx b/frontend/src/pages/AccountPage.tsx index 8137c64..e956aa1 100644 --- a/frontend/src/pages/AccountPage.tsx +++ b/frontend/src/pages/AccountPage.tsx @@ -1,6 +1,6 @@ import { useState, type FormEvent } from 'react'; import { apiClient } from '../api/client'; -import { useAuth } from '../auth/AuthContext'; +import { useAuth } from '../auth/useAuth'; import { extractErrorMessage } from '../lib/format'; import { ErrorBanner } from '../components/Spinner'; diff --git a/frontend/src/pages/CampaignHomePage.tsx b/frontend/src/pages/CampaignHomePage.tsx index 4726fbf..10448da 100644 --- a/frontend/src/pages/CampaignHomePage.tsx +++ b/frontend/src/pages/CampaignHomePage.tsx @@ -39,13 +39,14 @@ import { useAddSpellFromLibrary, useAddMonsterFromLibrary, } from '../api/queries'; -import { useAuth } from '../auth/AuthContext'; +import { useAuth } from '../auth/useAuth'; import { useCampaignSocket } from '../hooks/useCampaignSocket'; import { Spinner, ErrorBanner } from '../components/Spinner'; import { NumberInput } from '../components/NumberInput'; import { JumpNav } from '../components/JumpNav'; import { LifeBadge } from '../components/DeathSaves'; -import { usePagination, Pagination } from '../components/Paginated'; +import { Pagination } from '../components/Paginated'; +import { usePagination } from '../hooks/usePagination'; import { WaresEditor } from '../components/Wares'; import { EffectsEditor } from '../components/EffectsEditor'; import { effectsSummary } from '../lib/gear'; diff --git a/frontend/src/pages/CampaignListPage.tsx b/frontend/src/pages/CampaignListPage.tsx index 1451018..a9591fb 100644 --- a/frontend/src/pages/CampaignListPage.tsx +++ b/frontend/src/pages/CampaignListPage.tsx @@ -1,12 +1,13 @@ import { useState, type FormEvent } from 'react'; import { Link, useNavigate } from 'react-router-dom'; -import { useCampaigns, useCreateCampaign, useJoinCampaign, useSetCampaignArchived } from '../api/queries'; +import { useCampaigns, useCreateCampaign, useCreateCampaignFromSeed, useJoinCampaign, useSetCampaignArchived } from '../api/queries'; import { Spinner, ErrorBanner } from '../components/Spinner'; import { extractErrorMessage } from '../lib/format'; export function CampaignListPage() { const { data: campaigns, isLoading, error } = useCampaigns(); const createCampaign = useCreateCampaign(); + const createFromSeed = useCreateCampaignFromSeed(); const joinCampaign = useJoinCampaign(); const setArchived = useSetCampaignArchived(); const navigate = useNavigate(); @@ -15,6 +16,8 @@ export function CampaignListPage() { const [name, setName] = useState(''); const [description, setDescription] = useState(''); const [inviteCode, setInviteCode] = useState(''); + const [worldCode, setWorldCode] = useState(''); + const [worldError, setWorldError] = useState(null); const [formError, setFormError] = useState(null); const [showArchived, setShowArchived] = useState(false); @@ -32,6 +35,17 @@ export function CampaignListPage() { } } + async function handleCreateFromSeed(e: FormEvent) { + e.preventDefault(); + setWorldError(null); + try { + const campaign = await createFromSeed.mutateAsync(worldCode.trim().toUpperCase()); + navigate(`/campaigns/${campaign.id}`); + } catch (err) { + setWorldError(extractErrorMessage(err)); + } + } + async function handleJoin(e: FormEvent) { e.preventDefault(); setFormError(null); @@ -72,6 +86,26 @@ export function CampaignListPage() { {createCampaign.isPending ? 'Founding…' : 'Found Campaign'} + +

Or start from a ready-made world

+

+ Have a world code? Enter it and the whole world is set up for you as its DM: locations, monsters, NPCs, + gear, spells and encounters. +

+
+ setWorldCode(e.target.value)} + style={{ flex: 1, minWidth: 160, textTransform: 'uppercase' }} + /> + +
+ {worldError &&
} )} diff --git a/frontend/src/pages/CharacterSheetPage.tsx b/frontend/src/pages/CharacterSheetPage.tsx index 9a4964b..ee6c1ad 100644 --- a/frontend/src/pages/CharacterSheetPage.tsx +++ b/frontend/src/pages/CharacterSheetPage.tsx @@ -28,7 +28,7 @@ import { useCopyCharacter, useCampaignLocations, } from '../api/queries'; -import { useAuth } from '../auth/AuthContext'; +import { useAuth } from '../auth/useAuth'; import { useCampaignSocket } from '../hooks/useCampaignSocket'; import { Spinner, ErrorBanner } from '../components/Spinner'; import { NumberInput } from '../components/NumberInput'; @@ -39,7 +39,8 @@ import { DeathSaves } from '../components/DeathSaves'; import { GearInForce } from '../components/CharacterPanel'; import { effectsSummary } from '../lib/gear'; import { InfoTip } from '../components/InfoTip'; -import { usePagination, Pagination } from '../components/Paginated'; +import { Pagination } from '../components/Paginated'; +import { usePagination } from '../hooks/usePagination'; import { ABILITY_LABELS, CLASS_LABELS, diff --git a/frontend/src/pages/EncounterPage.tsx b/frontend/src/pages/EncounterPage.tsx index 9f4bc1a..ca9b01d 100644 --- a/frontend/src/pages/EncounterPage.tsx +++ b/frontend/src/pages/EncounterPage.tsx @@ -25,7 +25,7 @@ import { type NewReward, } from '../api/queries'; import { useCampaignSocket } from '../hooks/useCampaignSocket'; -import { useAuth } from '../auth/AuthContext'; +import { useAuth } from '../auth/useAuth'; import { Spinner, ErrorBanner } from '../components/Spinner'; import { NumberInput } from '../components/NumberInput'; import { HpBar } from '../components/HpBar'; diff --git a/frontend/src/pages/LoginPage.tsx b/frontend/src/pages/LoginPage.tsx index 3d6ec04..c4c0ad5 100644 --- a/frontend/src/pages/LoginPage.tsx +++ b/frontend/src/pages/LoginPage.tsx @@ -1,7 +1,7 @@ import { useState, type FormEvent } from 'react'; import { Link, useNavigate } from 'react-router-dom'; import { apiClient } from '../api/client'; -import { useAuth } from '../auth/AuthContext'; +import { useAuth } from '../auth/useAuth'; import type { User } from '../api/types'; import { extractErrorMessage } from '../lib/format'; import { ErrorBanner } from '../components/Spinner'; diff --git a/frontend/src/pages/PartyOverviewPage.tsx b/frontend/src/pages/PartyOverviewPage.tsx index 1ecf834..2da862c 100644 --- a/frontend/src/pages/PartyOverviewPage.tsx +++ b/frontend/src/pages/PartyOverviewPage.tsx @@ -1,9 +1,10 @@ import { Link, useParams } from 'react-router-dom'; -import { useAuth } from '../auth/AuthContext'; +import { useAuth } from '../auth/useAuth'; import { useCampaign, useCampaignCharacters } from '../api/queries'; import { useCampaignSocket } from '../hooks/useCampaignSocket'; import { Spinner, ErrorBanner } from '../components/Spinner'; -import { usePagination, Pagination } from '../components/Paginated'; +import { Pagination } from '../components/Paginated'; +import { usePagination } from '../hooks/usePagination'; import { InfoTip } from '../components/InfoTip'; import { CLASS_LABELS, SPECIES_LABELS, formatPurse } from '../lib/format'; import { HpBar } from '../components/HpBar'; diff --git a/frontend/src/pages/RegisterPage.tsx b/frontend/src/pages/RegisterPage.tsx index ea93381..655a3ef 100644 --- a/frontend/src/pages/RegisterPage.tsx +++ b/frontend/src/pages/RegisterPage.tsx @@ -1,7 +1,7 @@ import { useState, type FormEvent } from 'react'; import { Link, useNavigate } from 'react-router-dom'; import { apiClient } from '../api/client'; -import { useAuth } from '../auth/AuthContext'; +import { useAuth } from '../auth/useAuth'; import type { User } from '../api/types'; import { extractErrorMessage } from '../lib/format'; import { ErrorBanner } from '../components/Spinner'; diff --git a/package-lock.json b/package-lock.json index 9c15252..d2979d2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,37 +1,38 @@ { "name": "dnd-campaign-manager", - "version": "1.11.1", + "version": "1.12.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "dnd-campaign-manager", - "version": "1.11.1", + "version": "1.12.0", "workspaces": [ "backend", "frontend" ] }, "backend": { - "version": "1.11.1", + "version": "1.12.0", "dependencies": { - "@prisma/client": "^5.20.0", - "bcrypt": "^5.1.1", + "@prisma/adapter-pg": "^7.10.0", + "@prisma/client": "^7.10.0", + "bcrypt": "^6.0.0", "cors": "^2.8.5", - "dotenv": "^16.4.5", - "express": "^4.21.0", + "dotenv": "^18.0.6", + "express": "^5.2.1", "jsonwebtoken": "^9.0.2", "socket.io": "^4.8.0", - "zod": "^3.23.8" + "zod": "^4.6.5" }, "devDependencies": { - "jest": "^29.7.0", - "prisma": "^5.20.0", + "jest": "^30.5.2", + "prisma": "^7.10.0", "supertest": "^7.0.0" } }, "frontend": { - "version": "1.11.1", + "version": "1.12.0", "dependencies": { "@tanstack/react-query": "^5.103.2", "axios": "^1.20.0", @@ -46,57 +47,10 @@ "@types/react-dom": "^19.2.7", "@vitejs/plugin-react": "^6.1.1", "oxlint": "^1.81.0", - "typescript": "~6.0.2", + "typescript": "~7.0.2", "vite": "^8.3.0" } }, - "frontend/node_modules/@types/node": { - "version": "24.13.6", - "resolved": "https://registry.npmjs.org/@types/node/-/node-24.13.6.tgz", - "integrity": "sha512-SGrw/h3KPFshy3OE6ZL53LMBG5vGQQ8/gIpiqz/kRZhPJ7HgwCEs8LBuNtWLa8dvGZVpSF7+Bf+c11HUrCb/yg==", - "dev": true, - "license": "MIT", - "dependencies": { - "undici-types": "~7.18.0" - } - }, - "frontend/node_modules/@vitejs/plugin-react": { - "version": "6.1.1", - "resolved": "https://registry.npmjs.org/@vitejs/plugin-react/-/plugin-react-6.1.1.tgz", - "integrity": "sha512-yxLaQV9gkhS8ezJqCM6+ndU7mDY6gqAg75NQ+0IjwEI8IYOmQCgkRwHKVSfWXW076DsqMo0Dk+0FK1U+M5RgFw==", - "dev": true, - "license": "MIT", - "dependencies": { - "@rolldown/pluginutils": "^1.0.1" - }, - "engines": { - "node": "^20.19.0 || >=22.12.0" - }, - "peerDependencies": { - "@rolldown/plugin-babel": "^0.1.7 || ^0.2.0", - "babel-plugin-react-compiler": "^1.0.0", - "oxc-transform-react": "^0.145.0", - "vite": "^8.0.0" - }, - "peerDependenciesMeta": { - "@rolldown/plugin-babel": { - "optional": true - }, - "babel-plugin-react-compiler": { - "optional": true - }, - "oxc-transform-react": { - "optional": true - } - } - }, - "frontend/node_modules/undici-types": { - "version": "7.18.2", - "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.18.2.tgz", - "integrity": "sha512-AsuCzffGHJybSaRrmr5eHr81mwJU3kjw6M+uprWvCXiNeN9SOGwQ3Jn8jb8m3Z6izVgknn1R0FTCEAP2QrLY/w==", - "dev": true, - "license": "MIT" - }, "node_modules/@babel/code-frame": { "version": "7.29.7", "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.29.7.tgz", @@ -153,31 +107,6 @@ "url": "https://opencollective.com/babel" } }, - "node_modules/@babel/core/node_modules/debug": { - "version": "4.4.3", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.3.tgz", - "integrity": "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==", - "dev": true, - "license": "MIT", - "dependencies": { - "ms": "^2.1.3" - }, - "engines": { - "node": ">=6.0" - }, - "peerDependenciesMeta": { - "supports-color": { - "optional": true - } - } - }, - "node_modules/@babel/core/node_modules/ms": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", - "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", - "dev": true, - "license": "MIT" - }, "node_modules/@babel/core/node_modules/semver": { "version": "6.3.1", "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", @@ -315,14 +244,14 @@ } }, "node_modules/@babel/helpers": { - "version": "7.29.7", - "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.29.7.tgz", - "integrity": "sha512-1k2lAGRMfHTcwuNYcCNUmaUffmQv8KWMfh2iJUUeRlwlwH4FdNG7mfPI10NPfLHJFThE4Tyr4mv7kTNZOiPuBg==", + "version": "7.29.10", + "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.29.10.tgz", + "integrity": "sha512-EMCx3AGZ3WfAl6ht7AyQoPm2Lh+BGYEMdc4Q6Hf7uSCDOZFuLq44qNwL+iaim8VlyYhRAo4X43+weadK8ZB4Yg==", "dev": true, "license": "MIT", "dependencies": { "@babel/template": "^7.29.7", - "@babel/types": "^7.29.7" + "@babel/types": "^7.29.8" }, "engines": { "node": ">=6.9.0" @@ -599,16 +528,16 @@ } }, "node_modules/@babel/traverse": { - "version": "7.29.8", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.29.8.tgz", - "integrity": "sha512-I5z7H3bf/41ktsNVLtpN0wAa336HkqIHQ5BuPLEhTkt1jVSyZpeNKIzTgEWmlxjdg81R0IgUCcaE+Ok3NvrfZg==", + "version": "7.29.10", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.29.10.tgz", + "integrity": "sha512-B3lYAs2nkKskbgQ1nfy8Ma9ao9Q1rntTAQHrzzyDuj+TSO+X3le6PfWwqDvodsb+OumE10eMFfuMCTQSQ5iuIQ==", "dev": true, "license": "MIT", "dependencies": { "@babel/code-frame": "^7.29.7", "@babel/generator": "^7.29.8", "@babel/helper-globals": "^7.29.7", - "@babel/parser": "^7.29.8", + "@babel/parser": "^7.29.9", "@babel/template": "^7.29.7", "@babel/types": "^7.29.8", "debug": "^4.3.1" @@ -617,31 +546,6 @@ "node": ">=6.9.0" } }, - "node_modules/@babel/traverse/node_modules/debug": { - "version": "4.4.3", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.3.tgz", - "integrity": "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==", - "dev": true, - "license": "MIT", - "dependencies": { - "ms": "^2.1.3" - }, - "engines": { - "node": ">=6.0" - }, - "peerDependenciesMeta": { - "supports-color": { - "optional": true - } - } - }, - "node_modules/@babel/traverse/node_modules/ms": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", - "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", - "dev": true, - "license": "MIT" - }, "node_modules/@babel/types": { "version": "7.29.8", "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.29.8.tgz", @@ -663,6 +567,173 @@ "dev": true, "license": "MIT" }, + "node_modules/@electric-sql/pglite": { + "version": "0.4.3", + "resolved": "https://registry.npmjs.org/@electric-sql/pglite/-/pglite-0.4.3.tgz", + "integrity": "sha512-ichuWTgtd4mOM1G4SpyGJa5trT03lWbMypDV0fUXUCXg5hiHqVAz/bZyV68NqmkLB7WcYmj1RMJVSp8HV/v/ZQ==", + "devOptional": true, + "license": "Apache-2.0" + }, + "node_modules/@electric-sql/pglite-socket": { + "version": "0.1.3", + "resolved": "https://registry.npmjs.org/@electric-sql/pglite-socket/-/pglite-socket-0.1.3.tgz", + "integrity": "sha512-LAciWM0M1dCL8hlsxu2venbVZcdxema0BtDfpWYVqr+Y468UADw0pFWidhKw1M8sfJ8rdLT71tjMmnirf/IZRQ==", + "devOptional": true, + "license": "Apache-2.0", + "bin": { + "pglite-server": "dist/scripts/server.js" + }, + "peerDependencies": { + "@electric-sql/pglite": "0.4.3" + } + }, + "node_modules/@electric-sql/pglite-tools": { + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/@electric-sql/pglite-tools/-/pglite-tools-0.3.3.tgz", + "integrity": "sha512-AlzLJTRJ8+UFgK8CmxIpyIpJ0+YaFw02IiOSdYrqxwPXdSyeIShz8aa9Tq+tYFXdPwcaMp/Fc80mQZ1dkOQ/wg==", + "devOptional": true, + "license": "Apache-2.0", + "peerDependencies": { + "@electric-sql/pglite": "0.4.3" + } + }, + "node_modules/@emnapi/core": { + "version": "1.10.0", + "resolved": "https://registry.npmjs.org/@emnapi/core/-/core-1.10.0.tgz", + "integrity": "sha512-yq6OkJ4p82CAfPl0u9mQebQHKPJkY7WrIuk205cTYnYe+k2Z8YBh11FrbRG/H6ihirqcacOgl2BIO8oyMQLeXw==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "@emnapi/wasi-threads": "1.2.1", + "tslib": "^2.4.0" + } + }, + "node_modules/@emnapi/runtime": { + "version": "1.10.0", + "resolved": "https://registry.npmjs.org/@emnapi/runtime/-/runtime-1.10.0.tgz", + "integrity": "sha512-ewvYlk86xUoGI0zQRNq/mC+16R1QeDlKQy21Ki3oSYXNgLb45GV1P6A0M+/s6nyCuNDqe5VpaY84BzXGwVbwFA==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "tslib": "^2.4.0" + } + }, + "node_modules/@emnapi/wasi-threads": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/@emnapi/wasi-threads/-/wasi-threads-1.2.1.tgz", + "integrity": "sha512-uTII7OYF+/Mes/MrcIOYp5yOtSMLBWSIoLPpcgwipoiKbli6k322tcoFsxoIIxPDqW01SQGAgko4EzZi2BNv2w==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "tslib": "^2.4.0" + } + }, + "node_modules/@isaacs/cliui": { + "version": "8.0.2", + "resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz", + "integrity": "sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==", + "dev": true, + "license": "ISC", + "dependencies": { + "string-width": "^5.1.2", + "string-width-cjs": "npm:string-width@^4.2.0", + "strip-ansi": "^7.0.1", + "strip-ansi-cjs": "npm:strip-ansi@^6.0.1", + "wrap-ansi": "^8.1.0", + "wrap-ansi-cjs": "npm:wrap-ansi@^7.0.0" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/@isaacs/cliui/node_modules/ansi-regex": { + "version": "6.4.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.4.0.tgz", + "integrity": "sha512-KzTVk2tCWAHtYrvvvaP8bJKJq2pVinhLcGEQdtLIYPbmNGNyYe8QwNaTUYQp2J7/vIsUKt5QCqAfUkYyG9DkOw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-regex?sponsor=1" + } + }, + "node_modules/@isaacs/cliui/node_modules/ansi-styles": { + "version": "6.2.3", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.3.tgz", + "integrity": "sha512-4Dj6M28JB+oAH8kFkTLUo+a2jwOFkuqb3yucU0CANcRRUbxS0cP0nZYCGjcc3BNXwRIsUVmDGgzawme7zvJHvg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/@isaacs/cliui/node_modules/emoji-regex": { + "version": "9.2.2", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz", + "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==", + "dev": true, + "license": "MIT" + }, + "node_modules/@isaacs/cliui/node_modules/string-width": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz", + "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==", + "dev": true, + "license": "MIT", + "dependencies": { + "eastasianwidth": "^0.2.0", + "emoji-regex": "^9.2.2", + "strip-ansi": "^7.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@isaacs/cliui/node_modules/strip-ansi": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.2.0.tgz", + "integrity": "sha512-yDPMNjp4WyfYBkHnjIRLfca1i6KMyGCtsVgoKe/z1+6vukgaENdgGBZt+ZmKPc4gavvEZ5OgHfHdrazhgNyG7w==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-regex": "^6.2.2" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/strip-ansi?sponsor=1" + } + }, + "node_modules/@isaacs/cliui/node_modules/wrap-ansi": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz", + "integrity": "sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^6.1.0", + "string-width": "^5.0.1", + "strip-ansi": "^7.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, "node_modules/@istanbuljs/load-nyc-config": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/@istanbuljs/load-nyc-config/-/load-nyc-config-1.1.0.tgz", @@ -691,61 +762,61 @@ } }, "node_modules/@jest/console": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/@jest/console/-/console-29.7.0.tgz", - "integrity": "sha512-5Ni4CU7XHQi32IJ398EEP4RrB8eV09sXP2ROqD4bksHrnTree52PsxvX8tpL8LvTZ3pFzXyPbNQReSN41CAhOg==", + "version": "30.5.2", + "resolved": "https://registry.npmjs.org/@jest/console/-/console-30.5.2.tgz", + "integrity": "sha512-e8sQC4pCMHPBrPX7Hk8TJr+DM5dkUnImSTNag8SEWFAFAF6xIz4AJvCKapnrdHnZxep4bxw4PhG+ZbimYBMyKw==", "dev": true, "license": "MIT", "dependencies": { - "@jest/types": "^29.6.3", + "@jest/types": "30.5.1", "@types/node": "*", - "chalk": "^4.0.0", - "jest-message-util": "^29.7.0", - "jest-util": "^29.7.0", + "chalk": "^4.1.2", + "jest-message-util": "30.5.1", + "jest-util": "30.5.1", "slash": "^3.0.0" }, "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" } }, "node_modules/@jest/core": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/@jest/core/-/core-29.7.0.tgz", - "integrity": "sha512-n7aeXWKMnGtDA48y8TLWJPJmLmmZ642Ceo78cYWEpiD7FzDgmNDV/GCVRorPABdXLJZ/9wzzgZAlHjXjxDHGsg==", + "version": "30.5.2", + "resolved": "https://registry.npmjs.org/@jest/core/-/core-30.5.2.tgz", + "integrity": "sha512-/jqvFWoJF7LV1a6AUpYMbMm+2yIYsHJfR474H0SCzr9k8tnO/jl9wRg6zSG6lxgf6EozNlCG4amFzWsbZSvvZA==", "dev": true, "license": "MIT", "dependencies": { - "@jest/console": "^29.7.0", - "@jest/reporters": "^29.7.0", - "@jest/test-result": "^29.7.0", - "@jest/transform": "^29.7.0", - "@jest/types": "^29.6.3", + "@jest/console": "30.5.2", + "@jest/pattern": "30.5.0", + "@jest/reporters": "30.5.2", + "@jest/test-result": "30.5.2", + "@jest/transform": "30.5.2", + "@jest/types": "30.5.1", "@types/node": "*", - "ansi-escapes": "^4.2.1", - "chalk": "^4.0.0", - "ci-info": "^3.2.0", - "exit": "^0.1.2", - "graceful-fs": "^4.2.9", - "jest-changed-files": "^29.7.0", - "jest-config": "^29.7.0", - "jest-haste-map": "^29.7.0", - "jest-message-util": "^29.7.0", - "jest-regex-util": "^29.6.3", - "jest-resolve": "^29.7.0", - "jest-resolve-dependencies": "^29.7.0", - "jest-runner": "^29.7.0", - "jest-runtime": "^29.7.0", - "jest-snapshot": "^29.7.0", - "jest-util": "^29.7.0", - "jest-validate": "^29.7.0", - "jest-watcher": "^29.7.0", - "micromatch": "^4.0.4", - "pretty-format": "^29.7.0", - "slash": "^3.0.0", - "strip-ansi": "^6.0.0" + "ansi-escapes": "^4.3.2", + "chalk": "^4.1.2", + "ci-info": "^4.2.0", + "exit-x": "^0.2.2", + "fast-json-stable-stringify": "^2.1.0", + "graceful-fs": "^4.2.11", + "jest-changed-files": "30.5.1", + "jest-config": "30.5.2", + "jest-haste-map": "30.5.1", + "jest-message-util": "30.5.1", + "jest-regex-util": "30.5.0", + "jest-resolve": "30.5.1", + "jest-resolve-dependencies": "30.5.2", + "jest-runner": "30.5.2", + "jest-runtime": "30.5.2", + "jest-snapshot": "30.5.2", + "jest-util": "30.5.1", + "jest-validate": "30.5.1", + "jest-watcher": "30.5.2", + "pretty-format": "30.5.1", + "slash": "^3.0.0" }, "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" }, "peerDependencies": { "node-notifier": "^8.0.1 || ^9.0.0 || ^10.0.0" @@ -756,117 +827,166 @@ } } }, + "node_modules/@jest/diff-sequences": { + "version": "30.5.0", + "resolved": "https://registry.npmjs.org/@jest/diff-sequences/-/diff-sequences-30.5.0.tgz", + "integrity": "sha512-OsqBjHXCn8cadasoAZBP6nWYvMsRhpMzGXTpxJ5aO04NlbdhIz+FVe3q49l0AwVhsz/cEmIpBes6gAFl1/dWQg==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" + } + }, "node_modules/@jest/environment": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/@jest/environment/-/environment-29.7.0.tgz", - "integrity": "sha512-aQIfHDq33ExsN4jP1NWGXhxgQ/wixs60gDiKO+XVMd8Mn0NWPWgc34ZQDTb2jKaUWQ7MuwoitXAsN2XVXNMpAw==", + "version": "30.5.2", + "resolved": "https://registry.npmjs.org/@jest/environment/-/environment-30.5.2.tgz", + "integrity": "sha512-nwFPOUMbmsjNNRCpnJpB9HbSZu4C07wDDds++5j+j1MezzPLxMPDdbdUVjr2o4RULDOValnDd70taPFI1EtxAg==", "dev": true, "license": "MIT", "dependencies": { - "@jest/fake-timers": "^29.7.0", - "@jest/types": "^29.6.3", + "@jest/fake-timers": "30.5.2", + "@jest/types": "30.5.1", "@types/node": "*", - "jest-mock": "^29.7.0" + "jest-mock": "30.5.2" }, "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" } }, "node_modules/@jest/expect": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/@jest/expect/-/expect-29.7.0.tgz", - "integrity": "sha512-8uMeAMycttpva3P1lBHB8VciS9V0XAr3GymPpipdyQXbBcuhkLQOSe8E/p92RyAdToS6ZD1tFkX+CkhoECE0dQ==", + "version": "30.5.2", + "resolved": "https://registry.npmjs.org/@jest/expect/-/expect-30.5.2.tgz", + "integrity": "sha512-2E+1Pg6jJxbRjLNLpciC71iri/3qsKJL222/aXJEFwC0VdUSvfS+JZQQLEVjUYYc8t8pQu2MGE3cF2+bNTYRsg==", "dev": true, "license": "MIT", "dependencies": { - "expect": "^29.7.0", - "jest-snapshot": "^29.7.0" + "expect": "30.5.2", + "jest-snapshot": "30.5.2" }, "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" } }, "node_modules/@jest/expect-utils": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/@jest/expect-utils/-/expect-utils-29.7.0.tgz", - "integrity": "sha512-GlsNBWiFQFCVi9QVSx7f5AgMeLxe9YCCs5PuP2O2LdjDAA8Jh9eX7lA1Jq/xdXw3Wb3hyvlFNfZIfcRetSzYcA==", + "version": "30.5.2", + "resolved": "https://registry.npmjs.org/@jest/expect-utils/-/expect-utils-30.5.2.tgz", + "integrity": "sha512-d/HOLSrJUlBIl6n3LzOa7cjW3xdePm5H5gQw2lixZ/0h157l9sw3mLblzFqnPcTbhDzhRQdBOX3A3KcG73nm5Q==", "dev": true, "license": "MIT", "dependencies": { - "jest-get-type": "^29.6.3" + "@jest/get-type": "30.5.0" }, "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" } }, "node_modules/@jest/fake-timers": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/@jest/fake-timers/-/fake-timers-29.7.0.tgz", - "integrity": "sha512-q4DH1Ha4TTFPdxLsqDXK1d3+ioSL7yL5oCMJZgDYm6i+6CygW5E5xVr/D1HdsGxjt1ZWSfUAs9OxSB/BNelWrQ==", + "version": "30.5.2", + "resolved": "https://registry.npmjs.org/@jest/fake-timers/-/fake-timers-30.5.2.tgz", + "integrity": "sha512-GKk0h0tKT5SpDPxDhPg3r9mm5s8/YCBzVNMOGdRiQXwUiMsjU10mVPlMaQstH6/cu50vOb8N9oQUMETHuwwxKw==", "dev": true, "license": "MIT", "dependencies": { - "@jest/types": "^29.6.3", - "@sinonjs/fake-timers": "^10.0.2", + "@jest/types": "30.5.1", + "@sinonjs/fake-timers": "^15.4.0", "@types/node": "*", - "jest-message-util": "^29.7.0", - "jest-mock": "^29.7.0", - "jest-util": "^29.7.0" + "jest-message-util": "30.5.1", + "jest-mock": "30.5.2", + "jest-util": "30.5.1" }, "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" + } + }, + "node_modules/@jest/get-type": { + "version": "30.5.0", + "resolved": "https://registry.npmjs.org/@jest/get-type/-/get-type-30.5.0.tgz", + "integrity": "sha512-9/2VUPitAjmBzbvDvqrxmvB7BzWsBW0WmkkojX1ODuxX1NLGxx9gfaZpHB0z8DtJ9uhGNmZG/VXBhf8uO0OV8Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" } }, "node_modules/@jest/globals": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/@jest/globals/-/globals-29.7.0.tgz", - "integrity": "sha512-mpiz3dutLbkW2MNFubUGUEVLkTGiqW6yLVTA+JbP6fI6J5iL9Y0Nlg8k95pcF8ctKwCS7WVxteBs29hhfAotzQ==", + "version": "30.5.2", + "resolved": "https://registry.npmjs.org/@jest/globals/-/globals-30.5.2.tgz", + "integrity": "sha512-62zfS+dL+M5aTNHXCNLyqD+j4oqxTIzDYrZbpqMP8Yn+gvlAGyzC6BSPNb1ZmFOakV1RtFYX/O3FCQXSWmQdgg==", "dev": true, "license": "MIT", "dependencies": { - "@jest/environment": "^29.7.0", - "@jest/expect": "^29.7.0", - "@jest/types": "^29.6.3", - "jest-mock": "^29.7.0" + "@jest/environment": "30.5.2", + "@jest/expect": "30.5.2", + "@jest/types": "30.5.1", + "jest-mock": "30.5.2" }, "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" } }, + "node_modules/@jest/pattern": { + "version": "30.5.0", + "resolved": "https://registry.npmjs.org/@jest/pattern/-/pattern-30.5.0.tgz", + "integrity": "sha512-HdNQYSdRTEBNrginaqzQtTjG0HRMfrra/z6Ok7uL3S87vSlarIVohEsJsSj5edu3MiHoHjAkvPROz5ZjoKai+w==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*", + "jest-regex-util": "30.5.0" + }, + "engines": { + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" + } + }, + "node_modules/@jest/react-is-18": { + "name": "react-is", + "version": "18.3.1", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-18.3.1.tgz", + "integrity": "sha512-/LLMVyas0ljjAtoYiPqYiL8VWXzUUdThrmU5+n20DZv+a+ClRoevUzw5JxU+Ieh5/c87ytoTBV9G1FiKfNJdmg==", + "dev": true, + "license": "MIT" + }, + "node_modules/@jest/react-is-19": { + "name": "react-is", + "version": "19.3.0", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-19.3.0.tgz", + "integrity": "sha512-UpMYezM4v5/18F28aC66AEsjXIgE02kyEMH6yLdgLXu/UTfa1Ntwck/nNLrbqJsEXW7gPb0coNO9FQse9WTovA==", + "dev": true, + "license": "MIT" + }, "node_modules/@jest/reporters": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/@jest/reporters/-/reporters-29.7.0.tgz", - "integrity": "sha512-DApq0KJbJOEzAFYjHADNNxAE3KbhxQB1y5Kplb5Waqw6zVbuWatSnMjE5gs8FUgEPmNsnZA3NCWl9NG0ia04Pg==", + "version": "30.5.2", + "resolved": "https://registry.npmjs.org/@jest/reporters/-/reporters-30.5.2.tgz", + "integrity": "sha512-ev6E9iG73twQcfAfoTnviuYkr3yOrYbzAtMFCimv2fxHXPIp9PBt2u1wNMt0aYWgl8FPwIcS8oqRJg6alnht4Q==", "dev": true, "license": "MIT", "dependencies": { "@bcoe/v8-coverage": "^0.2.3", - "@jest/console": "^29.7.0", - "@jest/test-result": "^29.7.0", - "@jest/transform": "^29.7.0", - "@jest/types": "^29.6.3", - "@jridgewell/trace-mapping": "^0.3.18", + "@jest/console": "30.5.2", + "@jest/test-result": "30.5.2", + "@jest/transform": "30.5.2", + "@jest/types": "30.5.1", + "@jridgewell/trace-mapping": "^0.3.31", "@types/node": "*", - "chalk": "^4.0.0", - "collect-v8-coverage": "^1.0.0", - "exit": "^0.1.2", - "glob": "^7.1.3", - "graceful-fs": "^4.2.9", + "chalk": "^4.1.2", + "collect-v8-coverage": "^1.0.2", + "exit-x": "^0.2.2", + "glob": "^13.0.6", + "graceful-fs": "^4.2.11", "istanbul-lib-coverage": "^3.0.0", "istanbul-lib-instrument": "^6.0.0", "istanbul-lib-report": "^3.0.0", - "istanbul-lib-source-maps": "^4.0.0", + "istanbul-lib-source-maps": "^5.0.0", "istanbul-reports": "^3.1.3", - "jest-message-util": "^29.7.0", - "jest-util": "^29.7.0", - "jest-worker": "^29.7.0", + "jest-message-util": "30.5.1", + "jest-util": "30.5.1", + "jest-worker": "30.5.1", "slash": "^3.0.0", - "string-length": "^4.0.1", - "strip-ansi": "^6.0.0", + "string-length": "^4.0.2", "v8-to-istanbul": "^9.0.1" }, "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" }, "peerDependencies": { "node-notifier": "^8.0.1 || ^9.0.0 || ^10.0.0" @@ -877,109 +997,193 @@ } } }, - "node_modules/@jest/schemas": { - "version": "29.6.3", - "resolved": "https://registry.npmjs.org/@jest/schemas/-/schemas-29.6.3.tgz", - "integrity": "sha512-mo5j5X+jIZmJQveBKeS/clAueipV7KgiX1vMgCxam1RNYiqE1w62n0/tJJnHtjW8ZHcQco5gY85jA3mi0L+nSA==", + "node_modules/@jest/reporters/node_modules/balanced-match": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-4.0.4.tgz", + "integrity": "sha512-BLrgEcRTwX2o6gGxGOCNyMvGSp35YofuYzw9h1IMTRmKqttAZZVU67bdb9Pr2vUHA8+j3i2tJfjO6C6+4myGTA==", + "dev": true, + "license": "MIT", + "engines": { + "node": "18 || 20 || >=22" + } + }, + "node_modules/@jest/reporters/node_modules/brace-expansion": { + "version": "5.0.12", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.12.tgz", + "integrity": "sha512-YovQ3rzhaLMIrDjNDMkNS01tea93qhEhG5xy8f6+R0l+dw3Ki+5sCoIoI942iuLZTHWogWktgwVDhU09iNEimQ==", "dev": true, "license": "MIT", "dependencies": { - "@sinclair/typebox": "^0.27.8" + "balanced-match": "^4.0.2" }, "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": "20 || >=22" + } + }, + "node_modules/@jest/reporters/node_modules/glob": { + "version": "13.0.6", + "resolved": "https://registry.npmjs.org/glob/-/glob-13.0.6.tgz", + "integrity": "sha512-Wjlyrolmm8uDpm/ogGyXZXb1Z+Ca2B8NbJwqBVg0axK9GbBeoS7yGV6vjXnYdGm6X53iehEuxxbyiKp8QmN4Vw==", + "dev": true, + "license": "BlueOak-1.0.0", + "dependencies": { + "minimatch": "^10.2.2", + "minipass": "^7.1.3", + "path-scurry": "^2.0.2" + }, + "engines": { + "node": "18 || 20 || >=22" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/@jest/reporters/node_modules/minimatch": { + "version": "10.2.6", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.2.6.tgz", + "integrity": "sha512-vpLQEs+VLCr1nU0BXS07maYoFwlDAH0gngQuuttxIwutDFEMHq2blX+8vpgxDdK3J1PwjCJiep77OitTZ4Ll1A==", + "dev": true, + "license": "BlueOak-1.0.0", + "dependencies": { + "brace-expansion": "^5.0.8" + }, + "engines": { + "node": "18 || 20 || >=22" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/@jest/reporters/node_modules/minipass": { + "version": "7.1.3", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.3.tgz", + "integrity": "sha512-tEBHqDnIoM/1rXME1zgka9g6Q2lcoCkxHLuc7ODJ5BxbP5d4c2Z5cGgtXAku59200Cx7diuHTOYfSBD8n6mm8A==", + "dev": true, + "license": "BlueOak-1.0.0", + "engines": { + "node": ">=16 || 14 >=14.17" + } + }, + "node_modules/@jest/schemas": { + "version": "30.5.0", + "resolved": "https://registry.npmjs.org/@jest/schemas/-/schemas-30.5.0.tgz", + "integrity": "sha512-/hunigyNpc4RCjC0VaW3f5RCUZVM2+WQ65qP7z083Gmvac7or2LI50XVNOtE4YPgBpV0yxYiAgorAPGniCoJmg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@sinclair/typebox": "^0.34.0" + }, + "engines": { + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" + } + }, + "node_modules/@jest/snapshot-utils": { + "version": "30.5.1", + "resolved": "https://registry.npmjs.org/@jest/snapshot-utils/-/snapshot-utils-30.5.1.tgz", + "integrity": "sha512-V3wnxNtiVmw5PPVg433Cn3VdXnsOeu/ofLw3KC04Bn2y1wIlU5kozXQn48rhrgj/02LrCVtntTEF1yBha0XSUw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/types": "30.5.1", + "chalk": "^4.1.2", + "graceful-fs": "^4.2.11", + "natural-compare": "^1.4.0" + }, + "engines": { + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" } }, "node_modules/@jest/source-map": { - "version": "29.6.3", - "resolved": "https://registry.npmjs.org/@jest/source-map/-/source-map-29.6.3.tgz", - "integrity": "sha512-MHjT95QuipcPrpLM+8JMSzFx6eHp5Bm+4XeFDJlwsvVBjmKNiIAvasGK2fxz2WbGRlnvqehFbh07MMa7n3YJnw==", + "version": "30.5.2", + "resolved": "https://registry.npmjs.org/@jest/source-map/-/source-map-30.5.2.tgz", + "integrity": "sha512-c5CehvkbfHX6yyNg7bMn2ylqlp9AHXuZ/3hPH/Lh5bxD/vefd/lV9HBjMqXef9yQNqkdwyZvkLSVSwB38hy8Qw==", "dev": true, "license": "MIT", "dependencies": { - "@jridgewell/trace-mapping": "^0.3.18", - "callsites": "^3.0.0", - "graceful-fs": "^4.2.9" + "@jridgewell/trace-mapping": "^0.3.31", + "callsites": "^3.1.0", + "convert-source-map": "^2.0.0", + "graceful-fs": "^4.2.11" }, "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" } }, "node_modules/@jest/test-result": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/@jest/test-result/-/test-result-29.7.0.tgz", - "integrity": "sha512-Fdx+tv6x1zlkJPcWXmMDAG2HBnaR9XPSd5aDWQVsfrZmLVT3lU1cwyxLgRmXR9yrq4NBoEm9BMsfgFzTQAbJYA==", + "version": "30.5.2", + "resolved": "https://registry.npmjs.org/@jest/test-result/-/test-result-30.5.2.tgz", + "integrity": "sha512-eO6YU5rsLfs60ne694e0IAmRgeBnoA8mu0nlxXDbl/1j5km0o2vO9/VbbUIKIH+WRKKEI+ELgwraRGn2Lhep8g==", "dev": true, "license": "MIT", "dependencies": { - "@jest/console": "^29.7.0", - "@jest/types": "^29.6.3", - "@types/istanbul-lib-coverage": "^2.0.0", - "collect-v8-coverage": "^1.0.0" + "@jest/console": "30.5.2", + "@jest/types": "30.5.1", + "@types/istanbul-lib-coverage": "^2.0.6", + "collect-v8-coverage": "^1.0.2" }, "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" } }, "node_modules/@jest/test-sequencer": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/@jest/test-sequencer/-/test-sequencer-29.7.0.tgz", - "integrity": "sha512-GQwJ5WZVrKnOJuiYiAF52UNUJXgTZx1NHjFSEB0qEMmSZKAkdMoIzw/Cj6x6NF4AvV23AUqDpFzQkN/eYCYTxw==", + "version": "30.5.2", + "resolved": "https://registry.npmjs.org/@jest/test-sequencer/-/test-sequencer-30.5.2.tgz", + "integrity": "sha512-bmij8jZyYAC47ExT2GeP7PcrlwSNS+Bp3KeRuBH88gpcxqDv6fljN8PemS4J/lLZ79xb6mpaennQTTq0zUAVVg==", "dev": true, "license": "MIT", "dependencies": { - "@jest/test-result": "^29.7.0", - "graceful-fs": "^4.2.9", - "jest-haste-map": "^29.7.0", + "@jest/test-result": "30.5.2", + "graceful-fs": "^4.2.11", + "jest-haste-map": "30.5.1", "slash": "^3.0.0" }, "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" } }, "node_modules/@jest/transform": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/@jest/transform/-/transform-29.7.0.tgz", - "integrity": "sha512-ok/BTPFzFKVMwO5eOHRrvnBVHdRy9IrsrW1GpMaQ9MCnilNLXQKmAX8s1YXDFaai9xJpac2ySzV0YeRRECr2Vw==", + "version": "30.5.2", + "resolved": "https://registry.npmjs.org/@jest/transform/-/transform-30.5.2.tgz", + "integrity": "sha512-LBGwmaE886C41jDZ65eqR1YbXM7642MK3ZhTowZd5+xDlrDLuf4ePuDdDmVSvcr8NTVJ3MqxLkMbUCzuigUaoQ==", "dev": true, "license": "MIT", "dependencies": { - "@babel/core": "^7.11.6", - "@jest/types": "^29.6.3", - "@jridgewell/trace-mapping": "^0.3.18", - "babel-plugin-istanbul": "^6.1.1", - "chalk": "^4.0.0", + "@babel/core": "^7.27.4", + "@jest/types": "30.5.1", + "@jridgewell/trace-mapping": "^0.3.31", + "babel-plugin-istanbul": "^8.0.0", + "chalk": "^4.1.2", "convert-source-map": "^2.0.0", "fast-json-stable-stringify": "^2.1.0", - "graceful-fs": "^4.2.9", - "jest-haste-map": "^29.7.0", - "jest-regex-util": "^29.6.3", - "jest-util": "^29.7.0", - "micromatch": "^4.0.4", - "pirates": "^4.0.4", + "graceful-fs": "^4.2.11", + "jest-haste-map": "30.5.1", + "jest-regex-util": "30.5.0", + "jest-util": "30.5.1", + "pirates": "^4.0.7", "slash": "^3.0.0", - "write-file-atomic": "^4.0.2" + "write-file-atomic": "^5.0.1" }, "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" } }, "node_modules/@jest/types": { - "version": "29.6.3", - "resolved": "https://registry.npmjs.org/@jest/types/-/types-29.6.3.tgz", - "integrity": "sha512-u3UPsIilWKOM3F9CXtrG8LEJmNxwoCQC/XVj4IKYXvvpx7QIi/Kg1LI5uDmDpKlac62NUtX7eLjRh+jVZcLOzw==", + "version": "30.5.1", + "resolved": "https://registry.npmjs.org/@jest/types/-/types-30.5.1.tgz", + "integrity": "sha512-LvVYn83nnXPl+Rg98nvcFgjx6nRMTArhSn6RAX/w3ELn54S8A42TYZvsCMdGUqTM8S0wyXbtlQdU6Hi6dykj9g==", "dev": true, "license": "MIT", "dependencies": { - "@jest/schemas": "^29.6.3", - "@types/istanbul-lib-coverage": "^2.0.0", - "@types/istanbul-reports": "^3.0.0", + "@jest/pattern": "30.5.0", + "@jest/schemas": "30.5.0", + "@types/istanbul-lib-coverage": "^2.0.6", + "@types/istanbul-reports": "^3.0.4", "@types/node": "*", - "@types/yargs": "^17.0.8", - "chalk": "^4.0.0" + "@types/yargs": "^17.0.33", + "chalk": "^4.1.2" }, "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" } }, "node_modules/@jridgewell/gen-mapping": { @@ -1032,24 +1236,26 @@ "@jridgewell/sourcemap-codec": "^1.4.14" } }, - "node_modules/@mapbox/node-pre-gyp": { - "version": "1.0.11", - "resolved": "https://registry.npmjs.org/@mapbox/node-pre-gyp/-/node-pre-gyp-1.0.11.tgz", - "integrity": "sha512-Yhlar6v9WQgUp/He7BdgzOz8lqMQ8sU+jkCq7Wx8Myc5YFJLbEe7lgui/V7G1qB1DJykHSGwreceSaD60Y0PUQ==", - "license": "BSD-3-Clause", + "node_modules/@napi-rs/wasm-runtime": { + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/@napi-rs/wasm-runtime/-/wasm-runtime-1.2.5.tgz", + "integrity": "sha512-HshSvXzmBxNzqejd3k/KemgQ3hdREUYFRRrgxOZ+gPljDIsO2SDZrVZMd4Z/HsxudQbE62OVyVFE8z9BCurfjA==", + "dev": true, + "license": "MIT", + "optional": true, "dependencies": { - "detect-libc": "^2.0.0", - "https-proxy-agent": "^5.0.0", - "make-dir": "^3.1.0", - "node-fetch": "^2.6.7", - "nopt": "^5.0.0", - "npmlog": "^5.0.1", - "rimraf": "^3.0.2", - "semver": "^7.3.5", - "tar": "^6.1.11" + "@tybys/wasm-util": "^0.10.3" }, - "bin": { - "node-pre-gyp": "bin/node-pre-gyp" + "engines": { + "node": "^20.19.0 || ^22.13.0 || >=23.5.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/Brooooooklyn" + }, + "peerDependencies": { + "@emnapi/core": "^1.7.1 || ^2.0.0-alpha.4", + "@emnapi/runtime": "^1.7.1 || ^2.0.0-alpha.4" } }, "node_modules/@noble/hashes": { @@ -1066,9 +1272,9 @@ } }, "node_modules/@oxc-project/types": { - "version": "0.150.0", - "resolved": "https://registry.npmjs.org/@oxc-project/types/-/types-0.150.0.tgz", - "integrity": "sha512-rDS5/31E9HfPl/CIzGrn0DOlvBbXFseQ5URJ9sYMfstbKLD/c6Gm9vmRzRGDdAXyOIL4zmO37lc9RIwYqVruZw==", + "version": "0.153.0", + "resolved": "https://registry.npmjs.org/@oxc-project/types/-/types-0.153.0.tgz", + "integrity": "sha512-jSNrRIyvPVLL5E1z/tS5zLAprosGz/FuI1PWwEOz59j3E4TTTzSpqKb/RDGqJhhW0QHYISGXxq582wGx6T11Tw==", "dev": true, "license": "MIT", "funding": { @@ -1076,9 +1282,9 @@ } }, "node_modules/@oxlint/binding-android-arm-eabi": { - "version": "1.85.0", - "resolved": "https://registry.npmjs.org/@oxlint/binding-android-arm-eabi/-/binding-android-arm-eabi-1.85.0.tgz", - "integrity": "sha512-q2KO/Zso9UT+OMn0NF9ywn4E4t0MI3yxiDhNyhsQ7DyQJrC4FhFE4TXOi4bktFnOWXTMds8qZSbpv2XwRaNOBg==", + "version": "1.87.0", + "resolved": "https://registry.npmjs.org/@oxlint/binding-android-arm-eabi/-/binding-android-arm-eabi-1.87.0.tgz", + "integrity": "sha512-22tVIHlB9898OYsBKmYB6He1MCSqdTmK1BVWuSNUTVrpS0KWNege+U9uEYqGJ+KatQag0r/oU44i3OOs46z7HQ==", "cpu": [ "arm" ], @@ -1093,9 +1299,9 @@ } }, "node_modules/@oxlint/binding-android-arm64": { - "version": "1.85.0", - "resolved": "https://registry.npmjs.org/@oxlint/binding-android-arm64/-/binding-android-arm64-1.85.0.tgz", - "integrity": "sha512-SxLN3ALjoT9NNdvpjEevGeHvfzTAFrF0NBYB5tzK7/GtCKMze3j1e/m/X2ozqGj2U9hfGG/dg/OG8vpVK4PiDA==", + "version": "1.87.0", + "resolved": "https://registry.npmjs.org/@oxlint/binding-android-arm64/-/binding-android-arm64-1.87.0.tgz", + "integrity": "sha512-JfZQ3MWf74n8ov0DojZpkOduIubYJvZL5tbTMMhDutsal6u1xH1QuNpN+lK+EQwF8AeAfgwTR2fgh5U2br27XA==", "cpu": [ "arm64" ], @@ -1110,9 +1316,9 @@ } }, "node_modules/@oxlint/binding-darwin-arm64": { - "version": "1.85.0", - "resolved": "https://registry.npmjs.org/@oxlint/binding-darwin-arm64/-/binding-darwin-arm64-1.85.0.tgz", - "integrity": "sha512-Y/Sup/J4f0f9UGsSd/xyCNTeWL+gepO63GBdEDAfue9nBsnk9zMmnIXx1O6b1V8C90vB5nucYNZ0pbMXAp8zJA==", + "version": "1.87.0", + "resolved": "https://registry.npmjs.org/@oxlint/binding-darwin-arm64/-/binding-darwin-arm64-1.87.0.tgz", + "integrity": "sha512-rkx6Xvvw93z2GImVOyvbZwAZcoY0Z6MJW177XNsSB+i/CBsH7ANyelTp01VZyIkM3iSXtqKVb4+ptBgPHap5pQ==", "cpu": [ "arm64" ], @@ -1127,9 +1333,9 @@ } }, "node_modules/@oxlint/binding-darwin-x64": { - "version": "1.85.0", - "resolved": "https://registry.npmjs.org/@oxlint/binding-darwin-x64/-/binding-darwin-x64-1.85.0.tgz", - "integrity": "sha512-ApOSNC04ynpDTwvBD+//0wyfODRSbEzvRoKpX8teffmc27z8AockwSNeMXGJXn5KP85eahDgR/2llICWLkzcnw==", + "version": "1.87.0", + "resolved": "https://registry.npmjs.org/@oxlint/binding-darwin-x64/-/binding-darwin-x64-1.87.0.tgz", + "integrity": "sha512-cw5nYw7L/pQ2SgGBgOcg/Qo89llQre3vIc/kuBLhSICzu1r5s8L76H3ug6AIFsD98WpROj8/z5JVzkf4daxHaQ==", "cpu": [ "x64" ], @@ -1144,9 +1350,9 @@ } }, "node_modules/@oxlint/binding-freebsd-x64": { - "version": "1.85.0", - "resolved": "https://registry.npmjs.org/@oxlint/binding-freebsd-x64/-/binding-freebsd-x64-1.85.0.tgz", - "integrity": "sha512-bNrVrCOA/kHky3Tu79IXWXe5bhIgLXfUuUEDHlAGOHUk96MkvDZ1ecaQF19rwstrnaqfP1o9nBTqzIr9+ZHkUg==", + "version": "1.87.0", + "resolved": "https://registry.npmjs.org/@oxlint/binding-freebsd-x64/-/binding-freebsd-x64-1.87.0.tgz", + "integrity": "sha512-x/SuznE6loRZK9gz9AS4ZmzNzSu+5KdeoCS+sVHhnrE8HM6AD8UyTjwldQTTqlXGvkwHASgB0NiTNOc3o3PdAg==", "cpu": [ "x64" ], @@ -1161,9 +1367,9 @@ } }, "node_modules/@oxlint/binding-linux-arm-gnueabihf": { - "version": "1.85.0", - "resolved": "https://registry.npmjs.org/@oxlint/binding-linux-arm-gnueabihf/-/binding-linux-arm-gnueabihf-1.85.0.tgz", - "integrity": "sha512-NUrzOJ1s/EqsVvfn2L/1D8Wro2LPIZUbihL8kOJLh5fEdGEN3rdOGUYq3HwnUIL8sjpoP+4N6RaGrgmMJnaMPw==", + "version": "1.87.0", + "resolved": "https://registry.npmjs.org/@oxlint/binding-linux-arm-gnueabihf/-/binding-linux-arm-gnueabihf-1.87.0.tgz", + "integrity": "sha512-+JEDmCAXiiFmKhAjZhgAOwaHWY6WENOQ5QA+lFuY59tgsUCDOTRi46B+lENK6CWvtxsXpwkZXNOgpjAQcpIpnA==", "cpu": [ "arm" ], @@ -1178,9 +1384,9 @@ } }, "node_modules/@oxlint/binding-linux-arm-musleabihf": { - "version": "1.85.0", - "resolved": "https://registry.npmjs.org/@oxlint/binding-linux-arm-musleabihf/-/binding-linux-arm-musleabihf-1.85.0.tgz", - "integrity": "sha512-UJXrAT3E/RWkEqXLIs2ehETja1qfgkPb+5gwLIIS+o/6cf+grHvoOXTa5997a/YNQfcJS0DRBTOfZt95cvOI1g==", + "version": "1.87.0", + "resolved": "https://registry.npmjs.org/@oxlint/binding-linux-arm-musleabihf/-/binding-linux-arm-musleabihf-1.87.0.tgz", + "integrity": "sha512-/uC9XqXLAC9AHFLNycwmSQEvKqGrOCgU+uXALI7gNW0DG81TJ/3T2eHnKdRvcb5R1gFEfjxDwI4e4zIa29rICQ==", "cpu": [ "arm" ], @@ -1195,13 +1401,16 @@ } }, "node_modules/@oxlint/binding-linux-arm64-gnu": { - "version": "1.85.0", - "resolved": "https://registry.npmjs.org/@oxlint/binding-linux-arm64-gnu/-/binding-linux-arm64-gnu-1.85.0.tgz", - "integrity": "sha512-lK40QLjI0HxigO7CjDDshEtfYIeiYS0020v5BHFPqN4uuQBQxd2K9LNom2dW15o9F1937quSCRVp4ZsVhdbYdg==", + "version": "1.87.0", + "resolved": "https://registry.npmjs.org/@oxlint/binding-linux-arm64-gnu/-/binding-linux-arm64-gnu-1.87.0.tgz", + "integrity": "sha512-FTRYPsBy/M728vnUv7l+KAwSAa3Qi4BQbhVvy7NYuMTZ0sUa/OWsbMx79HVFw6u/5KWcaYayDsoOiv7xbevzDg==", "cpu": [ "arm64" ], "dev": true, + "libc": [ + "glibc" + ], "license": "MIT", "optional": true, "os": [ @@ -1212,13 +1421,16 @@ } }, "node_modules/@oxlint/binding-linux-arm64-musl": { - "version": "1.85.0", - "resolved": "https://registry.npmjs.org/@oxlint/binding-linux-arm64-musl/-/binding-linux-arm64-musl-1.85.0.tgz", - "integrity": "sha512-c2zbdBwGKreHXwRx3gWBuFGJxLhxgsg6YlZ+3H+RgRusU/UEV9jNwJ3HGYK+nRo0LvBa7mt6Kj86xoVotUo8cw==", + "version": "1.87.0", + "resolved": "https://registry.npmjs.org/@oxlint/binding-linux-arm64-musl/-/binding-linux-arm64-musl-1.87.0.tgz", + "integrity": "sha512-6sC+N7IY0h1egd8SrYUGNN7CUyKJZ4bIZakKa7V7hfinf4jfi8Kq4+klJvFp5DqXcwMn44I5MeBwmJluO1odFg==", "cpu": [ "arm64" ], "dev": true, + "libc": [ + "musl" + ], "license": "MIT", "optional": true, "os": [ @@ -1229,13 +1441,16 @@ } }, "node_modules/@oxlint/binding-linux-ppc64-gnu": { - "version": "1.85.0", - "resolved": "https://registry.npmjs.org/@oxlint/binding-linux-ppc64-gnu/-/binding-linux-ppc64-gnu-1.85.0.tgz", - "integrity": "sha512-tlt/Hy8lZ97/lCPmCgw/B3k/mwh+BzaIPbPkldZEly7TwLmx0xe2CQcaW2g/rR0dOgS9JNGCZsMEqLhUNMGvaw==", + "version": "1.87.0", + "resolved": "https://registry.npmjs.org/@oxlint/binding-linux-ppc64-gnu/-/binding-linux-ppc64-gnu-1.87.0.tgz", + "integrity": "sha512-d5Mnn+ICbhoJPi37Ccjy+86T5qfH2+mSTrTMBXNPfB+wqSWOayBBLLIrCXdUy1YssluCVdGkl+DO9w5r5ODmUA==", "cpu": [ "ppc64" ], "dev": true, + "libc": [ + "glibc" + ], "license": "MIT", "optional": true, "os": [ @@ -1246,13 +1461,16 @@ } }, "node_modules/@oxlint/binding-linux-riscv64-gnu": { - "version": "1.85.0", - "resolved": "https://registry.npmjs.org/@oxlint/binding-linux-riscv64-gnu/-/binding-linux-riscv64-gnu-1.85.0.tgz", - "integrity": "sha512-3tNR9Xey82X0zKuY1d8hJ6Rc9gwRDurmqGLnQZa5xqOXy8/YyiqFXjAtugkKLY82obOlpK1eSiDRlgcNPuxtIg==", + "version": "1.87.0", + "resolved": "https://registry.npmjs.org/@oxlint/binding-linux-riscv64-gnu/-/binding-linux-riscv64-gnu-1.87.0.tgz", + "integrity": "sha512-sf5YWuUo1Dx9loqWCgF8P278MycfcD4JHjDC/LV5j11L3Lqa4PFiwCjD6B8kP4AjsgZZkLn3xbpJEtZBaccs4Q==", "cpu": [ "riscv64" ], "dev": true, + "libc": [ + "glibc" + ], "license": "MIT", "optional": true, "os": [ @@ -1263,13 +1481,16 @@ } }, "node_modules/@oxlint/binding-linux-riscv64-musl": { - "version": "1.85.0", - "resolved": "https://registry.npmjs.org/@oxlint/binding-linux-riscv64-musl/-/binding-linux-riscv64-musl-1.85.0.tgz", - "integrity": "sha512-wbGRd5PqCcjkJFHhZuZ2OBSUQY9czlQsoA/cQQB9JK/L9mC5MQgGoKAh+xd8QjA5V+0D3j+Qd1lAWn1I8zlelA==", + "version": "1.87.0", + "resolved": "https://registry.npmjs.org/@oxlint/binding-linux-riscv64-musl/-/binding-linux-riscv64-musl-1.87.0.tgz", + "integrity": "sha512-+aCraYbmK3uU3P0rFojjeaK9pGY6JvBDXh/0CM+gPyWKmNmXmnFe0qj4qj02U4ibFpbd9Pa9CmDvIdjJUd29rA==", "cpu": [ "riscv64" ], "dev": true, + "libc": [ + "musl" + ], "license": "MIT", "optional": true, "os": [ @@ -1280,13 +1501,16 @@ } }, "node_modules/@oxlint/binding-linux-s390x-gnu": { - "version": "1.85.0", - "resolved": "https://registry.npmjs.org/@oxlint/binding-linux-s390x-gnu/-/binding-linux-s390x-gnu-1.85.0.tgz", - "integrity": "sha512-3Sn0kSrE4DPZCWV/8o+n4x3aFZxI9ulMnkYlwCbJ8eUVkwRK2IerohE/A/z3SNbCwoPFOCJmGE5Avrq0rrvdvQ==", + "version": "1.87.0", + "resolved": "https://registry.npmjs.org/@oxlint/binding-linux-s390x-gnu/-/binding-linux-s390x-gnu-1.87.0.tgz", + "integrity": "sha512-7rzbZQIljo6VLWVPqUyLa2P/WV3VFsJB4M52R4NCUJn1A50yjtUsHxiMHFL9opEKGFIiTbZ3VQzmtcJOPUq4NQ==", "cpu": [ "s390x" ], "dev": true, + "libc": [ + "glibc" + ], "license": "MIT", "optional": true, "os": [ @@ -1297,13 +1521,16 @@ } }, "node_modules/@oxlint/binding-linux-x64-gnu": { - "version": "1.85.0", - "resolved": "https://registry.npmjs.org/@oxlint/binding-linux-x64-gnu/-/binding-linux-x64-gnu-1.85.0.tgz", - "integrity": "sha512-JY2pxxYfB62bAGfejljVCqc44etItehPuAyaeSAdMuEMtwNA00ggMnS66lC1oIhos6oOXUkuU6mZ9bpFh3BqWg==", + "version": "1.87.0", + "resolved": "https://registry.npmjs.org/@oxlint/binding-linux-x64-gnu/-/binding-linux-x64-gnu-1.87.0.tgz", + "integrity": "sha512-Dry46Fa+AXE/xt9J/YriujU1pU9mzfNWHGQwtOYibAFH8HLrKWCi93AhIGnuUMiwn2JbuBkRyz51f50Ly4r4ow==", "cpu": [ "x64" ], "dev": true, + "libc": [ + "glibc" + ], "license": "MIT", "optional": true, "os": [ @@ -1314,13 +1541,16 @@ } }, "node_modules/@oxlint/binding-linux-x64-musl": { - "version": "1.85.0", - "resolved": "https://registry.npmjs.org/@oxlint/binding-linux-x64-musl/-/binding-linux-x64-musl-1.85.0.tgz", - "integrity": "sha512-5k74vZ6qJBjBHEOlBk9B/iv68Yu0F1Afw/vvT2ar6OGCqEeXLaSjXz2n/IPCbhLG22UoKoYEJTzpYraRdcp6PA==", + "version": "1.87.0", + "resolved": "https://registry.npmjs.org/@oxlint/binding-linux-x64-musl/-/binding-linux-x64-musl-1.87.0.tgz", + "integrity": "sha512-f/HMZez74gJvnRpGz+b5sdGyWrEgRLmFTXg9sNoqjPWogGxYHUhXKTKyMiYsu9rUGR2ciYqL3fk+Ua4JhMJbRA==", "cpu": [ "x64" ], "dev": true, + "libc": [ + "musl" + ], "license": "MIT", "optional": true, "os": [ @@ -1331,9 +1561,9 @@ } }, "node_modules/@oxlint/binding-openharmony-arm64": { - "version": "1.85.0", - "resolved": "https://registry.npmjs.org/@oxlint/binding-openharmony-arm64/-/binding-openharmony-arm64-1.85.0.tgz", - "integrity": "sha512-GbAl5qt5TCkPLXTaIISZJnugrcBhra6rodcXc9jYt620UtdsTt71NlNmJmm0frxzFpd54x/G+MkitEJA8I/BoA==", + "version": "1.87.0", + "resolved": "https://registry.npmjs.org/@oxlint/binding-openharmony-arm64/-/binding-openharmony-arm64-1.87.0.tgz", + "integrity": "sha512-lEC6ZfPZm/07JlB7FsOWX9o1RiHlXiBW594LSUGuXmekC8LZmvUPP9XzE2WZcNxJi5cHA/Fw56o02c3JxgMA5g==", "cpu": [ "arm64" ], @@ -1348,9 +1578,9 @@ } }, "node_modules/@oxlint/binding-win32-arm64-msvc": { - "version": "1.85.0", - "resolved": "https://registry.npmjs.org/@oxlint/binding-win32-arm64-msvc/-/binding-win32-arm64-msvc-1.85.0.tgz", - "integrity": "sha512-kjmws5MK0et2swk4ND85D7NVQyDHw162i6whtZDLUA/lo6FQyBZDcmMRCMcVZcNrAhIaftVb00x9ChGDOjjNJA==", + "version": "1.87.0", + "resolved": "https://registry.npmjs.org/@oxlint/binding-win32-arm64-msvc/-/binding-win32-arm64-msvc-1.87.0.tgz", + "integrity": "sha512-afBWKOD36dUiA9AenaiWpCg8xfyUVPYznyAAVXu413brK4RA5UI/Xoc4yfeGIT8G1a44MV+JR7hioryerBDzGQ==", "cpu": [ "arm64" ], @@ -1365,9 +1595,9 @@ } }, "node_modules/@oxlint/binding-win32-ia32-msvc": { - "version": "1.85.0", - "resolved": "https://registry.npmjs.org/@oxlint/binding-win32-ia32-msvc/-/binding-win32-ia32-msvc-1.85.0.tgz", - "integrity": "sha512-eSsIJx9n4yxvOqYTZyPEMyEXRmE60XH7xGAU7i0Qbsn1lf6Za3CWJ9aRd82oSFKXaxhp+sA6/yMJVRIpLpna6A==", + "version": "1.87.0", + "resolved": "https://registry.npmjs.org/@oxlint/binding-win32-ia32-msvc/-/binding-win32-ia32-msvc-1.87.0.tgz", + "integrity": "sha512-daptNsEOuru4/nJTxV4DBHNJ5GepzmaBVQf+jjgKQGi9NRlZKik+RFq4hUL7ewsF1pwjKM+SkYaMbF82UwFGnw==", "cpu": [ "ia32" ], @@ -1382,9 +1612,9 @@ } }, "node_modules/@oxlint/binding-win32-x64-msvc": { - "version": "1.85.0", - "resolved": "https://registry.npmjs.org/@oxlint/binding-win32-x64-msvc/-/binding-win32-x64-msvc-1.85.0.tgz", - "integrity": "sha512-pBebIPUpKKhWrhSMWhy8TdAZBewiXnfxmaAGxhzxM1068GagqFaTwgKlU6e+UyJ2sPR+VoHouhXuGJkQjsrDvA==", + "version": "1.87.0", + "resolved": "https://registry.npmjs.org/@oxlint/binding-win32-x64-msvc/-/binding-win32-x64-msvc-1.87.0.tgz", + "integrity": "sha512-k+m/EShyXE29J/r1fjk0HlAzhN5JhIvj044oSJkXTEkCLrWZQgXb/3r4q5LTw/eaKW/4GuMXG2xmiJs3s5rPNw==", "cpu": [ "x64" ], @@ -1408,78 +1638,710 @@ "@noble/hashes": "^1.1.5" } }, - "node_modules/@prisma/client": { - "version": "5.22.0", - "resolved": "https://registry.npmjs.org/@prisma/client/-/client-5.22.0.tgz", - "integrity": "sha512-M0SVXfyHnQREBKxCgyo7sffrKttwE6R8PMq330MIUF0pTwjUhLbW84pFDlf06B27XyCR++VtjugEnIHdr07SVA==", + "node_modules/@parcel/watcher": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/@parcel/watcher/-/watcher-2.6.0.tgz", + "integrity": "sha512-7FNeNl8NCE7aINx7WXiKQrPYZWC/hvrTsmk6zmxbI7LTXE7hVek/n8AfVgpe2y82zl3w0HvCHN0bVKMBoJcC0w==", + "dev": true, "hasInstallScript": true, - "license": "Apache-2.0", + "license": "MIT", + "dependencies": { + "detect-libc": "^2.0.3", + "is-glob": "^4.0.3", + "node-addon-api": "^7.0.0", + "picomatch": "^4.0.4" + }, "engines": { - "node": ">=16.13" + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + }, + "optionalDependencies": { + "@parcel/watcher-android-arm64": "2.6.0", + "@parcel/watcher-darwin-arm64": "2.6.0", + "@parcel/watcher-darwin-x64": "2.6.0", + "@parcel/watcher-freebsd-x64": "2.6.0", + "@parcel/watcher-linux-arm-glibc": "2.6.0", + "@parcel/watcher-linux-arm-musl": "2.6.0", + "@parcel/watcher-linux-arm64-glibc": "2.6.0", + "@parcel/watcher-linux-arm64-musl": "2.6.0", + "@parcel/watcher-linux-x64-glibc": "2.6.0", + "@parcel/watcher-linux-x64-musl": "2.6.0", + "@parcel/watcher-win32-arm64": "2.6.0", + "@parcel/watcher-win32-x64": "2.6.0" + } + }, + "node_modules/@parcel/watcher-android-arm64": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/@parcel/watcher-android-arm64/-/watcher-android-arm64-2.6.0.tgz", + "integrity": "sha512-trgpLSCKRC/huFjXX/Smh+0sWe4+YtKfktIToiMl59ghz7z+qkH6kMvNnUbLyRs9N11t8l4svSCs1+5B3rOAhA==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-darwin-arm64": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/@parcel/watcher-darwin-arm64/-/watcher-darwin-arm64-2.6.0.tgz", + "integrity": "sha512-Y3QV0gl7Q1zbfueunkWIERICbEojQFCgpyG7YqOGNFLsckXyI1xu9mAIUpKY9QBYzBtSkN8dBPwd3yiAO9ovMw==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-darwin-x64": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/@parcel/watcher-darwin-x64/-/watcher-darwin-x64-2.6.0.tgz", + "integrity": "sha512-Ohv6OpzhUfKYD7Beb8kDvG0jbIxORCYY1JRdZnaBtnjjkJxgD7ZVL0nw2sCYd0yTMKTvz3nnTnOF3cDifK+kvw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-freebsd-x64": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/@parcel/watcher-freebsd-x64/-/watcher-freebsd-x64-2.6.0.tgz", + "integrity": "sha512-5HmXvDgs8VK+74jF9y9/2FE3/OnlcKmc56tjmSrEuZjpSZOGL+fvAu+HKJBdPs9uwoP2hE6TlSUpXZ/C5jUFmQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-linux-arm-glibc": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-arm-glibc/-/watcher-linux-arm-glibc-2.6.0.tgz", + "integrity": "sha512-Ps/hui3A+vMbjdqlqAowK2ZL8+BO8dBjxeWXj6npTBs3jx4wWmbPpaLuqwrQrSqIVMCnpWo238bJ1U37GhQOYg==", + "cpu": [ + "arm" + ], + "dev": true, + "libc": [ + "glibc" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-linux-arm-musl": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-arm-musl/-/watcher-linux-arm-musl-2.6.0.tgz", + "integrity": "sha512-9c6AUHgHoG+IY88MRIHupztQiQnrbqHYQjkM2btA+Bf/wQnQMuiD0Wfk1EVv3TlNT3x41uU71rn6E4xh/+zvkw==", + "cpu": [ + "arm" + ], + "dev": true, + "libc": [ + "musl" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-linux-arm64-glibc": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-arm64-glibc/-/watcher-linux-arm64-glibc-2.6.0.tgz", + "integrity": "sha512-yHRqS2owEXe6Hic9z6Mh1ECsCd+ODVOGvZDyciqRd21+v+o+DnXMOrw50DSpIG2sb8GPEaPPmfeCAWKPJdq46g==", + "cpu": [ + "arm64" + ], + "dev": true, + "libc": [ + "glibc" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-linux-arm64-musl": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-arm64-musl/-/watcher-linux-arm64-musl-2.6.0.tgz", + "integrity": "sha512-WhB2e/V7rqdHHWZusBSPuy5Ei8S6lSz6FE5TKKQz5h3a0O+C+mhY7vxU9b/stqvMb8beLnPY82ZrFTLKs+SrKA==", + "cpu": [ + "arm64" + ], + "dev": true, + "libc": [ + "musl" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-linux-x64-glibc": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-x64-glibc/-/watcher-linux-x64-glibc-2.6.0.tgz", + "integrity": "sha512-ulGE6x6Oz6iAwg75T8YQSoguBWasniIbX+QWpaYPcCnDOpdWX3k+4xbEYPZVLxOuoJI+svJJPD3sEj8G7lrQ3A==", + "cpu": [ + "x64" + ], + "dev": true, + "libc": [ + "glibc" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-linux-x64-musl": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-x64-musl/-/watcher-linux-x64-musl-2.6.0.tgz", + "integrity": "sha512-tkBYKt7YQrjIJWYDnto2YgO8MRkjlMTSNoRHzsXinBqbLdeOM3L32wPZJvIZxqaLMfSlS/4sUjH/6STVP/XDLw==", + "cpu": [ + "x64" + ], + "dev": true, + "libc": [ + "musl" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-win32-arm64": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/@parcel/watcher-win32-arm64/-/watcher-win32-arm64-2.6.0.tgz", + "integrity": "sha512-gIZAP23jaHjGWasY/TY6yL7NHFClf0Ga7FN+iINvk+KN94rhm94lYZhFsbYFNcA04/onvGD9kKmiJLJB2HbNwQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-win32-x64": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/@parcel/watcher-win32-x64/-/watcher-win32-x64-2.6.0.tgz", + "integrity": "sha512-cA+/pXV2YkfxlIcXOQ5fSWqAzzPyD78/x5qbK/I0vUkrlYHA8TIz+MXjAbGouguKVSI4bOmkTSJ1/poVSsgt+A==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher/node_modules/node-addon-api": { + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-7.1.1.tgz", + "integrity": "sha512-5m3bsyrjFWE1xf7nz7YXdN4udnVtXK6/Yfgn5qnahL6bCkf2yKt4k3nuTKAtT4r3IG8JNR2ncsIMdZuAzJjHQQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/@pkgjs/parseargs": { + "version": "0.11.0", + "resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz", + "integrity": "sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">=14" + } + }, + "node_modules/@pkgr/core": { + "version": "0.3.6", + "resolved": "https://registry.npmjs.org/@pkgr/core/-/core-0.3.6.tgz", + "integrity": "sha512-SEeaJLb3qBNF/OaXnaR1NmmBbFYk1zC0ZH/52fATcRPLFg/p791YrcyFFy44Bo9sLaGuSuLp5Q6axbb/O+v/RA==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^14.18.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/pkgr" + } + }, + "node_modules/@prisma/adapter-pg": { + "version": "7.10.0", + "resolved": "https://registry.npmjs.org/@prisma/adapter-pg/-/adapter-pg-7.10.0.tgz", + "integrity": "sha512-N7nwSor0HO1Kz6xBv0TPAjAPysKK0fac6p4fVN3ensLOuzc/83Fgmln5k92eK/cvzqdkSR/2kkAqlbcdwVrwpw==", + "license": "Apache-2.0", + "dependencies": { + "@prisma/driver-adapter-utils": "7.10.0", + "@types/pg": "^8.16.0", + "pg": "^8.16.3", + "postgres-array": "3.0.4" + } + }, + "node_modules/@prisma/client": { + "version": "7.10.0", + "resolved": "https://registry.npmjs.org/@prisma/client/-/client-7.10.0.tgz", + "integrity": "sha512-Ubw/QS9JGIBSBUsyxAUQuK/Jcu0Tsva7le7QbLd91Kix9yJvYDdj5QkwgEbbZniH80dd+sziQcALPc+HnvQC8Q==", + "license": "Apache-2.0", + "dependencies": { + "@prisma/client-runtime-utils": "7.10.0" + }, + "engines": { + "node": "^20.19 || ^22.12 || >=24.0" }, "peerDependencies": { - "prisma": "*" + "prisma": "*", + "typescript": ">=5.4.0" }, "peerDependenciesMeta": { "prisma": { "optional": true + }, + "typescript": { + "optional": true } } }, - "node_modules/@prisma/debug": { - "version": "5.22.0", - "resolved": "https://registry.npmjs.org/@prisma/debug/-/debug-5.22.0.tgz", - "integrity": "sha512-AUt44v3YJeggO2ZU5BkXI7M4hu9BF2zzH2iF2V5pyXT/lRTyWiElZ7It+bRH1EshoMRxHgpYg4VB6rCM+mG5jQ==", - "devOptional": true, + "node_modules/@prisma/client-runtime-utils": { + "version": "7.10.0", + "resolved": "https://registry.npmjs.org/@prisma/client-runtime-utils/-/client-runtime-utils-7.10.0.tgz", + "integrity": "sha512-cnCy7lUV8/CctgKVEmqAbSLAmwqJdE/qAlqTBk/0NDk59zEb2cZ0M0M0E4vVPnqbSEYudRroQDvOWfUZH6RIfw==", "license": "Apache-2.0" }, + "node_modules/@prisma/config": { + "version": "7.10.0", + "resolved": "https://registry.npmjs.org/@prisma/config/-/config-7.10.0.tgz", + "integrity": "sha512-Rcg828gIRE3HOQ3pOATFjV5d/P0U9OIobxhd/IMxlfWjA4vru0eGwb0AIwFw0rmcLMVShohZYWPixVxkBHsxUA==", + "devOptional": true, + "license": "Apache-2.0", + "dependencies": { + "c12": "3.3.4", + "deepmerge-ts": "7.1.5", + "effect": "3.20.0", + "empathic": "2.0.0" + } + }, + "node_modules/@prisma/debug": { + "version": "7.10.0", + "resolved": "https://registry.npmjs.org/@prisma/debug/-/debug-7.10.0.tgz", + "integrity": "sha512-caygJKtltmRIgdJ3jRpkOr7yM4DW6zxo5uOmojKWFb3asnxWoRkQOwZmXBgD8FZp4htrX+nMpcWqDwzlQ1+Y4g==", + "license": "Apache-2.0" + }, + "node_modules/@prisma/dev": { + "version": "0.24.17", + "resolved": "https://registry.npmjs.org/@prisma/dev/-/dev-0.24.17.tgz", + "integrity": "sha512-UvdZzmpFwknnfreh6Jije84ekkYGPYEJhXG1tFzCsCfQyzJifrOo38eZc0qajzvaC6OLUOrN9ML5XfCnEZL9DA==", + "devOptional": true, + "license": "ISC", + "dependencies": { + "@electric-sql/pglite": "0.4.3", + "@electric-sql/pglite-socket": "0.1.3", + "@electric-sql/pglite-tools": "0.3.3", + "@prisma/get-platform": "7.2.0", + "@prisma/query-plan-executor": "7.2.0", + "@prisma/streams-local": "0.1.11", + "find-my-way": "9.7.0", + "foreground-child": "3.3.1", + "get-port-please": "3.2.0", + "pathe": "2.0.3", + "proper-lockfile": "4.1.2", + "remeda": "2.33.4", + "std-env": "3.10.0", + "valibot": "1.4.2", + "zeptomatch": "2.1.0" + } + }, + "node_modules/@prisma/driver-adapter-utils": { + "version": "7.10.0", + "resolved": "https://registry.npmjs.org/@prisma/driver-adapter-utils/-/driver-adapter-utils-7.10.0.tgz", + "integrity": "sha512-u8zkcRLlaryO652T4qavBg0HmzNW5tSKdsCn6hc1PhWAp/J6k0vrxLuUs+b9o+HcjsK7Dfa01o4OFSn0frauJA==", + "license": "Apache-2.0", + "dependencies": { + "@prisma/debug": "7.10.0" + } + }, "node_modules/@prisma/engines": { - "version": "5.22.0", - "resolved": "https://registry.npmjs.org/@prisma/engines/-/engines-5.22.0.tgz", - "integrity": "sha512-UNjfslWhAt06kVL3CjkuYpHAWSO6L4kDCVPegV6itt7nD1kSJavd3vhgAEhjglLJJKEdJ7oIqDJ+yHk6qO8gPA==", + "version": "7.10.0", + "resolved": "https://registry.npmjs.org/@prisma/engines/-/engines-7.10.0.tgz", + "integrity": "sha512-KNumN6NHFwybvfdYzTee9pqwx5PvknpWAaHn6L5NsbrKdl+SQrsVZs9opKs6U6SAsvB26HDt3WybRjOhgoWOYQ==", "devOptional": true, "hasInstallScript": true, "license": "Apache-2.0", "dependencies": { - "@prisma/debug": "5.22.0", - "@prisma/engines-version": "5.22.0-44.605197351a3c8bdd595af2d2a9bc3025bca48ea2", - "@prisma/fetch-engine": "5.22.0", - "@prisma/get-platform": "5.22.0" + "@prisma/debug": "7.10.0", + "@prisma/engines-version": "7.10.0-4.0edf323efd1d98336f3f0a68684b56f689b900d3", + "@prisma/fetch-engine": "7.10.0", + "@prisma/get-platform": "7.10.0" } }, "node_modules/@prisma/engines-version": { - "version": "5.22.0-44.605197351a3c8bdd595af2d2a9bc3025bca48ea2", - "resolved": "https://registry.npmjs.org/@prisma/engines-version/-/engines-version-5.22.0-44.605197351a3c8bdd595af2d2a9bc3025bca48ea2.tgz", - "integrity": "sha512-2PTmxFR2yHW/eB3uqWtcgRcgAbG1rwG9ZriSvQw+nnb7c4uCr3RAcGMb6/zfE88SKlC1Nj2ziUvc96Z379mHgQ==", + "version": "7.10.0-4.0edf323efd1d98336f3f0a68684b56f689b900d3", + "resolved": "https://registry.npmjs.org/@prisma/engines-version/-/engines-version-7.10.0-4.0edf323efd1d98336f3f0a68684b56f689b900d3.tgz", + "integrity": "sha512-8OJ6RuZTZ06eFUOtBwxVmv8XMmOW6HWN5F+uxUbZkGxR0Bfab1dfAdXaHPmR5mb59E+fmUo8IOzXlbLY1SClbw==", "devOptional": true, "license": "Apache-2.0" }, - "node_modules/@prisma/fetch-engine": { - "version": "5.22.0", - "resolved": "https://registry.npmjs.org/@prisma/fetch-engine/-/fetch-engine-5.22.0.tgz", - "integrity": "sha512-bkrD/Mc2fSvkQBV5EpoFcZ87AvOgDxbG99488a5cexp5Ccny+UM6MAe/UFkUC0wLYD9+9befNOqGiIJhhq+HbA==", + "node_modules/@prisma/engines/node_modules/@prisma/get-platform": { + "version": "7.10.0", + "resolved": "https://registry.npmjs.org/@prisma/get-platform/-/get-platform-7.10.0.tgz", + "integrity": "sha512-0bra1LFYi8xNw0yqV62bHJNQk4BKleOngZiqPWIQc7a3+9q6rqsnqJ15BuepP8943PFMvtmgnP52juZsyYkA6w==", "devOptional": true, "license": "Apache-2.0", "dependencies": { - "@prisma/debug": "5.22.0", - "@prisma/engines-version": "5.22.0-44.605197351a3c8bdd595af2d2a9bc3025bca48ea2", - "@prisma/get-platform": "5.22.0" + "@prisma/debug": "7.10.0" + } + }, + "node_modules/@prisma/fetch-engine": { + "version": "7.10.0", + "resolved": "https://registry.npmjs.org/@prisma/fetch-engine/-/fetch-engine-7.10.0.tgz", + "integrity": "sha512-Zqyu8DY14t6W/xwmAxUYWCXtHrvQnSvT644EAZSsdM8NSmCS74vJJbBKdVsK3ucFpnUWkEpbO1a0CxJXrg130g==", + "devOptional": true, + "license": "Apache-2.0", + "dependencies": { + "@prisma/debug": "7.10.0", + "@prisma/engines-version": "7.10.0-4.0edf323efd1d98336f3f0a68684b56f689b900d3", + "@prisma/get-platform": "7.10.0" + } + }, + "node_modules/@prisma/fetch-engine/node_modules/@prisma/get-platform": { + "version": "7.10.0", + "resolved": "https://registry.npmjs.org/@prisma/get-platform/-/get-platform-7.10.0.tgz", + "integrity": "sha512-0bra1LFYi8xNw0yqV62bHJNQk4BKleOngZiqPWIQc7a3+9q6rqsnqJ15BuepP8943PFMvtmgnP52juZsyYkA6w==", + "devOptional": true, + "license": "Apache-2.0", + "dependencies": { + "@prisma/debug": "7.10.0" } }, "node_modules/@prisma/get-platform": { - "version": "5.22.0", - "resolved": "https://registry.npmjs.org/@prisma/get-platform/-/get-platform-5.22.0.tgz", - "integrity": "sha512-pHhpQdr1UPFpt+zFfnPazhulaZYCUqeIcPpJViYoq9R+D/yw4fjE+CtnsnKzPYm0ddUbeXUzjGVGIRVgPDCk4Q==", + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/@prisma/get-platform/-/get-platform-7.2.0.tgz", + "integrity": "sha512-k1V0l0Td1732EHpAfi2eySTezyllok9dXb6UQanajkJQzPUGi3vO2z7jdkz67SypFTdmbnyGYxvEvYZdZsMAVA==", "devOptional": true, "license": "Apache-2.0", "dependencies": { - "@prisma/debug": "5.22.0" + "@prisma/debug": "7.2.0" + } + }, + "node_modules/@prisma/get-platform/node_modules/@prisma/debug": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/@prisma/debug/-/debug-7.2.0.tgz", + "integrity": "sha512-YSGTiSlBAVJPzX4ONZmMotL+ozJwQjRmZweQNIq/ER0tQJKJynNkRB3kyvt37eOfsbMCXk3gnLF6J9OJ4QWftw==", + "devOptional": true, + "license": "Apache-2.0" + }, + "node_modules/@prisma/query-plan-executor": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/@prisma/query-plan-executor/-/query-plan-executor-7.2.0.tgz", + "integrity": "sha512-EOZmNzcV8uJ0mae3DhTsiHgoNCuu1J9mULQpGCh62zN3PxPTd+qI9tJvk5jOst8WHKQNwJWR3b39t0XvfBB0WQ==", + "devOptional": true, + "license": "Apache-2.0" + }, + "node_modules/@prisma/streams-local": { + "version": "0.1.11", + "resolved": "https://registry.npmjs.org/@prisma/streams-local/-/streams-local-0.1.11.tgz", + "integrity": "sha512-0TcebL559MByKqTJ+SsrFIEg228iw8UCVRFckzgfRSiJqczhs+MuAgWOF9lnOIV/IVqvu+KMnFTH0eDeTQMpUg==", + "devOptional": true, + "license": "Apache-2.0", + "dependencies": { + "ajv": "^8.12.0", + "better-result": "^2.7.0", + "env-paths": "^3.0.0", + "proper-lockfile": "^4.1.2" + }, + "engines": { + "bun": ">=1.2.0", + "node": ">=22.0.0" + } + }, + "node_modules/@prisma/studio-core": { + "version": "0.33.0", + "resolved": "https://registry.npmjs.org/@prisma/studio-core/-/studio-core-0.33.0.tgz", + "integrity": "sha512-V2fX/nKEymNTrHXwfP26PGjoLStO35Ogu+ex7CFJbLrMYEcZxxZpiSNOs7px23Hk5mzLWvM5RsqG6Ka+rha+wg==", + "devOptional": true, + "license": "Apache-2.0", + "dependencies": { + "@radix-ui/react-toggle": "1.1.10", + "@visx/curve": "4.0.1-alpha.0", + "@visx/event": "4.0.1-alpha.0", + "@visx/grid": "4.0.1-alpha.0", + "@visx/group": "4.0.1-alpha.0", + "@visx/responsive": "4.0.1-alpha.0", + "@visx/scale": "4.0.1-alpha.0", + "@visx/shape": "4.0.1-alpha.0", + "d3-array": "3.2.4", + "d3-shape": "3.2.0", + "elkjs": "0.11.1" + }, + "engines": { + "node": "^20.19 || ^22.12 || >=24.0", + "pnpm": "8" + }, + "peerDependencies": { + "@types/react": "^18.0.0 || ^19.0.0", + "react": "^18.0.0 || ^19.0.0", + "react-dom": "^18.0.0 || ^19.0.0" + } + }, + "node_modules/@radix-ui/primitive": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/@radix-ui/primitive/-/primitive-1.1.3.tgz", + "integrity": "sha512-JTF99U/6XIjCBo0wqkU5sK10glYe27MRRsfwoiq5zzOEZLHU3A3KCMa5X/azekYRCJ0HlwI0crAXS/5dEHTzDg==", + "devOptional": true, + "license": "MIT" + }, + "node_modules/@radix-ui/react-compose-refs": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@radix-ui/react-compose-refs/-/react-compose-refs-1.1.2.tgz", + "integrity": "sha512-z4eqJvfiNnFMHIIvXP3CY57y2WJs5g2v3X0zm9mEJkrkNv4rDxu+sg9Jh8EkXyeqBkB7SOcboo9dMVqhyrACIg==", + "devOptional": true, + "license": "MIT", + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-primitive": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/@radix-ui/react-primitive/-/react-primitive-2.1.3.tgz", + "integrity": "sha512-m9gTwRkhy2lvCPe6QJp4d3G1TYEUHn/FzJUtq9MjH46an1wJU+GdoGC5VLof8RX8Ft/DlpshApkhswDLZzHIcQ==", + "devOptional": true, + "license": "MIT", + "dependencies": { + "@radix-ui/react-slot": "1.2.3" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-slot": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.2.3.tgz", + "integrity": "sha512-aeNmHnBxbi2St0au6VBVC7JXFlhLlOnvIIlePNniyUNAClzmtAUEY8/pBiK3iHjufOlwA+c20/8jngo7xcrg8A==", + "devOptional": true, + "license": "MIT", + "dependencies": { + "@radix-ui/react-compose-refs": "1.1.2" + }, + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-toggle": { + "version": "1.1.10", + "resolved": "https://registry.npmjs.org/@radix-ui/react-toggle/-/react-toggle-1.1.10.tgz", + "integrity": "sha512-lS1odchhFTeZv3xwHH31YPObmJn8gOg7Lq12inrr0+BH/l3Tsq32VfjqH1oh80ARM3mlkfMic15n0kg4sD1poQ==", + "devOptional": true, + "license": "MIT", + "dependencies": { + "@radix-ui/primitive": "1.1.3", + "@radix-ui/react-primitive": "2.1.3", + "@radix-ui/react-use-controllable-state": "1.2.2" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-use-controllable-state": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/@radix-ui/react-use-controllable-state/-/react-use-controllable-state-1.2.2.tgz", + "integrity": "sha512-BjasUjixPFdS+NKkypcyyN5Pmg83Olst0+c6vGov0diwTEo6mgdqVR6hxcEgFuh4QrAs7Rc+9KuGJ9TVCj0Zzg==", + "devOptional": true, + "license": "MIT", + "dependencies": { + "@radix-ui/react-use-effect-event": "0.0.2", + "@radix-ui/react-use-layout-effect": "1.1.1" + }, + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-use-effect-event": { + "version": "0.0.2", + "resolved": "https://registry.npmjs.org/@radix-ui/react-use-effect-event/-/react-use-effect-event-0.0.2.tgz", + "integrity": "sha512-Qp8WbZOBe+blgpuUT+lw2xheLP8q0oatc9UpmiemEICxGvFLYmHm9QowVZGHtJlGbS6A6yJ3iViad/2cVjnOiA==", + "devOptional": true, + "license": "MIT", + "dependencies": { + "@radix-ui/react-use-layout-effect": "1.1.1" + }, + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-use-layout-effect": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@radix-ui/react-use-layout-effect/-/react-use-layout-effect-1.1.1.tgz", + "integrity": "sha512-RbJRS4UWQFkzHTTwVymMTUv8EqYhOp8dOOviLj2ugtTiXRaRQS7GLGxZTLL1jWhMeoSCf5zmcZkqTl9IiYfXcQ==", + "devOptional": true, + "license": "MIT", + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } } }, "node_modules/@rolldown/binding-android-arm-eabi": { - "version": "1.2.9", - "resolved": "https://registry.npmjs.org/@rolldown/binding-android-arm-eabi/-/binding-android-arm-eabi-1.2.9.tgz", - "integrity": "sha512-tNISae1QEf/vkb3xkRcjV5SEdzPE97We5IVaa2Z8jSszQPZ8U60B/YCYpw4QI7VidYsBtKavczXf+DyDs9WGxw==", + "version": "1.2.13", + "resolved": "https://registry.npmjs.org/@rolldown/binding-android-arm-eabi/-/binding-android-arm-eabi-1.2.13.tgz", + "integrity": "sha512-Vu/NICrgdRvUOeaJZIyB2FP63s6fO/4ud5l8dXmxDx9yDyn+mN0y+gsvsVviSli+T361Aqo0h46EuMoobrwawA==", "cpu": [ "arm" ], @@ -1494,9 +2356,9 @@ } }, "node_modules/@rolldown/binding-android-arm64": { - "version": "1.2.9", - "resolved": "https://registry.npmjs.org/@rolldown/binding-android-arm64/-/binding-android-arm64-1.2.9.tgz", - "integrity": "sha512-YC8YsI30o606GTZi0VyzYlsDKFP8W61i/QzayHDkLbNEz/IShqAmTa+hsJRj13xTHA0H+6fk4b2UmGn+Q/cMlg==", + "version": "1.2.13", + "resolved": "https://registry.npmjs.org/@rolldown/binding-android-arm64/-/binding-android-arm64-1.2.13.tgz", + "integrity": "sha512-6LEoIrGy5vvCd2boNnv2soPSUZj/PRvhp8R/t9KlX+mIZxThIE/ZqxrGXxmuNX0FuvQFvLdZr7S4HrYpYBVhEQ==", "cpu": [ "arm64" ], @@ -1511,9 +2373,9 @@ } }, "node_modules/@rolldown/binding-darwin-arm64": { - "version": "1.2.9", - "resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-arm64/-/binding-darwin-arm64-1.2.9.tgz", - "integrity": "sha512-IwhlH3qK5urrY8hZiEgGkHKEFN901p/p2bjxCxJlr4GyNnF7wYpUvK+Y43uaRYuC4hpfjzbR3SJC3arX1jGvmw==", + "version": "1.2.13", + "resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-arm64/-/binding-darwin-arm64-1.2.13.tgz", + "integrity": "sha512-CaJSRzlQ6Q+zkDMVA9OkVxBjVoPRCDEE3v0FSJ9kIQBgRjFApA3Si4ijhbNVUji7ZJt+PfO0e46qy4nPInHUPA==", "cpu": [ "arm64" ], @@ -1528,9 +2390,9 @@ } }, "node_modules/@rolldown/binding-darwin-x64": { - "version": "1.2.9", - "resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-x64/-/binding-darwin-x64-1.2.9.tgz", - "integrity": "sha512-XxpJfVzFh+jilRxIXUqcfYAYcunIc/XEzIizsOL1fcJee5Sf7H3mH8WlLmfHfluz5amqR88QQo9izKtmMlavAw==", + "version": "1.2.13", + "resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-x64/-/binding-darwin-x64-1.2.13.tgz", + "integrity": "sha512-e4r340I5hxSzJkD3YJBxgzq/rJ3wwxwdLLb2FPt1Zpyem20nrQPT11DDEEkazwxaHumH8wpglsp/Ozgj/wT6mw==", "cpu": [ "x64" ], @@ -1545,9 +2407,9 @@ } }, "node_modules/@rolldown/binding-freebsd-x64": { - "version": "1.2.9", - "resolved": "https://registry.npmjs.org/@rolldown/binding-freebsd-x64/-/binding-freebsd-x64-1.2.9.tgz", - "integrity": "sha512-kSfvhmgeWyfkbT3p/1s5vSgboogoah2zkm9fX2zjg2hHxSV7T4KhMWRUUaRk4OXNqoD3QAUeRqLcs1aZOK4U1g==", + "version": "1.2.13", + "resolved": "https://registry.npmjs.org/@rolldown/binding-freebsd-x64/-/binding-freebsd-x64-1.2.13.tgz", + "integrity": "sha512-hoBWDZ4/K/mJKVMbsgUd1jfpA2DiOrJ54mpegObU9TBHBBrtX4FLIXJJQRDPZ/2Dn91GvPob+Z2hwKJzf4E5SQ==", "cpu": [ "x64" ], @@ -1562,9 +2424,9 @@ } }, "node_modules/@rolldown/binding-linux-arm-gnueabihf": { - "version": "1.2.9", - "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm-gnueabihf/-/binding-linux-arm-gnueabihf-1.2.9.tgz", - "integrity": "sha512-1RVzG17pxqbTfYLC352JlLt6kKLG+6Hr30n8DlIJqsnV5luUDd2Qdx9Ayw1Cabfyb1K9k0jXEZ7evxkRoT+uiw==", + "version": "1.2.13", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm-gnueabihf/-/binding-linux-arm-gnueabihf-1.2.13.tgz", + "integrity": "sha512-oF9fZu3vTWnTiVAkDFxU9PJLt1nh20K9RRpuHsR7ZnE2L7XookBbDBVLojCVSLGbvtSlxeUNnjAj6DbNsKyzbg==", "cpu": [ "arm" ], @@ -1579,13 +2441,16 @@ } }, "node_modules/@rolldown/binding-linux-arm64-gnu": { - "version": "1.2.9", - "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-gnu/-/binding-linux-arm64-gnu-1.2.9.tgz", - "integrity": "sha512-BXqPvZ2drqVD+/Z8UpKwcs4Mp7grM+eGFku4CAEKrEtcbAsUpzREphK1sogCRZGreVPiMkiiBtw0n3TPteuqvw==", + "version": "1.2.13", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-gnu/-/binding-linux-arm64-gnu-1.2.13.tgz", + "integrity": "sha512-DTpb/+jMiqWMPgphn4ksW1zW+XLJ6dJJ9FMvnIk9I291LhCctMPhMYJrP5t9p6C9qa3KXadDdUEZHBaPh3kNxQ==", "cpu": [ "arm64" ], "dev": true, + "libc": [ + "glibc" + ], "license": "MIT", "optional": true, "os": [ @@ -1596,13 +2461,16 @@ } }, "node_modules/@rolldown/binding-linux-arm64-musl": { - "version": "1.2.9", - "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-musl/-/binding-linux-arm64-musl-1.2.9.tgz", - "integrity": "sha512-11vWvo8YDwLzukt27J3aYDWU+gg2P7J+ZOmiJ0hkF5BXZDW7pVya7r40MXDy6ya0i9KamoENSVKIugvJNgFXIA==", + "version": "1.2.13", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-musl/-/binding-linux-arm64-musl-1.2.13.tgz", + "integrity": "sha512-xU+Kvv9N2A3SY35zFh1FWWNjxbadE/BKeqnkXe7vScU4GZsw757BlVmDLITZEq8DPpk6m7uoDYkK7P+x/uU5Ow==", "cpu": [ "arm64" ], "dev": true, + "libc": [ + "musl" + ], "license": "MIT", "optional": true, "os": [ @@ -1613,13 +2481,16 @@ } }, "node_modules/@rolldown/binding-linux-ppc64-gnu": { - "version": "1.2.9", - "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-ppc64-gnu/-/binding-linux-ppc64-gnu-1.2.9.tgz", - "integrity": "sha512-a1tijMkdwsIARtc0F39ApURROkf3NwqinI6TOiSSWCTR7dT96dffNvMUtDHnq64wKNTIZOIlzKrFvvFUznJiyw==", + "version": "1.2.13", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-ppc64-gnu/-/binding-linux-ppc64-gnu-1.2.13.tgz", + "integrity": "sha512-XMk/hnhh25oQ756Lclb1Q11h4ll0xC0Esa5w4Vzp+mAE2S3AGJgeM0SonrIgY8fHhjarb6hcoTuwoFG0VVP2ig==", "cpu": [ "ppc64" ], "dev": true, + "libc": [ + "glibc" + ], "license": "MIT", "optional": true, "os": [ @@ -1630,13 +2501,16 @@ } }, "node_modules/@rolldown/binding-linux-s390x-gnu": { - "version": "1.2.9", - "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-s390x-gnu/-/binding-linux-s390x-gnu-1.2.9.tgz", - "integrity": "sha512-x6SQNdAvv4c3hWqTMaWuawzMX9myaCs/yEmlGsxJzkdClnHW7FbrjQuSiRDhuSYzEYoEMhsaJy9qHG/XNemJPQ==", + "version": "1.2.13", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-s390x-gnu/-/binding-linux-s390x-gnu-1.2.13.tgz", + "integrity": "sha512-U1BoTHYmlywE2n3HUWjzZ+8EQsKr+OwpxYuDWaubx42tUL8QSL7nOqRz/NVHanibbFP3M1Rxuprz/wNcbMKjqw==", "cpu": [ "s390x" ], "dev": true, + "libc": [ + "glibc" + ], "license": "MIT", "optional": true, "os": [ @@ -1647,13 +2521,16 @@ } }, "node_modules/@rolldown/binding-linux-x64-gnu": { - "version": "1.2.9", - "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-gnu/-/binding-linux-x64-gnu-1.2.9.tgz", - "integrity": "sha512-9s0AZ8BFK5/n7B/TBoa2yJE3gI3KURrbXcPBlsAsvjU4VeJKgE90y1YtNxyEUIcHPQkg6/yfF3qihUrcM/Kf0Q==", + "version": "1.2.13", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-gnu/-/binding-linux-x64-gnu-1.2.13.tgz", + "integrity": "sha512-J4cm80Pc6wEwV5AZ42o62sIQgDk+Y7R2s646jIwuvO+4V46QB58N4vVuMPWCBaNgursXLpmUWJV//WQAkPvHBQ==", "cpu": [ "x64" ], "dev": true, + "libc": [ + "glibc" + ], "license": "MIT", "optional": true, "os": [ @@ -1664,13 +2541,16 @@ } }, "node_modules/@rolldown/binding-linux-x64-musl": { - "version": "1.2.9", - "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-musl/-/binding-linux-x64-musl-1.2.9.tgz", - "integrity": "sha512-P7VWAmV+WdJluH7ovnRGoiv2i8To7GAZ+kGzfGup635cyL7SyYl3lSUaA3Gp5THf0n/Co5EyEqb2zbqq+nMOHQ==", + "version": "1.2.13", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-musl/-/binding-linux-x64-musl-1.2.13.tgz", + "integrity": "sha512-W0euZS40U4V6JkmEnVCIX9mcsL6cbXQ4X8c2w+MMOIjFg68TXUW+u3RT+2e1t1pv9mg/EP3pDtK3POXdQ7Rxyw==", "cpu": [ "x64" ], "dev": true, + "libc": [ + "musl" + ], "license": "MIT", "optional": true, "os": [ @@ -1681,9 +2561,9 @@ } }, "node_modules/@rolldown/binding-openharmony-arm64": { - "version": "1.2.9", - "resolved": "https://registry.npmjs.org/@rolldown/binding-openharmony-arm64/-/binding-openharmony-arm64-1.2.9.tgz", - "integrity": "sha512-1qixtsE4BK8h+yS3BfmZ09UhA7O/N4IACva6YBr7EBvCJraByTuRcgOTaiA62Tm0vey3UcKXLOaoGHtYmNGEVg==", + "version": "1.2.13", + "resolved": "https://registry.npmjs.org/@rolldown/binding-openharmony-arm64/-/binding-openharmony-arm64-1.2.13.tgz", + "integrity": "sha512-do/AF/4n9MRshia3a5aXoy8xM2c6mgfT6D7H/dY6my5z+hfCIR4ab7mk4IRj++nsEQpKy39kd0DQnDq+r692tw==", "cpu": [ "arm64" ], @@ -1698,9 +2578,9 @@ } }, "node_modules/@rolldown/binding-win32-arm64-msvc": { - "version": "1.2.9", - "resolved": "https://registry.npmjs.org/@rolldown/binding-win32-arm64-msvc/-/binding-win32-arm64-msvc-1.2.9.tgz", - "integrity": "sha512-ok8IQjcEPs1AKZfuEUznVBrJw+gK4soq+bx8b1X2XoMqVClarc1q5JDmVtWXY1xfr6ZuHTAsPXHTgTrqKTZeww==", + "version": "1.2.13", + "resolved": "https://registry.npmjs.org/@rolldown/binding-win32-arm64-msvc/-/binding-win32-arm64-msvc-1.2.13.tgz", + "integrity": "sha512-6FtUf2cJZobutJdxnGYX8z0vtbgqU0b2v8vfBhkXb9wp2MppMFtkunE+IaOntyi01rkIQoPW2GHABtfzsC0BRQ==", "cpu": [ "arm64" ], @@ -1715,9 +2595,9 @@ } }, "node_modules/@rolldown/binding-win32-x64-msvc": { - "version": "1.2.9", - "resolved": "https://registry.npmjs.org/@rolldown/binding-win32-x64-msvc/-/binding-win32-x64-msvc-1.2.9.tgz", - "integrity": "sha512-Ip2mXoU0hM0boq3Rf+ekuT653OROSo6aSYcPT1VHE4q52KvyxgFkQgrgb/IEsxOuvQ2fZZbs8khJAyCEPM24/g==", + "version": "1.2.13", + "resolved": "https://registry.npmjs.org/@rolldown/binding-win32-x64-msvc/-/binding-win32-x64-msvc-1.2.13.tgz", + "integrity": "sha512-UKhFaZTeTcbKrb3iU82m17jVcPEAoqDkCN5MBqgPyZSwp/cQmib21crTS0DdH7T1B7wZRWEI89YQAOJMet5yhg==", "cpu": [ "x64" ], @@ -1739,9 +2619,9 @@ "license": "MIT" }, "node_modules/@sinclair/typebox": { - "version": "0.27.12", - "resolved": "https://registry.npmjs.org/@sinclair/typebox/-/typebox-0.27.12.tgz", - "integrity": "sha512-hhyNJ+nbR6ZR7pToHvllEFun9TL0sbL+tk/ON75lo+Xas054uez98qRbsuNt7MBCyZKK4+8Yli/OAGZhmfBZ/g==", + "version": "0.34.52", + "resolved": "https://registry.npmjs.org/@sinclair/typebox/-/typebox-0.34.52.tgz", + "integrity": "sha512-XiMQh7qqVlxZzcVD+kkGMNGMzcTrDMLWI7S4x7z1MkCkbDPrekpZXEUK0eZqZFMuHQg2a2DZOcDIh9o5v3Gonw==", "dev": true, "license": "MIT" }, @@ -1756,13 +2636,13 @@ } }, "node_modules/@sinonjs/fake-timers": { - "version": "10.3.0", - "resolved": "https://registry.npmjs.org/@sinonjs/fake-timers/-/fake-timers-10.3.0.tgz", - "integrity": "sha512-V4BG07kuYSUkTCSBHG8G8TNhM+F19jXFWnQtzj+we8DrkpSBCee9Z3Ms8yiGer/dlmhe35/Xdgyo3/0rQKg7YA==", + "version": "15.4.0", + "resolved": "https://registry.npmjs.org/@sinonjs/fake-timers/-/fake-timers-15.4.0.tgz", + "integrity": "sha512-DsG+8/LscQIQg68J6Ef3dv10u6nVyetYn923s3/sus5eaGfTo1of5WMZSLf0UJc9KDuKPilPH0UDJCjvNbDNCA==", "dev": true, "license": "BSD-3-Clause", "dependencies": { - "@sinonjs/commons": "^3.0.0" + "@sinonjs/commons": "^3.0.1" } }, "node_modules/@socket.io/component-emitter": { @@ -1771,10 +2651,17 @@ "integrity": "sha512-9BCxFwvbGg/RsZK9tjXd8s4UcwR0MWeFQ1XEKIQVVvAGJyINdrqKMcTRyLoK8Rse1GjzLV9cwjWV1olXRWEXVA==", "license": "MIT" }, + "node_modules/@standard-schema/spec": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@standard-schema/spec/-/spec-1.1.0.tgz", + "integrity": "sha512-l2aFy5jALhniG5HgqrD6jXLi/rUWrKvqN/qJx6yoJsgKhblVd+iqqU4RCXavm/jPityDo5TCvKMnpjKnOriy0w==", + "devOptional": true, + "license": "MIT" + }, "node_modules/@tanstack/query-core": { - "version": "5.103.2", - "resolved": "https://registry.npmjs.org/@tanstack/query-core/-/query-core-5.103.2.tgz", - "integrity": "sha512-I8DkFXls5jXLqtm8+QpOhEmG07hIblhSZFzafg9wHsMSEvMzULy9hK17wU1T/ahfhMbtITJhbxutwwCoihkR7A==", + "version": "5.104.1", + "resolved": "https://registry.npmjs.org/@tanstack/query-core/-/query-core-5.104.1.tgz", + "integrity": "sha512-TiRghcrGkUTE+M4JBxvpPSpBhxvIzQairw+cksrHYGr+2uwC77yW1SY9nYxnYRYOppvucf8rEg6b5byoz4rTpw==", "license": "MIT", "funding": { "type": "github", @@ -1782,12 +2669,12 @@ } }, "node_modules/@tanstack/react-query": { - "version": "5.103.2", - "resolved": "https://registry.npmjs.org/@tanstack/react-query/-/react-query-5.103.2.tgz", - "integrity": "sha512-B+fWiYZBc+0uUD5zDZAeLw9dKj7XEsdnuu6zRZ+no6LNKpeE3P3bJ+N6HINjcIlWR6fW3vUoTneEaGa2V6ehqw==", + "version": "5.104.1", + "resolved": "https://registry.npmjs.org/@tanstack/react-query/-/react-query-5.104.1.tgz", + "integrity": "sha512-Zz70EgjahNI7aCz8BZxM3vUGU44ycxEAzMuCUjLeA7SVhhOkg3ZgPjPJPvHjs6Rmky/dtmnu1WzjGHNHmhCoZQ==", "license": "MIT", "dependencies": { - "@tanstack/query-core": "5.103.2" + "@tanstack/query-core": "5.104.1" }, "funding": { "type": "github", @@ -1797,6 +2684,17 @@ "react": "^18 || ^19" } }, + "node_modules/@tybys/wasm-util": { + "version": "0.10.4", + "resolved": "https://registry.npmjs.org/@tybys/wasm-util/-/wasm-util-0.10.4.tgz", + "integrity": "sha512-W3c4gRigFS0T/Ma4qIYF3GDAc5AQdHb1yL5znJT1Zv1YaD9Kitx656wBjvr19qbiosmZT8lWDM5BEMynUqX65A==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "tslib": "^2.4.0" + } + }, "node_modules/@types/babel__core": { "version": "7.20.5", "resolved": "https://registry.npmjs.org/@types/babel__core/-/babel__core-7.20.5.tgz", @@ -1851,16 +2749,102 @@ "@types/node": "*" } }, - "node_modules/@types/graceful-fs": { - "version": "4.1.9", - "resolved": "https://registry.npmjs.org/@types/graceful-fs/-/graceful-fs-4.1.9.tgz", - "integrity": "sha512-olP3sd1qOEe5dXTSaFvQG+02VdRXcdytWLAZsAq1PecU8uqQAhkrnbli7DagjtXKW/Bl7YJbUsa8MPcuc8LHEQ==", - "dev": true, + "node_modules/@types/d3-array": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/@types/d3-array/-/d3-array-3.0.3.tgz", + "integrity": "sha512-Reoy+pKnvsksN0lQUlcH6dOGjRZ/3WRwXR//m+/8lt1BXeI4xyaUZoqULNjyXXRuh0Mj4LNpkCvhUpQlY3X5xQ==", + "devOptional": true, + "license": "MIT" + }, + "node_modules/@types/d3-color": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/@types/d3-color/-/d3-color-3.1.0.tgz", + "integrity": "sha512-HKuicPHJuvPgCD+np6Se9MQvS6OCbJmOjGvylzMJRlDwUXjKTTXs6Pwgk79O09Vj/ho3u1ofXnhFOaEWWPrlwA==", + "devOptional": true, + "license": "MIT" + }, + "node_modules/@types/d3-delaunay": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/@types/d3-delaunay/-/d3-delaunay-6.0.1.tgz", + "integrity": "sha512-tLxQ2sfT0p6sxdG75c6f/ekqxjyYR0+LwPrsO1mbC9YDBzPJhs2HbJJRrn8Ez1DBoHRo2yx7YEATI+8V1nGMnQ==", + "devOptional": true, + "license": "MIT" + }, + "node_modules/@types/d3-format": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/@types/d3-format/-/d3-format-3.0.1.tgz", + "integrity": "sha512-5KY70ifCCzorkLuIkDe0Z9YTf9RR2CjBX1iaJG+rgM/cPP+sO+q9YdQ9WdhQcgPj1EQiJ2/0+yUkkziTG6Lubg==", + "devOptional": true, + "license": "MIT" + }, + "node_modules/@types/d3-geo": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/@types/d3-geo/-/d3-geo-3.1.0.tgz", + "integrity": "sha512-856sckF0oP/diXtS4jNsiQw/UuK5fQG8l/a9VVLeSouf1/PPbBE1i1W852zVwKwYCBkFJJB7nCFTbk6UMEXBOQ==", + "devOptional": true, "license": "MIT", "dependencies": { - "@types/node": "*" + "@types/geojson": "*" } }, + "node_modules/@types/d3-interpolate": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/@types/d3-interpolate/-/d3-interpolate-3.0.1.tgz", + "integrity": "sha512-jx5leotSeac3jr0RePOH1KdR9rISG91QIE4Q2PYTu4OymLTZfA3SrnURSLzKH48HmXVUru50b8nje4E79oQSQw==", + "devOptional": true, + "license": "MIT", + "dependencies": { + "@types/d3-color": "*" + } + }, + "node_modules/@types/d3-path": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@types/d3-path/-/d3-path-3.1.1.tgz", + "integrity": "sha512-VMZBYyQvbGmWyWVea0EHs/BwLgxc+MKi1zLDCONksozI4YJMcTt8ZEuIR4Sb1MMTE8MMW49v0IwI5+b7RmfWlg==", + "devOptional": true, + "license": "MIT" + }, + "node_modules/@types/d3-scale": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/@types/d3-scale/-/d3-scale-4.0.2.tgz", + "integrity": "sha512-Yk4htunhPAwN0XGlIwArRomOjdoBFXC3+kCxK2Ubg7I9shQlVSJy/pG/Ht5ASN+gdMIalpk8TJ5xV74jFsetLA==", + "devOptional": true, + "license": "MIT", + "dependencies": { + "@types/d3-time": "*" + } + }, + "node_modules/@types/d3-shape": { + "version": "3.1.7", + "resolved": "https://registry.npmjs.org/@types/d3-shape/-/d3-shape-3.1.7.tgz", + "integrity": "sha512-VLvUQ33C+3J+8p+Daf+nYSOsjB4GXp19/S/aGo60m9h1v6XaxjiT82lKVWJCfzhtuZ3yD7i/TPeC/fuKLLOSmg==", + "devOptional": true, + "license": "MIT", + "dependencies": { + "@types/d3-path": "*" + } + }, + "node_modules/@types/d3-time": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@types/d3-time/-/d3-time-3.0.0.tgz", + "integrity": "sha512-sZLCdHvBUcNby1cB6Fd3ZBrABbjz3v1Vm90nysCQ6Vt7vd6e/h9Lt7SiJUoEX0l4Dzc7P5llKyhqSi1ycSf1Hg==", + "devOptional": true, + "license": "MIT" + }, + "node_modules/@types/d3-time-format": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/@types/d3-time-format/-/d3-time-format-2.1.0.tgz", + "integrity": "sha512-/myT3I7EwlukNOX2xVdMzb8FRgNzRMpsZddwst9Ld/VFe6LyJyRp0s32l/V9XoUzk+Gqu56F/oGk6507+8BxrA==", + "devOptional": true, + "license": "MIT" + }, + "node_modules/@types/geojson": { + "version": "7946.0.16", + "resolved": "https://registry.npmjs.org/@types/geojson/-/geojson-7946.0.16.tgz", + "integrity": "sha512-6C8nqWur3j98U6+lXDfTUWIfgvZU+EumvpHKcYjujKH7woYyLj2sUmff0tRhrqM7BohUw7Pz3ZB1jj2gW9Fvmg==", + "devOptional": true, + "license": "MIT" + }, "node_modules/@types/istanbul-lib-coverage": { "version": "2.0.6", "resolved": "https://registry.npmjs.org/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.6.tgz", @@ -1888,20 +2872,38 @@ "@types/istanbul-lib-report": "*" } }, + "node_modules/@types/lodash": { + "version": "4.17.25", + "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.17.25.tgz", + "integrity": "sha512-+K1NIO8I+F9/wNulfVvu23QYd0Pe9/OCqRrim4NoYIf1VoEDL90Ve4ClzpyqBLc7NpGGWRvYNCKZ1BE/Jpf8dQ==", + "devOptional": true, + "license": "MIT" + }, "node_modules/@types/node": { - "version": "26.6.2", - "resolved": "https://registry.npmjs.org/@types/node/-/node-26.6.2.tgz", - "integrity": "sha512-X1P21scMv4zGKLYqjdGjaKa7COa0RKVYYZZN/NfvLQ1JegxFhdhpZG/Lyn8AXx6CDUavKAd11v6BvfpkDByK8g==", + "version": "24.19.1", + "resolved": "https://registry.npmjs.org/@types/node/-/node-24.19.1.tgz", + "integrity": "sha512-aS3/DG0oM05K0RIXXP+hKjinGG5IgSSVGzswZxW3O0sS3pH4/fycXundUC9XsszgKCk4gHXylTEK6hyFxVxnoQ==", "license": "MIT", "dependencies": { - "undici-types": "~8.9.0" + "undici-types": ">=7.24.0 <7.24.7" + } + }, + "node_modules/@types/pg": { + "version": "8.23.1", + "resolved": "https://registry.npmjs.org/@types/pg/-/pg-8.23.1.tgz", + "integrity": "sha512-fKVHpikPdg4GKks3JuLEhvwSyvwzF23hnabPy6DD8ljVbC7+6J5dQzdv4arV6jqq57djnMgs1HKBxX4P8aBI3A==", + "license": "MIT", + "dependencies": { + "@types/node": "*", + "pg-protocol": "*", + "pg-types": "^2.2.0" } }, "node_modules/@types/react": { "version": "19.3.0", "resolved": "https://registry.npmjs.org/@types/react/-/react-19.3.0.tgz", "integrity": "sha512-N0rFCuH9YoxG9/m61l9MfpJKfmLOVU0em7ipIz6TRgSSkvReLB9vL85GB+yr8Bs5leqpvg96JSwF4ZS1s4viQg==", - "dev": true, + "devOptional": true, "license": "MIT", "dependencies": { "csstype": "^3.2.2" @@ -1911,7 +2913,7 @@ "version": "19.3.0", "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-19.3.0.tgz", "integrity": "sha512-ZI7bU42mZXXKHn/qNLEw2IrbiINU7X5+vfgdixBHkCNpYWXjKgfQ/P+uyGb5CjOLB9UcnTeg3rylQtV2hym44Q==", - "dev": true, + "devOptional": true, "license": "MIT", "peerDependencies": { "@types/react": "^19.3.0" @@ -1925,9 +2927,9 @@ "license": "MIT" }, "node_modules/@types/ws": { - "version": "8.18.1", - "resolved": "https://registry.npmjs.org/@types/ws/-/ws-8.18.1.tgz", - "integrity": "sha512-ThVF6DCVhA8kUGy+aazFQ4kXQ7E1Ty7A3ypFOe0IcJV8O/M511G99AW24irKrW56Wt44yG9+ij8FaqoBGkuBXg==", + "version": "8.18.2", + "resolved": "https://registry.npmjs.org/@types/ws/-/ws-8.18.2.tgz", + "integrity": "sha512-67MQl+fpWKVTT1NYdnmo3U4sc/xPo/zQBncVnI74qmQa0z/b+1g6iYqNmGCPbxO+zz2aklb08a0oHfegiVd0/w==", "license": "MIT", "dependencies": { "@types/node": "*" @@ -1950,12 +2952,857 @@ "dev": true, "license": "MIT" }, - "node_modules/abbrev": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz", - "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==", + "node_modules/@typescript/typescript-aix-ppc64": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/@typescript/typescript-aix-ppc64/-/typescript-aix-ppc64-7.0.2.tgz", + "integrity": "sha512-MTKKkWB7p/0E9xi1d1tHtZ5PiLkGEMIq88pK2CubZjOsLtYTLqhgIgi6zepFa+9GHZ6h05NMCkQxGKiPXMxXtQ==", + "cpu": [ + "ppc64" + ], + "license": "Apache-2.0", + "optional": true, + "os": [ + "aix" + ], + "engines": { + "node": ">=16.20.0" + } + }, + "node_modules/@typescript/typescript-darwin-arm64": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/@typescript/typescript-darwin-arm64/-/typescript-darwin-arm64-7.0.2.tgz", + "integrity": "sha512-gowzar9MwS/aRWp6f3a4KUqzRjAZjOsmGNCM6LcTgXum+dBfgsBVMN+AgvOCCbguXyick6LJhpBszxMebJ8syA==", + "cpu": [ + "arm64" + ], + "license": "Apache-2.0", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=16.20.0" + } + }, + "node_modules/@typescript/typescript-darwin-x64": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/@typescript/typescript-darwin-x64/-/typescript-darwin-x64-7.0.2.tgz", + "integrity": "sha512-SZ9xZInqApNlNGc9s0W1VSsktYSOe9cFqNOIqmN1Gs8SmkjKZYFt017G4VwPxASInODuAdbTW7sXiFUf893RgA==", + "cpu": [ + "x64" + ], + "license": "Apache-2.0", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=16.20.0" + } + }, + "node_modules/@typescript/typescript-freebsd-arm64": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/@typescript/typescript-freebsd-arm64/-/typescript-freebsd-arm64-7.0.2.tgz", + "integrity": "sha512-W5NH4y/J0plIIS5b2xvTEkU7JFxyqdMAOgf+Ilhl0vHQXKO5dZoxd+C/jEtq56c4F3wk71RB4BMRQ2XdI+bwYQ==", + "cpu": [ + "arm64" + ], + "license": "Apache-2.0", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=16.20.0" + } + }, + "node_modules/@typescript/typescript-freebsd-x64": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/@typescript/typescript-freebsd-x64/-/typescript-freebsd-x64-7.0.2.tgz", + "integrity": "sha512-UMGDx5sTpzNw3WiPebH7l90IWfJggEd+egHt/q6p7/Cm3zqoV7VxkGXt+3DxPIw8CcmvAB0j3sVVfbhX+M4Tpw==", + "cpu": [ + "x64" + ], + "license": "Apache-2.0", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=16.20.0" + } + }, + "node_modules/@typescript/typescript-linux-arm": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/@typescript/typescript-linux-arm/-/typescript-linux-arm-7.0.2.tgz", + "integrity": "sha512-gffT3xPz9sR7j/YJExkyPntrI0P2EP9XbOyWzth2/Gs0RstK+90RBcO0ncXoXy/beYll1SXw846Nf2zdnEz0QQ==", + "cpu": [ + "arm" + ], + "license": "Apache-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=16.20.0" + } + }, + "node_modules/@typescript/typescript-linux-arm64": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/@typescript/typescript-linux-arm64/-/typescript-linux-arm64-7.0.2.tgz", + "integrity": "sha512-Qh4eU4/y3yDjnfjjyPYihMj5/ODIlmt+Bzu17OI+fiSRDW57QmU5SiN63exPRNJPKUzcc1INa1NXdrJ+MqHjUQ==", + "cpu": [ + "arm64" + ], + "license": "Apache-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=16.20.0" + } + }, + "node_modules/@typescript/typescript-linux-loong64": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/@typescript/typescript-linux-loong64/-/typescript-linux-loong64-7.0.2.tgz", + "integrity": "sha512-uEHck9i8hoAzXPiYRib1O7miOnz23SxIeVl6F4LXox+qov1K35jHcEW6VHKvZI+pyvl7fZEP4MCU5LYvIq1GuQ==", + "cpu": [ + "loong64" + ], + "license": "Apache-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=16.20.0" + } + }, + "node_modules/@typescript/typescript-linux-mips64el": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/@typescript/typescript-linux-mips64el/-/typescript-linux-mips64el-7.0.2.tgz", + "integrity": "sha512-R4KvAMnE43W5Qeqb0Ly56O3mWMWIAgsMyz36DCaycd5nbg/9kzm0liw3JocfRqyJY0KPmzFjbswozXyW0DnIYA==", + "cpu": [ + "mips64el" + ], + "license": "Apache-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=16.20.0" + } + }, + "node_modules/@typescript/typescript-linux-ppc64": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/@typescript/typescript-linux-ppc64/-/typescript-linux-ppc64-7.0.2.tgz", + "integrity": "sha512-DORx5b3sd/4S7eayxm4FQv+A7CrkUIGRaHiwI8oiHTAI1fAPWhF4J0vAlkC8biAlHSVVwxMQ3tjZ2/DVbnQiiA==", + "cpu": [ + "ppc64" + ], + "license": "Apache-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=16.20.0" + } + }, + "node_modules/@typescript/typescript-linux-riscv64": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/@typescript/typescript-linux-riscv64/-/typescript-linux-riscv64-7.0.2.tgz", + "integrity": "sha512-wf0jqEDOjrPRnKwYRyyJDRo11KMbvMFrU+q4zqKyChODBzvlkbhNQfKvLxQCcwTpdDaXSHZTVuh0JoCrKCUMHQ==", + "cpu": [ + "riscv64" + ], + "license": "Apache-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=16.20.0" + } + }, + "node_modules/@typescript/typescript-linux-s390x": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/@typescript/typescript-linux-s390x/-/typescript-linux-s390x-7.0.2.tgz", + "integrity": "sha512-IkwJc3L7yhytWd/ewjyxNDfOmswCm9GWMJT/ue/dU4aZNbwZeYAetq42VyLmsmSjvoX7z74X6ZaYCtzAr0EuGw==", + "cpu": [ + "s390x" + ], + "license": "Apache-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=16.20.0" + } + }, + "node_modules/@typescript/typescript-linux-x64": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/@typescript/typescript-linux-x64/-/typescript-linux-x64-7.0.2.tgz", + "integrity": "sha512-EYdf2cNg7rgCWJnxCdJ+F3V39O8ihb37eHAu1LK8oAFizgTQbPOK7zHHXbPt8rX24COqODXeI3sIf0fCXG7H/A==", + "cpu": [ + "x64" + ], + "license": "Apache-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=16.20.0" + } + }, + "node_modules/@typescript/typescript-netbsd-arm64": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/@typescript/typescript-netbsd-arm64/-/typescript-netbsd-arm64-7.0.2.tgz", + "integrity": "sha512-+polYF4MF04aPpO5FTkHran9yUQDSXqy5GiSDKpsll5jy3l3+g9QLhpf39T+ePtefhXLOGrLl0QIjkQP6VnelA==", + "cpu": [ + "arm64" + ], + "license": "Apache-2.0", + "optional": true, + "os": [ + "netbsd" + ], + "engines": { + "node": ">=16.20.0" + } + }, + "node_modules/@typescript/typescript-netbsd-x64": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/@typescript/typescript-netbsd-x64/-/typescript-netbsd-x64-7.0.2.tgz", + "integrity": "sha512-8YIT0EHM/3dq10ZOVF/A7pc/YSMtbcecct4rWtexrnSCHOPcpC2KTLXfTCR6vDpnSiY12heNb1GiN/wu+T/FyA==", + "cpu": [ + "x64" + ], + "license": "Apache-2.0", + "optional": true, + "os": [ + "netbsd" + ], + "engines": { + "node": ">=16.20.0" + } + }, + "node_modules/@typescript/typescript-openbsd-arm64": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/@typescript/typescript-openbsd-arm64/-/typescript-openbsd-arm64-7.0.2.tgz", + "integrity": "sha512-APT8+ClYnuYm1u9+kgGXoMj2VzWzcymwh2gNSQVySHfkRDGOTVkoWLjCmOQSaO+PoqQ57B0flRp9SA+7GnnkzQ==", + "cpu": [ + "arm64" + ], + "license": "Apache-2.0", + "optional": true, + "os": [ + "openbsd" + ], + "engines": { + "node": ">=16.20.0" + } + }, + "node_modules/@typescript/typescript-openbsd-x64": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/@typescript/typescript-openbsd-x64/-/typescript-openbsd-x64-7.0.2.tgz", + "integrity": "sha512-yX7s+Q0Dln0Dt9tEzZsAjXXR/+ytBM7AlglaqyeMPxQszJ1JhlJdZ6jLA+IzldHtflX81em7lDao1xXu+aRRkg==", + "cpu": [ + "x64" + ], + "license": "Apache-2.0", + "optional": true, + "os": [ + "openbsd" + ], + "engines": { + "node": ">=16.20.0" + } + }, + "node_modules/@typescript/typescript-sunos-x64": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/@typescript/typescript-sunos-x64/-/typescript-sunos-x64-7.0.2.tgz", + "integrity": "sha512-dLJDGaLZ1D4HPQn62u1n8mBDkJREwMsAkCdkwd4Ieqw+x3TUyTsqY0YiBCtE6H6OzzgGk3iuZ3vFWRS+E8/d1g==", + "cpu": [ + "x64" + ], + "license": "Apache-2.0", + "optional": true, + "os": [ + "sunos" + ], + "engines": { + "node": ">=16.20.0" + } + }, + "node_modules/@typescript/typescript-win32-arm64": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/@typescript/typescript-win32-arm64/-/typescript-win32-arm64-7.0.2.tgz", + "integrity": "sha512-Gyl1Vy6OsWesLzmq+EP0Fb7b4Nid5232AvcA2SFcdYreldpNtYFFofPjnt62y9hQy7VTaZp65ICJjuAQRaVcIQ==", + "cpu": [ + "arm64" + ], + "license": "Apache-2.0", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=16.20.0" + } + }, + "node_modules/@typescript/typescript-win32-x64": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/@typescript/typescript-win32-x64/-/typescript-win32-x64-7.0.2.tgz", + "integrity": "sha512-0BQ3HkAHHlKLSp1qRvf3SUhGpGsDuhB/jgFw75guyqbxJqEaS0Cw/VFO8i2nHglJUzQCRtMMR/IBAKE3ETMC4g==", + "cpu": [ + "x64" + ], + "license": "Apache-2.0", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=16.20.0" + } + }, + "node_modules/@ungap/structured-clone": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/@ungap/structured-clone/-/structured-clone-1.4.0.tgz", + "integrity": "sha512-1mEZtMKPM09vDmQt5y7YvmN2+DFTP7Tg0EWXdic8/C6VRnpb33e4ghisCIE3WZjsE2N8mf+QV1Zqh7ZFYLWInQ==", + "dev": true, "license": "ISC" }, + "node_modules/@unrs/resolver-binding-android-arm-eabi": { + "version": "1.12.2", + "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-android-arm-eabi/-/resolver-binding-android-arm-eabi-1.12.2.tgz", + "integrity": "sha512-g5T90pqg1bo/7mytQx6F4iBNC0Wsh9cu+z9veDbFjc7HjpesJFWD7QMS0NGStXM075+7dJPPVvBbpZlnrdpi/w==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ] + }, + "node_modules/@unrs/resolver-binding-android-arm64": { + "version": "1.12.2", + "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-android-arm64/-/resolver-binding-android-arm64-1.12.2.tgz", + "integrity": "sha512-YGCRZv/9GLhwmz6mYDeTsm/92BAyR28l6c2ReweVW5pWgfsitWLY8upvfRlGdoyD8HjeTHSYJWyZGD4KJA/nFQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ] + }, + "node_modules/@unrs/resolver-binding-darwin-arm64": { + "version": "1.12.2", + "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-darwin-arm64/-/resolver-binding-darwin-arm64-1.12.2.tgz", + "integrity": "sha512-u9DiNT1auQMO20A9SyTuG3wUgQWB9Z7KjAg0uFuCDR1FsAY8A0CG2S6JpHS1xwm/w1G08bjXZDcyOCjv1WAm2w==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ] + }, + "node_modules/@unrs/resolver-binding-darwin-x64": { + "version": "1.12.2", + "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-darwin-x64/-/resolver-binding-darwin-x64-1.12.2.tgz", + "integrity": "sha512-f7rPLi/T1HVKZu/u6t87lroib16n8vrSzcyxI7lg4BGO9UF26KhQL44sd9eOUgrTYhvRXtWOIZT5PejdPyJfUA==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ] + }, + "node_modules/@unrs/resolver-binding-freebsd-x64": { + "version": "1.12.2", + "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-freebsd-x64/-/resolver-binding-freebsd-x64-1.12.2.tgz", + "integrity": "sha512-BpcOjWCJub6nRZUS2zA20pmLvjtqAtGejETaIyRLiZiQf++cbrjltLA5NN/xaXfqeOBOSlMFbemIl5/S5tljmg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ] + }, + "node_modules/@unrs/resolver-binding-linux-arm-gnueabihf": { + "version": "1.12.2", + "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-arm-gnueabihf/-/resolver-binding-linux-arm-gnueabihf-1.12.2.tgz", + "integrity": "sha512-vZTDvdSISZjJx66OzJqtsOhzifbqRjbmI1Mnu49fQDwog5GtDI4QidRiEAYbZCRj9C8YZEW+3ZjqsyS9GR4k2A==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@unrs/resolver-binding-linux-arm-musleabihf": { + "version": "1.12.2", + "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-arm-musleabihf/-/resolver-binding-linux-arm-musleabihf-1.12.2.tgz", + "integrity": "sha512-BiPI+IrIlwcW4nLLMM21+B1dFPzd55yAVgVGrdgDjNef+ch03GdxrcyaIz8X9SsQirh/kCQ7mviyWlMxdh2D7g==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@unrs/resolver-binding-linux-arm64-gnu": { + "version": "1.12.2", + "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-arm64-gnu/-/resolver-binding-linux-arm64-gnu-1.12.2.tgz", + "integrity": "sha512-zJc0H99FEPoFfSrNpa91HYfxzfAJCr502oxNK1cfdC9hlaFI43RT+JFCann9JUgZmLzzntChHyn13Sgn9ljHNg==", + "cpu": [ + "arm64" + ], + "dev": true, + "libc": [ + "glibc" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@unrs/resolver-binding-linux-arm64-musl": { + "version": "1.12.2", + "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-arm64-musl/-/resolver-binding-linux-arm64-musl-1.12.2.tgz", + "integrity": "sha512-KQ3Lki6l+Pz1k/eBipN41ES+YUK30beLGb9YqcB1O542cyLCNE6GaxrfcY3T6EezmGGk84wb5XyO9loTM9tkcA==", + "cpu": [ + "arm64" + ], + "dev": true, + "libc": [ + "musl" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@unrs/resolver-binding-linux-loong64-gnu": { + "version": "1.12.2", + "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-loong64-gnu/-/resolver-binding-linux-loong64-gnu-1.12.2.tgz", + "integrity": "sha512-3SJGEh1DborhG6pyxvhPzCT4bbSIVihsvgJc13P1bHG7KLdNDaF9T3gsTwFc7Jw/5Y5/iWOjkEx7Zy0NvCGX3Q==", + "cpu": [ + "loong64" + ], + "dev": true, + "libc": [ + "glibc" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@unrs/resolver-binding-linux-loong64-musl": { + "version": "1.12.2", + "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-loong64-musl/-/resolver-binding-linux-loong64-musl-1.12.2.tgz", + "integrity": "sha512-jiuG/Obbel7uw1PwHNFfrkiKhLAF6mnyZ6aWlOAVN9WqKm8v0OFGnciJIHu8+CMvXLQ8AD51LPzAoUfT21D5Ew==", + "cpu": [ + "loong64" + ], + "dev": true, + "libc": [ + "musl" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@unrs/resolver-binding-linux-ppc64-gnu": { + "version": "1.12.2", + "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-ppc64-gnu/-/resolver-binding-linux-ppc64-gnu-1.12.2.tgz", + "integrity": "sha512-q7xRvVpmcfeL+LlZg8Pbbo6QaTZwDU5BaGZbwfhkEsXJn3Was8xYfE0RBH266xZt0rM6B7i8xAYIvjthuUIWHg==", + "cpu": [ + "ppc64" + ], + "dev": true, + "libc": [ + "glibc" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@unrs/resolver-binding-linux-riscv64-gnu": { + "version": "1.12.2", + "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-riscv64-gnu/-/resolver-binding-linux-riscv64-gnu-1.12.2.tgz", + "integrity": "sha512-0CVdx6lcnT3Q9inOH8tsMIOJ6ImndllMjqJHg8RLVdB7Vq4SfkEXl9mCSsVNuNA4MCYycRicCUxPCabVHJRr6A==", + "cpu": [ + "riscv64" + ], + "dev": true, + "libc": [ + "glibc" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@unrs/resolver-binding-linux-riscv64-musl": { + "version": "1.12.2", + "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-riscv64-musl/-/resolver-binding-linux-riscv64-musl-1.12.2.tgz", + "integrity": "sha512-iOwlRo9vnp6R6ohHQS11n0NnfdXx/omhkocmIfaPRpQhKZ+3BDMkkdRVh53qjkFkpPddf+FETA28NwGN7l5l+w==", + "cpu": [ + "riscv64" + ], + "dev": true, + "libc": [ + "musl" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@unrs/resolver-binding-linux-s390x-gnu": { + "version": "1.12.2", + "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-s390x-gnu/-/resolver-binding-linux-s390x-gnu-1.12.2.tgz", + "integrity": "sha512-HYJtLfXq94q8iZNFT1lknx258wlkkWhZeUXJRqzKBBUJ00CvZ+N33zgbCqimLjsyw5Va6uUxhVa12mI+kaveEw==", + "cpu": [ + "s390x" + ], + "dev": true, + "libc": [ + "glibc" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@unrs/resolver-binding-linux-x64-gnu": { + "version": "1.12.2", + "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-x64-gnu/-/resolver-binding-linux-x64-gnu-1.12.2.tgz", + "integrity": "sha512-mPsUhunKKDih5O96Y6enDQyHc1SqBPlY1E/SfMWDM3EdJ95Z9CArPeCVwCCqbP45ljvivdEk8Fxn+SIb1rDAJQ==", + "cpu": [ + "x64" + ], + "dev": true, + "libc": [ + "glibc" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@unrs/resolver-binding-linux-x64-musl": { + "version": "1.12.2", + "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-x64-musl/-/resolver-binding-linux-x64-musl-1.12.2.tgz", + "integrity": "sha512-azrt6+5ydLd8Vt210AAFis/lZevSfPw93EJRIJG+xPu4WCJ8K0kppCTpMyLPcKT7H15M4Jnt2tMp5bOvCkRC6A==", + "cpu": [ + "x64" + ], + "dev": true, + "libc": [ + "musl" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@unrs/resolver-binding-openharmony-arm64": { + "version": "1.12.2", + "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-openharmony-arm64/-/resolver-binding-openharmony-arm64-1.12.2.tgz", + "integrity": "sha512-YZ9hP4O0X9PQb8eO980qmLNGH4zT3I9+SZTdt0Pr0YyuGQhYKoOZkV02VzrzyOZJ5xIJ3UFIenKkUkGg8GjgWQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "openharmony" + ] + }, + "node_modules/@unrs/resolver-binding-wasm32-wasi": { + "version": "1.12.2", + "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-wasm32-wasi/-/resolver-binding-wasm32-wasi-1.12.2.tgz", + "integrity": "sha512-tYFDIkMxSflfEc/h92ZWNsZlHSwgimbNHSO3PL2JWQHfCuC2q316jMyYU9TIWZsFK2bQwyK5VAdYgn8ygPj69A==", + "cpu": [ + "wasm32" + ], + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "@emnapi/core": "1.10.0", + "@emnapi/runtime": "1.10.0", + "@napi-rs/wasm-runtime": "^1.1.4" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@unrs/resolver-binding-win32-arm64-msvc": { + "version": "1.12.2", + "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-win32-arm64-msvc/-/resolver-binding-win32-arm64-msvc-1.12.2.tgz", + "integrity": "sha512-qzNyg3xL0VPQmCaUh+N5jSitce6k+uCBfMDesWRnlULOZaqUkaJ0ybdT+UqlAWJoQjuqfIU/0Ptx9bteN4D82g==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/@unrs/resolver-binding-win32-ia32-msvc": { + "version": "1.12.2", + "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-win32-ia32-msvc/-/resolver-binding-win32-ia32-msvc-1.12.2.tgz", + "integrity": "sha512-WD9sY00OfpHVGfsnHZoA8jVT+esS/Bg8z8jzxp5BnDCjjwsuKsPQrzswwpFy4J1AUJbXPRfkpcX0mXrzeXW79g==", + "cpu": [ + "ia32" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/@unrs/resolver-binding-win32-x64-msvc": { + "version": "1.12.2", + "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-win32-x64-msvc/-/resolver-binding-win32-x64-msvc-1.12.2.tgz", + "integrity": "sha512-nAB74NfSNKknqQ1RrYj6uz8FcXEomu/MATJZxh/x+BArzN2U3JbOYC0APYzUIGhVY3m5hRxA8VPNdPBoG8txlA==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/@visx/curve": { + "version": "4.0.1-alpha.0", + "resolved": "https://registry.npmjs.org/@visx/curve/-/curve-4.0.1-alpha.0.tgz", + "integrity": "sha512-jRu61Uz274pV1zyioXmboyrLutYbnKsgjj4njSGCnhdXj5GkZvZbg+ThDb6oOzoAnJOBRLz4rzPlWvNJOzuVMg==", + "devOptional": true, + "license": "MIT", + "dependencies": { + "@visx/vendor": "4.0.0-alpha.0" + } + }, + "node_modules/@visx/event": { + "version": "4.0.1-alpha.0", + "resolved": "https://registry.npmjs.org/@visx/event/-/event-4.0.1-alpha.0.tgz", + "integrity": "sha512-EQqCMSv/s8NbFjo+hz3FKsvvYfP+2QslsFJ/24/O5l/W+7UC6J6aAvO0ujVwrTwdYbuQ+vhxKi1xdPdKR/qj1g==", + "devOptional": true, + "license": "MIT", + "dependencies": { + "@types/react": "*", + "@visx/point": "4.0.1-alpha.0" + } + }, + "node_modules/@visx/grid": { + "version": "4.0.1-alpha.0", + "resolved": "https://registry.npmjs.org/@visx/grid/-/grid-4.0.1-alpha.0.tgz", + "integrity": "sha512-rycutGmTHO+znNdPumheWMglm7YfpffvRwUkVy5zy4WoORIuKTMkDxwnOzHG2xMxU3EE/YCd37xFV5AxA30yeg==", + "devOptional": true, + "license": "MIT", + "dependencies": { + "@types/react": "*", + "@visx/curve": "4.0.1-alpha.0", + "@visx/group": "4.0.1-alpha.0", + "@visx/point": "4.0.1-alpha.0", + "@visx/scale": "4.0.1-alpha.0", + "@visx/shape": "4.0.1-alpha.0", + "classnames": "^2.3.1" + }, + "peerDependencies": { + "react": "^16.14.0 || ^17.0.0-0 || ^18.0.0-0 || ^19.0.0-0" + } + }, + "node_modules/@visx/group": { + "version": "4.0.1-alpha.0", + "resolved": "https://registry.npmjs.org/@visx/group/-/group-4.0.1-alpha.0.tgz", + "integrity": "sha512-V19l7iQ7jccBv8kao/EByuI6o4xtxzzLV9nqVI1hRvmdzTVsuLpqlwzYCZUXJaTVvUWf8s4D2SQFjGkj/Nw+0w==", + "devOptional": true, + "license": "MIT", + "dependencies": { + "@types/react": "*", + "classnames": "^2.3.1" + }, + "peerDependencies": { + "react": "^16.14.0 || ^17.0.0-0 || ^18.0.0-0 || ^19.0.0-0" + } + }, + "node_modules/@visx/point": { + "version": "4.0.1-alpha.0", + "resolved": "https://registry.npmjs.org/@visx/point/-/point-4.0.1-alpha.0.tgz", + "integrity": "sha512-ijTfr/Nx09f03vIj9nyTr3z4Xth4Y75427UaogJh6dnIRLMEFHQOwNu791sbfiNj0a+ZXuaE32h0vKrFe4/8Qg==", + "devOptional": true, + "license": "MIT" + }, + "node_modules/@visx/responsive": { + "version": "4.0.1-alpha.0", + "resolved": "https://registry.npmjs.org/@visx/responsive/-/responsive-4.0.1-alpha.0.tgz", + "integrity": "sha512-o+1zGywQZY0+yOx3Iw87wc4bbPJRr/HnIukTwfOz4UVyj9pB1OQNVHB7OORO1+LBHJceWpB31co/ZV9KHncKrA==", + "devOptional": true, + "license": "MIT", + "dependencies": { + "@types/lodash": "^4.17.13", + "@types/react": "*", + "lodash": "^4.17.21" + }, + "peerDependencies": { + "react": "^16.14.0 || ^17.0.0-0 || ^18.0.0-0 || ^19.0.0-0" + } + }, + "node_modules/@visx/scale": { + "version": "4.0.1-alpha.0", + "resolved": "https://registry.npmjs.org/@visx/scale/-/scale-4.0.1-alpha.0.tgz", + "integrity": "sha512-nzjeE87vFSAXGWFiiNfBpNLAf0Q8Qmf6syvKLjqNi4kGZkdhbUll3E/59YsgWXmjM8+llPLWzGsP+JPvo5eq1A==", + "devOptional": true, + "license": "MIT", + "dependencies": { + "@visx/vendor": "4.0.0-alpha.0" + } + }, + "node_modules/@visx/shape": { + "version": "4.0.1-alpha.0", + "resolved": "https://registry.npmjs.org/@visx/shape/-/shape-4.0.1-alpha.0.tgz", + "integrity": "sha512-62QeiVNmPlterQGwhkEDcbq7M0MqY0lBsK5QKXtM9ZoPZWkuGV3aykA3+Xu20B2FAvyJq4LqJzBc7Sxr+EAdbA==", + "devOptional": true, + "license": "MIT", + "dependencies": { + "@types/lodash": "^4.17.13", + "@types/react": "*", + "@visx/curve": "4.0.1-alpha.0", + "@visx/group": "4.0.1-alpha.0", + "@visx/scale": "4.0.1-alpha.0", + "@visx/vendor": "4.0.0-alpha.0", + "classnames": "^2.3.1", + "lodash": "^4.17.21" + }, + "peerDependencies": { + "react": "^16.14.0 || ^17.0.0-0 || ^18.0.0-0 || ^19.0.0-0" + } + }, + "node_modules/@visx/vendor": { + "version": "4.0.0-alpha.0", + "resolved": "https://registry.npmjs.org/@visx/vendor/-/vendor-4.0.0-alpha.0.tgz", + "integrity": "sha512-6I+MuqXBcv9jnlcVowHoHKSdk9gXTWkHLKyqBwRWg7LY6A3Ei8SHfubpqGV5rBUSppxMq2RszPJUS6w+H0YgmQ==", + "devOptional": true, + "license": "MIT and ISC", + "dependencies": { + "@types/d3-array": "3.0.3", + "@types/d3-color": "3.1.0", + "@types/d3-delaunay": "6.0.1", + "@types/d3-format": "3.0.1", + "@types/d3-geo": "3.1.0", + "@types/d3-interpolate": "3.0.1", + "@types/d3-path": "3.1.1", + "@types/d3-scale": "4.0.2", + "@types/d3-shape": "3.1.7", + "@types/d3-time": "3.0.0", + "@types/d3-time-format": "2.1.0", + "d3-array": "3.2.1", + "d3-color": "3.1.0", + "d3-delaunay": "6.0.2", + "d3-format": "3.1.0", + "d3-geo": "3.1.0", + "d3-interpolate": "3.0.1", + "d3-path": "3.1.0", + "d3-scale": "4.0.2", + "d3-shape": "3.2.0", + "d3-time": "3.1.0", + "d3-time-format": "4.1.0", + "internmap": "2.0.3" + } + }, + "node_modules/@visx/vendor/node_modules/d3-array": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/d3-array/-/d3-array-3.2.1.tgz", + "integrity": "sha512-gUY/qeHq/yNqqoCKNq4vtpFLdoCdvyNpWoC/KNjhGbhDuQpAM9sIQQKkXSNpXa9h5KySs/gzm7R88WkUutgwWQ==", + "devOptional": true, + "license": "ISC", + "dependencies": { + "internmap": "1 - 2" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/@vitejs/plugin-react": { + "version": "6.1.2", + "resolved": "https://registry.npmjs.org/@vitejs/plugin-react/-/plugin-react-6.1.2.tgz", + "integrity": "sha512-fhJNGUdscQa4HkI0xFxwonWyhnVReCPDbXI7FH7jmzpnVCrFQI7PRrhWecO263610vOrs9tr2Y4xcf8uAdFxbw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@rolldown/pluginutils": "^1.0.1" + }, + "engines": { + "node": "^20.19.0 || >=22.12.0" + }, + "peerDependencies": { + "@rolldown/plugin-babel": "^0.1.7 || ^0.2.0", + "babel-plugin-react-compiler": "^1.0.0", + "oxc-transform-react": "^0.152.0", + "vite": "^8.0.0" + }, + "peerDependenciesMeta": { + "@rolldown/plugin-babel": { + "optional": true + }, + "babel-plugin-react-compiler": { + "optional": true + }, + "oxc-transform-react": { + "optional": true + } + } + }, "node_modules/accepts": { "version": "1.3.8", "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.8.tgz", @@ -1981,29 +3828,23 @@ "node": ">= 6.0.0" } }, - "node_modules/agent-base/node_modules/debug": { - "version": "4.4.3", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.3.tgz", - "integrity": "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==", + "node_modules/ajv": { + "version": "8.20.0", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.20.0.tgz", + "integrity": "sha512-Thbli+OlOj+iMPYFBVBfJ3OmCAnaSyNn4M1vz9T6Gka5Jt9ba/HIR56joy65tY6kx/FCF5VXNB819Y7/GUrBGA==", + "devOptional": true, "license": "MIT", "dependencies": { - "ms": "^2.1.3" + "fast-deep-equal": "^3.1.3", + "fast-uri": "^3.0.1", + "json-schema-traverse": "^1.0.0", + "require-from-string": "^2.0.2" }, - "engines": { - "node": ">=6.0" - }, - "peerDependenciesMeta": { - "supports-color": { - "optional": true - } + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" } }, - "node_modules/agent-base/node_modules/ms": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", - "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", - "license": "MIT" - }, "node_modules/ansi-escapes": { "version": "4.3.2", "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.2.tgz", @@ -2024,6 +3865,7 @@ "version": "5.0.1", "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "dev": true, "license": "MIT", "engines": { "node": ">=8" @@ -2059,41 +3901,25 @@ "node": ">= 8" } }, - "node_modules/aproba": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/aproba/-/aproba-2.1.0.tgz", - "integrity": "sha512-tLIEcj5GuR2RSTnxNKdkK0dJ/GrC7P38sUkiDmDuHfsHmbagTFAxDVIBltoklXEVIQ/f14IL8IMJ5pn9Hez1Ew==", - "license": "ISC" - }, - "node_modules/are-we-there-yet": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-2.0.0.tgz", - "integrity": "sha512-Ci/qENmwHnsYo9xKIcUJN5LeDKdJ6R1Z1j9V/J5wyq8nh/mYPEpIKJbBZXtZjG04HiK7zV/p6Vs9952MrMeUIw==", - "deprecated": "This package is no longer supported.", - "license": "ISC", - "dependencies": { - "delegates": "^1.0.0", - "readable-stream": "^3.6.0" - }, + "node_modules/anymatch/node_modules/picomatch": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.2.tgz", + "integrity": "sha512-V7+vQEJ06Z+c5tSye8S+nHUfI51xoXIXjHQ99cQtKUkQqqO1kO/KCJUfZXuB47h/YBlDhah2H3hdUGXn8ie0oA==", + "dev": true, + "license": "MIT", "engines": { - "node": ">=10" + "node": ">=8.6" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" } }, "node_modules/argparse": { - "version": "1.0.10", - "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", - "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", "dev": true, - "license": "MIT", - "dependencies": { - "sprintf-js": "~1.0.2" - } - }, - "node_modules/array-flatten": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz", - "integrity": "sha512-PCVAQswWemu6UdxsDFFX/+gVeYqKAod3D3UVm91jHwynguOwAvYPhx8nNlM++NqRcK6CxxpUafjmhIdKiHibqg==", - "license": "MIT" + "license": "Python-2.0" }, "node_modules/asap": { "version": "2.0.6", @@ -2108,6 +3934,16 @@ "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==", "license": "MIT" }, + "node_modules/aws-ssl-profiles": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/aws-ssl-profiles/-/aws-ssl-profiles-1.1.2.tgz", + "integrity": "sha512-NZKeq9AfyQvEeNlN0zSYAaWrmBffJh3IELMZfRpJVWgrpEbtEpnjvzqBPf+mxoI287JohRDoa+/nsfqqiZmF6g==", + "devOptional": true, + "license": "MIT", + "engines": { + "node": ">= 6.0.0" + } + }, "node_modules/axios": { "version": "1.20.0", "resolved": "https://registry.npmjs.org/axios/-/axios-1.20.0.tgz", @@ -2121,85 +3957,58 @@ } }, "node_modules/babel-jest": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/babel-jest/-/babel-jest-29.7.0.tgz", - "integrity": "sha512-BrvGY3xZSwEcCzKvKsCi2GgHqDqsYkOP4/by5xCgIwGXQxIEh+8ew3gmrE1y7XRR6LHZIj6yLYnUi/mm2KXKBg==", + "version": "30.5.2", + "resolved": "https://registry.npmjs.org/babel-jest/-/babel-jest-30.5.2.tgz", + "integrity": "sha512-ES8WeJ2fNWPEDunyAtUfJ12nHyaWUloCHdkfK2oW5uSoQSUmjNKdWiGaXJITJwvFEWoD/evHEg/QoCXAvLaQqQ==", "dev": true, "license": "MIT", "dependencies": { - "@jest/transform": "^29.7.0", - "@types/babel__core": "^7.1.14", - "babel-plugin-istanbul": "^6.1.1", - "babel-preset-jest": "^29.6.3", - "chalk": "^4.0.0", - "graceful-fs": "^4.2.9", + "@jest/transform": "30.5.2", + "@types/babel__core": "^7.20.5", + "babel-plugin-istanbul": "^8.0.0", + "babel-preset-jest": "30.5.0", + "chalk": "^4.1.2", + "graceful-fs": "^4.2.11", "slash": "^3.0.0" }, "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" }, "peerDependencies": { - "@babel/core": "^7.8.0" + "@babel/core": "^7.11.0 || ^8.0.0-0" } }, "node_modules/babel-plugin-istanbul": { - "version": "6.1.1", - "resolved": "https://registry.npmjs.org/babel-plugin-istanbul/-/babel-plugin-istanbul-6.1.1.tgz", - "integrity": "sha512-Y1IQok9821cC9onCx5otgFfRm7Lm+I+wwxOx738M/WLPZ9Q42m4IG5W0FNX8WLL2gYMZo3JkuXIH2DOpWM+qwA==", + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/babel-plugin-istanbul/-/babel-plugin-istanbul-8.0.0.tgz", + "integrity": "sha512-18wCskrN3DgbuBmp1gr7LBGT8xdz5xhQQqFvFhVxbkl8VBCrMKQ2YtqBWtUal1Zrc1HTuX0011+Brjw78TCFkg==", "dev": true, "license": "BSD-3-Clause", + "workspaces": [ + "test/babel-8" + ], "dependencies": { "@babel/helper-plugin-utils": "^7.0.0", "@istanbuljs/load-nyc-config": "^1.0.0", - "@istanbuljs/schema": "^0.1.2", - "istanbul-lib-instrument": "^5.0.4", - "test-exclude": "^6.0.0" + "@istanbuljs/schema": "^0.1.3", + "istanbul-lib-instrument": "^6.0.2", + "test-exclude": "^7.0.1" }, "engines": { - "node": ">=8" - } - }, - "node_modules/babel-plugin-istanbul/node_modules/istanbul-lib-instrument": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-5.2.1.tgz", - "integrity": "sha512-pzqtp31nLv/XFOzXGuvhCb8qhjmTVo5vjVk19XE4CRlSWz0KoeJ3bw9XsA7nOp9YBf4qHjwBxkDzKcME/J29Yg==", - "dev": true, - "license": "BSD-3-Clause", - "dependencies": { - "@babel/core": "^7.12.3", - "@babel/parser": "^7.14.7", - "@istanbuljs/schema": "^0.1.2", - "istanbul-lib-coverage": "^3.2.0", - "semver": "^6.3.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/babel-plugin-istanbul/node_modules/semver": { - "version": "6.3.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", - "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", - "dev": true, - "license": "ISC", - "bin": { - "semver": "bin/semver.js" + "node": ">=18" } }, "node_modules/babel-plugin-jest-hoist": { - "version": "29.6.3", - "resolved": "https://registry.npmjs.org/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-29.6.3.tgz", - "integrity": "sha512-ESAc/RJvGTFEzRwOTT4+lNDk/GNHMkKbNzsvT0qKRfDyyYTskxB5rnU2njIDYVxXCBHHEI1c0YwHob3WaYujOg==", + "version": "30.5.0", + "resolved": "https://registry.npmjs.org/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-30.5.0.tgz", + "integrity": "sha512-gtGo1B+u14jrZQv6TdSWIWkTqclboo7Qn+dFAGUOIuXLFuJKAdg3U5MIWzZnW4vfUb4dX9skmAMiby86e/SF4A==", "dev": true, "license": "MIT", "dependencies": { - "@babel/template": "^7.3.3", - "@babel/types": "^7.3.3", - "@types/babel__core": "^7.1.14", - "@types/babel__traverse": "^7.0.6" + "@types/babel__core": "^7.20.5" }, "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" } }, "node_modules/babel-preset-current-node-syntax": { @@ -2230,45 +4039,30 @@ } }, "node_modules/babel-preset-jest": { - "version": "29.6.3", - "resolved": "https://registry.npmjs.org/babel-preset-jest/-/babel-preset-jest-29.6.3.tgz", - "integrity": "sha512-0B3bhxR6snWXJZtR/RliHTDPRgn1sNHOR0yVtq/IiQFyuOVjFS+wuio/R4gSNkyYmKmJB4wGZv2NZanmKmTnNA==", + "version": "30.5.0", + "resolved": "https://registry.npmjs.org/babel-preset-jest/-/babel-preset-jest-30.5.0.tgz", + "integrity": "sha512-ZGPn5ClP4lBDpuOK8W1yQIOy359HmbnZv3suucAlIe+SEE9yDsxV4S2PjSbH2Vc97U+WmzYD7vw3kr8NsQ/i6w==", "dev": true, "license": "MIT", "dependencies": { - "babel-plugin-jest-hoist": "^29.6.3", - "babel-preset-current-node-syntax": "^1.0.0" + "babel-plugin-jest-hoist": "30.5.0", + "babel-preset-current-node-syntax": "^1.2.0" }, "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" }, "peerDependencies": { - "@babel/core": "^7.0.0" + "@babel/core": "^7.11.0 || ^8.0.0-beta.1 || ^8.0.0" } }, "node_modules/backend": { "resolved": "backend", "link": true }, - "node_modules/balanced-match": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", - "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", - "license": "MIT" - }, - "node_modules/base64id": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/base64id/-/base64id-2.0.0.tgz", - "integrity": "sha512-lGe34o6EHj9y3Kts9R4ZYs/Gr+6N7MCaMlIFA3F1R2O5/m7K06AxfSeO5530PEERE6/WyEg3lsuyw4GHlPZHog==", - "license": "MIT", - "engines": { - "node": "^4.5.0 || >= 5.9" - } - }, "node_modules/baseline-browser-mapping": { - "version": "2.11.25", - "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.11.25.tgz", - "integrity": "sha512-gMmEShwwq7FJqMwvfRwvCl00v4kN+KOfJqXn+f4nrufak5gNHJOksd/60Dvjuz7sI8Y5WiSFBa8FEYr+zoyqCw==", + "version": "2.11.27", + "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.11.27.tgz", + "integrity": "sha512-ElY12DaROGuan+lMmZ8Cvo/ZUbXPe7Enc/9VU/b1T3Kp4dwytRcNdR8DoSJN5SNJT/CuvcCA0DHDVmMOCePdRQ==", "dev": true, "license": "Apache-2.0", "bin": { @@ -2279,70 +4073,67 @@ } }, "node_modules/bcrypt": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/bcrypt/-/bcrypt-5.1.1.tgz", - "integrity": "sha512-AGBHOG5hPYZ5Xl9KXzU5iKq9516yEmvCKDg3ecP5kX2aB6UqTeXZxk2ELnDgDm6BQSMlLt9rDB4LoSMx0rYwww==", + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/bcrypt/-/bcrypt-6.0.0.tgz", + "integrity": "sha512-cU8v/EGSrnH+HnxV2z0J7/blxH8gq7Xh2JFT6Aroax7UohdmiJJlxApMxtKfuI7z68NvvVcmR78k2LbT6efhRg==", "hasInstallScript": true, "license": "MIT", "dependencies": { - "@mapbox/node-pre-gyp": "^1.0.11", - "node-addon-api": "^5.0.0" + "node-addon-api": "^8.3.0", + "node-gyp-build": "^4.8.4" }, "engines": { - "node": ">= 10.0.0" + "node": ">= 18" } }, + "node_modules/better-result": { + "version": "2.10.0", + "resolved": "https://registry.npmjs.org/better-result/-/better-result-2.10.0.tgz", + "integrity": "sha512-oQhh0y1qo2/ZKdAAEvHZAqKKiHOFU5k/bW96fE2ScgQOVkJRiHwB+nOS1SgFsYqRlxMDWvefXi9Q3px7QvgNDw==", + "devOptional": true, + "license": "MIT" + }, "node_modules/body-parser": { - "version": "1.20.8", - "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.8.tgz", - "integrity": "sha512-JNcyFQ64OiijEkPzUBTCe+hyPXUD/3LEldGQ6iF5LR1w00mx9o7xtDWHXBY2iItjdCFGoilOLNQbH943ut7pHA==", + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-2.3.0.tgz", + "integrity": "sha512-2cGmJupaNgg+QUwVLAucDuWuoMZ6EX9iHDRswZ5lsNYEmwPaRknMPCLZz07yTzVq/83p4o/wzbDZbBrTvGGTIw==", "license": "MIT", "dependencies": { - "bytes": "~3.1.2", - "content-type": "~1.0.5", - "debug": "2.6.9", - "depd": "2.0.0", - "destroy": "~1.2.0", - "http-errors": "~2.0.1", - "iconv-lite": "~0.4.24", - "on-finished": "~2.4.1", - "qs": "~6.16.0", - "raw-body": "~2.5.3", - "type-is": "~1.6.18", - "unpipe": "~1.0.0" + "bytes": "^3.1.2", + "content-type": "^2.0.0", + "debug": "^4.4.3", + "http-errors": "^2.0.1", + "iconv-lite": "^0.7.2", + "on-finished": "^2.4.1", + "qs": "^6.15.2", + "raw-body": "^3.0.2", + "type-is": "^2.1.0" }, "engines": { - "node": ">= 0.8", - "npm": "1.2.8000 || >= 1.4.16" - } - }, - "node_modules/brace-expansion": { - "version": "1.1.21", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.21.tgz", - "integrity": "sha512-9zeA+KLZNNzglF2TPKRQEDyx6Yby7daAkuy8MiPzpXPsYDWi/DRM8jmwUDxokQjYqBpv5DgPiwD4h4ZZSy1Ujw==", - "license": "MIT", - "dependencies": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, - "node_modules/braces": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz", - "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==", - "dev": true, - "license": "MIT", - "dependencies": { - "fill-range": "^7.1.1" + "node": ">=18" }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/body-parser/node_modules/content-type": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/content-type/-/content-type-2.1.0.tgz", + "integrity": "sha512-mj7UPXE0jaqaOsukNZRUEfEi2AcL7C/vwmwcHV0O97eO1E1pxBZuyjlZrx5seTaNBg1U6+o35wpa35Qfcc+7ag==", + "license": "MIT", "engines": { - "node": ">=8" + "node": ">=18" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" } }, "node_modules/browserslist": { - "version": "4.29.0", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.29.0.tgz", - "integrity": "sha512-3GSvyjvDI4Dur1Meg2BekJquu5uF+9R9a1+5M1Mde192eZoXbeXjzgOsgqPS2V8D5wrrip0gR5Hf/GhWQ9ZzaA==", + "version": "4.29.3", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.29.3.tgz", + "integrity": "sha512-1R4kiYKXGViqEN0CnoDrXc1StD9niAwu+j2dukWzrD4bJgsD4lDmEp0CRbc6E/vYJIfTHwPmwyaKtVSudICdPA==", "dev": true, "funding": [ { @@ -2360,10 +4151,10 @@ ], "license": "MIT", "dependencies": { - "baseline-browser-mapping": "^2.11.23", - "caniuse-lite": "^1.0.30001810", - "electron-to-chromium": "^1.5.427", - "node-releases": "^2.0.55", + "baseline-browser-mapping": "^2.11.26", + "caniuse-lite": "^1.0.30001813", + "electron-to-chromium": "^1.5.439", + "node-releases": "^2.0.57", "update-browserslist-db": "^1.3.3" }, "bin": { @@ -2389,13 +4180,6 @@ "integrity": "sha512-zRpUiDwd/xk6ADqPMATG8vc9VPrkck7T07OIx0gnjmJAnHnTVXNQG3vfvWNuiZIkwu9KrKdA1iJKfsfTVxE6NA==", "license": "BSD-3-Clause" }, - "node_modules/buffer-from": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz", - "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==", - "dev": true, - "license": "MIT" - }, "node_modules/bytes": { "version": "3.1.2", "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.2.tgz", @@ -2405,6 +4189,48 @@ "node": ">= 0.8" } }, + "node_modules/c12": { + "version": "3.3.4", + "resolved": "https://registry.npmjs.org/c12/-/c12-3.3.4.tgz", + "integrity": "sha512-cM0ApFQSBXuourJejzwv/AuPRvAxordTyParRVcHjjtXirtkzM0uK2L9TTn9s0cXZbG7E55jCivRQzoxYmRAlA==", + "devOptional": true, + "license": "MIT", + "dependencies": { + "chokidar": "^5.0.0", + "confbox": "^0.2.4", + "defu": "^6.1.6", + "dotenv": "^17.3.1", + "exsolve": "^1.0.8", + "giget": "^3.2.0", + "jiti": "^2.6.1", + "ohash": "^2.0.11", + "pathe": "^2.0.3", + "perfect-debounce": "^2.1.0", + "pkg-types": "^2.3.0", + "rc9": "^3.0.1" + }, + "peerDependencies": { + "magicast": "*" + }, + "peerDependenciesMeta": { + "magicast": { + "optional": true + } + } + }, + "node_modules/c12/node_modules/dotenv": { + "version": "17.4.2", + "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-17.4.2.tgz", + "integrity": "sha512-nI4U3TottKAcAD9LLud4Cb7b2QztQMUEfHbvhTH09bqXTxnSie8WnjPALV/WMCrJZ6UV/qHJ6L03OqO3LcdYZw==", + "devOptional": true, + "license": "BSD-2-Clause", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://dotenvx.com" + } + }, "node_modules/call-bind-apply-helpers": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/call-bind-apply-helpers/-/call-bind-apply-helpers-1.0.2.tgz", @@ -2455,9 +4281,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001810", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001810.tgz", - "integrity": "sha512-TITQPUkaz+aVk5GL6NhOdwk1aEaNTSDPsGFWrTuhKGtjTF70jL/Oht2W4c6rXUe5fu7Ie19VIahAXHIIiWWNeg==", + "version": "1.0.30001815", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001815.tgz", + "integrity": "sha512-uDybUEyfgbyJJ93J1vikTylBX31AkdVYeVPeffMQpf8XN7hSfr0oZOn4VFOIMNvtU5+rHvC5Udg2TgtJKHm23Q==", "dev": true, "funding": [ { @@ -2502,19 +4328,26 @@ "node": ">=10" } }, - "node_modules/chownr": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/chownr/-/chownr-2.0.0.tgz", - "integrity": "sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ==", - "license": "ISC", + "node_modules/chokidar": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-5.0.0.tgz", + "integrity": "sha512-TQMmc3w+5AxjpL8iIiwebF73dRDF4fBIieAqGn9RGCWaEVwQ6Fb2cGe31Yns0RRIzii5goJ1Y7xbMwo1TxMplw==", + "devOptional": true, + "license": "MIT", + "dependencies": { + "readdirp": "^5.0.0" + }, "engines": { - "node": ">=10" + "node": ">= 20.19.0" + }, + "funding": { + "url": "https://paulmillr.com/funding/" } }, "node_modules/ci-info": { - "version": "3.9.0", - "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-3.9.0.tgz", - "integrity": "sha512-NIxF55hv4nSqQswkAeiOi1r83xy8JldOFDTWiug55KBu9Jnblncd2U6ViHmYgHf01TPZS77NJBhBMKdWj9HQMQ==", + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-4.4.0.tgz", + "integrity": "sha512-77PSwercCZU2Fc4sX94eF8k8Pxte6JAwL4/ICZLFjJLqegs7kCuAsqqj/70NQF6TvDpgFjkubQB2FW2ZZddvQg==", "dev": true, "funding": [ { @@ -2528,12 +4361,19 @@ } }, "node_modules/cjs-module-lexer": { - "version": "1.4.3", - "resolved": "https://registry.npmjs.org/cjs-module-lexer/-/cjs-module-lexer-1.4.3.tgz", - "integrity": "sha512-9z8TZaGM1pfswYeXrUpzPrkx8UnWYdhJclsiYMm6x/w5+nN+8Tf/LnAgfLGQCm59qAOxU8WwHEq2vNwF6i4j+Q==", + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/cjs-module-lexer/-/cjs-module-lexer-2.3.0.tgz", + "integrity": "sha512-lmNyBzi6iYiqyrExTctfmjd8tInx+dHu9PBomTfH5RXS53c27JMFJgzNv5TyAnm3PgGf+MLy0+Ws41/HlVxdKQ==", "dev": true, "license": "MIT" }, + "node_modules/classnames": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/classnames/-/classnames-2.5.1.tgz", + "integrity": "sha512-saHYOzhIQs6wy2sVxTM6bUDsQO4F50V9RQ22qBpEdCW+I+/Wmke2HOl6lS6dTpdxVhb88/I6+Hs+438c3lfUow==", + "devOptional": true, + "license": "MIT" + }, "node_modules/cliui": { "version": "8.0.1", "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz", @@ -2587,15 +4427,6 @@ "dev": true, "license": "MIT" }, - "node_modules/color-support": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-support/-/color-support-1.1.3.tgz", - "integrity": "sha512-qiBjkpbMLO/HL68y+lh4q0/O1MZFj2RX6X/KmMa3+gJD3z+WwI1ZzDHysvqHGS3mP6mznPckpXmw1nI9cJjyRg==", - "license": "ISC", - "bin": { - "color-support": "bin.js" - } - }, "node_modules/combined-stream": { "version": "1.0.8", "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", @@ -2618,28 +4449,24 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/concat-map": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", - "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==", + "node_modules/confbox": { + "version": "0.2.4", + "resolved": "https://registry.npmjs.org/confbox/-/confbox-0.2.4.tgz", + "integrity": "sha512-ysOGlgTFbN2/Y6Cg3Iye8YKulHw+R2fNXHrgSmXISQdMnomY6eNDprVdW9R5xBguEqI954+S6709UyiO7B+6OQ==", + "devOptional": true, "license": "MIT" }, - "node_modules/console-control-strings": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/console-control-strings/-/console-control-strings-1.1.0.tgz", - "integrity": "sha512-ty/fTekppD2fIwRvnZAVdeOiGd1c7YXEixbgJTNzqcxJWKQnjJ/V1bNEEE6hygpM3WjwHFUVK6HTjWSzV4a8sQ==", - "license": "ISC" - }, "node_modules/content-disposition": { - "version": "0.5.4", - "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.4.tgz", - "integrity": "sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ==", + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-1.1.0.tgz", + "integrity": "sha512-5jRCH9Z/+DRP7rkvY83B+yGIGX96OYdJmzngqnw2SBSxqCFPd0w2km3s5iawpGX8krnwSGmF0FW5Nhr0Hfai3g==", "license": "MIT", - "dependencies": { - "safe-buffer": "5.2.1" - }, "engines": { - "node": ">= 0.6" + "node": ">=18" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" } }, "node_modules/content-type": { @@ -2668,10 +4495,13 @@ } }, "node_modules/cookie-signature": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.7.tgz", - "integrity": "sha512-NXdYc3dLr47pBkpUCHtKSwIOQXLVn8dZEuywboCOJY/osA0wFSLlSawr3KN8qXJEyX66FcONTH8EIlVuK0yyFA==", - "license": "MIT" + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.2.2.tgz", + "integrity": "sha512-D76uU73ulSXrD1UXF4KE2TMxVVwhsnCgfAyTg9k8P6KGZjlXKrOLe4dJQKI3Bxi5wjesZoFXJWElNWBjPZMbhg==", + "license": "MIT", + "engines": { + "node": ">=6.6.0" + } }, "node_modules/cookiejar": { "version": "2.1.4", @@ -2697,33 +4527,11 @@ "url": "https://opencollective.com/express" } }, - "node_modules/create-jest": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/create-jest/-/create-jest-29.7.0.tgz", - "integrity": "sha512-Adz2bdH0Vq3F53KEMJOoftQFutWCukm6J24wbPWRO4k1kMY7gS7ds/uoJkNuV8wDCtWWnuwGcJwpWcih+zEW1Q==", - "dev": true, - "license": "MIT", - "dependencies": { - "@jest/types": "^29.6.3", - "chalk": "^4.0.0", - "exit": "^0.1.2", - "graceful-fs": "^4.2.9", - "jest-config": "^29.7.0", - "jest-util": "^29.7.0", - "prompts": "^2.0.1" - }, - "bin": { - "create-jest": "bin/create-jest.js" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, "node_modules/cross-spawn": { "version": "7.0.6", "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz", "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==", - "dev": true, + "devOptional": true, "license": "MIT", "dependencies": { "path-key": "^3.1.0", @@ -2738,16 +4546,162 @@ "version": "3.2.3", "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.2.3.tgz", "integrity": "sha512-z1HGKcYy2xA8AGQfwrn0PAy+PB7X/GSj3UVJW9qKyn43xWa+gl5nXmU4qqLMRzWVLFC8KusUX8T/0kCiOYpAIQ==", - "dev": true, + "devOptional": true, "license": "MIT" }, + "node_modules/d3-array": { + "version": "3.2.4", + "resolved": "https://registry.npmjs.org/d3-array/-/d3-array-3.2.4.tgz", + "integrity": "sha512-tdQAmyA18i4J7wprpYq8ClcxZy3SC31QMeByyCFyRt7BVHdREQZ5lpzoe5mFEYZUWe+oq8HBvk9JjpibyEV4Jg==", + "devOptional": true, + "license": "ISC", + "dependencies": { + "internmap": "1 - 2" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-color": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/d3-color/-/d3-color-3.1.0.tgz", + "integrity": "sha512-zg/chbXyeBtMQ1LbD/WSoW2DpC3I0mpmPdW+ynRTj/x2DAWYrIY7qeZIHidozwV24m4iavr15lNwIwLxRmOxhA==", + "devOptional": true, + "license": "ISC", + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-delaunay": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/d3-delaunay/-/d3-delaunay-6.0.2.tgz", + "integrity": "sha512-IMLNldruDQScrcfT+MWnazhHbDJhcRJyOEBAJfwQnHle1RPh6WDuLvxNArUju2VSMSUuKlY5BGHRJ2cYyoFLQQ==", + "devOptional": true, + "license": "ISC", + "dependencies": { + "delaunator": "5" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-format": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/d3-format/-/d3-format-3.1.0.tgz", + "integrity": "sha512-YyUI6AEuY/Wpt8KWLgZHsIU86atmikuoOmCfommt0LYHiQSPjvX2AcFc38PX0CBpr2RCyZhjex+NS/LPOv6YqA==", + "devOptional": true, + "license": "ISC", + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-geo": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/d3-geo/-/d3-geo-3.1.0.tgz", + "integrity": "sha512-JEo5HxXDdDYXCaWdwLRt79y7giK8SbhZJbFWXqbRTolCHFI5jRqteLzCsq51NKbUoX0PjBVSohxrx+NoOUujYA==", + "devOptional": true, + "license": "ISC", + "dependencies": { + "d3-array": "2.5.0 - 3" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-interpolate": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/d3-interpolate/-/d3-interpolate-3.0.1.tgz", + "integrity": "sha512-3bYs1rOD33uo8aqJfKP3JWPAibgw8Zm2+L9vBKEHJ2Rg+viTR7o5Mmv5mZcieN+FRYaAOWX5SJATX6k1PWz72g==", + "devOptional": true, + "license": "ISC", + "dependencies": { + "d3-color": "1 - 3" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-path": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/d3-path/-/d3-path-3.1.0.tgz", + "integrity": "sha512-p3KP5HCf/bvjBSSKuXid6Zqijx7wIfNW+J/maPs+iwR35at5JCbLUT0LzF1cnjbCHWhqzQTIN2Jpe8pRebIEFQ==", + "devOptional": true, + "license": "ISC", + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-scale": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/d3-scale/-/d3-scale-4.0.2.tgz", + "integrity": "sha512-GZW464g1SH7ag3Y7hXjf8RoUuAFIqklOAq3MRl4OaWabTFJY9PN/E1YklhXLh+OQ3fM9yS2nOkCoS+WLZ6kvxQ==", + "devOptional": true, + "license": "ISC", + "dependencies": { + "d3-array": "2.10.0 - 3", + "d3-format": "1 - 3", + "d3-interpolate": "1.2.0 - 3", + "d3-time": "2.1.1 - 3", + "d3-time-format": "2 - 4" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-shape": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/d3-shape/-/d3-shape-3.2.0.tgz", + "integrity": "sha512-SaLBuwGm3MOViRq2ABk3eLoxwZELpH6zhl3FbAoJ7Vm1gofKx6El1Ib5z23NUEhF9AsGl7y+dzLe5Cw2AArGTA==", + "devOptional": true, + "license": "ISC", + "dependencies": { + "d3-path": "^3.1.0" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-time": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/d3-time/-/d3-time-3.1.0.tgz", + "integrity": "sha512-VqKjzBLejbSMT4IgbmVgDjpkYrNWUYJnbCGo874u7MMKIWsILRX+OpX/gTk8MqjpT1A/c6HY2dCA77ZN0lkQ2Q==", + "devOptional": true, + "license": "ISC", + "dependencies": { + "d3-array": "2 - 3" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/d3-time-format": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/d3-time-format/-/d3-time-format-4.1.0.tgz", + "integrity": "sha512-dJxPBlzC7NugB2PDLwo9Q8JiTR3M3e4/XANkreKSUxF8vvXKqm1Yfq4Q5dl8budlunRVlUUaDUgFt7eA8D6NLg==", + "devOptional": true, + "license": "ISC", + "dependencies": { + "d3-time": "1 - 3" + }, + "engines": { + "node": ">=12" + } + }, "node_modules/debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "version": "4.4.3", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.3.tgz", + "integrity": "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==", "license": "MIT", "dependencies": { - "ms": "2.0.0" + "ms": "^2.1.3" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } } }, "node_modules/dedent": { @@ -2775,6 +4729,43 @@ "node": ">=0.10.0" } }, + "node_modules/deepmerge-ts": { + "version": "8.0.2", + "resolved": "https://registry.npmjs.org/deepmerge-ts/-/deepmerge-ts-8.0.2.tgz", + "integrity": "sha512-uqbvqLUMrc6p0MO+WBRtTxY55hmyh94WRwI5a++PZe54X+bfVh59FSN7uWCBCW1CCVjzjnrwzfI8zidE2obMMw==", + "devOptional": true, + "funding": [ + { + "type": "ko-fi", + "url": "https://ko-fi.com/rebeccastevens" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/deepmerge-ts" + } + ], + "license": "BSD-3-Clause", + "engines": { + "node": ">=16.9.0" + } + }, + "node_modules/defu": { + "version": "6.1.7", + "resolved": "https://registry.npmjs.org/defu/-/defu-6.1.7.tgz", + "integrity": "sha512-7z22QmUWiQ/2d0KkdYmANbRUVABpZ9SNYyH5vx6PZ+nE5bcC0l7uFvEfHlyld/HcGBFTL536ClDt3DEcSlEJAQ==", + "devOptional": true, + "license": "MIT" + }, + "node_modules/delaunator": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/delaunator/-/delaunator-5.1.0.tgz", + "integrity": "sha512-AGrQ4QSgssa1NGmWmLPqN5NY2KajF5MqxetNEO+o0n3ZwZZeTmt7bBnvzHWrmkZFxGgr4HdyFgelzgi06otLuQ==", + "devOptional": true, + "license": "ISC", + "dependencies": { + "robust-predicates": "^3.0.2" + } + }, "node_modules/delayed-stream": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", @@ -2784,12 +4775,6 @@ "node": ">=0.4.0" } }, - "node_modules/delegates": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/delegates/-/delegates-1.0.0.tgz", - "integrity": "sha512-bd2L678uiWATM6m5Z1VzNCErI3jiGzt6HGY8OVICs40JQq/HALfbyNJmp0UDakEY4pMMaN0Ly5om/B1VI/+xfQ==", - "license": "MIT" - }, "node_modules/depd": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz", @@ -2799,20 +4784,18 @@ "node": ">= 0.8" } }, - "node_modules/destroy": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.2.0.tgz", - "integrity": "sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg==", - "license": "MIT", - "engines": { - "node": ">= 0.8", - "npm": "1.2.8000 || >= 1.4.16" - } + "node_modules/destr": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/destr/-/destr-2.0.5.tgz", + "integrity": "sha512-ugFTXCtDZunbzasqBxrK93Ik/DRYsO6S/fedkWEMKqt04xZ4csmnmwGDBAb07QWNaGMAmnTIemsYZCksjATwsA==", + "devOptional": true, + "license": "MIT" }, "node_modules/detect-libc": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.1.2.tgz", "integrity": "sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==", + "dev": true, "license": "Apache-2.0", "engines": { "node": ">=8" @@ -2839,21 +4822,14 @@ "wrappy": "1" } }, - "node_modules/diff-sequences": { - "version": "29.6.3", - "resolved": "https://registry.npmjs.org/diff-sequences/-/diff-sequences-29.6.3.tgz", - "integrity": "sha512-EjePK1srD3P08o2j4f0ExnylqRs5B9tJjcp9t1krH2qRi8CCdsYfwe9JgSLurFBWwq4uOlipzfk5fHNvwFKr8Q==", - "dev": true, - "license": "MIT", - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, "node_modules/dotenv": { - "version": "16.6.1", - "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.6.1.tgz", - "integrity": "sha512-uBq4egWHTcTt33a72vpSG0z3HnPuIl6NqYcTrKEg2azoEyl2hpW0zqlxysq2pK9HlDIHyHyakeYaYnSAwd8bow==", + "version": "18.0.6", + "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-18.0.6.tgz", + "integrity": "sha512-ZMVmohV6CvAJtj++pZNyggluUt6hbRdQAxc2+Z635RL6/AG/ruXv5lHnybUFoxMPL/yrTL/tsF4paZu2l7RA6Q==", "license": "BSD-2-Clause", + "bin": { + "dotenv": "dist/index.cjs" + }, "engines": { "node": ">=12" }, @@ -2875,6 +4851,13 @@ "node": ">= 0.4" } }, + "node_modules/eastasianwidth": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz", + "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==", + "dev": true, + "license": "MIT" + }, "node_modules/ecdsa-sig-formatter": { "version": "1.0.11", "resolved": "https://registry.npmjs.org/ecdsa-sig-formatter/-/ecdsa-sig-formatter-1.0.11.tgz", @@ -2890,13 +4873,31 @@ "integrity": "sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==", "license": "MIT" }, + "node_modules/effect": { + "version": "3.20.0", + "resolved": "https://registry.npmjs.org/effect/-/effect-3.20.0.tgz", + "integrity": "sha512-qMLfDJscrNG8p/aw+IkT9W7fgj50Z4wG5bLBy0Txsxz8iUHjDIkOgO3SV0WZfnQbNG2VJYb0b+rDLMrhM4+Krw==", + "devOptional": true, + "license": "MIT", + "dependencies": { + "@standard-schema/spec": "^1.0.0", + "fast-check": "^3.23.1" + } + }, "node_modules/electron-to-chromium": { - "version": "1.5.434", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.434.tgz", - "integrity": "sha512-7EeFW9OLf1NN9NKQP9xdOE/XKqjxv7JDPP6AEAkHli11+Fae1OaLoNuAf13hQv1PPNtuES0pLQSPk2+fS3s8ww==", + "version": "1.5.451", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.451.tgz", + "integrity": "sha512-vUNKPrUzw8ByEMOxloq0a71iD/mPuPxVkbDm3G5YhnxTzOw/I6qAg2MUS0cYj/c267lWmw26yW4Vv7foxTxPLg==", "dev": true, "license": "ISC" }, + "node_modules/elkjs": { + "version": "0.11.1", + "resolved": "https://registry.npmjs.org/elkjs/-/elkjs-0.11.1.tgz", + "integrity": "sha512-zxxR9k+rx5ktMwT/FwyLdPCrq7xN6e4VGGHH8hA01vVYKjTFik7nHOxBnAYtrgYUB1RpAiLvA1/U2YraWxyKKg==", + "devOptional": true, + "license": "EPL-2.0" + }, "node_modules/emittery": { "version": "0.13.1", "resolved": "https://registry.npmjs.org/emittery/-/emittery-0.13.1.tgz", @@ -2914,8 +4915,19 @@ "version": "8.0.0", "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", + "dev": true, "license": "MIT" }, + "node_modules/empathic": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/empathic/-/empathic-2.0.0.tgz", + "integrity": "sha512-i6UzDscO/XfAcNYD75CfICkmfLedpyPDdozrLMmQc5ORaQcdMoc21OnlEylMIqI7U8eniKrPMxxtj8k0vhmJhA==", + "devOptional": true, + "license": "MIT", + "engines": { + "node": ">=14" + } + }, "node_modules/encodeurl": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-2.0.0.tgz", @@ -2926,9 +4938,9 @@ } }, "node_modules/engine.io": { - "version": "6.6.10", - "resolved": "https://registry.npmjs.org/engine.io/-/engine.io-6.6.10.tgz", - "integrity": "sha512-9/lX2bdlizlCXMHRMOIm03VBQHQYC7VvydcxtTAUJRxNW1QzM/2PMFSmr6h/lCiMHcyCP6abK+t9Q+j4vekk8Q==", + "version": "6.6.11", + "resolved": "https://registry.npmjs.org/engine.io/-/engine.io-6.6.11.tgz", + "integrity": "sha512-z34mGpLoY/82ZbkX1LqGMIaf3wjVMPL6gVC681QDqnmzJ26synI8qAE32P+a7UazmpJZ8UGrFIeAavgRfXzYrg==", "license": "MIT", "dependencies": { "@types/cors": "^2.8.12", @@ -2946,9 +4958,9 @@ } }, "node_modules/engine.io-client": { - "version": "6.6.6", - "resolved": "https://registry.npmjs.org/engine.io-client/-/engine.io-client-6.6.6.tgz", - "integrity": "sha512-iY6QdftLQ9pyiPoX082bpf/u1UewnOaJrtJIF9T0++QB34lZrj0uP+Q/bj8AlUsAxqhnkTV2BS8SBZSxOmoV5Q==", + "version": "6.6.7", + "resolved": "https://registry.npmjs.org/engine.io-client/-/engine.io-client-6.6.7.tgz", + "integrity": "sha512-GyAvmPA7gnRCpDQbYACAy79Lg4ewevrmaPzySZz0OVvgyZc3gEfLLqPTYk8wVBScjOEpM9ZO4KryyFpVItjGEA==", "license": "MIT", "dependencies": { "@socket.io/component-emitter": "~3.1.0", @@ -2958,29 +4970,6 @@ "xmlhttprequest-ssl": "~2.1.1" } }, - "node_modules/engine.io-client/node_modules/debug": { - "version": "4.4.3", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.3.tgz", - "integrity": "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==", - "license": "MIT", - "dependencies": { - "ms": "^2.1.3" - }, - "engines": { - "node": ">=6.0" - }, - "peerDependenciesMeta": { - "supports-color": { - "optional": true - } - } - }, - "node_modules/engine.io-client/node_modules/ms": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", - "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", - "license": "MIT" - }, "node_modules/engine.io-parser": { "version": "5.2.3", "resolved": "https://registry.npmjs.org/engine.io-parser/-/engine.io-parser-5.2.3.tgz", @@ -2990,29 +4979,19 @@ "node": ">=10.0.0" } }, - "node_modules/engine.io/node_modules/debug": { - "version": "4.4.3", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.3.tgz", - "integrity": "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==", + "node_modules/env-paths": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/env-paths/-/env-paths-3.0.0.tgz", + "integrity": "sha512-dtJUTepzMW3Lm/NPxRf3wP4642UWhjL2sQxc+ym2YMj1m/H2zDNQOlezafzkHwn6sMstjHTwG6iQQsctDW/b1A==", + "devOptional": true, "license": "MIT", - "dependencies": { - "ms": "^2.1.3" - }, "engines": { - "node": ">=6.0" + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" }, - "peerDependenciesMeta": { - "supports-color": { - "optional": true - } + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/engine.io/node_modules/ms": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", - "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", - "license": "MIT" - }, "node_modules/error-ex": { "version": "1.3.4", "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.4.tgz", @@ -3041,6 +5020,13 @@ "node": ">= 0.4" } }, + "node_modules/es-module-lexer": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-2.3.2.tgz", + "integrity": "sha512-poHGpORABojJJucnV9KbOavETW8lBVnphkW77ER5/BQ5Fz7oXSoCNek7IH3vR5nRjdsEz926ibFYX8KtLQmdyw==", + "dev": true, + "license": "MIT" + }, "node_modules/es-object-atoms": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/es-object-atoms/-/es-object-atoms-1.1.2.tgz", @@ -3094,20 +5080,6 @@ "node": ">=8" } }, - "node_modules/esprima": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", - "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", - "dev": true, - "license": "BSD-2-Clause", - "bin": { - "esparse": "bin/esparse.js", - "esvalidate": "bin/esvalidate.js" - }, - "engines": { - "node": ">=4" - } - }, "node_modules/etag": { "version": "1.8.1", "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", @@ -3141,78 +5113,205 @@ "url": "https://github.com/sindresorhus/execa?sponsor=1" } }, - "node_modules/exit": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/exit/-/exit-0.1.2.tgz", - "integrity": "sha512-Zk/eNKV2zbjpKzrsQ+n1G6poVbErQxJ0LBOJXaKZ1EViLzH+hrLu9cdXI4zw9dBQJslwBEpbQ2P1oS7nDxs6jQ==", + "node_modules/exit-x": { + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/exit-x/-/exit-x-0.2.2.tgz", + "integrity": "sha512-+I6B/IkJc1o/2tiURyz/ivu/O0nKNEArIUB5O7zBrlDVJr22SCLH3xTeEry428LvFhRzIA1g8izguxJ/gbNcVQ==", "dev": true, + "license": "MIT", "engines": { "node": ">= 0.8.0" } }, "node_modules/expect": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/expect/-/expect-29.7.0.tgz", - "integrity": "sha512-2Zks0hf1VLFYI1kbh0I5jP3KHHyCHpkfyHBzsSXRFgl/Bg9mWYfMW8oD+PdMPlEwy5HNsR9JutYy6pMeOh61nw==", + "version": "30.5.2", + "resolved": "https://registry.npmjs.org/expect/-/expect-30.5.2.tgz", + "integrity": "sha512-0LNuMvs8/5mRYhnCR4k+lGV7fqPMs6Bnksda4S3zsCUmdxBpAn4zU4NNzXdq1pMKe/H4W5t/zVIDSJ/H3e0vDA==", "dev": true, "license": "MIT", "dependencies": { - "@jest/expect-utils": "^29.7.0", - "jest-get-type": "^29.6.3", - "jest-matcher-utils": "^29.7.0", - "jest-message-util": "^29.7.0", - "jest-util": "^29.7.0" + "@jest/expect-utils": "30.5.2", + "@jest/get-type": "30.5.0", + "jest-matcher-utils": "30.5.2", + "jest-message-util": "30.5.1", + "jest-mock": "30.5.2", + "jest-util": "30.5.1" }, "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" } }, "node_modules/express": { - "version": "4.22.3", - "resolved": "https://registry.npmjs.org/express/-/express-4.22.3.tgz", - "integrity": "sha512-Bdcs4+3qlpVlx2NRn6fgX2Ue2/gGRaPeawebgclM0ERSCqDpA+owF1fdPwjJUTAJWMTuAaxjDf+hzb0/4eKvvw==", + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/express/-/express-5.2.1.tgz", + "integrity": "sha512-hIS4idWWai69NezIdRt2xFVofaF4j+6INOpJlVOLDO8zXGpUVEVzIYk12UUi2JzjEzWL3IOAxcTubgz9Po0yXw==", "license": "MIT", "dependencies": { - "accepts": "~1.3.8", - "array-flatten": "1.1.1", - "body-parser": "~1.20.5", - "content-disposition": "~0.5.4", - "content-type": "~1.0.4", - "cookie": "~0.7.1", - "cookie-signature": "~1.0.6", - "debug": "2.6.9", - "depd": "2.0.0", - "encodeurl": "~2.0.0", - "escape-html": "~1.0.3", - "etag": "~1.8.1", - "finalhandler": "~1.3.1", - "fresh": "~0.5.2", - "http-errors": "~2.0.0", - "merge-descriptors": "1.0.3", - "methods": "~1.1.2", - "on-finished": "~2.4.1", - "parseurl": "~1.3.3", - "path-to-regexp": "~0.1.13", - "proxy-addr": "~2.0.7", - "qs": "~6.16.0", - "range-parser": "~1.2.1", - "safe-buffer": "5.2.1", - "send": "~0.19.0", - "serve-static": "~1.16.2", - "setprototypeof": "1.2.0", - "statuses": "~2.0.1", - "type-is": "~1.6.18", - "utils-merge": "1.0.1", - "vary": "~1.1.2" + "accepts": "^2.0.0", + "body-parser": "^2.2.1", + "content-disposition": "^1.0.0", + "content-type": "^1.0.5", + "cookie": "^0.7.1", + "cookie-signature": "^1.2.1", + "debug": "^4.4.0", + "depd": "^2.0.0", + "encodeurl": "^2.0.0", + "escape-html": "^1.0.3", + "etag": "^1.8.1", + "finalhandler": "^2.1.0", + "fresh": "^2.0.0", + "http-errors": "^2.0.0", + "merge-descriptors": "^2.0.0", + "mime-types": "^3.0.0", + "on-finished": "^2.4.1", + "once": "^1.4.0", + "parseurl": "^1.3.3", + "proxy-addr": "^2.0.7", + "qs": "^6.14.0", + "range-parser": "^1.2.1", + "router": "^2.2.0", + "send": "^1.1.0", + "serve-static": "^2.2.0", + "statuses": "^2.0.1", + "type-is": "^2.0.1", + "vary": "^1.1.2" }, "engines": { - "node": ">= 0.10.0" + "node": ">= 18" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/express" } }, + "node_modules/express/node_modules/accepts": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/accepts/-/accepts-2.0.0.tgz", + "integrity": "sha512-5cvg6CtKwfgdmVqY1WIiXKc3Q1bkRqGLi+2W/6ao+6Y7gu/RCwRuAhGEzh5B4KlszSuTLgZYuqFqo5bImjNKng==", + "license": "MIT", + "dependencies": { + "mime-types": "^3.0.0", + "negotiator": "^1.0.0" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/express/node_modules/mime-db": { + "version": "1.54.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.54.0.tgz", + "integrity": "sha512-aU5EJuIN2WDemCcAp2vFBfp/m4EAhWJnUNSSw0ixs7/kXbd6Pg64EmwJkNdFhB8aWt1sH2CTXrLxo/iAGV3oPQ==", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/express/node_modules/mime-types": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-3.0.2.tgz", + "integrity": "sha512-Lbgzdk0h4juoQ9fCKXW4by0UJqj+nOOrI9MJ1sSj4nI8aI2eo1qmvQEie4VD1glsS250n15LsWsYtCugiStS5A==", + "license": "MIT", + "dependencies": { + "mime-db": "^1.54.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/express/node_modules/negotiator": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-1.1.0.tgz", + "integrity": "sha512-NMPBRMJgiQHjbd8phG3Vebdx4kZ1H121rbl5IkMqeOsahptB9BKo/d7oJ3zTXqTgagn2bWlNSXkh0QUGM31RYg==", + "license": "MIT", + "dependencies": { + "content-type": "^2.1.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/express/node_modules/negotiator/node_modules/content-type": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/content-type/-/content-type-2.1.0.tgz", + "integrity": "sha512-mj7UPXE0jaqaOsukNZRUEfEi2AcL7C/vwmwcHV0O97eO1E1pxBZuyjlZrx5seTaNBg1U6+o35wpa35Qfcc+7ag==", + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/exsolve": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/exsolve/-/exsolve-1.1.3.tgz", + "integrity": "sha512-kuzL9zherLQoqDeQaS55AiiIg1kb4KYXaSusTtgZTPlvKP2gGCI82LNmBNh5RjDVUXIcmgx+/Mx7vPwRzBbhJA==", + "devOptional": true, + "license": "MIT" + }, + "node_modules/fast-check": { + "version": "3.23.2", + "resolved": "https://registry.npmjs.org/fast-check/-/fast-check-3.23.2.tgz", + "integrity": "sha512-h5+1OzzfCC3Ef7VbtKdcv7zsstUQwUDlYpUTvjeUsJAssPgLn7QzbboPtL5ro04Mq0rPOsMzl7q5hIbRs2wD1A==", + "devOptional": true, + "funding": [ + { + "type": "individual", + "url": "https://github.com/sponsors/dubzzz" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/fast-check" + } + ], + "license": "MIT", + "dependencies": { + "pure-rand": "^6.1.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "node_modules/fast-check/node_modules/pure-rand": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/pure-rand/-/pure-rand-6.1.0.tgz", + "integrity": "sha512-bVWawvoZoBYpp6yIoQtQXHZjmz35RSVHnUOTefl8Vcjr8snTPY1wnpSPMWekcFwbxI6gtmT7rSYPFvz71ldiOA==", + "devOptional": true, + "funding": [ + { + "type": "individual", + "url": "https://github.com/sponsors/dubzzz" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/fast-check" + } + ], + "license": "MIT" + }, + "node_modules/fast-decode-uri-component": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/fast-decode-uri-component/-/fast-decode-uri-component-1.0.1.tgz", + "integrity": "sha512-WKgKWg5eUxvRZGwW8FvfbaH7AXSh2cL+3j5fMGzUMCxWBJ3dV3a7Wz8y2f/uQ0e3B6WmodD3oS54jTQ9HVTIIg==", + "devOptional": true, + "license": "MIT" + }, + "node_modules/fast-deep-equal": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", + "devOptional": true, + "license": "MIT" + }, "node_modules/fast-json-stable-stringify": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", @@ -3220,6 +5319,16 @@ "dev": true, "license": "MIT" }, + "node_modules/fast-querystring": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/fast-querystring/-/fast-querystring-1.1.2.tgz", + "integrity": "sha512-g6KuKWmFXc0fID8WWH0jit4g0AGBoJhCkJMb1RmbsSEUNvQ+ZC8D6CUZ+GtF8nMzSPXnhiePyyqqipzNNEnHjg==", + "devOptional": true, + "license": "MIT", + "dependencies": { + "fast-decode-uri-component": "^1.0.1" + } + }, "node_modules/fast-safe-stringify": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/fast-safe-stringify/-/fast-safe-stringify-2.1.1.tgz", @@ -3227,6 +5336,23 @@ "dev": true, "license": "MIT" }, + "node_modules/fast-uri": { + "version": "3.1.8", + "resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.1.8.tgz", + "integrity": "sha512-GZMtZUTNRpOVIECoXwLNZS5xUGE+mVNbTB8h/7Rwh2TFWcBQiPzTgyZi05BF9UMZKkLJv8XBRJTlU7zg8+ZfMg==", + "devOptional": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/fastify" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/fastify" + } + ], + "license": "BSD-3-Clause" + }, "node_modules/fb-watchman": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/fb-watchman/-/fb-watchman-2.0.2.tgz", @@ -3237,35 +5363,58 @@ "bser": "2.1.1" } }, - "node_modules/fill-range": { - "version": "7.1.1", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz", - "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==", + "node_modules/fdir": { + "version": "6.5.0", + "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.5.0.tgz", + "integrity": "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==", "dev": true, "license": "MIT", - "dependencies": { - "to-regex-range": "^5.0.1" - }, "engines": { - "node": ">=8" + "node": ">=12.0.0" + }, + "peerDependencies": { + "picomatch": "^3 || ^4" + }, + "peerDependenciesMeta": { + "picomatch": { + "optional": true + } } }, "node_modules/finalhandler": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.3.2.tgz", - "integrity": "sha512-aA4RyPcd3badbdABGDuTXCMTtOneUCAYH/gxoYRTZlIJdF0YPWuGqiAsIrhNnnqdXGswYk6dGujem4w80UJFhg==", + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-2.1.1.tgz", + "integrity": "sha512-S8KoZgRZN+a5rNwqTxlZZePjT/4cnm0ROV70LedRHZ0p8u9fRID0hJUZQpkKLzro8LfmC8sx23bY6tVNxv8pQA==", "license": "MIT", "dependencies": { - "debug": "2.6.9", - "encodeurl": "~2.0.0", - "escape-html": "~1.0.3", - "on-finished": "~2.4.1", - "parseurl": "~1.3.3", - "statuses": "~2.0.2", - "unpipe": "~1.0.0" + "debug": "^4.4.0", + "encodeurl": "^2.0.0", + "escape-html": "^1.0.3", + "on-finished": "^2.4.1", + "parseurl": "^1.3.3", + "statuses": "^2.0.1" }, "engines": { - "node": ">= 0.8" + "node": ">= 18.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/find-my-way": { + "version": "9.7.0", + "resolved": "https://registry.npmjs.org/find-my-way/-/find-my-way-9.7.0.tgz", + "integrity": "sha512-f2JHn75x2JlwUwLenZypgczR7YWMb/uO9BvUXtus+JMgkbIkLADd38cI4EiV+OQqrGo1Zlq6V8wnqMJ8e62wUQ==", + "devOptional": true, + "license": "MIT", + "dependencies": { + "fast-deep-equal": "^3.1.3", + "fast-querystring": "^1.0.0", + "safe-regex2": "^5.0.0" + }, + "engines": { + "node": ">=20" } }, "node_modules/find-up": { @@ -3283,9 +5432,9 @@ } }, "node_modules/follow-redirects": { - "version": "1.16.0", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.16.0.tgz", - "integrity": "sha512-y5rN/uOsadFT/JfYwhxRS5R7Qce+g3zG97+JrtFZlC9klX/W5hD7iiLzScI4nZqUS7DNUdhPgw4xI8W2LuXlUw==", + "version": "1.16.1", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.16.1.tgz", + "integrity": "sha512-FNvFGzoMLWmE6Yj9spb/zjd7yiNCHiAW9/Tg9CXrQ8wuu32HtlJOwWO11OJafl5FfY3DxTdQ0vj42zU1kvv5jg==", "funding": [ { "type": "individual", @@ -3302,6 +5451,36 @@ } } }, + "node_modules/foreground-child": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.3.1.tgz", + "integrity": "sha512-gIXjKqtFuWEgzFRJA9WCQeSJLZDjgJUOMCMzxtvFq/37KojM1BFGufqsCy0r4qSQmYLsZYMeyRqzIWOMup03sw==", + "devOptional": true, + "license": "ISC", + "dependencies": { + "cross-spawn": "^7.0.6", + "signal-exit": "^4.0.1" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/foreground-child/node_modules/signal-exit": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", + "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", + "devOptional": true, + "license": "ISC", + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, "node_modules/form-data": { "version": "4.0.6", "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.6.tgz", @@ -3346,54 +5525,18 @@ } }, "node_modules/fresh": { - "version": "0.5.2", - "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz", - "integrity": "sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/fresh/-/fresh-2.0.0.tgz", + "integrity": "sha512-Rx/WycZ60HOaqLKAi6cHRKKI7zxWbJ31MhntmtwMoaTeF7XFH9hhBp8vITaMidfljRQ6eYWCKkaTK+ykVJHP2A==", "license": "MIT", "engines": { - "node": ">= 0.6" + "node": ">= 0.8" } }, "node_modules/frontend": { "resolved": "frontend", "link": true }, - "node_modules/fs-minipass": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-2.1.0.tgz", - "integrity": "sha512-V/JgOLFCS+R6Vcq0slCuaeWEdNC3ouDlJMNIsacH2VtALiu9mV4LPrHc5cDl8k5aw6J8jwgWWpiTo5RYhmIzvg==", - "license": "ISC", - "dependencies": { - "minipass": "^3.0.0" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/fs-minipass/node_modules/minipass": { - "version": "3.3.6", - "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.3.6.tgz", - "integrity": "sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==", - "license": "ISC", - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/fs-minipass/node_modules/yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", - "license": "ISC" - }, - "node_modules/fs.realpath": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", - "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==", - "license": "ISC" - }, "node_modules/fsevents": { "version": "2.3.3", "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", @@ -3418,25 +5561,14 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/gauge": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/gauge/-/gauge-3.0.2.tgz", - "integrity": "sha512-+5J6MS/5XksCuXq++uFRsnUd7Ovu1XenbeuIuNRJxYWjgQbPuFhT14lAvsWfqfAmnwluf1OwMjz39HjfLPci0Q==", - "deprecated": "This package is no longer supported.", - "license": "ISC", + "node_modules/generate-function": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/generate-function/-/generate-function-2.3.1.tgz", + "integrity": "sha512-eeB5GfMNeevm/GRYq20ShmsaGcmI81kIX2K9XQx5miC8KdHaC6Jm0qQ8ZNeGOi7wYB8OsdxKs+Y2oVuTFuVwKQ==", + "devOptional": true, + "license": "MIT", "dependencies": { - "aproba": "^1.0.3 || ^2.0.0", - "color-support": "^1.1.2", - "console-control-strings": "^1.0.0", - "has-unicode": "^2.0.1", - "object-assign": "^4.1.1", - "signal-exit": "^3.0.0", - "string-width": "^4.2.3", - "strip-ansi": "^6.0.1", - "wide-align": "^1.1.2" - }, - "engines": { - "node": ">=10" + "is-property": "^1.0.2" } }, "node_modules/gensync": { @@ -3493,6 +5625,13 @@ "node": ">=8.0.0" } }, + "node_modules/get-port-please": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/get-port-please/-/get-port-please-3.2.0.tgz", + "integrity": "sha512-I9QVvBw5U/hw3RmWpYKRumUeaDgxTPd401x364rLmWBJcOQ753eov1eTgzDqRG9bqFIfDc7gfzcQEWrUri3o1A==", + "devOptional": true, + "license": "MIT" + }, "node_modules/get-proto": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/get-proto/-/get-proto-1.0.1.tgz", @@ -3519,25 +5658,14 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/glob": { - "version": "7.2.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", - "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", - "deprecated": "Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me", - "license": "ISC", - "dependencies": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.1.1", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" - }, - "engines": { - "node": "*" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" + "node_modules/giget": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/giget/-/giget-3.3.1.tgz", + "integrity": "sha512-r+mvuDjrjMpsdw46Kmeydb8bdHm7wOKw8wNBtTndkjbPjgAp5oUJUxRE76wZFknxIPokfWvep2qSXK37aXE6zg==", + "devOptional": true, + "license": "MIT", + "bin": { + "giget": "dist/cli.mjs" } }, "node_modules/gopd": { @@ -3556,9 +5684,23 @@ "version": "4.2.11", "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz", "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==", - "dev": true, + "devOptional": true, "license": "ISC" }, + "node_modules/grammex": { + "version": "3.1.13", + "resolved": "https://registry.npmjs.org/grammex/-/grammex-3.1.13.tgz", + "integrity": "sha512-LnPnhOBLEJEVKS8WFDVaA397L9Kq55Q9oSITJiVLHVdhAclfUkWzQv74KhvZHKL2Q09Pb1XdsrOsZ4LfTFFTEg==", + "devOptional": true, + "license": "MIT" + }, + "node_modules/graphmatch": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/graphmatch/-/graphmatch-1.1.1.tgz", + "integrity": "sha512-5ykVn/EXM1hF0XCaWh05VbYvEiOL2lY1kBxZtaYsyvjp7cmWOU1XsAdfQBwClraEofXDT197lFbXOEVMHpvQOg==", + "devOptional": true, + "license": "MIT" + }, "node_modules/has-flag": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", @@ -3596,12 +5738,6 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/has-unicode": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/has-unicode/-/has-unicode-2.0.1.tgz", - "integrity": "sha512-8Rf9Y83NBReMnx0gFzA8JImQACstCYWUplepDa9xprwwtmgEZUF0h/i5xSA625zB/I37EtrswSST6OXxwaaIJQ==", - "license": "ISC" - }, "node_modules/hasown": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.4.tgz", @@ -3654,29 +5790,6 @@ "node": ">= 6" } }, - "node_modules/https-proxy-agent/node_modules/debug": { - "version": "4.4.3", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.3.tgz", - "integrity": "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==", - "license": "MIT", - "dependencies": { - "ms": "^2.1.3" - }, - "engines": { - "node": ">=6.0" - }, - "peerDependenciesMeta": { - "supports-color": { - "optional": true - } - } - }, - "node_modules/https-proxy-agent/node_modules/ms": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", - "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", - "license": "MIT" - }, "node_modules/human-signals": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-2.1.0.tgz", @@ -3688,15 +5801,19 @@ } }, "node_modules/iconv-lite": { - "version": "0.4.24", - "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", - "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", + "version": "0.7.3", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.7.3.tgz", + "integrity": "sha512-IKXpvIzjnC9XTAUbVBcMfGS0EPaIXtW6v+zr+RRp+hqULEpo0owZax6wyRwPOJbWbzjYspQwusTsfVr0ifh4uQ==", "license": "MIT", "dependencies": { - "safer-buffer": ">= 2.1.2 < 3" + "safer-buffer": ">= 2.1.2 < 3.0.0" }, "engines": { "node": ">=0.10.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" } }, "node_modules/import-local": { @@ -3729,23 +5846,22 @@ "node": ">=0.8.19" } }, - "node_modules/inflight": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", - "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", - "deprecated": "This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.", - "license": "ISC", - "dependencies": { - "once": "^1.3.0", - "wrappy": "1" - } - }, "node_modules/inherits": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", "license": "ISC" }, + "node_modules/internmap": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/internmap/-/internmap-2.0.3.tgz", + "integrity": "sha512-5Hh7Y1wQbvY5ooGgPbDaL5iYLAPzMTUrjMulskHLH6wnv/A+1q5rgEaiuqEjB+oxGXIVZs1FF+R/KPN3ZSQYYg==", + "devOptional": true, + "license": "ISC", + "engines": { + "node": ">=12" + } + }, "node_modules/ipaddr.js": { "version": "1.9.1", "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz", @@ -3762,26 +5878,21 @@ "dev": true, "license": "MIT" }, - "node_modules/is-core-module": { - "version": "2.17.0", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.17.0.tgz", - "integrity": "sha512-J/vG0zBCbIKOQFfufSwyXdMrsohyJIUNkrnmo6WZGzoM7tr/lsbfW5b2BvisL6zsyMzK9UxV9L6c7AoFbyXHOA==", + "node_modules/is-extglob": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", + "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", "dev": true, "license": "MIT", - "dependencies": { - "hasown": "^2.0.4" - }, "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" + "node": ">=0.10.0" } }, "node_modules/is-fullwidth-code-point": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "dev": true, "license": "MIT", "engines": { "node": ">=8" @@ -3797,16 +5908,32 @@ "node": ">=6" } }, - "node_modules/is-number": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", - "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", + "node_modules/is-glob": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", + "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", "dev": true, "license": "MIT", + "dependencies": { + "is-extglob": "^2.1.1" + }, "engines": { - "node": ">=0.12.0" + "node": ">=0.10.0" } }, + "node_modules/is-promise": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-4.0.0.tgz", + "integrity": "sha512-hvpoI6korhJMnej285dSg6nu1+e6uxs7zG3BYAm5byqDsgJNWwxzM6z6iZiAgQR4TJ30JmBTOwqZUw3WlyH3AQ==", + "license": "MIT" + }, + "node_modules/is-property": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-property/-/is-property-1.0.2.tgz", + "integrity": "sha512-Ks/IoX00TtClbGQr4TWXemAnktAQvYB7HzcCxDGqEZU6oCmb2INHuOoKxbtR+HFkmYWBKv/dOZtGRiAjDhj92g==", + "devOptional": true, + "license": "MIT" + }, "node_modules/is-stream": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz", @@ -3824,7 +5951,7 @@ "version": "2.0.0", "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", - "dev": true, + "devOptional": true, "license": "ISC" }, "node_modules/istanbul-lib-coverage": { @@ -3886,45 +6013,20 @@ } }, "node_modules/istanbul-lib-source-maps": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/istanbul-lib-source-maps/-/istanbul-lib-source-maps-4.0.1.tgz", - "integrity": "sha512-n3s8EwkdFIJCG3BPKBYvskgXGoy88ARzvegkitk60NxRdwltLOTaH7CUiMRXvwYorl0Q712iEjcWB+fK/MrWVw==", + "version": "5.0.6", + "resolved": "https://registry.npmjs.org/istanbul-lib-source-maps/-/istanbul-lib-source-maps-5.0.6.tgz", + "integrity": "sha512-yg2d+Em4KizZC5niWhQaIomgf5WlL4vOOjZ5xGCmF8SnPE/mDWWXgvRExdcpCgh9lLRRa1/fSYp2ymmbJ1pI+A==", "dev": true, "license": "BSD-3-Clause", "dependencies": { + "@jridgewell/trace-mapping": "^0.3.23", "debug": "^4.1.1", - "istanbul-lib-coverage": "^3.0.0", - "source-map": "^0.6.1" + "istanbul-lib-coverage": "^3.0.0" }, "engines": { "node": ">=10" } }, - "node_modules/istanbul-lib-source-maps/node_modules/debug": { - "version": "4.4.3", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.3.tgz", - "integrity": "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==", - "dev": true, - "license": "MIT", - "dependencies": { - "ms": "^2.1.3" - }, - "engines": { - "node": ">=6.0" - }, - "peerDependenciesMeta": { - "supports-color": { - "optional": true - } - } - }, - "node_modules/istanbul-lib-source-maps/node_modules/ms": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", - "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", - "dev": true, - "license": "MIT" - }, "node_modules/istanbul-reports": { "version": "3.2.0", "resolved": "https://registry.npmjs.org/istanbul-reports/-/istanbul-reports-3.2.0.tgz", @@ -3939,23 +6041,39 @@ "node": ">=8" } }, + "node_modules/jackspeak": { + "version": "3.4.3", + "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-3.4.3.tgz", + "integrity": "sha512-OGlZQpz2yfahA/Rd1Y8Cd9SIEsqvXkLVoSw/cgwhnhFMDbsQFeZYoJJ7bIZBS9BcamUW96asq/npPWugM+RQBw==", + "dev": true, + "license": "BlueOak-1.0.0", + "dependencies": { + "@isaacs/cliui": "^8.0.2" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + }, + "optionalDependencies": { + "@pkgjs/parseargs": "^0.11.0" + } + }, "node_modules/jest": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest/-/jest-29.7.0.tgz", - "integrity": "sha512-NIy3oAFp9shda19hy4HK0HRTWKtPJmGdnvywu01nOqNC2vZg+Z+fvJDxpMQA88eb2I9EcafcdjYgsDthnYTvGw==", + "version": "30.5.2", + "resolved": "https://registry.npmjs.org/jest/-/jest-30.5.2.tgz", + "integrity": "sha512-3gnpdBIza8ijCl3iMV9ChE3hSt1+46865qqod863gQtJr1DixOkAU5DoGbi3u+XlRcw++BhZQMu/y4xBdHBvSQ==", "dev": true, "license": "MIT", "dependencies": { - "@jest/core": "^29.7.0", - "@jest/types": "^29.6.3", - "import-local": "^3.0.2", - "jest-cli": "^29.7.0" + "@jest/core": "30.5.2", + "@jest/types": "30.5.1", + "import-local": "^3.2.0", + "jest-cli": "30.5.2" }, "bin": { "jest": "bin/jest.js" }, "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" }, "peerDependencies": { "node-notifier": "^8.0.1 || ^9.0.0 || ^10.0.0" @@ -3967,76 +6085,75 @@ } }, "node_modules/jest-changed-files": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-changed-files/-/jest-changed-files-29.7.0.tgz", - "integrity": "sha512-fEArFiwf1BpQ+4bXSprcDc3/x4HSzL4al2tozwVpDFpsxALjLYdyiIK4e5Vz66GQJIbXJ82+35PtysofptNX2w==", + "version": "30.5.1", + "resolved": "https://registry.npmjs.org/jest-changed-files/-/jest-changed-files-30.5.1.tgz", + "integrity": "sha512-0+bvMM/ENhDI29Z8q1r4HxiDIi4G5tnBmSw4esfPQoj9q8Nik7KIyuxHkTVnnniJQf05SxpGaKDQ+4h28ynGPg==", "dev": true, "license": "MIT", "dependencies": { - "execa": "^5.0.0", - "jest-util": "^29.7.0", + "execa": "^5.1.1", + "jest-util": "30.5.1", "p-limit": "^3.1.0" }, "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" } }, "node_modules/jest-circus": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-circus/-/jest-circus-29.7.0.tgz", - "integrity": "sha512-3E1nCMgipcTkCocFwM90XXQab9bS+GMsjdpmPrlelaxwD93Ad8iVEjX/vvHPdLPnFf+L40u+5+iutRdA1N9myw==", + "version": "30.5.2", + "resolved": "https://registry.npmjs.org/jest-circus/-/jest-circus-30.5.2.tgz", + "integrity": "sha512-vffFgjs5JSJ9q4ds1vNW3klKYPJfYfIY61LT/zaZgvTeASJOWZUt8LBfHgIcV4rwxlPBLl/ePBGccHEclS4PlQ==", "dev": true, "license": "MIT", "dependencies": { - "@jest/environment": "^29.7.0", - "@jest/expect": "^29.7.0", - "@jest/test-result": "^29.7.0", - "@jest/types": "^29.6.3", + "@jest/environment": "30.5.2", + "@jest/expect": "30.5.2", + "@jest/test-result": "30.5.2", + "@jest/types": "30.5.1", "@types/node": "*", - "chalk": "^4.0.0", + "chalk": "^4.1.2", "co": "^4.6.0", - "dedent": "^1.0.0", - "is-generator-fn": "^2.0.0", - "jest-each": "^29.7.0", - "jest-matcher-utils": "^29.7.0", - "jest-message-util": "^29.7.0", - "jest-runtime": "^29.7.0", - "jest-snapshot": "^29.7.0", - "jest-util": "^29.7.0", + "dedent": "^1.6.0", + "is-generator-fn": "^2.1.0", + "jest-each": "30.5.2", + "jest-matcher-utils": "30.5.2", + "jest-message-util": "30.5.1", + "jest-runtime": "30.5.2", + "jest-snapshot": "30.5.2", + "jest-util": "30.5.1", "p-limit": "^3.1.0", - "pretty-format": "^29.7.0", - "pure-rand": "^6.0.0", + "pretty-format": "30.5.1", + "pure-rand": "^7.0.0", "slash": "^3.0.0", - "stack-utils": "^2.0.3" + "stack-utils": "^2.0.6" }, "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" } }, "node_modules/jest-cli": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-cli/-/jest-cli-29.7.0.tgz", - "integrity": "sha512-OVVobw2IubN/GSYsxETi+gOe7Ka59EFMR/twOU3Jb2GnKKeMGJB5SGUUrEz3SFVmJASUdZUzy83sLNNQ2gZslg==", + "version": "30.5.2", + "resolved": "https://registry.npmjs.org/jest-cli/-/jest-cli-30.5.2.tgz", + "integrity": "sha512-YYYxUUVjFgPvgEleKNKMaYGIFgR3l3832Cl0kRL/oCiDZ03v7wImUtquHl2OOBCCNgprjZgBN5bczS/JklPBDg==", "dev": true, "license": "MIT", "dependencies": { - "@jest/core": "^29.7.0", - "@jest/test-result": "^29.7.0", - "@jest/types": "^29.6.3", - "chalk": "^4.0.0", - "create-jest": "^29.7.0", - "exit": "^0.1.2", - "import-local": "^3.0.2", - "jest-config": "^29.7.0", - "jest-util": "^29.7.0", - "jest-validate": "^29.7.0", - "yargs": "^17.3.1" + "@jest/core": "30.5.2", + "@jest/test-result": "30.5.2", + "@jest/types": "30.5.1", + "chalk": "^4.1.2", + "exit-x": "^0.2.2", + "import-local": "^3.2.0", + "jest-config": "30.5.2", + "jest-util": "30.5.1", + "jest-validate": "30.5.1", + "yargs": "^17.7.2" }, "bin": { "jest": "bin/jest.js" }, "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" }, "peerDependencies": { "node-notifier": "^8.0.1 || ^9.0.0 || ^10.0.0" @@ -4048,413 +6165,526 @@ } }, "node_modules/jest-config": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-config/-/jest-config-29.7.0.tgz", - "integrity": "sha512-uXbpfeQ7R6TZBqI3/TxCU4q4ttk3u0PJeC+E0zbfSoSjq6bJ7buBPxzQPL0ifrkY4DNu4JUdk0ImlBUYi840eQ==", + "version": "30.5.2", + "resolved": "https://registry.npmjs.org/jest-config/-/jest-config-30.5.2.tgz", + "integrity": "sha512-U6221OZekabePvGcGPf4raIBKMvYQWFHvhobDJRojOYaFMj2HaGytAdknjDhYc6JTz2fdHW9+6k0wWUDaNeOFQ==", "dev": true, "license": "MIT", "dependencies": { - "@babel/core": "^7.11.6", - "@jest/test-sequencer": "^29.7.0", - "@jest/types": "^29.6.3", - "babel-jest": "^29.7.0", - "chalk": "^4.0.0", - "ci-info": "^3.2.0", - "deepmerge": "^4.2.2", - "glob": "^7.1.3", - "graceful-fs": "^4.2.9", - "jest-circus": "^29.7.0", - "jest-environment-node": "^29.7.0", - "jest-get-type": "^29.6.3", - "jest-regex-util": "^29.6.3", - "jest-resolve": "^29.7.0", - "jest-runner": "^29.7.0", - "jest-util": "^29.7.0", - "jest-validate": "^29.7.0", - "micromatch": "^4.0.4", + "@babel/core": "^7.27.4", + "@jest/get-type": "30.5.0", + "@jest/pattern": "30.5.0", + "@jest/test-sequencer": "30.5.2", + "@jest/types": "30.5.1", + "babel-jest": "30.5.2", + "chalk": "^4.1.2", + "ci-info": "^4.2.0", + "deepmerge": "^4.3.1", + "glob": "^13.0.6", + "graceful-fs": "^4.2.11", + "jest-circus": "30.5.2", + "jest-docblock": "30.5.0", + "jest-environment-node": "30.5.2", + "jest-regex-util": "30.5.0", + "jest-resolve": "30.5.1", + "jest-runner": "30.5.2", + "jest-util": "30.5.1", + "jest-validate": "30.5.1", "parse-json": "^5.2.0", - "pretty-format": "^29.7.0", + "pretty-format": "30.5.1", "slash": "^3.0.0", "strip-json-comments": "^3.1.1" }, "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" }, "peerDependencies": { "@types/node": "*", + "esbuild-register": ">=3.4.0", "ts-node": ">=9.0.0" }, "peerDependenciesMeta": { "@types/node": { "optional": true }, + "esbuild-register": { + "optional": true + }, "ts-node": { "optional": true } } }, - "node_modules/jest-diff": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-diff/-/jest-diff-29.7.0.tgz", - "integrity": "sha512-LMIgiIrhigmPrs03JHpxUh2yISK3vLFPkAodPeo0+BuF7wA2FoQbkEg1u8gBYBThncu7e1oEDUfIXVuTqLRUjw==", + "node_modules/jest-config/node_modules/balanced-match": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-4.0.4.tgz", + "integrity": "sha512-BLrgEcRTwX2o6gGxGOCNyMvGSp35YofuYzw9h1IMTRmKqttAZZVU67bdb9Pr2vUHA8+j3i2tJfjO6C6+4myGTA==", + "dev": true, + "license": "MIT", + "engines": { + "node": "18 || 20 || >=22" + } + }, + "node_modules/jest-config/node_modules/brace-expansion": { + "version": "5.0.12", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.12.tgz", + "integrity": "sha512-YovQ3rzhaLMIrDjNDMkNS01tea93qhEhG5xy8f6+R0l+dw3Ki+5sCoIoI942iuLZTHWogWktgwVDhU09iNEimQ==", "dev": true, "license": "MIT", "dependencies": { - "chalk": "^4.0.0", - "diff-sequences": "^29.6.3", - "jest-get-type": "^29.6.3", - "pretty-format": "^29.7.0" + "balanced-match": "^4.0.2" }, "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": "20 || >=22" + } + }, + "node_modules/jest-config/node_modules/glob": { + "version": "13.0.6", + "resolved": "https://registry.npmjs.org/glob/-/glob-13.0.6.tgz", + "integrity": "sha512-Wjlyrolmm8uDpm/ogGyXZXb1Z+Ca2B8NbJwqBVg0axK9GbBeoS7yGV6vjXnYdGm6X53iehEuxxbyiKp8QmN4Vw==", + "dev": true, + "license": "BlueOak-1.0.0", + "dependencies": { + "minimatch": "^10.2.2", + "minipass": "^7.1.3", + "path-scurry": "^2.0.2" + }, + "engines": { + "node": "18 || 20 || >=22" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/jest-config/node_modules/minimatch": { + "version": "10.2.6", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.2.6.tgz", + "integrity": "sha512-vpLQEs+VLCr1nU0BXS07maYoFwlDAH0gngQuuttxIwutDFEMHq2blX+8vpgxDdK3J1PwjCJiep77OitTZ4Ll1A==", + "dev": true, + "license": "BlueOak-1.0.0", + "dependencies": { + "brace-expansion": "^5.0.8" + }, + "engines": { + "node": "18 || 20 || >=22" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/jest-config/node_modules/minipass": { + "version": "7.1.3", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.3.tgz", + "integrity": "sha512-tEBHqDnIoM/1rXME1zgka9g6Q2lcoCkxHLuc7ODJ5BxbP5d4c2Z5cGgtXAku59200Cx7diuHTOYfSBD8n6mm8A==", + "dev": true, + "license": "BlueOak-1.0.0", + "engines": { + "node": ">=16 || 14 >=14.17" + } + }, + "node_modules/jest-diff": { + "version": "30.5.2", + "resolved": "https://registry.npmjs.org/jest-diff/-/jest-diff-30.5.2.tgz", + "integrity": "sha512-rBtHnI6BWTiWj3lM7fOLVfChx7R9B0u9VV3PRHawKs79x6ZjW1QoSrKenaigNGWlvhtoi2BqvDbABDie+Os3xQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/diff-sequences": "30.5.0", + "@jest/get-type": "30.5.0", + "chalk": "^4.1.2", + "pretty-format": "30.5.1" + }, + "engines": { + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" } }, "node_modules/jest-docblock": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-docblock/-/jest-docblock-29.7.0.tgz", - "integrity": "sha512-q617Auw3A612guyaFgsbFeYpNP5t2aoUNLwBUbc/0kD1R4t9ixDbyFTHd1nok4epoVFpr7PmeWHrhvuV3XaJ4g==", + "version": "30.5.0", + "resolved": "https://registry.npmjs.org/jest-docblock/-/jest-docblock-30.5.0.tgz", + "integrity": "sha512-NwDqcxtoZi33RhuW+zJS/RVA3rmheQ8BnwpYZuc/Eruaz6seQb7+aoCeDZu/3X7W2XmD8DbSo9Pn72DbKsBFYw==", "dev": true, "license": "MIT", "dependencies": { - "detect-newline": "^3.0.0" + "detect-newline": "^3.1.0" }, "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" } }, "node_modules/jest-each": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-each/-/jest-each-29.7.0.tgz", - "integrity": "sha512-gns+Er14+ZrEoC5fhOfYCY1LOHHr0TI+rQUHZS8Ttw2l7gl+80eHc/gFf2Ktkw0+SIACDTeWvpFcv3B04VembQ==", + "version": "30.5.2", + "resolved": "https://registry.npmjs.org/jest-each/-/jest-each-30.5.2.tgz", + "integrity": "sha512-GRrW+7fmmgmkvyfEBqc1QFdWnF1Ex5yG6Y6AWL4TTxnkWlKIT98dsKh3P3UuWm6v4XsQwVE6DEzXIPMzWJ3ZbA==", "dev": true, "license": "MIT", "dependencies": { - "@jest/types": "^29.6.3", - "chalk": "^4.0.0", - "jest-get-type": "^29.6.3", - "jest-util": "^29.7.0", - "pretty-format": "^29.7.0" + "@jest/get-type": "30.5.0", + "@jest/types": "30.5.1", + "chalk": "^4.1.2", + "jest-regex-util": "30.5.0", + "jest-util": "30.5.1", + "pretty-format": "30.5.1" }, "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" } }, "node_modules/jest-environment-node": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-environment-node/-/jest-environment-node-29.7.0.tgz", - "integrity": "sha512-DOSwCRqXirTOyheM+4d5YZOrWcdu0LNZ87ewUoywbcb2XR4wKgqiG8vNeYwhjFMbEkfju7wx2GYH0P2gevGvFw==", + "version": "30.5.2", + "resolved": "https://registry.npmjs.org/jest-environment-node/-/jest-environment-node-30.5.2.tgz", + "integrity": "sha512-Ciz4KgTGIbojxSKpuFImgWJj5EyqfE8xMq9NxWmOXnQywHHS03H9Mv+vaCB29J5pr3JBrY27WbRV18rBdjh8Dg==", "dev": true, "license": "MIT", "dependencies": { - "@jest/environment": "^29.7.0", - "@jest/fake-timers": "^29.7.0", - "@jest/types": "^29.6.3", + "@jest/environment": "30.5.2", + "@jest/fake-timers": "30.5.2", + "@jest/types": "30.5.1", "@types/node": "*", - "jest-mock": "^29.7.0", - "jest-util": "^29.7.0" + "jest-mock": "30.5.2", + "jest-util": "30.5.1", + "jest-validate": "30.5.1" }, "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-get-type": { - "version": "29.6.3", - "resolved": "https://registry.npmjs.org/jest-get-type/-/jest-get-type-29.6.3.tgz", - "integrity": "sha512-zrteXnqYxfQh7l5FHyL38jL39di8H8rHoecLH3JNxH3BwOrBsNeabdap5e0I23lD4HHI8W5VFBZqG4Eaq5LNcw==", - "dev": true, - "license": "MIT", - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" } }, "node_modules/jest-haste-map": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-haste-map/-/jest-haste-map-29.7.0.tgz", - "integrity": "sha512-fP8u2pyfqx0K1rGn1R9pyE0/KTn+G7PxktWidOBTqFPLYX0b9ksaMFkhK5vrS3DVun09pckLdlx90QthlW7AmA==", + "version": "30.5.1", + "resolved": "https://registry.npmjs.org/jest-haste-map/-/jest-haste-map-30.5.1.tgz", + "integrity": "sha512-VIFgt67jW480YDxKfEv9IYQKrFpYt7bOCMn3VsnjK7AK9qo7p6acpnA1DHwsVOULE3dTaYew/6JaTD/d0VDHoQ==", "dev": true, "license": "MIT", "dependencies": { - "@jest/types": "^29.6.3", - "@types/graceful-fs": "^4.1.3", + "@jest/types": "30.5.1", + "@parcel/watcher": "^2.6.0", "@types/node": "*", - "anymatch": "^3.0.3", - "fb-watchman": "^2.0.0", - "graceful-fs": "^4.2.9", - "jest-regex-util": "^29.6.3", - "jest-util": "^29.7.0", - "jest-worker": "^29.7.0", - "micromatch": "^4.0.4", - "walker": "^1.0.8" + "anymatch": "^3.1.3", + "fb-watchman": "^2.0.2", + "fdir": "^6.5.0", + "graceful-fs": "^4.2.11", + "jest-regex-util": "30.5.0", + "jest-util": "30.5.1", + "jest-worker": "30.5.1", + "picomatch": "^4.0.3" }, "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - }, - "optionalDependencies": { - "fsevents": "^2.3.2" + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" } }, "node_modules/jest-leak-detector": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-leak-detector/-/jest-leak-detector-29.7.0.tgz", - "integrity": "sha512-kYA8IJcSYtST2BY9I+SMC32nDpBT3J2NvWJx8+JCuCdl/CR1I4EKUJROiP8XtCcxqgTTBGJNdbB1A8XRKbTetw==", + "version": "30.5.1", + "resolved": "https://registry.npmjs.org/jest-leak-detector/-/jest-leak-detector-30.5.1.tgz", + "integrity": "sha512-gt4GT2aWgEoCNTcBe4rqS74xTIUJxi+UD9SNSu9aOk5LmTEd6fS5KSTmAKAfitCCktQHNN+upUuL6EkBfFbMDQ==", "dev": true, "license": "MIT", "dependencies": { - "jest-get-type": "^29.6.3", - "pretty-format": "^29.7.0" + "@jest/get-type": "30.5.0", + "pretty-format": "30.5.1" }, "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" } }, "node_modules/jest-matcher-utils": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-matcher-utils/-/jest-matcher-utils-29.7.0.tgz", - "integrity": "sha512-sBkD+Xi9DtcChsI3L3u0+N0opgPYnCRPtGcQYrgXmR+hmt/fYfWAL0xRXYU8eWOdfuLgBe0YCW3AFtnRLagq/g==", + "version": "30.5.2", + "resolved": "https://registry.npmjs.org/jest-matcher-utils/-/jest-matcher-utils-30.5.2.tgz", + "integrity": "sha512-lFkB365PTIHOhPzwrb9T6gvlDnPpOZ7/c3ewOKKB7bzztqjVrtlyRL2MkyfJXpyY2u2SKw001JKrTx14fBUFcQ==", "dev": true, "license": "MIT", "dependencies": { - "chalk": "^4.0.0", - "jest-diff": "^29.7.0", - "jest-get-type": "^29.6.3", - "pretty-format": "^29.7.0" + "@jest/get-type": "30.5.0", + "chalk": "^4.1.2", + "jest-diff": "30.5.2", + "pretty-format": "30.5.1" }, "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" } }, "node_modules/jest-message-util": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-message-util/-/jest-message-util-29.7.0.tgz", - "integrity": "sha512-GBEV4GRADeP+qtB2+6u61stea8mGcOT4mCtrYISZwfu9/ISHFJ/5zOMXYbpBE9RsS5+Gb63DW4FgmnKJ79Kf6w==", + "version": "30.5.1", + "resolved": "https://registry.npmjs.org/jest-message-util/-/jest-message-util-30.5.1.tgz", + "integrity": "sha512-UdQlLdd9wL/Ys7xRErckqwD6wPlSZYueosSWuHc1r2ztGLwlgPvtSJq2+BPEgaEY13WLvfFbmhTj8pba0Sd1jg==", "dev": true, "license": "MIT", "dependencies": { - "@babel/code-frame": "^7.12.13", - "@jest/types": "^29.6.3", - "@types/stack-utils": "^2.0.0", - "chalk": "^4.0.0", - "graceful-fs": "^4.2.9", - "micromatch": "^4.0.4", - "pretty-format": "^29.7.0", + "@babel/code-frame": "^7.27.1", + "@jest/types": "30.5.1", + "@types/stack-utils": "^2.0.3", + "chalk": "^4.1.2", + "graceful-fs": "^4.2.11", + "jest-util": "30.5.1", + "picomatch": "^4.0.3", + "pretty-format": "30.5.1", "slash": "^3.0.0", - "stack-utils": "^2.0.3" + "stack-utils": "^2.0.6" }, "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" } }, "node_modules/jest-mock": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-mock/-/jest-mock-29.7.0.tgz", - "integrity": "sha512-ITOMZn+UkYS4ZFh83xYAOzWStloNzJFO2s8DWrE4lhtGD+AorgnbkiKERe4wQVBydIGPx059g6riW5Btp6Llnw==", + "version": "30.5.2", + "resolved": "https://registry.npmjs.org/jest-mock/-/jest-mock-30.5.2.tgz", + "integrity": "sha512-KTHb37Fhj8xY8qPFvTFaFJHcdsumQp+ExsUlgoX232Agmc706gagBs53+CYvulV7MVQo9AgXOUxsqzzVBoJlrA==", "dev": true, "license": "MIT", "dependencies": { - "@jest/types": "^29.6.3", + "@jest/expect-utils": "30.5.2", + "@jest/types": "30.5.1", "@types/node": "*", - "jest-util": "^29.7.0" + "jest-util": "30.5.1" }, "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-pnp-resolver": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/jest-pnp-resolver/-/jest-pnp-resolver-1.2.3.tgz", - "integrity": "sha512-+3NpwQEnRoIBtx4fyhblQDPgJI0H1IEIkX7ShLUjPGA7TtUTvI1oiKi3SR4oBR0hQhQR80l4WAe5RrXBwWMA8w==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6" - }, - "peerDependencies": { - "jest-resolve": "*" - }, - "peerDependenciesMeta": { - "jest-resolve": { - "optional": true - } + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" } }, "node_modules/jest-regex-util": { - "version": "29.6.3", - "resolved": "https://registry.npmjs.org/jest-regex-util/-/jest-regex-util-29.6.3.tgz", - "integrity": "sha512-KJJBsRCyyLNWCNBOvZyRDnAIfUiRJ8v+hOBQYGn8gDyF3UegwiP4gwRR3/SDa42g1YbVycTidUF3rKjyLFDWbg==", + "version": "30.5.0", + "resolved": "https://registry.npmjs.org/jest-regex-util/-/jest-regex-util-30.5.0.tgz", + "integrity": "sha512-Mg0WK7A6xRHLSA1udJ8y9f3lM0uUhFTBnLKzwPmqB9AylvpleJ6BLemR8K9dK27DY+cesDryoA7yLZCAHsPG1A==", "dev": true, "license": "MIT", "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" } }, "node_modules/jest-resolve": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-resolve/-/jest-resolve-29.7.0.tgz", - "integrity": "sha512-IOVhZSrg+UvVAshDSDtHyFCCBUl/Q3AAJv8iZ6ZjnZ74xzvwuzLXid9IIIPgTnY62SJjfuupMKZsZQRsCvxEgA==", + "version": "30.5.1", + "resolved": "https://registry.npmjs.org/jest-resolve/-/jest-resolve-30.5.1.tgz", + "integrity": "sha512-wprhLejRtwN6h8ZgaqC0eYjGJ1uMdGPT/+b3eFncbG4NWuuP9QL+vWwRinu9waw7hkOLcpMJGVJAMgBwsPssMQ==", "dev": true, "license": "MIT", "dependencies": { - "chalk": "^4.0.0", - "graceful-fs": "^4.2.9", - "jest-haste-map": "^29.7.0", - "jest-pnp-resolver": "^1.2.2", - "jest-util": "^29.7.0", - "jest-validate": "^29.7.0", - "resolve": "^1.20.0", - "resolve.exports": "^2.0.0", - "slash": "^3.0.0" + "chalk": "^4.1.2", + "graceful-fs": "^4.2.11", + "jest-haste-map": "30.5.1", + "jest-util": "30.5.1", + "jest-validate": "30.5.1", + "slash": "^3.0.0", + "unrs-resolver": "^1.12.1" }, "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" } }, "node_modules/jest-resolve-dependencies": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-resolve-dependencies/-/jest-resolve-dependencies-29.7.0.tgz", - "integrity": "sha512-un0zD/6qxJ+S0et7WxeI3H5XSe9lTBBR7bOHCHXkKR6luG5mwDDlIzVQ0V5cZCuoTgEdcdwzTghYkTWfubi+nA==", + "version": "30.5.2", + "resolved": "https://registry.npmjs.org/jest-resolve-dependencies/-/jest-resolve-dependencies-30.5.2.tgz", + "integrity": "sha512-GMI0DP5enX9Z2qW2zFy1bOkrCfWAOPRJQ7qHt0pdfrxBPsgWxglMPrRSK2TX/wRWYxcPRSLFg3Z88qPOzHx7FQ==", "dev": true, "license": "MIT", "dependencies": { - "jest-regex-util": "^29.6.3", - "jest-snapshot": "^29.7.0" + "jest-regex-util": "30.5.0", + "jest-snapshot": "30.5.2" }, "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" } }, "node_modules/jest-runner": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-runner/-/jest-runner-29.7.0.tgz", - "integrity": "sha512-fsc4N6cPCAahybGBfTRcq5wFR6fpLznMg47sY5aDpsoejOcVYFb07AHuSnR0liMcPTgBsA3ZJL6kFOjPdoNipQ==", + "version": "30.5.2", + "resolved": "https://registry.npmjs.org/jest-runner/-/jest-runner-30.5.2.tgz", + "integrity": "sha512-/B6px7hiiNhVSRwuv9AGn0nawYvwsHeQZ3ItTd5Gp2diFd0EOKaWVeWqcbw3L88vx1GfpCKjQkxWItZCTl11Rw==", "dev": true, "license": "MIT", "dependencies": { - "@jest/console": "^29.7.0", - "@jest/environment": "^29.7.0", - "@jest/test-result": "^29.7.0", - "@jest/transform": "^29.7.0", - "@jest/types": "^29.6.3", + "@jest/console": "30.5.2", + "@jest/environment": "30.5.2", + "@jest/source-map": "30.5.2", + "@jest/test-result": "30.5.2", + "@jest/transform": "30.5.2", + "@jest/types": "30.5.1", "@types/node": "*", - "chalk": "^4.0.0", + "chalk": "^4.1.2", "emittery": "^0.13.1", - "graceful-fs": "^4.2.9", - "jest-docblock": "^29.7.0", - "jest-environment-node": "^29.7.0", - "jest-haste-map": "^29.7.0", - "jest-leak-detector": "^29.7.0", - "jest-message-util": "^29.7.0", - "jest-resolve": "^29.7.0", - "jest-runtime": "^29.7.0", - "jest-util": "^29.7.0", - "jest-watcher": "^29.7.0", - "jest-worker": "^29.7.0", - "p-limit": "^3.1.0", - "source-map-support": "0.5.13" + "exit-x": "^0.2.2", + "graceful-fs": "^4.2.11", + "jest-docblock": "30.5.0", + "jest-environment-node": "30.5.2", + "jest-haste-map": "30.5.1", + "jest-leak-detector": "30.5.1", + "jest-message-util": "30.5.1", + "jest-resolve": "30.5.1", + "jest-runtime": "30.5.2", + "jest-util": "30.5.1", + "jest-watcher": "30.5.2", + "jest-worker": "30.5.1", + "p-limit": "^3.1.0" }, "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" } }, "node_modules/jest-runtime": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-runtime/-/jest-runtime-29.7.0.tgz", - "integrity": "sha512-gUnLjgwdGqW7B4LvOIkbKs9WGbn+QLqRQQ9juC6HndeDiezIwhDP+mhMwHWCEcfQ5RUXa6OPnFF8BJh5xegwwQ==", + "version": "30.5.2", + "resolved": "https://registry.npmjs.org/jest-runtime/-/jest-runtime-30.5.2.tgz", + "integrity": "sha512-0paUAHBlheai10A3XSy9Xh+YBG0IROy+/qzcDPzQ/nbbXrznQzeWy5qniICWK6d3W3scaRQCVAbXdcK0ibBq4w==", "dev": true, "license": "MIT", "dependencies": { - "@jest/environment": "^29.7.0", - "@jest/fake-timers": "^29.7.0", - "@jest/globals": "^29.7.0", - "@jest/source-map": "^29.6.3", - "@jest/test-result": "^29.7.0", - "@jest/transform": "^29.7.0", - "@jest/types": "^29.6.3", + "@jest/environment": "30.5.2", + "@jest/fake-timers": "30.5.2", + "@jest/globals": "30.5.2", + "@jest/source-map": "30.5.2", + "@jest/test-result": "30.5.2", + "@jest/transform": "30.5.2", + "@jest/types": "30.5.1", "@types/node": "*", - "chalk": "^4.0.0", - "cjs-module-lexer": "^1.0.0", - "collect-v8-coverage": "^1.0.0", - "glob": "^7.1.3", - "graceful-fs": "^4.2.9", - "jest-haste-map": "^29.7.0", - "jest-message-util": "^29.7.0", - "jest-mock": "^29.7.0", - "jest-regex-util": "^29.6.3", - "jest-resolve": "^29.7.0", - "jest-snapshot": "^29.7.0", - "jest-util": "^29.7.0", + "chalk": "^4.1.2", + "cjs-module-lexer": "^2.2.0", + "collect-v8-coverage": "^1.0.2", + "es-module-lexer": "^2.1.0", + "glob": "^13.0.6", + "graceful-fs": "^4.2.11", + "jest-haste-map": "30.5.1", + "jest-message-util": "30.5.1", + "jest-mock": "30.5.2", + "jest-regex-util": "30.5.0", + "jest-resolve": "30.5.1", + "jest-snapshot": "30.5.2", + "jest-util": "30.5.1", "slash": "^3.0.0", "strip-bom": "^4.0.0" }, "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" + } + }, + "node_modules/jest-runtime/node_modules/balanced-match": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-4.0.4.tgz", + "integrity": "sha512-BLrgEcRTwX2o6gGxGOCNyMvGSp35YofuYzw9h1IMTRmKqttAZZVU67bdb9Pr2vUHA8+j3i2tJfjO6C6+4myGTA==", + "dev": true, + "license": "MIT", + "engines": { + "node": "18 || 20 || >=22" + } + }, + "node_modules/jest-runtime/node_modules/brace-expansion": { + "version": "5.0.12", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.12.tgz", + "integrity": "sha512-YovQ3rzhaLMIrDjNDMkNS01tea93qhEhG5xy8f6+R0l+dw3Ki+5sCoIoI942iuLZTHWogWktgwVDhU09iNEimQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "balanced-match": "^4.0.2" + }, + "engines": { + "node": "20 || >=22" + } + }, + "node_modules/jest-runtime/node_modules/glob": { + "version": "13.0.6", + "resolved": "https://registry.npmjs.org/glob/-/glob-13.0.6.tgz", + "integrity": "sha512-Wjlyrolmm8uDpm/ogGyXZXb1Z+Ca2B8NbJwqBVg0axK9GbBeoS7yGV6vjXnYdGm6X53iehEuxxbyiKp8QmN4Vw==", + "dev": true, + "license": "BlueOak-1.0.0", + "dependencies": { + "minimatch": "^10.2.2", + "minipass": "^7.1.3", + "path-scurry": "^2.0.2" + }, + "engines": { + "node": "18 || 20 || >=22" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/jest-runtime/node_modules/minimatch": { + "version": "10.2.6", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.2.6.tgz", + "integrity": "sha512-vpLQEs+VLCr1nU0BXS07maYoFwlDAH0gngQuuttxIwutDFEMHq2blX+8vpgxDdK3J1PwjCJiep77OitTZ4Ll1A==", + "dev": true, + "license": "BlueOak-1.0.0", + "dependencies": { + "brace-expansion": "^5.0.8" + }, + "engines": { + "node": "18 || 20 || >=22" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/jest-runtime/node_modules/minipass": { + "version": "7.1.3", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.3.tgz", + "integrity": "sha512-tEBHqDnIoM/1rXME1zgka9g6Q2lcoCkxHLuc7ODJ5BxbP5d4c2Z5cGgtXAku59200Cx7diuHTOYfSBD8n6mm8A==", + "dev": true, + "license": "BlueOak-1.0.0", + "engines": { + "node": ">=16 || 14 >=14.17" } }, "node_modules/jest-snapshot": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-snapshot/-/jest-snapshot-29.7.0.tgz", - "integrity": "sha512-Rm0BMWtxBcioHr1/OX5YCP8Uov4riHvKPknOGs804Zg9JGZgmIBkbtlxJC/7Z4msKYVbIJtfU+tKb8xlYNfdkw==", + "version": "30.5.2", + "resolved": "https://registry.npmjs.org/jest-snapshot/-/jest-snapshot-30.5.2.tgz", + "integrity": "sha512-jKIdes25AnAH73dOCi2qE6J6vHJ6L2vyBS11M89kT50DVJcLTf2AOjvcc+2vVaN8lUbY5v2R83aqXo3Ro9fqYA==", "dev": true, "license": "MIT", "dependencies": { - "@babel/core": "^7.11.6", - "@babel/generator": "^7.7.2", - "@babel/plugin-syntax-jsx": "^7.7.2", - "@babel/plugin-syntax-typescript": "^7.7.2", - "@babel/types": "^7.3.3", - "@jest/expect-utils": "^29.7.0", - "@jest/transform": "^29.7.0", - "@jest/types": "^29.6.3", - "babel-preset-current-node-syntax": "^1.0.0", - "chalk": "^4.0.0", - "expect": "^29.7.0", - "graceful-fs": "^4.2.9", - "jest-diff": "^29.7.0", - "jest-get-type": "^29.6.3", - "jest-matcher-utils": "^29.7.0", - "jest-message-util": "^29.7.0", - "jest-util": "^29.7.0", - "natural-compare": "^1.4.0", - "pretty-format": "^29.7.0", - "semver": "^7.5.3" + "@babel/core": "^7.27.4", + "@babel/generator": "^7.27.5", + "@babel/plugin-syntax-jsx": "^7.27.1", + "@babel/plugin-syntax-typescript": "^7.27.1", + "@babel/types": "^7.27.3", + "@jest/expect-utils": "30.5.2", + "@jest/get-type": "30.5.0", + "@jest/snapshot-utils": "30.5.1", + "@jest/transform": "30.5.2", + "@jest/types": "30.5.1", + "babel-preset-current-node-syntax": "^1.2.0", + "chalk": "^4.1.2", + "expect": "30.5.2", + "graceful-fs": "^4.2.11", + "jest-diff": "30.5.2", + "jest-matcher-utils": "30.5.2", + "jest-message-util": "30.5.1", + "jest-util": "30.5.1", + "pretty-format": "30.5.1", + "semver": "^7.7.2", + "synckit": "^0.11.8" }, "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" } }, "node_modules/jest-util": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-util/-/jest-util-29.7.0.tgz", - "integrity": "sha512-z6EbKajIpqGKU56y5KBUgy1dt1ihhQJgWzUlZHArA/+X2ad7Cb5iF+AK1EWVL/Bo7Rz9uurpqw6SiBCefUbCGA==", + "version": "30.5.1", + "resolved": "https://registry.npmjs.org/jest-util/-/jest-util-30.5.1.tgz", + "integrity": "sha512-yKuxmNy2rSbTXw+3SIPanJo+nV4/BS1p26v44IYBFMsswSQySfMMcPHErnOncda7i9HEz0q605rIhSTBVgrZTg==", "dev": true, "license": "MIT", "dependencies": { - "@jest/types": "^29.6.3", + "@jest/types": "30.5.1", "@types/node": "*", - "chalk": "^4.0.0", - "ci-info": "^3.2.0", - "graceful-fs": "^4.2.9", - "picomatch": "^2.2.3" + "chalk": "^4.1.2", + "ci-info": "^4.2.0", + "graceful-fs": "^4.2.11", + "picomatch": "^4.0.3" }, "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" } }, "node_modules/jest-validate": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-validate/-/jest-validate-29.7.0.tgz", - "integrity": "sha512-ZB7wHqaRGVw/9hST/OuFUReG7M8vKeq0/J2egIGLdvjHCmYqGARhzXmtgi+gVeZ5uXFF219aOc3Ls2yLg27tkw==", + "version": "30.5.1", + "resolved": "https://registry.npmjs.org/jest-validate/-/jest-validate-30.5.1.tgz", + "integrity": "sha512-i/buJ56wTpxihE93hQYNMfdOThS87+HGvLZzZJmU4xggPcdTYQq051iwALLCHp3q+SkCGH+EFejQZz5EbBSkkg==", "dev": true, "license": "MIT", "dependencies": { - "@jest/types": "^29.6.3", - "camelcase": "^6.2.0", - "chalk": "^4.0.0", - "jest-get-type": "^29.6.3", + "@jest/get-type": "30.5.0", + "@jest/types": "30.5.1", + "camelcase": "^6.3.0", + "chalk": "^4.1.2", "leven": "^3.1.0", - "pretty-format": "^29.7.0" + "pretty-format": "30.5.1" }, "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" } }, "node_modules/jest-validate/node_modules/camelcase": { @@ -4471,39 +6701,40 @@ } }, "node_modules/jest-watcher": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-watcher/-/jest-watcher-29.7.0.tgz", - "integrity": "sha512-49Fg7WXkU3Vl2h6LbLtMQ/HyB6rXSIX7SqvBLQmssRBGN9I0PNvPmAmCWSOY6SOvrjhI/F7/bGAv9RtnsPA03g==", + "version": "30.5.2", + "resolved": "https://registry.npmjs.org/jest-watcher/-/jest-watcher-30.5.2.tgz", + "integrity": "sha512-rqRgg4R11GA9m1UsEZwQeixHsgZReCn6TOHAHtIH33yXrIvoX0OGPA20Yzzjkz7X40fZvcRSxEpQppYPcWzmcQ==", "dev": true, "license": "MIT", "dependencies": { - "@jest/test-result": "^29.7.0", - "@jest/types": "^29.6.3", + "@jest/test-result": "30.5.2", + "@jest/types": "30.5.1", "@types/node": "*", - "ansi-escapes": "^4.2.1", - "chalk": "^4.0.0", + "ansi-escapes": "^4.3.2", + "chalk": "^4.1.2", "emittery": "^0.13.1", - "jest-util": "^29.7.0", - "string-length": "^4.0.1" + "jest-util": "30.5.1", + "string-length": "^4.0.2" }, "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" } }, "node_modules/jest-worker": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-29.7.0.tgz", - "integrity": "sha512-eIz2msL/EzL9UFTFFx7jBTkeZfku0yUAyZZZmJ93H2TYEiroIx2PQjEXcwYtYl8zXCxb+PAmA2hLIt/6ZEkPHw==", + "version": "30.5.1", + "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-30.5.1.tgz", + "integrity": "sha512-Cbxh5v7AoLuFRmFJSM4/aHdQ68rjXvUWr716EE0Dh3I7T+T/3FgFKhOERGXHcU2Meftq9+9zxPM3TSNyI9D+HA==", "dev": true, "license": "MIT", "dependencies": { "@types/node": "*", - "jest-util": "^29.7.0", + "@ungap/structured-clone": "^1.3.0", + "jest-util": "30.5.1", "merge-stream": "^2.0.0", - "supports-color": "^8.0.0" + "supports-color": "^8.1.1" }, "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" } }, "node_modules/jest-worker/node_modules/supports-color": { @@ -4522,6 +6753,16 @@ "url": "https://github.com/chalk/supports-color?sponsor=1" } }, + "node_modules/jiti": { + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/jiti/-/jiti-2.7.0.tgz", + "integrity": "sha512-AC/7JofJvZGrrneWNaEnJeOLUx+JlGt7tNa0wZiRPT4MY1wmfKjt2+6O2p2uz2+skll8OZZmJMNqeke7kKbNgQ==", + "devOptional": true, + "license": "MIT", + "bin": { + "jiti": "lib/jiti-cli.mjs" + } + }, "node_modules/js-tokens": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", @@ -4530,14 +6771,23 @@ "license": "MIT" }, "node_modules/js-yaml": { - "version": "3.15.2", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.15.2.tgz", - "integrity": "sha512-6EuL879VkRA+1Cz578mKMiKvjPNEuk6+r1JaFzoSWejZmtf7xWbIyw1e3KkxlkzTIt9Taw6JBhEppG7utc1P+w==", + "version": "4.3.2", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.3.2.tgz", + "integrity": "sha512-SFNOvSJ+Dgf/9An904Yx+CgSlIPCkIpao4qo51lpee25TIRejdH3rhR4EZMGoNx3/TP3O+wzWuiTFl4sqbltzA==", "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/puzrin" + }, + { + "type": "github", + "url": "https://github.com/sponsors/nodeca" + } + ], "license": "MIT", "dependencies": { - "argparse": "^1.0.7", - "esprima": "^4.0.0" + "argparse": "^2.0.1" }, "bin": { "js-yaml": "bin/js-yaml.js" @@ -4563,6 +6813,13 @@ "dev": true, "license": "MIT" }, + "node_modules/json-schema-traverse": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", + "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", + "devOptional": true, + "license": "MIT" + }, "node_modules/json5": { "version": "2.2.3", "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz", @@ -4598,12 +6855,6 @@ "npm": ">=6" } }, - "node_modules/jsonwebtoken/node_modules/ms": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", - "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", - "license": "MIT" - }, "node_modules/jwa": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/jwa/-/jwa-2.0.1.tgz", @@ -4625,16 +6876,6 @@ "safe-buffer": "^5.0.1" } }, - "node_modules/kleur": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", - "integrity": "sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6" - } - }, "node_modules/leven": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/leven/-/leven-3.1.0.tgz", @@ -4788,6 +7029,9 @@ "arm64" ], "dev": true, + "libc": [ + "glibc" + ], "license": "MPL-2.0", "optional": true, "os": [ @@ -4809,6 +7053,9 @@ "arm64" ], "dev": true, + "libc": [ + "musl" + ], "license": "MPL-2.0", "optional": true, "os": [ @@ -4830,6 +7077,9 @@ "x64" ], "dev": true, + "libc": [ + "glibc" + ], "license": "MPL-2.0", "optional": true, "os": [ @@ -4851,6 +7101,9 @@ "x64" ], "dev": true, + "libc": [ + "musl" + ], "license": "MPL-2.0", "optional": true, "os": [ @@ -4926,6 +7179,13 @@ "node": ">=8" } }, + "node_modules/lodash": { + "version": "4.18.1", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.18.1.tgz", + "integrity": "sha512-dMInicTPVE8d1e5otfwmmjlxkZoUpiVLwyeTdUsi/Caj/gfzzblBcCE5sRHV/AsjuCmxWrte2TNGSYuCeCq+0Q==", + "devOptional": true, + "license": "MIT" + }, "node_modules/lodash.includes": { "version": "4.3.0", "resolved": "https://registry.npmjs.org/lodash.includes/-/lodash.includes-4.3.0.tgz", @@ -4968,6 +7228,13 @@ "integrity": "sha512-Sb487aTOCr9drQVL8pIxOzVhafOjZN9UU54hiN8PU3uAiSV7lx1yYNpbNmex2PK6dSJoNTSJUUswT651yww3Mg==", "license": "MIT" }, + "node_modules/long": { + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/long/-/long-5.3.2.tgz", + "integrity": "sha512-mNAgZ1GmyNhD7AuqnTG3/VQ26o760+ZYBPKjPvugO8+nLbYfX6TVpJPseBvopbdY+qpZ/lKUnmEc1LeZYS3QAA==", + "devOptional": true, + "license": "Apache-2.0" + }, "node_modules/lru-cache": { "version": "5.1.1", "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz", @@ -4978,38 +7245,20 @@ "yallist": "^3.0.2" } }, - "node_modules/make-dir": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-3.1.0.tgz", - "integrity": "sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==", + "node_modules/lru.min": { + "version": "1.1.5", + "resolved": "https://registry.npmjs.org/lru.min/-/lru.min-1.1.5.tgz", + "integrity": "sha512-5J9ysMYUpYIg9RF2vJpy9SinEmSviFSe0GyPpCQ4L5QSkLAgeLXlTAOu2ZwWUU5m+0SBl6gUU1R1ZQB3aKypfA==", + "devOptional": true, "license": "MIT", - "dependencies": { - "semver": "^6.0.0" - }, "engines": { - "node": ">=8" + "bun": ">=1.0.0", + "deno": ">=1.30.0", + "node": ">=8.0.0" }, "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/make-dir/node_modules/semver": { - "version": "6.3.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", - "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", - "license": "ISC", - "bin": { - "semver": "bin/semver.js" - } - }, - "node_modules/makeerror": { - "version": "1.0.12", - "resolved": "https://registry.npmjs.org/makeerror/-/makeerror-1.0.12.tgz", - "integrity": "sha512-JmqCvUhmt43madlpFzG4BQzG2Z3m6tvQDNKdClZnO3VbIudJYmxsT0FNJMeiB2+JTSlTQTSbU8QdesVmwJcmLg==", - "dev": true, - "license": "BSD-3-Clause", - "dependencies": { - "tmpl": "1.0.5" + "type": "github", + "url": "https://github.com/sponsors/wellwelwel" } }, "node_modules/math-intrinsics": { @@ -5022,19 +7271,26 @@ } }, "node_modules/media-typer": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", - "integrity": "sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ==", + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-1.1.1.tgz", + "integrity": "sha512-yz3xRaG20c6/BOzvYoDaGtPmGscs7YivItZEEqe6GbwNfHuxu9YNmvnEkMzKldAGY4/80pRcQRZSEnhquk9XuQ==", "license": "MIT", "engines": { - "node": ">= 0.6" + "node": ">= 0.8" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" } }, "node_modules/merge-descriptors": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.3.tgz", - "integrity": "sha512-gaNvAS7TZ897/rVaZ0nMtAyxNyi/pdbjbAwUpFQpN70GqnVfOiXpeUUMKRBmzXaSQ8DdTX4/0ms62r2K+hE6mQ==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-2.0.0.tgz", + "integrity": "sha512-Snk314V5ayFLhp3fkUREub6WtjBfPdCPY1Ln8/8munuLuiYhsABgBVWsozAG+MWMbVEvcdcpbi9R7ww22l9Q3g==", "license": "MIT", + "engines": { + "node": ">=18" + }, "funding": { "url": "https://github.com/sponsors/sindresorhus" } @@ -5050,37 +7306,12 @@ "version": "1.1.2", "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz", "integrity": "sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w==", + "dev": true, "license": "MIT", "engines": { "node": ">= 0.6" } }, - "node_modules/micromatch": { - "version": "4.0.8", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz", - "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==", - "dev": true, - "license": "MIT", - "dependencies": { - "braces": "^3.0.3", - "picomatch": "^2.3.1" - }, - "engines": { - "node": ">=8.6" - } - }, - "node_modules/mime": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", - "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==", - "license": "MIT", - "bin": { - "mime": "cli.js" - }, - "engines": { - "node": ">=4" - } - }, "node_modules/mime-db": { "version": "1.52.0", "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", @@ -5112,80 +7343,51 @@ "node": ">=6" } }, - "node_modules/minimatch": { - "version": "3.1.5", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.5.tgz", - "integrity": "sha512-VgjWUsnnT6n+NUk6eZq77zeFdpW2LWDzP6zFGrCbHXiYNul5Dzqk2HHQ5uFH2DNW5Xbp8+jVzaeNt94ssEEl4w==", - "license": "ISC", - "dependencies": { - "brace-expansion": "^1.1.7" - }, - "engines": { - "node": "*" - } - }, - "node_modules/minipass": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/minipass/-/minipass-5.0.0.tgz", - "integrity": "sha512-3FnjYuehv9k6ovOEbyOswadCDPX1piCfhV8ncmYtHOjuPwylVWsghTLo7rabjC3Rx5xD4HDx8Wm1xnMF7S5qFQ==", - "license": "ISC", - "engines": { - "node": ">=8" - } - }, - "node_modules/minizlib": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/minizlib/-/minizlib-2.1.2.tgz", - "integrity": "sha512-bAxsR8BVfj60DWXHE3u30oHzfl4G7khkSuPW+qvpd7jFRHm7dLxOjUk1EHACJ/hxLY8phGJ0YhYHZo7jil7Qdg==", - "license": "MIT", - "dependencies": { - "minipass": "^3.0.0", - "yallist": "^4.0.0" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/minizlib/node_modules/minipass": { - "version": "3.3.6", - "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.3.6.tgz", - "integrity": "sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==", - "license": "ISC", - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/minizlib/node_modules/yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", - "license": "ISC" - }, - "node_modules/mkdirp": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", - "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", - "license": "MIT", - "bin": { - "mkdirp": "bin/cmd.js" - }, - "engines": { - "node": ">=10" - } - }, "node_modules/ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", "license": "MIT" }, + "node_modules/mysql2": { + "version": "3.24.5", + "resolved": "https://registry.npmjs.org/mysql2/-/mysql2-3.24.5.tgz", + "integrity": "sha512-X6Ujsr2QSkkLpkQGjxzpKRAPn9nu4axpR63ntBzquFVEvPOArgbUQ1sJjFKI7hnaYtiVZxa17Z7q18KSubW0IQ==", + "devOptional": true, + "license": "MIT", + "dependencies": { + "aws-ssl-profiles": "^1.1.2", + "generate-function": "^2.3.1", + "iconv-lite": "^0.7.3", + "long": "^5.3.2", + "lru.min": "^1.1.4", + "named-placeholders": "^1.1.6", + "sql-escaper": "^1.5.1" + }, + "engines": { + "node": ">= 8.0" + }, + "peerDependencies": { + "@types/node": ">= 8" + } + }, + "node_modules/named-placeholders": { + "version": "1.1.6", + "resolved": "https://registry.npmjs.org/named-placeholders/-/named-placeholders-1.1.6.tgz", + "integrity": "sha512-Tz09sEL2EEuv5fFowm419c1+a/jSMiBjI9gHxVLrVdbUkkNUUfjsVYs9pVZu5oCon/kmRh9TfLEObFtkVxmY0w==", + "devOptional": true, + "license": "MIT", + "dependencies": { + "lru.min": "^1.1.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, "node_modules/nanoid": { - "version": "3.3.19", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.19.tgz", - "integrity": "sha512-Y2tUNy4ouw6tq5oDSKeQYGOyhkUBhNOcGV/02KC+6kd9eDGqdZd++mjMiIDilrBYvjEnCYvVtsuHCuP+okSfug==", + "version": "3.3.20", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.20.tgz", + "integrity": "sha512-uKdg2G3GNCKQn9byYOpxbGqrT2fGO5KRt5J/8b3pok8rT6qxGWF6hxMyJiEYtAf+FVyYuD9hRaDqX5uPFYJ4ZQ==", "dev": true, "funding": [ { @@ -5201,6 +7403,22 @@ "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" } }, + "node_modules/napi-postinstall": { + "version": "0.3.4", + "resolved": "https://registry.npmjs.org/napi-postinstall/-/napi-postinstall-0.3.4.tgz", + "integrity": "sha512-PHI5f1O0EP5xJ9gQmFGMS6IZcrVvTjpXjz7Na41gTE7eE2hK11lg04CECCYEEjdc17EV4DO+fkGEtt7TpTaTiQ==", + "dev": true, + "license": "MIT", + "bin": { + "napi-postinstall": "lib/cli.js" + }, + "engines": { + "node": "^12.20.0 || ^14.18.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/napi-postinstall" + } + }, "node_modules/natural-compare": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", @@ -5218,29 +7436,23 @@ } }, "node_modules/node-addon-api": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-5.1.0.tgz", - "integrity": "sha512-eh0GgfEkpnoWDq+VY8OyvYhFEzBk6jIYbRKdIlyTiAXIVJ8PyBaKb0rp7oDtoddbdoHWhq8wwr+XZ81F1rpNdA==", - "license": "MIT" - }, - "node_modules/node-fetch": { - "version": "2.7.0", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.7.0.tgz", - "integrity": "sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==", + "version": "8.9.2", + "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-8.9.2.tgz", + "integrity": "sha512-VijLXbi3UACN69I0JVXJsX4tjACjNoQDgv2gTF6sx2wWEi8tkSg2eX8p5gSIFi8z2+DL3oHmY6OyKce38SDolg==", "license": "MIT", - "dependencies": { - "whatwg-url": "^5.0.0" - }, "engines": { - "node": "4.x || >=6.0.0" - }, - "peerDependencies": { - "encoding": "^0.1.0" - }, - "peerDependenciesMeta": { - "encoding": { - "optional": true - } + "node": "^18 || ^20 || >= 21" + } + }, + "node_modules/node-gyp-build": { + "version": "4.8.4", + "resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.8.4.tgz", + "integrity": "sha512-LA4ZjwlnUblHVgq0oBF3Jl/6h/Nvs5fzBLwdEF4nuxnFdsfajde4WfxtJr3CaiH+F6ewcIB/q4jQ4UzPyid+CQ==", + "license": "MIT", + "bin": { + "node-gyp-build": "bin.js", + "node-gyp-build-optional": "optional.js", + "node-gyp-build-test": "build-test.js" } }, "node_modules/node-int64": { @@ -5251,30 +7463,15 @@ "license": "MIT" }, "node_modules/node-releases": { - "version": "2.0.56", - "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.56.tgz", - "integrity": "sha512-x0InOIyzgdk+eyaWaRJFH5snEtiImgBgblZ2CyPrLmqqcuMQkEvcDPHbzqbD8eDsSeJbVOjn+crzyzHaM4D+/A==", + "version": "2.0.58", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.58.tgz", + "integrity": "sha512-BdiKAgbfRlvfMq/XzO/AF9NPmaA8a+YpLAyAFTVFBj3gARrAIfWvNq7Q7NE4se3KgFu0KkrvQMxTS0XVnsGzHg==", "dev": true, "license": "MIT", "engines": { "node": ">=18" } }, - "node_modules/nopt": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/nopt/-/nopt-5.0.0.tgz", - "integrity": "sha512-Tbj67rffqceeLpcRXrT7vKAN8CwfPeIBgM7E6iBkmKLV7bEMwpGgYLGv0jACUsECaa/vuxP0IjEont6umdMgtQ==", - "license": "ISC", - "dependencies": { - "abbrev": "1" - }, - "bin": { - "nopt": "bin/nopt.js" - }, - "engines": { - "node": ">=6" - } - }, "node_modules/normalize-path": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", @@ -5298,19 +7495,6 @@ "node": ">=8" } }, - "node_modules/npmlog": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-5.0.1.tgz", - "integrity": "sha512-AqZtDUWOMKs1G/8lwylVjrdYgqA4d9nu8hc+0gzRxlDb1I10+FHBGMXs6aiQHFdCUUlqH99MUMuLfzWDNDtfxw==", - "deprecated": "This package is no longer supported.", - "license": "ISC", - "dependencies": { - "are-we-there-yet": "^2.0.0", - "console-control-strings": "^1.1.0", - "gauge": "^3.0.0", - "set-blocking": "^2.0.0" - } - }, "node_modules/object-assign": { "version": "4.1.1", "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", @@ -5332,6 +7516,13 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/ohash": { + "version": "2.0.12", + "resolved": "https://registry.npmjs.org/ohash/-/ohash-2.0.12.tgz", + "integrity": "sha512-65S/5gk9YSsaRjcyf7Nfa6h/d3E8/1gslpXfI4W7Dxn/oap8IKRuNT5VXkLQ1YFKIEg4apRY4Pj6aiwFzrDdmw==", + "devOptional": true, + "license": "MIT" + }, "node_modules/on-finished": { "version": "2.4.1", "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.4.1.tgz", @@ -5370,9 +7561,9 @@ } }, "node_modules/oxlint": { - "version": "1.85.0", - "resolved": "https://registry.npmjs.org/oxlint/-/oxlint-1.85.0.tgz", - "integrity": "sha512-bc26s97nuvPj1ViyPsqmKecVkUWFMEdtayO8MaQ6oiLfs1pj94cQlZZhrh4BPNlr9HQosjhIlwgZKsfcwmcNgg==", + "version": "1.87.0", + "resolved": "https://registry.npmjs.org/oxlint/-/oxlint-1.87.0.tgz", + "integrity": "sha512-drxVlaW7Oqq7wSy1CN25znRu00aRq8n57Q2wniJRxCmtYVz07ufCm7EVDPQFZURrTgQIjzKrVEHAD/HcvJXObg==", "dev": true, "license": "MIT", "bin": { @@ -5385,28 +7576,28 @@ "url": "https://github.com/sponsors/oxc-project" }, "optionalDependencies": { - "@oxlint/binding-android-arm-eabi": "1.85.0", - "@oxlint/binding-android-arm64": "1.85.0", - "@oxlint/binding-darwin-arm64": "1.85.0", - "@oxlint/binding-darwin-x64": "1.85.0", - "@oxlint/binding-freebsd-x64": "1.85.0", - "@oxlint/binding-linux-arm-gnueabihf": "1.85.0", - "@oxlint/binding-linux-arm-musleabihf": "1.85.0", - "@oxlint/binding-linux-arm64-gnu": "1.85.0", - "@oxlint/binding-linux-arm64-musl": "1.85.0", - "@oxlint/binding-linux-ppc64-gnu": "1.85.0", - "@oxlint/binding-linux-riscv64-gnu": "1.85.0", - "@oxlint/binding-linux-riscv64-musl": "1.85.0", - "@oxlint/binding-linux-s390x-gnu": "1.85.0", - "@oxlint/binding-linux-x64-gnu": "1.85.0", - "@oxlint/binding-linux-x64-musl": "1.85.0", - "@oxlint/binding-openharmony-arm64": "1.85.0", - "@oxlint/binding-win32-arm64-msvc": "1.85.0", - "@oxlint/binding-win32-ia32-msvc": "1.85.0", - "@oxlint/binding-win32-x64-msvc": "1.85.0" + "@oxlint/binding-android-arm-eabi": "1.87.0", + "@oxlint/binding-android-arm64": "1.87.0", + "@oxlint/binding-darwin-arm64": "1.87.0", + "@oxlint/binding-darwin-x64": "1.87.0", + "@oxlint/binding-freebsd-x64": "1.87.0", + "@oxlint/binding-linux-arm-gnueabihf": "1.87.0", + "@oxlint/binding-linux-arm-musleabihf": "1.87.0", + "@oxlint/binding-linux-arm64-gnu": "1.87.0", + "@oxlint/binding-linux-arm64-musl": "1.87.0", + "@oxlint/binding-linux-ppc64-gnu": "1.87.0", + "@oxlint/binding-linux-riscv64-gnu": "1.87.0", + "@oxlint/binding-linux-riscv64-musl": "1.87.0", + "@oxlint/binding-linux-s390x-gnu": "1.87.0", + "@oxlint/binding-linux-x64-gnu": "1.87.0", + "@oxlint/binding-linux-x64-musl": "1.87.0", + "@oxlint/binding-openharmony-arm64": "1.87.0", + "@oxlint/binding-win32-arm64-msvc": "1.87.0", + "@oxlint/binding-win32-ia32-msvc": "1.87.0", + "@oxlint/binding-win32-x64-msvc": "1.87.0" }, "peerDependencies": { - "oxlint-tsgolint": ">=7.0.2001", + "oxlint-tsgolint": ">=7.0.2003", "vite-plus": "*" }, "peerDependenciesMeta": { @@ -5473,6 +7664,13 @@ "node": ">=6" } }, + "node_modules/package-json-from-dist": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/package-json-from-dist/-/package-json-from-dist-1.0.1.tgz", + "integrity": "sha512-UEZIS3/by4OC8vL3P2dTXRETpebLI2NiI5vIrjaD/5UtrkFX/tNbwjTSRAGC/+7CAo2pIcBaRgWmcBBHcsaCIw==", + "dev": true, + "license": "BlueOak-1.0.0" + }, "node_modules/parse-json": { "version": "5.2.0", "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz", @@ -5511,38 +7709,175 @@ "node": ">=8" } }, - "node_modules/path-is-absolute": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", - "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==", - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/path-key": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", - "dev": true, + "devOptional": true, "license": "MIT", "engines": { "node": ">=8" } }, - "node_modules/path-parse": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", - "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", + "node_modules/path-scurry": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-2.0.2.tgz", + "integrity": "sha512-3O/iVVsJAPsOnpwWIeD+d6z/7PmqApyQePUtCndjatj/9I5LylHvt5qluFaBT3I5h3r1ejfR056c+FCv+NnNXg==", "dev": true, - "license": "MIT" + "license": "BlueOak-1.0.0", + "dependencies": { + "lru-cache": "^11.0.0", + "minipass": "^7.1.2" + }, + "engines": { + "node": "18 || 20 || >=22" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/path-scurry/node_modules/lru-cache": { + "version": "11.5.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-11.5.3.tgz", + "integrity": "sha512-U4N8FgzmWxc8k1VH8Kr6lQg18U7Fjvby6wXHVRX/ZZ7IwWbRMgrRbP0Wrb5q5NVinryp4SQampHKdvtecItxUg==", + "dev": true, + "license": "BlueOak-1.0.0", + "engines": { + "node": "20 || >=22" + } + }, + "node_modules/path-scurry/node_modules/minipass": { + "version": "7.1.3", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.3.tgz", + "integrity": "sha512-tEBHqDnIoM/1rXME1zgka9g6Q2lcoCkxHLuc7ODJ5BxbP5d4c2Z5cGgtXAku59200Cx7diuHTOYfSBD8n6mm8A==", + "dev": true, + "license": "BlueOak-1.0.0", + "engines": { + "node": ">=16 || 14 >=14.17" + } }, "node_modules/path-to-regexp": { - "version": "0.1.13", - "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.13.tgz", - "integrity": "sha512-A/AGNMFN3c8bOlvV9RreMdrv7jsmF9XIfDeCd87+I8RNg6s78BhJxMu69NEMHBSJFxKidViTEdruRwEk/WIKqA==", + "version": "8.4.2", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-8.4.2.tgz", + "integrity": "sha512-qRcuIdP69NPm4qbACK+aDogI5CBDMi1jKe0ry5rSQJz8JVLsC7jV8XpiJjGRLLol3N+R5ihGYcrPLTno6pAdBA==", + "license": "MIT", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/pathe": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/pathe/-/pathe-2.0.3.tgz", + "integrity": "sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w==", + "devOptional": true, "license": "MIT" }, + "node_modules/perfect-debounce": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/perfect-debounce/-/perfect-debounce-2.1.0.tgz", + "integrity": "sha512-LjgdTytVFXeUgtHZr9WYViYSM/g8MkcTPYDlPa3cDqMirHjKiSZPYd6DoL7pK8AJQr+uWkQvCjHNdiMqsrJs+g==", + "devOptional": true, + "license": "MIT" + }, + "node_modules/pg": { + "version": "8.23.1", + "resolved": "https://registry.npmjs.org/pg/-/pg-8.23.1.tgz", + "integrity": "sha512-aL96AHANtWjPLDOLqnhx+ngp9+UK7ETEU8VJrDCGvsSSi/mGLcWYsS6Herg7lmaBJe4uwrfqsa7gTEFaSizDoQ==", + "license": "MIT", + "dependencies": { + "pg-connection-string": "^2.14.1", + "pg-pool": "^3.14.0", + "pg-protocol": "^1.16.1", + "pg-types": "2.2.0", + "pgpass": "1.0.5" + }, + "engines": { + "node": ">= 16.0.0" + }, + "optionalDependencies": { + "pg-cloudflare": "^1.4.1" + }, + "peerDependencies": { + "pg-native": ">=3.0.1" + }, + "peerDependenciesMeta": { + "pg-native": { + "optional": true + } + } + }, + "node_modules/pg-cloudflare": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/pg-cloudflare/-/pg-cloudflare-1.4.1.tgz", + "integrity": "sha512-6PQbsFWZcp9EmJEwy5cGQ2La+AMWpP46lgbb8X+U/XsHIUweYDNCpeuKck5RxL2MdVFi7krbbEi5nX4Zh7JhrQ==", + "license": "MIT", + "optional": true + }, + "node_modules/pg-connection-string": { + "version": "2.14.1", + "resolved": "https://registry.npmjs.org/pg-connection-string/-/pg-connection-string-2.14.1.tgz", + "integrity": "sha512-qR3kGNPBLpCNtz0evbKA0Y/MRFXwSSdT+pTJvYp/bXTcReZbvX1kzF0IyTc1QnxqF7AZbOeBhNL8R5mYQZV/MA==", + "license": "MIT" + }, + "node_modules/pg-int8": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/pg-int8/-/pg-int8-1.0.1.tgz", + "integrity": "sha512-WCtabS6t3c8SkpDBUlb1kjOs7l66xsGdKpIPZsg4wR+B3+u9UAum2odSsF9tnvxg80h4ZxLWMy4pRjOsFIqQpw==", + "license": "ISC", + "engines": { + "node": ">=4.0.0" + } + }, + "node_modules/pg-pool": { + "version": "3.14.0", + "resolved": "https://registry.npmjs.org/pg-pool/-/pg-pool-3.14.0.tgz", + "integrity": "sha512-gKtPkFdQPU3DksooVLi9LsjZxrsBUZIpa+7aVx+LV5pNh0KzP4Zleud2po+ConrxbuXGBJ6Hfer6hdgpIBpBaw==", + "license": "MIT", + "peerDependencies": { + "pg": ">=8.0" + } + }, + "node_modules/pg-protocol": { + "version": "1.16.1", + "resolved": "https://registry.npmjs.org/pg-protocol/-/pg-protocol-1.16.1.tgz", + "integrity": "sha512-p9VOFMiHB/ZbJATetbg+99PxssTVSQRnyuPSQ67mN1+1KBOjZaZ83ZQzltnxPhJwSsC3nwVjJ10DVJlerbFzLg==", + "license": "MIT" + }, + "node_modules/pg-types": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/pg-types/-/pg-types-2.2.0.tgz", + "integrity": "sha512-qTAAlrEsl8s4OiEQY69wDvcMIdQN6wdz5ojQiOy6YRMuynxenON0O5oCpJI6lshc6scgAY8qvJ2On/p+CXY0GA==", + "license": "MIT", + "dependencies": { + "pg-int8": "1.0.1", + "postgres-array": "~2.0.0", + "postgres-bytea": "~1.0.0", + "postgres-date": "~1.0.4", + "postgres-interval": "^1.1.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/pg-types/node_modules/postgres-array": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/postgres-array/-/postgres-array-2.0.0.tgz", + "integrity": "sha512-VpZrUqU5A69eQyW2c5CA1jtLecCsN2U/bD6VilrFDWq5+5UIEVO7nazS3TEcHf1zuPYO/sqGvUvW62g86RXZuA==", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/pgpass": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/pgpass/-/pgpass-1.0.5.tgz", + "integrity": "sha512-FdW9r/jQZhSeohs1Z3sI1yxFQNFvMcnmfuj4WBMUTxOrAyLMaTcE1aAMBiTlbMNaXvBCQuVi0R7hd8udDSP7ug==", + "license": "MIT", + "dependencies": { + "split2": "^4.1.0" + } + }, "node_modules/picocolors": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz", @@ -5551,13 +7886,13 @@ "license": "ISC" }, "node_modules/picomatch": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.2.tgz", - "integrity": "sha512-V7+vQEJ06Z+c5tSye8S+nHUfI51xoXIXjHQ99cQtKUkQqqO1kO/KCJUfZXuB47h/YBlDhah2H3hdUGXn8ie0oA==", + "version": "4.0.7", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.7.tgz", + "integrity": "sha512-qcJu88Q2IWqJsDD529JKMdwGm/dvInW4HvQnRwiH9JtihJvzGOscDtHE3x1pBKeUOTysQ8kVmLnJ2kJu7yhcGA==", "dev": true, "license": "MIT", "engines": { - "node": ">=8.6" + "node": ">=12" }, "funding": { "url": "https://github.com/sponsors/jonschlinkert" @@ -5586,10 +7921,29 @@ "node": ">=8" } }, + "node_modules/pkg-types": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/pkg-types/-/pkg-types-2.3.3.tgz", + "integrity": "sha512-j/lCFdcppV0JxWpCEITdbDltBxPP6cHT+yNJ6Go2OgoSA9518X847X9z0p6LtA4Nc16+eQzCZjRrWanTGvHJ5w==", + "devOptional": true, + "license": "MIT", + "dependencies": { + "confbox": "^0.3.1", + "exsolve": "^1.1.1", + "pathe": "^2.0.3" + } + }, + "node_modules/pkg-types/node_modules/confbox": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/confbox/-/confbox-0.3.1.tgz", + "integrity": "sha512-cKUSoKa8YxFZZSmraVi7onONx3amu77ngK3kGpsYHDH7drPwCRkQE1RYMPlLRrMtnciRj274XNRxcHxnKmDSnA==", + "devOptional": true, + "license": "MIT" + }, "node_modules/postcss": { - "version": "8.5.28", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.28.tgz", - "integrity": "sha512-RRuzqDtt5Y9h3quz5hWhK+TPnsmVs6WwSU6LkJMeY4HstUEDuYTG8UJSdawMRzmzAtV+KEoG8N3Qg2qLy5vM/A==", + "version": "8.5.29", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.29.tgz", + "integrity": "sha512-49cGhUbXj8Qenv0iTMxA1cFBzxXoctpC9Ujd77t1WcbJIr6nF/eI7g/8MgxrYldFRuAXvja7xQRwavoW7kgrxQ==", "dev": true, "funding": [ { @@ -5607,27 +7961,81 @@ ], "license": "MIT", "dependencies": { - "nanoid": "^3.3.18", + "nanoid": "^3.3.19", "picocolors": "^1.1.1", - "source-map-js": "^1.2.1" + "source-map-js": "^1.2.2" }, "engines": { "node": "^10 || ^12 || >=14" } }, + "node_modules/postgres": { + "version": "3.4.7", + "resolved": "https://registry.npmjs.org/postgres/-/postgres-3.4.7.tgz", + "integrity": "sha512-Jtc2612XINuBjIl/QTWsV5UvE8UHuNblcO3vVADSrKsrc6RqGX6lOW1cEo3CM2v0XG4Nat8nI+YM7/f26VxXLw==", + "devOptional": true, + "license": "Unlicense", + "engines": { + "node": ">=12" + }, + "funding": { + "type": "individual", + "url": "https://github.com/sponsors/porsager" + } + }, + "node_modules/postgres-array": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/postgres-array/-/postgres-array-3.0.4.tgz", + "integrity": "sha512-nAUSGfSDGOaOAEGwqsRY27GPOea7CNipJPOA7lPbdEpx5Kg3qzdP0AaWC5MlhTWV9s4hFX39nomVZ+C4tnGOJQ==", + "license": "MIT", + "engines": { + "node": ">=12" + } + }, + "node_modules/postgres-bytea": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/postgres-bytea/-/postgres-bytea-1.0.1.tgz", + "integrity": "sha512-5+5HqXnsZPE65IJZSMkZtURARZelel2oXUEO8rH83VS/hxH5vv1uHquPg5wZs8yMAfdv971IU+kcPUczi7NVBQ==", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/postgres-date": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/postgres-date/-/postgres-date-1.0.7.tgz", + "integrity": "sha512-suDmjLVQg78nMK2UZ454hAG+OAW+HQPZ6n++TNDUX+L0+uUlLywnoxJKDou51Zm+zTCjrCl0Nq6J9C5hP9vK/Q==", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/postgres-interval": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/postgres-interval/-/postgres-interval-1.2.0.tgz", + "integrity": "sha512-9ZhXKM/rw350N1ovuWHbGxnGh/SNJ4cnxHiM0rxE4VN41wsg8P8zWn9hv/buK00RP4WvlOyr/RBDiptyxVbkZQ==", + "license": "MIT", + "dependencies": { + "xtend": "^4.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/pretty-format": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-29.7.0.tgz", - "integrity": "sha512-Pdlw/oPxN+aXdmM9R00JVC9WVFoCLTKJvDVLgmJ+qAffBMxsV85l/Lu7sNx4zSzPyoL2euImuEwHhOXdEgNFZQ==", + "version": "30.5.1", + "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-30.5.1.tgz", + "integrity": "sha512-byhRAPguVKMQIj4kjJwJ5lAskVhfuiSdiYl/aLTWpgkGEmic2jYhJh1yE9ih8Ox44Xg9ccCT11/S6QrzSJuNrg==", "dev": true, "license": "MIT", "dependencies": { - "@jest/schemas": "^29.6.3", - "ansi-styles": "^5.0.0", - "react-is": "^18.0.0" + "@jest/react-is-18": "npm:react-is@^18.3.1", + "@jest/react-is-19": "npm:react-is@^19.2.5", + "@jest/schemas": "30.5.0", + "ansi-styles": "^5.2.0" }, "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" } }, "node_modules/pretty-format/node_modules/ansi-styles": { @@ -5644,37 +8052,49 @@ } }, "node_modules/prisma": { - "version": "5.22.0", - "resolved": "https://registry.npmjs.org/prisma/-/prisma-5.22.0.tgz", - "integrity": "sha512-vtpjW3XuYCSnMsNVBjLMNkTj6OZbudcPPTPYHqX0CJfpcdWciI1dM8uHETwmDxxiqEwCIE6WvXucWUetJgfu/A==", + "version": "7.10.0", + "resolved": "https://registry.npmjs.org/prisma/-/prisma-7.10.0.tgz", + "integrity": "sha512-o0ornyJOWgygVAzGCpr8PdXV8EJLHyVGDDUr/voBQt8Azzw8cYTByzzPGcA/m4tCkPcnJA8raEOv2CslsKhPEw==", "devOptional": true, "hasInstallScript": true, "license": "Apache-2.0", "dependencies": { - "@prisma/engines": "5.22.0" + "@prisma/config": "7.10.0", + "@prisma/dev": "0.24.17", + "@prisma/engines": "7.10.0", + "@prisma/studio-core": "0.33.0", + "mysql2": "3.15.3", + "postgres": "3.4.7" }, "bin": { "prisma": "build/index.js" }, "engines": { - "node": ">=16.13" + "node": "^20.19 || ^22.12 || >=24.0" }, - "optionalDependencies": { - "fsevents": "2.3.3" + "peerDependencies": { + "better-sqlite3": ">=9.0.0", + "typescript": ">=5.4.0" + }, + "peerDependenciesMeta": { + "better-sqlite3": { + "optional": true + }, + "typescript": { + "optional": true + } } }, - "node_modules/prompts": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/prompts/-/prompts-2.4.2.tgz", - "integrity": "sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q==", - "dev": true, + "node_modules/proper-lockfile": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/proper-lockfile/-/proper-lockfile-4.1.2.tgz", + "integrity": "sha512-TjNPblN4BwAWMXU8s9AEz4JmQxnD1NNL7bNOY/AKUzyamc379FWASUhc/K1pL2noVb+XmZKLL68cjzLsiOAMaA==", + "devOptional": true, "license": "MIT", "dependencies": { - "kleur": "^3.0.3", - "sisteransi": "^1.0.5" - }, - "engines": { - "node": ">= 6" + "graceful-fs": "^4.2.4", + "retry": "^0.12.0", + "signal-exit": "^3.0.2" } }, "node_modules/proxy-addr": { @@ -5704,9 +8124,9 @@ } }, "node_modules/pure-rand": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/pure-rand/-/pure-rand-6.1.0.tgz", - "integrity": "sha512-bVWawvoZoBYpp6yIoQtQXHZjmz35RSVHnUOTefl8Vcjr8snTPY1wnpSPMWekcFwbxI6gtmT7rSYPFvz71ldiOA==", + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/pure-rand/-/pure-rand-7.0.1.tgz", + "integrity": "sha512-oTUZM/NAZS8p7ANR3SHh30kXB+zK2r2BPcEn/awJIbOvq82WoMN4p62AWWp3Hhw50G0xMsw1mhIBLqHw64EcNQ==", "dev": true, "funding": [ { @@ -5737,27 +8157,42 @@ } }, "node_modules/range-parser": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz", - "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==", + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.3.0.tgz", + "integrity": "sha512-hek2mFQpPuI4E1BBKrSto+BU3e3x4xuarsbiwr3+lf7p44juvFMV0XFWQAP3xUyqXA4RrXLIoaSUGbSt056ZMw==", "license": "MIT", "engines": { "node": ">= 0.6" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" } }, "node_modules/raw-body": { - "version": "2.5.3", - "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.5.3.tgz", - "integrity": "sha512-s4VSOf6yN0rvbRZGxs8Om5CWj6seneMwK3oDb4lWDH0UPhWcxwOWw5+qk24bxq87szX1ydrwylIOp2uG1ojUpA==", + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-3.0.2.tgz", + "integrity": "sha512-K5zQjDllxWkf7Z5xJdV0/B0WTNqx6vxG70zJE4N0kBs4LovmEYWJzQGxC9bS9RAKu3bgM40lrd5zoLJ12MQ5BA==", "license": "MIT", "dependencies": { "bytes": "~3.1.2", "http-errors": "~2.0.1", - "iconv-lite": "~0.4.24", + "iconv-lite": "~0.7.0", "unpipe": "~1.0.0" }, "engines": { - "node": ">= 0.8" + "node": ">= 0.10" + } + }, + "node_modules/rc9": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/rc9/-/rc9-3.1.0.tgz", + "integrity": "sha512-ufjkNVzbRHKcCOmTahZkmVsyc3W+MSk3jY03m+a7tGHkIsdVMG9l10/3HvFbWkkKzY5VFp3pkRsIo/UYgmFL7Q==", + "devOptional": true, + "license": "MIT", + "dependencies": { + "defu": "^6.1.7", + "destr": "^2.0.5" } }, "node_modules/react": { @@ -5781,13 +8216,6 @@ "react": "^19.3.0" } }, - "node_modules/react-is": { - "version": "18.3.1", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-18.3.1.tgz", - "integrity": "sha512-/LLMVyas0ljjAtoYiPqYiL8VWXzUUdThrmU5+n20DZv+a+ClRoevUzw5JxU+Ieh5/c87ytoTBV9G1FiKfNJdmg==", - "dev": true, - "license": "MIT" - }, "node_modules/react-router": { "version": "7.18.4", "resolved": "https://registry.npmjs.org/react-router/-/react-router-7.18.4.tgz", @@ -5839,18 +8267,28 @@ "url": "https://opencollective.com/express" } }, - "node_modules/readable-stream": { - "version": "3.6.2", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz", - "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==", + "node_modules/readdirp": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-5.1.1.tgz", + "integrity": "sha512-Kko+Y5XQ6fM+Ce3dq3m9YGxnacYZYl9cA1wZjaF3Vbry2L3i1qVg8+CAgNPsXRArPMUMCaOR7oa9Nqntc43JKA==", + "devOptional": true, "license": "MIT", - "dependencies": { - "inherits": "^2.0.3", - "string_decoder": "^1.1.1", - "util-deprecate": "^1.0.1" - }, "engines": { - "node": ">= 6" + "node": ">= 20.19.0" + }, + "funding": { + "type": "individual", + "url": "https://paulmillr.com/funding/" + } + }, + "node_modules/remeda": { + "version": "2.33.4", + "resolved": "https://registry.npmjs.org/remeda/-/remeda-2.33.4.tgz", + "integrity": "sha512-ygHswjlc/opg2VrtiYvUOPLjxjtdKvjGz1/plDhkG66hjNjFr1xmfrs2ClNFo/E6TyUFiwYNh53bKV26oBoMGQ==", + "devOptional": true, + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/remeda" } }, "node_modules/require-directory": { @@ -5863,26 +8301,14 @@ "node": ">=0.10.0" } }, - "node_modules/resolve": { - "version": "1.22.12", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.12.tgz", - "integrity": "sha512-TyeJ1zif53BPfHootBGwPRYT1RUt6oGWsaQr8UyZW/eAm9bKoijtvruSDEmZHm92CwS9nj7/fWttqPCgzep8CA==", - "dev": true, + "node_modules/require-from-string": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz", + "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==", + "devOptional": true, "license": "MIT", - "dependencies": { - "es-errors": "^1.3.0", - "is-core-module": "^2.16.1", - "path-parse": "^1.0.7", - "supports-preserve-symlinks-flag": "^1.0.0" - }, - "bin": { - "resolve": "bin/resolve" - }, "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" + "node": ">=0.10.0" } }, "node_modules/resolve-cwd": { @@ -5908,40 +8334,41 @@ "node": ">=8" } }, - "node_modules/resolve.exports": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/resolve.exports/-/resolve.exports-2.0.3.tgz", - "integrity": "sha512-OcXjMsGdhL4XnbShKpAcSqPMzQoYkYyhbEaeSko47MjRP9NfEQMhZkXL1DoFlt9LWQn4YttrdnV6X2OiyzBi+A==", - "dev": true, + "node_modules/ret": { + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/ret/-/ret-0.5.0.tgz", + "integrity": "sha512-I1XxrZSQ+oErkRR4jYbAyEEu2I0avBvvMM5JN+6EBprOGRCs63ENqZ3vjavq8fBw2+62G5LF5XelKwuJpcvcxw==", + "devOptional": true, "license": "MIT", "engines": { "node": ">=10" } }, - "node_modules/rimraf": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", - "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", - "deprecated": "Rimraf versions prior to v4 are no longer supported", - "license": "ISC", - "dependencies": { - "glob": "^7.1.3" - }, - "bin": { - "rimraf": "bin.js" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" + "node_modules/retry": { + "version": "0.12.0", + "resolved": "https://registry.npmjs.org/retry/-/retry-0.12.0.tgz", + "integrity": "sha512-9LkiTwjUh6rT555DtE9rTX+BKByPfrMzEAtnlEtdEwr3Nkffwiihqe2bWADg+OQRjt9gl6ICdmB/ZFDCGAtSow==", + "devOptional": true, + "license": "MIT", + "engines": { + "node": ">= 4" } }, + "node_modules/robust-predicates": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/robust-predicates/-/robust-predicates-3.0.3.tgz", + "integrity": "sha512-NS3levdsRIUOmiJ8FZWCP7LG3QpJyrs/TE0Zpf1yvZu8cAJJ6QMW92H1c7kWpdIHo8RvmLxN/o2JXTKHp74lUA==", + "devOptional": true, + "license": "Unlicense" + }, "node_modules/rolldown": { - "version": "1.2.9", - "resolved": "https://registry.npmjs.org/rolldown/-/rolldown-1.2.9.tgz", - "integrity": "sha512-hx/Pv0N1haXRb11qkfnK5MXB/iqr7i0yjWQqmO9uHqZpBgQSqzc8UsSnEpalsh+j1I8qQ2CkXAkJC8Br3dKSlg==", + "version": "1.2.13", + "resolved": "https://registry.npmjs.org/rolldown/-/rolldown-1.2.13.tgz", + "integrity": "sha512-/5apOkwWxtACcQtZ5WlrAsKS4JwXVThQPJZ3RqIruRY9UG9M8e0VlXN068xum/JRKA4aIUoJ13ghe/kGCvidiQ==", "dev": true, "license": "MIT", "dependencies": { - "@oxc-project/types": "=0.150.0", + "@oxc-project/types": "=0.153.0", "@rolldown/pluginutils": "^1.0.0" }, "bin": { @@ -5951,21 +8378,37 @@ "node": "^20.19.0 || >=22.12.0" }, "optionalDependencies": { - "@rolldown/binding-android-arm-eabi": "1.2.9", - "@rolldown/binding-android-arm64": "1.2.9", - "@rolldown/binding-darwin-arm64": "1.2.9", - "@rolldown/binding-darwin-x64": "1.2.9", - "@rolldown/binding-freebsd-x64": "1.2.9", - "@rolldown/binding-linux-arm-gnueabihf": "1.2.9", - "@rolldown/binding-linux-arm64-gnu": "1.2.9", - "@rolldown/binding-linux-arm64-musl": "1.2.9", - "@rolldown/binding-linux-ppc64-gnu": "1.2.9", - "@rolldown/binding-linux-s390x-gnu": "1.2.9", - "@rolldown/binding-linux-x64-gnu": "1.2.9", - "@rolldown/binding-linux-x64-musl": "1.2.9", - "@rolldown/binding-openharmony-arm64": "1.2.9", - "@rolldown/binding-win32-arm64-msvc": "1.2.9", - "@rolldown/binding-win32-x64-msvc": "1.2.9" + "@rolldown/binding-android-arm-eabi": "1.2.13", + "@rolldown/binding-android-arm64": "1.2.13", + "@rolldown/binding-darwin-arm64": "1.2.13", + "@rolldown/binding-darwin-x64": "1.2.13", + "@rolldown/binding-freebsd-x64": "1.2.13", + "@rolldown/binding-linux-arm-gnueabihf": "1.2.13", + "@rolldown/binding-linux-arm64-gnu": "1.2.13", + "@rolldown/binding-linux-arm64-musl": "1.2.13", + "@rolldown/binding-linux-ppc64-gnu": "1.2.13", + "@rolldown/binding-linux-s390x-gnu": "1.2.13", + "@rolldown/binding-linux-x64-gnu": "1.2.13", + "@rolldown/binding-linux-x64-musl": "1.2.13", + "@rolldown/binding-openharmony-arm64": "1.2.13", + "@rolldown/binding-win32-arm64-msvc": "1.2.13", + "@rolldown/binding-win32-x64-msvc": "1.2.13" + } + }, + "node_modules/router": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/router/-/router-2.2.0.tgz", + "integrity": "sha512-nLTrUKm2UyiL7rlhapu/Zl45FwNgkZGaCpZbIHajDYgwlJCOzLSk+cIPAnsEqV955GjILJnKbdQC1nVPz+gAYQ==", + "license": "MIT", + "dependencies": { + "debug": "^4.4.0", + "depd": "^2.0.0", + "is-promise": "^4.0.0", + "parseurl": "^1.3.3", + "path-to-regexp": "^8.0.0" + }, + "engines": { + "node": ">= 18" } }, "node_modules/safe-buffer": { @@ -5988,6 +8431,29 @@ ], "license": "MIT" }, + "node_modules/safe-regex2": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/safe-regex2/-/safe-regex2-5.1.1.tgz", + "integrity": "sha512-mOSBvHGDZMuIEZMdOz/aCEYDCv0E7nfcNsIhUF+/P+xC7Hyf3FkvymqgPbg9D1EdSGu+uKbJgy09K/RKKc7kJA==", + "devOptional": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/fastify" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/fastify" + } + ], + "license": "MIT", + "dependencies": { + "ret": "~0.5.0" + }, + "bin": { + "safe-regex2": "bin/safe-regex2.js" + } + }, "node_modules/safer-buffer": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", @@ -6013,56 +8479,75 @@ } }, "node_modules/send": { - "version": "0.19.2", - "resolved": "https://registry.npmjs.org/send/-/send-0.19.2.tgz", - "integrity": "sha512-VMbMxbDeehAxpOtWJXlcUS5E8iXh6QmN+BkRX1GARS3wRaXEEgzCcB10gTQazO42tpNIya8xIyNx8fll1OFPrg==", + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/send/-/send-1.2.1.tgz", + "integrity": "sha512-1gnZf7DFcoIcajTjTwjwuDjzuz4PPcY2StKPlsGAQ1+YH20IRVrBaXSWmdjowTJ6u8Rc01PoYOGHXfP1mYcZNQ==", "license": "MIT", "dependencies": { - "debug": "2.6.9", - "depd": "2.0.0", - "destroy": "1.2.0", - "encodeurl": "~2.0.0", - "escape-html": "~1.0.3", - "etag": "~1.8.1", - "fresh": "~0.5.2", - "http-errors": "~2.0.1", - "mime": "1.6.0", - "ms": "2.1.3", - "on-finished": "~2.4.1", - "range-parser": "~1.2.1", - "statuses": "~2.0.2" + "debug": "^4.4.3", + "encodeurl": "^2.0.0", + "escape-html": "^1.0.3", + "etag": "^1.8.1", + "fresh": "^2.0.0", + "http-errors": "^2.0.1", + "mime-types": "^3.0.2", + "ms": "^2.1.3", + "on-finished": "^2.4.1", + "range-parser": "^1.2.1", + "statuses": "^2.0.2" }, "engines": { - "node": ">= 0.8.0" + "node": ">= 18" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" } }, - "node_modules/send/node_modules/ms": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", - "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", - "license": "MIT" + "node_modules/send/node_modules/mime-db": { + "version": "1.54.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.54.0.tgz", + "integrity": "sha512-aU5EJuIN2WDemCcAp2vFBfp/m4EAhWJnUNSSw0ixs7/kXbd6Pg64EmwJkNdFhB8aWt1sH2CTXrLxo/iAGV3oPQ==", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/send/node_modules/mime-types": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-3.0.2.tgz", + "integrity": "sha512-Lbgzdk0h4juoQ9fCKXW4by0UJqj+nOOrI9MJ1sSj4nI8aI2eo1qmvQEie4VD1glsS250n15LsWsYtCugiStS5A==", + "license": "MIT", + "dependencies": { + "mime-db": "^1.54.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } }, "node_modules/serve-static": { - "version": "1.16.3", - "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.16.3.tgz", - "integrity": "sha512-x0RTqQel6g5SY7Lg6ZreMmsOzncHFU7nhnRWkKgWuMTu5NN0DR5oruckMqRvacAN9d5w6ARnRBXl9xhDCgfMeA==", + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-2.2.1.tgz", + "integrity": "sha512-xRXBn0pPqQTVQiC8wyQrKs2MOlX24zQ0POGaj0kultvoOCstBQM5yvOhAVSUwOMjQtTvsPWoNCHfPGwaaQJhTw==", "license": "MIT", "dependencies": { - "encodeurl": "~2.0.0", - "escape-html": "~1.0.3", - "parseurl": "~1.3.3", - "send": "~0.19.1" + "encodeurl": "^2.0.0", + "escape-html": "^1.0.3", + "parseurl": "^1.3.3", + "send": "^1.2.0" }, "engines": { - "node": ">= 0.8.0" + "node": ">= 18" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" } }, - "node_modules/set-blocking": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz", - "integrity": "sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw==", - "license": "ISC" - }, "node_modules/set-cookie-parser": { "version": "2.7.2", "resolved": "https://registry.npmjs.org/set-cookie-parser/-/set-cookie-parser-2.7.2.tgz", @@ -6079,7 +8564,7 @@ "version": "2.0.0", "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", - "dev": true, + "devOptional": true, "license": "MIT", "dependencies": { "shebang-regex": "^3.0.0" @@ -6092,7 +8577,7 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", - "dev": true, + "devOptional": true, "license": "MIT", "engines": { "node": ">=8" @@ -6174,15 +8659,9 @@ "version": "3.0.7", "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz", "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==", + "devOptional": true, "license": "ISC" }, - "node_modules/sisteransi": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/sisteransi/-/sisteransi-1.0.5.tgz", - "integrity": "sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==", - "dev": true, - "license": "MIT" - }, "node_modules/slash": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", @@ -6194,13 +8673,12 @@ } }, "node_modules/socket.io": { - "version": "4.8.3", - "resolved": "https://registry.npmjs.org/socket.io/-/socket.io-4.8.3.tgz", - "integrity": "sha512-2Dd78bqzzjE6KPkD5fHZmDAKRNe3J15q+YHDrIsy9WEkqttc7GY+kT9OBLSMaPbQaEd0x1BjcmtMtXkfpc+T5A==", + "version": "4.8.4", + "resolved": "https://registry.npmjs.org/socket.io/-/socket.io-4.8.4.tgz", + "integrity": "sha512-9ZV9zg8vN8hO3Y25DhR7nUkJ1VDnBhq5O/JrXhFT9s6+F0gqytSASTHVfCFc2mJXaTfARroErplXlzFWwETZqQ==", "license": "MIT", "dependencies": { "accepts": "~1.3.4", - "base64id": "~2.0.0", "cors": "~2.8.5", "debug": "~4.4.1", "engine.io": "~6.6.0", @@ -6221,33 +8699,10 @@ "ws": "~8.21.0" } }, - "node_modules/socket.io-adapter/node_modules/debug": { - "version": "4.4.3", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.3.tgz", - "integrity": "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==", - "license": "MIT", - "dependencies": { - "ms": "^2.1.3" - }, - "engines": { - "node": ">=6.0" - }, - "peerDependenciesMeta": { - "supports-color": { - "optional": true - } - } - }, - "node_modules/socket.io-adapter/node_modules/ms": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", - "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", - "license": "MIT" - }, "node_modules/socket.io-client": { - "version": "4.8.3", - "resolved": "https://registry.npmjs.org/socket.io-client/-/socket.io-client-4.8.3.tgz", - "integrity": "sha512-uP0bpjWrjQmUt5DTHq9RuoCBdFJF10cdX9X+a368j/Ft0wmaVgxlrjvK3kjvgCODOMMOz9lcaRzxmso0bTWZ/g==", + "version": "4.8.4", + "resolved": "https://registry.npmjs.org/socket.io-client/-/socket.io-client-4.8.4.tgz", + "integrity": "sha512-7wjKAvVXYOJsbmUgkWbnhPD4bFpkqrUR0++XOjpGFmqDqsqV1CI93VTraeExLxpjxEqrWgFoSRZu1ihjLWfkAA==", "license": "MIT", "dependencies": { "@socket.io/component-emitter": "~3.1.0", @@ -6259,29 +8714,6 @@ "node": ">=10.0.0" } }, - "node_modules/socket.io-client/node_modules/debug": { - "version": "4.4.3", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.3.tgz", - "integrity": "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==", - "license": "MIT", - "dependencies": { - "ms": "^2.1.3" - }, - "engines": { - "node": ">=6.0" - }, - "peerDependenciesMeta": { - "supports-color": { - "optional": true - } - } - }, - "node_modules/socket.io-client/node_modules/ms": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", - "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", - "license": "MIT" - }, "node_modules/socket.io-parser": { "version": "4.2.7", "resolved": "https://registry.npmjs.org/socket.io-parser/-/socket.io-parser-4.2.7.tgz", @@ -6295,89 +8727,40 @@ "node": ">=10.0.0" } }, - "node_modules/socket.io-parser/node_modules/debug": { - "version": "4.4.3", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.3.tgz", - "integrity": "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==", - "license": "MIT", - "dependencies": { - "ms": "^2.1.3" - }, - "engines": { - "node": ">=6.0" - }, - "peerDependenciesMeta": { - "supports-color": { - "optional": true - } - } - }, - "node_modules/socket.io-parser/node_modules/ms": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", - "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", - "license": "MIT" - }, - "node_modules/socket.io/node_modules/debug": { - "version": "4.4.3", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.3.tgz", - "integrity": "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==", - "license": "MIT", - "dependencies": { - "ms": "^2.1.3" - }, - "engines": { - "node": ">=6.0" - }, - "peerDependenciesMeta": { - "supports-color": { - "optional": true - } - } - }, - "node_modules/socket.io/node_modules/ms": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", - "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", - "license": "MIT" - }, - "node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "dev": true, - "license": "BSD-3-Clause", - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/source-map-js": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.1.tgz", - "integrity": "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==", + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.2.tgz", + "integrity": "sha512-KGj/8Y43x35aZVDtt+J4mK1hoLGHULMYfSkODJNQjNDC3oW1PqPoxMwo0pLUsWM/UEGzON/NxeHywEfNXNP3Vw==", "dev": true, "license": "BSD-3-Clause", "engines": { "node": ">=0.10.0" } }, - "node_modules/source-map-support": { - "version": "0.5.13", - "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.13.tgz", - "integrity": "sha512-SHSKFHadjVA5oR4PPqhtAVdcBWwRYVd6g6cAXnIbRiIwc2EhPrTuKUBdSLvlEKyIP3GCf89fltvcZiP9MMFA1w==", - "dev": true, - "license": "MIT", - "dependencies": { - "buffer-from": "^1.0.0", - "source-map": "^0.6.0" + "node_modules/split2": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/split2/-/split2-4.2.0.tgz", + "integrity": "sha512-UcjcJOWknrNkF6PLX83qcHM6KHgVKNkV62Y8a5uYDVv9ydGQVwAHMKqHdJje1VTWpljG0WYpCDhrCdAOYH4TWg==", + "license": "ISC", + "engines": { + "node": ">= 10.x" } }, - "node_modules/sprintf-js": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", - "integrity": "sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==", - "dev": true, - "license": "BSD-3-Clause" + "node_modules/sql-escaper": { + "version": "1.5.2", + "resolved": "https://registry.npmjs.org/sql-escaper/-/sql-escaper-1.5.2.tgz", + "integrity": "sha512-6CKD38c31SENivxOADeMNLdukOnUxUcflKtzVWzace7Riv1v7cAEym5Cx9Q7gYZ3ezIJI7ZpqecQq8cqNeSSFg==", + "devOptional": true, + "license": "MIT", + "engines": { + "bun": ">=1.0.0", + "deno": ">=2.0.0", + "node": ">=12.0.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/mysqljs/sql-escaper?sponsor=1" + } }, "node_modules/stack-utils": { "version": "2.0.6", @@ -6401,14 +8784,12 @@ "node": ">= 0.8" } }, - "node_modules/string_decoder": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", - "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", - "license": "MIT", - "dependencies": { - "safe-buffer": "~5.2.0" - } + "node_modules/std-env": { + "version": "3.10.0", + "resolved": "https://registry.npmjs.org/std-env/-/std-env-3.10.0.tgz", + "integrity": "sha512-5GS12FdOZNliM5mAOxFRg7Ir0pWz8MdpYm6AY6VPkGpbA7ZzmbzNcBJQ0GPvvyWgcY7QAhCgf9Uy89I03faLkg==", + "devOptional": true, + "license": "MIT" }, "node_modules/string-length": { "version": "4.0.2", @@ -6428,6 +8809,23 @@ "version": "4.2.3", "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dev": true, + "license": "MIT", + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/string-width-cjs": { + "name": "string-width", + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dev": true, "license": "MIT", "dependencies": { "emoji-regex": "^8.0.0", @@ -6442,6 +8840,21 @@ "version": "6.0.1", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/strip-ansi-cjs": { + "name": "strip-ansi", + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, "license": "MIT", "dependencies": { "ansi-regex": "^5.0.1" @@ -6484,9 +8897,9 @@ } }, "node_modules/superagent": { - "version": "10.3.0", - "resolved": "https://registry.npmjs.org/superagent/-/superagent-10.3.0.tgz", - "integrity": "sha512-B+4Ik7ROgVKrQsXTV0Jwp2u+PXYLSlqtDAhYnkkD+zn3yg8s/zjA2MeGayPoY/KICrbitwneDHrjSotxKL+0XQ==", + "version": "10.4.1", + "resolved": "https://registry.npmjs.org/superagent/-/superagent-10.4.1.tgz", + "integrity": "sha512-PVMkMrhKrSTtFhUU8jiWuGh/gyRMKiyCTCmm0+qVzRNxlfntmRKJkDhlEXN62x3HIb33sQ4kmL8lcSdccWAchQ==", "dev": true, "license": "MIT", "dependencies": { @@ -6504,24 +8917,6 @@ "node": ">=14.18.0" } }, - "node_modules/superagent/node_modules/debug": { - "version": "4.4.3", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.3.tgz", - "integrity": "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==", - "dev": true, - "license": "MIT", - "dependencies": { - "ms": "^2.1.3" - }, - "engines": { - "node": ">=6.0" - }, - "peerDependenciesMeta": { - "supports-color": { - "optional": true - } - } - }, "node_modules/superagent/node_modules/mime": { "version": "2.6.0", "resolved": "https://registry.npmjs.org/mime/-/mime-2.6.0.tgz", @@ -6535,17 +8930,10 @@ "node": ">=4.0.0" } }, - "node_modules/superagent/node_modules/ms": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", - "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", - "dev": true, - "license": "MIT" - }, "node_modules/supertest": { - "version": "7.3.0", - "resolved": "https://registry.npmjs.org/supertest/-/supertest-7.3.0.tgz", - "integrity": "sha512-UwwmWq3xLhyU96c521wYNaBg7IqX78Wpj4FKs6Katp6vdklX42zU5ESvX3KeZRLFyO44RwFp4yvxYMNZzCcX9g==", + "version": "7.3.1", + "resolved": "https://registry.npmjs.org/supertest/-/supertest-7.3.1.tgz", + "integrity": "sha512-vNaNCFoCR/edDbErQZp5KLNT8R4dSPHX7rlDLoE8hWLAm/878j6ShMbe8HK/E6RwwuhlSXVelXAIg9AxR5WWPw==", "dev": true, "license": "MIT", "dependencies": { @@ -6557,16 +8945,6 @@ "node": ">=14.18.0" } }, - "node_modules/supertest/node_modules/cookie-signature": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.2.2.tgz", - "integrity": "sha512-D76uU73ulSXrD1UXF4KE2TMxVVwhsnCgfAyTg9k8P6KGZjlXKrOLe4dJQKI3Bxi5wjesZoFXJWElNWBjPZMbhg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6.6.0" - } - }, "node_modules/supports-color": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", @@ -6580,56 +8958,163 @@ "node": ">=8" } }, - "node_modules/supports-preserve-symlinks-flag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", - "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==", + "node_modules/synckit": { + "version": "0.11.13", + "resolved": "https://registry.npmjs.org/synckit/-/synckit-0.11.13.tgz", + "integrity": "sha512-eNRKgb3z66Yp3D2CixVujOUvXLFUTij/zVnV8KRyvFdQwpz7I5DS8UfRkTeLzb64u+dkzDSdelE24izu+zSSUg==", "dev": true, "license": "MIT", + "dependencies": { + "@pkgr/core": "^0.3.6" + }, "engines": { - "node": ">= 0.4" + "node": "^14.18.0 || >=16.0.0" }, "funding": { - "url": "https://github.com/sponsors/ljharb" + "url": "https://opencollective.com/synckit" } }, - "node_modules/tar": { - "version": "6.2.1", - "resolved": "https://registry.npmjs.org/tar/-/tar-6.2.1.tgz", - "integrity": "sha512-DZ4yORTwrbTj/7MZYq2w+/ZFdI6OZ/f9SFHR+71gIVUZhOQPHzVCLpvRnPgyaMpfWxxk/4ONva3GQSyNIKRv6A==", - "deprecated": "Old versions of tar are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me", - "license": "ISC", - "dependencies": { - "chownr": "^2.0.0", - "fs-minipass": "^2.0.0", - "minipass": "^5.0.0", - "minizlib": "^2.1.1", - "mkdirp": "^1.0.3", - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/tar/node_modules/yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", - "license": "ISC" - }, "node_modules/test-exclude": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/test-exclude/-/test-exclude-6.0.0.tgz", - "integrity": "sha512-cAGWPIyOHU6zlmg88jwm7VRyXnMN7iV68OGAbYDk/Mh/xC/pzVPlQtY6ngoIH/5/tciuhGfvESU8GrHrcxD56w==", + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/test-exclude/-/test-exclude-7.0.2.tgz", + "integrity": "sha512-u9E6A+ZDYdp7a4WnarkXPZOx8Ilz46+kby6p1yZ8zsGTz9gYa6FIS7lj2oezzNKmtdyyJNNmmXDppga5GB7kSw==", "dev": true, "license": "ISC", "dependencies": { "@istanbuljs/schema": "^0.1.2", - "glob": "^7.1.4", - "minimatch": "^3.0.4" + "glob": "^10.4.1", + "minimatch": "^10.2.2" }, "engines": { - "node": ">=8" + "node": ">=18" + } + }, + "node_modules/test-exclude/node_modules/balanced-match": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-4.0.4.tgz", + "integrity": "sha512-BLrgEcRTwX2o6gGxGOCNyMvGSp35YofuYzw9h1IMTRmKqttAZZVU67bdb9Pr2vUHA8+j3i2tJfjO6C6+4myGTA==", + "dev": true, + "license": "MIT", + "engines": { + "node": "18 || 20 || >=22" + } + }, + "node_modules/test-exclude/node_modules/brace-expansion": { + "version": "5.0.12", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.12.tgz", + "integrity": "sha512-YovQ3rzhaLMIrDjNDMkNS01tea93qhEhG5xy8f6+R0l+dw3Ki+5sCoIoI942iuLZTHWogWktgwVDhU09iNEimQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "balanced-match": "^4.0.2" + }, + "engines": { + "node": "20 || >=22" + } + }, + "node_modules/test-exclude/node_modules/glob": { + "version": "10.5.0", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.5.0.tgz", + "integrity": "sha512-DfXN8DfhJ7NH3Oe7cFmu3NCu1wKbkReJ8TorzSAFbSKrlNaQSKfIzqYqVY8zlbs2NLBbWpRiU52GX2PbaBVNkg==", + "deprecated": "Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me", + "dev": true, + "license": "ISC", + "dependencies": { + "foreground-child": "^3.1.0", + "jackspeak": "^3.1.2", + "minimatch": "^9.0.4", + "minipass": "^7.1.2", + "package-json-from-dist": "^1.0.0", + "path-scurry": "^1.11.1" + }, + "bin": { + "glob": "dist/esm/bin.mjs" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/test-exclude/node_modules/glob/node_modules/balanced-match": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", + "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", + "dev": true, + "license": "MIT" + }, + "node_modules/test-exclude/node_modules/glob/node_modules/brace-expansion": { + "version": "2.1.7", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.1.7.tgz", + "integrity": "sha512-uZbew1NqdmPDTMJ8ah1y+b+9QEJrfkXFk3RcTQw3X0jW/xRUvFKsg1CfQdSYGdTbXZWExtU3J3ccxtnfw1Fi0g==", + "dev": true, + "license": "MIT", + "dependencies": { + "balanced-match": "^1.0.0" + } + }, + "node_modules/test-exclude/node_modules/glob/node_modules/minimatch": { + "version": "9.0.9", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.9.tgz", + "integrity": "sha512-OBwBN9AL4dqmETlpS2zasx+vTeWclWzkblfZk7KTA5j3jeOONz/tRCnZomUyvNg83wL5Zv9Ss6HMJXAgL8R2Yg==", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^2.0.2" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/test-exclude/node_modules/lru-cache": { + "version": "10.4.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.4.3.tgz", + "integrity": "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==", + "dev": true, + "license": "ISC" + }, + "node_modules/test-exclude/node_modules/minimatch": { + "version": "10.2.6", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.2.6.tgz", + "integrity": "sha512-vpLQEs+VLCr1nU0BXS07maYoFwlDAH0gngQuuttxIwutDFEMHq2blX+8vpgxDdK3J1PwjCJiep77OitTZ4Ll1A==", + "dev": true, + "license": "BlueOak-1.0.0", + "dependencies": { + "brace-expansion": "^5.0.8" + }, + "engines": { + "node": "18 || 20 || >=22" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/test-exclude/node_modules/minipass": { + "version": "7.1.3", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.3.tgz", + "integrity": "sha512-tEBHqDnIoM/1rXME1zgka9g6Q2lcoCkxHLuc7ODJ5BxbP5d4c2Z5cGgtXAku59200Cx7diuHTOYfSBD8n6mm8A==", + "dev": true, + "license": "BlueOak-1.0.0", + "engines": { + "node": ">=16 || 14 >=14.17" + } + }, + "node_modules/test-exclude/node_modules/path-scurry": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-1.11.1.tgz", + "integrity": "sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA==", + "dev": true, + "license": "BlueOak-1.0.0", + "dependencies": { + "lru-cache": "^10.2.0", + "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0" + }, + "engines": { + "node": ">=16 || 14 >=14.18" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" } }, "node_modules/tinyglobby": { @@ -6649,57 +9134,6 @@ "url": "https://github.com/sponsors/SuperchupuDev" } }, - "node_modules/tinyglobby/node_modules/fdir": { - "version": "6.5.0", - "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.5.0.tgz", - "integrity": "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=12.0.0" - }, - "peerDependencies": { - "picomatch": "^3 || ^4" - }, - "peerDependenciesMeta": { - "picomatch": { - "optional": true - } - } - }, - "node_modules/tinyglobby/node_modules/picomatch": { - "version": "4.0.7", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.7.tgz", - "integrity": "sha512-qcJu88Q2IWqJsDD529JKMdwGm/dvInW4HvQnRwiH9JtihJvzGOscDtHE3x1pBKeUOTysQ8kVmLnJ2kJu7yhcGA==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/jonschlinkert" - } - }, - "node_modules/tmpl": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/tmpl/-/tmpl-1.0.5.tgz", - "integrity": "sha512-3f0uOEAQwIqGuWW2MVzYg8fV/QNnc/IpuJNG837rLuczAaLVHslWHZQj4IGiEl5Hs3kkbhwL9Ab7Hrsmuj+Smw==", - "dev": true, - "license": "BSD-3-Clause" - }, - "node_modules/to-regex-range": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", - "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "is-number": "^7.0.0" - }, - "engines": { - "node": ">=8.0" - } - }, "node_modules/toidentifier": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz", @@ -6709,11 +9143,13 @@ "node": ">=0.6" } }, - "node_modules/tr46": { - "version": "0.0.3", - "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", - "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==", - "license": "MIT" + "node_modules/tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==", + "dev": true, + "license": "0BSD", + "optional": true }, "node_modules/type-detect": { "version": "4.0.8", @@ -6739,36 +9175,100 @@ } }, "node_modules/type-is": { - "version": "1.6.18", - "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz", - "integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==", + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/type-is/-/type-is-2.1.0.tgz", + "integrity": "sha512-faYHw0anBbc/kWF3zFTEnxSFOAGUX9GFbOBthvDdLsIlEoWOFOtS0zgCiQYwIskL9iGXZL3kAXD8OoZ4GmMATA==", "license": "MIT", "dependencies": { - "media-typer": "0.3.0", - "mime-types": "~2.1.24" + "content-type": "^2.0.0", + "media-typer": "^1.1.0", + "mime-types": "^3.0.0" }, + "engines": { + "node": ">= 18" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/type-is/node_modules/content-type": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/content-type/-/content-type-2.1.0.tgz", + "integrity": "sha512-mj7UPXE0jaqaOsukNZRUEfEi2AcL7C/vwmwcHV0O97eO1E1pxBZuyjlZrx5seTaNBg1U6+o35wpa35Qfcc+7ag==", + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/type-is/node_modules/mime-db": { + "version": "1.54.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.54.0.tgz", + "integrity": "sha512-aU5EJuIN2WDemCcAp2vFBfp/m4EAhWJnUNSSw0ixs7/kXbd6Pg64EmwJkNdFhB8aWt1sH2CTXrLxo/iAGV3oPQ==", + "license": "MIT", "engines": { "node": ">= 0.6" } }, - "node_modules/typescript": { - "version": "6.0.3", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-6.0.3.tgz", - "integrity": "sha512-y2TvuxSZPDyQakkFRPZHKFm+KKVqIisdg9/CZwm9ftvKXLP8NRWj38/ODjNbr43SsoXqNuAisEf1GdCxqWcdBw==", - "dev": true, - "license": "Apache-2.0", - "bin": { - "tsc": "bin/tsc", - "tsserver": "bin/tsserver" + "node_modules/type-is/node_modules/mime-types": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-3.0.2.tgz", + "integrity": "sha512-Lbgzdk0h4juoQ9fCKXW4by0UJqj+nOOrI9MJ1sSj4nI8aI2eo1qmvQEie4VD1glsS250n15LsWsYtCugiStS5A==", + "license": "MIT", + "dependencies": { + "mime-db": "^1.54.0" }, "engines": { - "node": ">=14.17" + "node": ">=18" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/typescript": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-7.0.2.tgz", + "integrity": "sha512-8FYau96o3NKOhbjKi/qNvG/W5jhzxkbdm5sj9AbZ/5T5sWqn3hJgLfGx27sRKZWTvyzCP8dLRBTf5tBTSRVUNA==", + "devOptional": true, + "license": "Apache-2.0", + "bin": { + "tsc": "bin/tsc" + }, + "engines": { + "node": ">=16.20.0" + }, + "optionalDependencies": { + "@typescript/typescript-aix-ppc64": "7.0.2", + "@typescript/typescript-darwin-arm64": "7.0.2", + "@typescript/typescript-darwin-x64": "7.0.2", + "@typescript/typescript-freebsd-arm64": "7.0.2", + "@typescript/typescript-freebsd-x64": "7.0.2", + "@typescript/typescript-linux-arm": "7.0.2", + "@typescript/typescript-linux-arm64": "7.0.2", + "@typescript/typescript-linux-loong64": "7.0.2", + "@typescript/typescript-linux-mips64el": "7.0.2", + "@typescript/typescript-linux-ppc64": "7.0.2", + "@typescript/typescript-linux-riscv64": "7.0.2", + "@typescript/typescript-linux-s390x": "7.0.2", + "@typescript/typescript-linux-x64": "7.0.2", + "@typescript/typescript-netbsd-arm64": "7.0.2", + "@typescript/typescript-netbsd-x64": "7.0.2", + "@typescript/typescript-openbsd-arm64": "7.0.2", + "@typescript/typescript-openbsd-x64": "7.0.2", + "@typescript/typescript-sunos-x64": "7.0.2", + "@typescript/typescript-win32-arm64": "7.0.2", + "@typescript/typescript-win32-x64": "7.0.2" } }, "node_modules/undici-types": { - "version": "8.9.0", - "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-8.9.0.tgz", - "integrity": "sha512-KTDyRTYX8sWmKXAikPHHSyc63CRPETMctyjKFupcC6OBLXT3xsN0e9aF7m+mIXutFWpUXuedtowG7iLOzp0kQg==", + "version": "7.24.6", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.24.6.tgz", + "integrity": "sha512-WRNW+sJgj5OBN4/0JpHFqtqzhpbnV0GuB+OozA9gCL7a993SmU+1JBZCzLNxYsbMfIeDL+lTsphD5jN5N+n0zg==", "license": "MIT" }, "node_modules/unpipe": { @@ -6780,10 +9280,48 @@ "node": ">= 0.8" } }, + "node_modules/unrs-resolver": { + "version": "1.12.2", + "resolved": "https://registry.npmjs.org/unrs-resolver/-/unrs-resolver-1.12.2.tgz", + "integrity": "sha512-dmlRxBJJayXjqTwC+JtF1HhJmgf3ftQ3YejFcZrf4+KKtJv0qDsK1pjqaaVjG7wJ5NJ6UVP1OqRMQ71Z4C3rxQ==", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "dependencies": { + "napi-postinstall": "^0.3.4" + }, + "funding": { + "url": "https://opencollective.com/unrs-resolver" + }, + "optionalDependencies": { + "@unrs/resolver-binding-android-arm-eabi": "1.12.2", + "@unrs/resolver-binding-android-arm64": "1.12.2", + "@unrs/resolver-binding-darwin-arm64": "1.12.2", + "@unrs/resolver-binding-darwin-x64": "1.12.2", + "@unrs/resolver-binding-freebsd-x64": "1.12.2", + "@unrs/resolver-binding-linux-arm-gnueabihf": "1.12.2", + "@unrs/resolver-binding-linux-arm-musleabihf": "1.12.2", + "@unrs/resolver-binding-linux-arm64-gnu": "1.12.2", + "@unrs/resolver-binding-linux-arm64-musl": "1.12.2", + "@unrs/resolver-binding-linux-loong64-gnu": "1.12.2", + "@unrs/resolver-binding-linux-loong64-musl": "1.12.2", + "@unrs/resolver-binding-linux-ppc64-gnu": "1.12.2", + "@unrs/resolver-binding-linux-riscv64-gnu": "1.12.2", + "@unrs/resolver-binding-linux-riscv64-musl": "1.12.2", + "@unrs/resolver-binding-linux-s390x-gnu": "1.12.2", + "@unrs/resolver-binding-linux-x64-gnu": "1.12.2", + "@unrs/resolver-binding-linux-x64-musl": "1.12.2", + "@unrs/resolver-binding-openharmony-arm64": "1.12.2", + "@unrs/resolver-binding-wasm32-wasi": "1.12.2", + "@unrs/resolver-binding-win32-arm64-msvc": "1.12.2", + "@unrs/resolver-binding-win32-ia32-msvc": "1.12.2", + "@unrs/resolver-binding-win32-x64-msvc": "1.12.2" + } + }, "node_modules/update-browserslist-db": { - "version": "1.3.3", - "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.3.3.tgz", - "integrity": "sha512-pJ2sYawQS0R/WI928Gj5GlPhTGzbMelq0+4INtSYNDV9ErKJcX6xjGWkoG/VnB3dpUm00zALaqkrUD77pO5TDQ==", + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.3.4.tgz", + "integrity": "sha512-t8wonIOdQyOjtPd2VktlBu6QjTVTks6v8bSi7kd0r2Vll8TK1JYDZtRRdbmCHOAMphkZgrzK+L+vXK4pyZ8t4A==", "dev": true, "funding": [ { @@ -6811,21 +9349,6 @@ "browserslist": ">= 4.21.0" } }, - "node_modules/util-deprecate": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", - "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==", - "license": "MIT" - }, - "node_modules/utils-merge": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz", - "integrity": "sha512-pMZTvIkT1d+TFGvDOqodOclx0QWkkgi6Tdoa8gC8ffGAAqz9pzPTZWAybbsHHoED/ztMtkv/VoYTYyShUn81hA==", - "license": "MIT", - "engines": { - "node": ">= 0.4.0" - } - }, "node_modules/v8-to-istanbul": { "version": "9.3.0", "resolved": "https://registry.npmjs.org/v8-to-istanbul/-/v8-to-istanbul-9.3.0.tgz", @@ -6841,6 +9364,21 @@ "node": ">=10.12.0" } }, + "node_modules/valibot": { + "version": "1.4.2", + "resolved": "https://registry.npmjs.org/valibot/-/valibot-1.4.2.tgz", + "integrity": "sha512-gjdCvJ6d3RyHAneqxMYMW9QMCwYMb3jpOO0IyHZV1bnRHFBHrX3VkIILt5XYR0WhwHiH7Mty8ovuPZ/O3gamrg==", + "devOptional": true, + "license": "MIT", + "peerDependencies": { + "typescript": ">=5" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, "node_modules/vary": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", @@ -6851,16 +9389,16 @@ } }, "node_modules/vite": { - "version": "8.3.0", - "resolved": "https://registry.npmjs.org/vite/-/vite-8.3.0.tgz", - "integrity": "sha512-lhZBVvEHefgE+HQZC9O7EBJgCU/nVzFNl7vkS4RE0APtWLP02/8QVIkQtzBxPquh7lq5/78NHipTj7ODQ6XuyQ==", + "version": "8.3.4", + "resolved": "https://registry.npmjs.org/vite/-/vite-8.3.4.tgz", + "integrity": "sha512-IftLE8phJhdNRIGNEV4JCCvfNScoZQVfcXaN8TQropWGJtOHcu+iAB9pHcuGvmEb/kddw0LBe/jS8ztdC6xdiQ==", "dev": true, "license": "MIT", "dependencies": { "lightningcss": "^1.33.0", "picomatch": "^4.0.7", - "postcss": "^8.5.28", - "rolldown": "~1.2.6", + "postcss": "^8.5.29", + "rolldown": "~1.2.12", "tinyglobby": "^0.2.17" }, "bin": { @@ -6928,50 +9466,11 @@ } } }, - "node_modules/vite/node_modules/picomatch": { - "version": "4.0.7", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.7.tgz", - "integrity": "sha512-qcJu88Q2IWqJsDD529JKMdwGm/dvInW4HvQnRwiH9JtihJvzGOscDtHE3x1pBKeUOTysQ8kVmLnJ2kJu7yhcGA==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/jonschlinkert" - } - }, - "node_modules/walker": { - "version": "1.0.8", - "resolved": "https://registry.npmjs.org/walker/-/walker-1.0.8.tgz", - "integrity": "sha512-ts/8E8l5b7kY0vlWLewOkDXMmPdLcVV4GmOQLyxuSswIJsweeFZtAsMF7k1Nszz+TYBQrlYRmzOnr398y1JemQ==", - "dev": true, - "license": "Apache-2.0", - "dependencies": { - "makeerror": "1.0.12" - } - }, - "node_modules/webidl-conversions": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", - "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==", - "license": "BSD-2-Clause" - }, - "node_modules/whatwg-url": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", - "integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==", - "license": "MIT", - "dependencies": { - "tr46": "~0.0.3", - "webidl-conversions": "^3.0.0" - } - }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", - "dev": true, + "devOptional": true, "license": "ISC", "dependencies": { "isexe": "^2.0.0" @@ -6983,16 +9482,26 @@ "node": ">= 8" } }, - "node_modules/wide-align": { - "version": "1.1.5", - "resolved": "https://registry.npmjs.org/wide-align/-/wide-align-1.1.5.tgz", - "integrity": "sha512-eDMORYaPNZ4sQIuuYPDHdQvf4gyCF9rEEV/yPxGfwPkRodwEgiMUUXTx/dex+Me0wxx53S+NgUHaP7y3MGlDmg==", - "license": "ISC", + "node_modules/wrap-ansi": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "dev": true, + "license": "MIT", "dependencies": { - "string-width": "^1.0.2 || 2 || 3 || 4" + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" } }, - "node_modules/wrap-ansi": { + "node_modules/wrap-ansi-cjs": { + "name": "wrap-ansi", "version": "7.0.0", "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", @@ -7017,17 +9526,30 @@ "license": "ISC" }, "node_modules/write-file-atomic": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-4.0.2.tgz", - "integrity": "sha512-7KxauUdBmSdWnmpaGFg+ppNjKF8uNLry8LyzjauQDOVONfFLNKrKvQOxZ/VuTIcS/gge/YNahf5RIIQWTSarlg==", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-5.0.1.tgz", + "integrity": "sha512-+QU2zd6OTD8XWIJCbffaiQeH9U73qIqafo1x6V1snCWYGJf6cVE0cDR4D8xRzcEnfI21IFrUPzPGtcPf8AC+Rw==", "dev": true, "license": "ISC", "dependencies": { "imurmurhash": "^0.1.4", - "signal-exit": "^3.0.7" + "signal-exit": "^4.0.1" }, "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/write-file-atomic/node_modules/signal-exit": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", + "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" } }, "node_modules/ws": { @@ -7059,6 +9581,15 @@ "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==", + "license": "MIT", + "engines": { + "node": ">=0.4" + } + }, "node_modules/y18n": { "version": "5.0.8", "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", @@ -7118,10 +9649,21 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/zeptomatch": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/zeptomatch/-/zeptomatch-2.1.0.tgz", + "integrity": "sha512-KiGErG2J0G82LSpniV0CtIzjlJ10E04j02VOudJsPyPwNZgGnRKQy7I1R7GMyg/QswnE4l7ohSGrQbQbjXPPDA==", + "devOptional": true, + "license": "MIT", + "dependencies": { + "grammex": "^3.1.11", + "graphmatch": "^1.1.0" + } + }, "node_modules/zod": { - "version": "3.25.76", - "resolved": "https://registry.npmjs.org/zod/-/zod-3.25.76.tgz", - "integrity": "sha512-gzUt/qt81nXsFGKIFcC3YnfEAx5NkunCfnDlvuBSSFS02bcXu4Lmea0AFIUwbLWxWPx3d9p8S5QoaujKcNQxcQ==", + "version": "4.6.5", + "resolved": "https://registry.npmjs.org/zod/-/zod-4.6.5.tgz", + "integrity": "sha512-v5l/aFXZQeai4awLbOpSoHecE9UiMrnfx75tEXLjNonXVARxQ5mOeipTjROUchszUNCqnE+hqAMujRsRHsut2Q==", "license": "MIT", "funding": { "url": "https://github.com/sponsors/colinhacks" diff --git a/package.json b/package.json index e4a5ad7..e117cf2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "dnd-campaign-manager", - "version": "1.11.1", + "version": "1.12.0", "private": true, "description": "D&D 5e campaign manager — monorepo root", "workspaces": [ @@ -11,6 +11,21 @@ "dev:backend": "npm run dev --workspace backend", "dev:frontend": "npm run dev --workspace frontend", "test:backend": "npm run test --workspace backend", - "seed:hollowcrown": "npm run seed:hollowcrown --workspace backend" + "seeds:check": "npm run seeds:check --workspace backend" + }, + "allowScripts": { + "prisma": true, + "@prisma/client": true, + "@prisma/engines": true, + "bcrypt": true, + "@parcel/watcher": false, + "unrs-resolver": false + }, + "overrides": { + "mysql2": "^3.24.5", + "deepmerge-ts": "^8.0.2", + "@istanbuljs/load-nyc-config": { + "js-yaml": "^4.1.0" + } } }