Skip to content

OpenPanel is an open-source web and product analytics platform, an open-source alternative to Mixpanel with optional self-hosting.

feat: graceful shutdown (#205)

Carl-Gerhard Lindesvärdca4a880acd87
diff --git a/apps/api/src/controllers/healthcheck.controller.ts b/apps/api/src/controllers/healthcheck.controller.ts
index 4544fda47..30340bfba 100644
--- a/apps/api/src/controllers/healthcheck.controller.ts
+++ b/apps/api/src/controllers/healthcheck.controller.ts
@@ -1,83 +1,60 @@
-import { round } from '@openpanel/common';
-import { TABLE_NAMES, chQuery, db } from '@openpanel/db';
-import { eventsQueue } from '@openpanel/queue';
+import { isShuttingDown } from '@/utils/graceful-shutdown';
+import { chQuery, db } from '@openpanel/db';
import { getRedisCache } from '@openpanel/redis';
import type { FastifyReply, FastifyRequest } from 'fastify';
-async function withTimings<T>(promise: Promise<T>) {
- const time = performance.now();
- try {
- const data = await promise;
- return {
- time: round(performance.now() - time, 2),
- data,
- } as const;
- } catch (e) {
- return null;
- }
-}
-
+// For docker compose healthcheck
export async function healthcheck(
request: FastifyRequest,
reply: FastifyReply,
) {
- if (process.env.DISABLE_HEALTHCHECK) {
- return reply.status(200).send({
- ok: true,
+ try {
+ const redisRes = await getRedisCache().ping();
+ const dbRes = await db.project.findFirst();
+ const chRes = await chQuery('SELECT 1');
+ const status = redisRes && dbRes && chRes ? 200 : 503;
+
+ reply.status(status).send({
+ ready: status === 200,
+ redis: redisRes === 'PONG',
+ db: !!dbRes,
+ ch: chRes && chRes.length > 0,
+ });
+ } catch (error) {
+ return reply.status(503).send({
+ ready: false,
+ reason: 'dependencies not ready',
});
}
- const redisRes = await withTimings(getRedisCache().ping());
- const dbRes = await withTimings(db.project.findFirst());
- const queueRes = await withTimings(eventsQueue.getCompleted());
- const chRes = await withTimings(
- chQuery(
- `SELECT * FROM ${TABLE_NAMES.events} WHERE created_at > now() - INTERVAL 10 MINUTE LIMIT 1`,
- ),
- );
- const status = redisRes && dbRes && queueRes && chRes ? 200 : 500;
+}
- reply.status(status).send({
- redis: redisRes
- ? {
- ok: redisRes.data === 'PONG',
- time: `${redisRes.time}ms`,
- }
- : null,
- db: dbRes
- ? {
- ok: !!dbRes.data,
- time: `${dbRes.time}ms`,
- }
- : null,
- queue: queueRes
- ? {
- ok: !!queueRes.data,
- time: `${queueRes.time}ms`,
- }
- : null,
- ch: chRes
- ? {
- ok: !!chRes.data,
- time: `${chRes.time}ms`,
- }
- : null,
- });
+// Kubernetes - Liveness probe - returns 200 if process is alive
+export async function liveness(request: FastifyRequest, reply: FastifyReply) {
+ return reply.status(200).send({ live: true });
}
-export async function healthcheckQueue(
- request: FastifyRequest,
- reply: FastifyReply,
-) {
- const count = await eventsQueue.getWaitingCount();
- if (count > 40) {
- reply.status(500).send({
- ok: false,
- count,
- });
- } else {
- reply.status(200).send({
- ok: true,
- count,
+// Kubernetes - Readiness probe - returns 200 only when accepting requests, 503 during shutdown
+export async function readiness(request: FastifyRequest, reply: FastifyReply) {
+ if (isShuttingDown()) {
+ return reply.status(503).send({ ready: false, reason: 'shutting down' });
+ }
+
+ // Perform lightweight dependency checks for readiness
+ const redisRes = await getRedisCache().ping();
+ const dbRes = await db.project.findFirst();
+ const chRes = await chQuery('SELECT 1');
+
+ const isReady = redisRes && dbRes && chRes;
+
+ if (!isReady) {
+ return reply.status(503).send({
+ ready: false,
+ reason: 'dependencies not ready',
+ redis: redisRes === 'PONG',
+ db: !!dbRes,
+ ch: chRes && chRes.length > 0,
});
}
+
+ return reply.status(200).send({ ready: true });
}
diff --git a/apps/api/src/hooks/request-logging.hook.ts b/apps/api/src/hooks/request-logging.hook.ts
index b381673d6..5f3a81501 100644
--- a/apps/api/src/hooks/request-logging.hook.ts
+++ b/apps/api/src/hooks/request-logging.hook.ts
@@ -1,7 +1,7 @@
import type { FastifyReply, FastifyRequest } from 'fastify';
import { path, pick } from 'ramda';
-const ignoreLog = ['/healthcheck', '/metrics', '/misc'];
+const ignoreLog = ['/healthcheck', '/healthz', '/metrics', '/misc'];
const ignoreMethods = ['OPTIONS'];
const getTrpcInput = (
diff --git a/apps/api/src/index.ts b/apps/api/src/index.ts
index 5226a8a6e..f6f429b5f 100644
--- a/apps/api/src/index.ts
+++ b/apps/api/src/index.ts
@@ -21,7 +21,8 @@ import {
import sourceMapSupport from 'source-map-support';
import {
healthcheck,
- healthcheckQueue,
+ liveness,
+ readiness,
} from './controllers/healthcheck.controller';
import { fixHook } from './hooks/fix.hook';
import { ipHook } from './hooks/ip.hook';
@@ -40,6 +41,7 @@ import profileRouter from './routes/profile.router';
import trackRouter from './routes/track.router';
import webhookRouter from './routes/webhook.router';
import { HttpError } from './utils/errors';
+import { shutdown } from './utils/graceful-shutdown';
import { logger } from './utils/logger';
sourceMapSupport.install();
@@ -172,8 +174,11 @@ const startServer = async () => {
instance.register(importRouter, { prefix: '/import' });
instance.register(insightsRouter, { prefix: '/insights' });
instance.register(trackRouter, { prefix: '/track' });
+ // Keep existing endpoints for backward compatibility
instance.get('/healthcheck', healthcheck);
- instance.get('/healthcheck/queue', healthcheckQueue);
+ // New Kubernetes-style health endpoints
+ instance.get('/healthz/live', liveness);
+ instance.get('/healthz/ready', readiness);
instance.get('/', (_request, reply) =>
reply.send({ name: 'openpanel sdk api' }),
);
@@ -211,14 +216,17 @@ const startServer = async () => {
});
if (process.env.NODE_ENV === 'production') {
- for (const signal of ['SIGINT', 'SIGTERM']) {
- process.on(signal, (error) => {
- logger.error(`uncaught exception detected ${signal}`, error);
- fastify.close().then((error) => {
- process.exit(error ? 1 : 0);
- });
- });
- }
+ logger.info('Registering graceful shutdown handlers');
+ process.on('SIGTERM', async () => await shutdown(fastify, 'SIGTERM', 0));
+ process.on('SIGINT', async () => await shutdown(fastify, 'SIGINT', 0));
+ process.on('uncaughtException', async (error) => {
+ logger.error('Uncaught exception', error);
+ await shutdown(fastify, 'uncaughtException', 1);
+ });
+ process.on('unhandledRejection', async (reason, promise) => {
+ logger.error('Unhandled rejection', { reason, promise });
+ await shutdown(fastify, 'unhandledRejection', 1);
+ });
}
await fastify.listen({
diff --git a/apps/api/src/utils/graceful-shutdown.ts b/apps/api/src/utils/graceful-shutdown.ts
new file mode 100644
index 000000000..767b27d73
--- /dev/null
+++ b/apps/api/src/utils/graceful-shutdown.ts
@@ -0,0 +1,108 @@
+import { ch, db } from '@openpanel/db';
+import {
+ cronQueue,
+ eventsQueue,
+ miscQueue,
+ notificationQueue,
+ sessionsQueue,
+} from '@openpanel/queue';
+import {
+ getRedisCache,
+ getRedisPub,
+ getRedisQueue,
+ getRedisSub,
+} from '@openpanel/redis';
+import type { FastifyInstance } from 'fastify';
+import { logger } from './logger';
+
+let shuttingDown = false;
+
+export function setShuttingDown(value: boolean) {
+ shuttingDown = value;
+}
+
+export function isShuttingDown() {
+ return shuttingDown;
+}
+
+// Graceful shutdown handler
+export async function shutdown(
+ fastify: FastifyInstance,
+ signal: string,
+ exitCode = 0,
+) {
+ if (isShuttingDown()) {
+ logger.warn('Shutdown already in progress, ignoring signal', { signal });
+ return;
+ }
+
+ logger.info('Starting graceful shutdown', { signal });
+
+ setShuttingDown(true);
+
+ // Step 2: Wait for load balancer to stop sending traffic (matches preStop sleep)
+ const gracePeriod = Number(process.env.SHUTDOWN_GRACE_PERIOD_MS || '5000');
+ await new Promise((resolve) => setTimeout(resolve, gracePeriod));
+
+ // Step 3: Close Fastify to drain in-flight requests
+ try {
+ await fastify.close();
+ logger.info('Fastify server closed');
+ } catch (error) {
+ logger.error('Error closing Fastify server', error);
+ }
+
+ // Step 4: Close database connections
+ try {
+ await db.$disconnect();
+ logger.info('Database connection closed');
+ } catch (error) {
+ logger.error('Error closing database connection', error);
+ }
+
+ // Step 5: Close ClickHouse connections
+ try {
+ await ch.close();
+ logger.info('ClickHouse connections closed');
+ } catch (error) {
+ logger.error('Error closing ClickHouse connections', error);
+ }
+
+ // Step 6: Close Bull queues (graceful shutdown of queue state)
+ try {
+ await Promise.all([
+ eventsQueue.close(),
+ sessionsQueue.close(),
+ cronQueue.close(),
+ miscQueue.close(),
+ notificationQueue.close(),
+ ]);
+ logger.info('Queue state closed');
+ } catch (error) {
+ logger.error('Error closing queue state', error);
+ }
+
+ // Step 7: Close Redis connections
+ try {
+ const redisConnections = [
+ getRedisCache(),
+ getRedisPub(),
+ getRedisSub(),
+ getRedisQueue(),
+ ];
+
+ await Promise.all(
+ redisConnections.map(async (redis) => {
+ if (redis.status === 'ready') {
+ await redis.quit();
+ }
+ }),
+ );
+ logger.info('Redis connections closed');
+ } catch (error) {
+ logger.error('Error closing Redis connections', error);
+ }
+
+ logger.info('Graceful shutdown completed');
+ process.exit(exitCode);
+}
diff --git a/packages/GeoLite2-City.mmdb b/packages/GeoLite2-City.mmdb
deleted file mode 100644
index 948b7cf2a..000000000
Binary files a/packages/GeoLite2-City.mmdb and /dev/null differ
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index a664bf170..b96550296 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -1288,8 +1288,8 @@ importers:
specifier: workspace:1.0.0-local
version: link:../sdk
express:
- specifier: ^5.0.1 || ^5.1.0
- version: 5.1.0
+ specifier: ^4.17.0 || ^5.0.0
+ version: 4.19.2
request-ip:
specifier: ^3.3.0
version: 3.3.0
@@ -6717,10 +6717,6 @@ packages:
resolution: {integrity: sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==}
engines: {node: '>= 0.6'}
- resolution: {integrity: sha512-5cvg6CtKwfgdmVqY1WIiXKc3Q1bkRqGLi+2W/6ao+6Y7gu/RCwRuAhGEzh5B4KlszSuTLgZYuqFqo5bImjNKng==}
- engines: {node: '>= 0.6'}
-
resolution: {integrity: sha512-n02Vykv5uA3eHGM/Z2dQrcD56kL8TyDb2p1+0P83PClMnC/nc+anbQRhIOWnSq4Ke/KvDPrY3C9hDtC/A3eHnQ==}
peerDependencies:
@@ -7067,10 +7063,6 @@ packages:
resolution: {integrity: sha512-ml9pReCu3M61kGlqoTm2umSXTlRTuGTx0bfYj+uIUKKYycG5NtSbeetV3faSU6R7ajOPw0g/J1PvK4qNy7s5bA==}
engines: {node: '>= 0.8', npm: 1.2.8000 || >= 1.4.16}
- resolution: {integrity: sha512-02qvAaxv8tp7fBa/mw1ga98OGm+eCbqzJOKoRt70sLmfEEi+jyBYVTDGfCL/k06/4EMk/z01gCe7HoCH/f2LTg==}
- engines: {node: '>=18'}
-
resolution: {integrity: sha512-JZOSA7Mo9sNGB8+UjSgzdLtokWAky1zbztM3WRLCbZ70/3cTANmQmOdR7y2g+J0e2WXywy1yS468tY+IruqEww==}
@@ -7526,10 +7518,6 @@ packages:
resolution: {integrity: sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ==}
engines: {node: '>= 0.6'}
- resolution: {integrity: sha512-Au9nRL8VNUut/XSzbQA38+M78dzP4D+eqg3gfJHMIHHYa3bg067xj1KxMUWj+VULbiZMowKngFFbKczUrNJ1mg==}
- engines: {node: '>= 0.6'}
-
resolution: {integrity: sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA==}
engines: {node: '>= 0.6'}
@@ -7543,10 +7531,6 @@ packages:
resolution: {integrity: sha512-QADzlaHc8icV8I7vbaJXJwod9HWYp8uCqf1xa4OfNu1T7JVxQIrUgOWtHdNDtPiywmFbiS12VjotIXLrKM3orQ==}
- resolution: {integrity: sha512-D76uU73ulSXrD1UXF4KE2TMxVVwhsnCgfAyTg9k8P6KGZjlXKrOLe4dJQKI3Bxi5wjesZoFXJWElNWBjPZMbhg==}
- engines: {node: '>=6.6.0'}
-
resolution: {integrity: sha512-YZ3GUyn/o8gfKJlnlX7g7xq4gyO6OSuhGPKaaGssGB2qgDUS0gPgtTvoyZLTt9Ab6dC4hfc9dV5arkvc/OCmrw==}
engines: {node: '>= 0.6'}
@@ -8106,10 +8090,6 @@ packages:
resolution: {integrity: sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w==}
engines: {node: '>= 0.8'}
- resolution: {integrity: sha512-Q0n9HRi4m6JuGIV1eFlmvJB7ZEVxu93IrMyiMsGC0lrMJMWzRgx6WGquyfQgZVb31vhGgXnfmPNNXmxnOkRBrg==}
- engines: {node: '>= 0.8'}
-
resolution: {integrity: sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==}
@@ -8158,10 +8138,6 @@ packages:
resolution: {integrity: sha512-wd6JXUmyHmt8T5a2xreUwKcGPq6f1f+WwIJkijUqiGcJz1qqnZgP6XIK+QyIWU5lT7imeNxUll48bziG+TSYcA==}
- resolution: {integrity: sha512-jxayLKShrEqqzJ0eumQbVhTYQM27CfT1T35+gCgDFoL82JLsXqTJ76zv6A0YLOgEnLUMvLzsDsGIrl8NFpT2gQ==}
- engines: {node: '>= 0.4'}
-
resolution: {integrity: sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==}
engines: {node: '>= 0.4'}
@@ -8176,10 +8152,6 @@ packages:
resolution: {integrity: sha512-jEQoCwk8hyb2AZziIOLhDqpm5+2ww5uIE6lkO/6jcOCusfk6LhMHpXXfBLXTZ7Ydyt0j4VoUQv6uGNYbdW+kBA==}
- resolution: {integrity: sha512-MZ4iQ6JwHOBQjahnjwaC1ZtIBH+2ohjamzAO3oaHcXYup7qxjF2fixyH+Q71voWHeOkI2q/TnJao/KfXYIZWbw==}
- engines: {node: '>= 0.4'}
-
resolution: {integrity: sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA==}
engines: {node: '>= 0.4'}
@@ -8377,10 +8349,6 @@ packages:
resolution: {integrity: sha512-5T6nhjsT+EOMzuck8JjBHARTHfMht0POzlA60WV2pMD3gyXw2LZnZ+ueGdNxG+0calOJcWKbpFcuzLZ91YWq9Q==}
engines: {node: '>= 0.10.0'}
- resolution: {integrity: sha512-DT9ck5YIRU+8GYzzU5kT3eHGA5iL+1Zd0EutOmTE9Dtk+Tvuzd23VBU+ec7HPNSTxXYO55gPV/hq4pSBJDjFpA==}
- engines: {node: '>= 18'}
-
resolution: {integrity: sha512-zCnTtlxNoAiDc3gqY2aYAWFx7XWWiasuF2K8Me5WbN8otHKTUKBwjPtNpRs/rbUZm7KxWAaNj7P1a/p52GbVug==}
engines: {node: '>=0.10.0'}
@@ -8522,10 +8490,6 @@ packages:
resolution: {integrity: sha512-5uXcUVftlQMFnWC9qu/svkWv3GTd2PfUhK/3PLkYNAe7FbqJMt3515HaxE6eRL74GdsriiwujiawdaB1BpEISg==}
engines: {node: '>= 0.8'}
- resolution: {integrity: sha512-/t88Ty3d5JWQbWYgaOGCCYfXRwV1+be02WqYYlL6h0lEiUAMPM8o8qKGO01YIkOHzka2up08wvgYD0mDiI+q3Q==}
- engines: {node: '>= 0.8'}
-
resolution: {integrity: sha512-Tq6PixE0w/VMFfCgbONnkiQIVol/JJL7nRMi20fqzA4NRs9AfeqMGeRdPi3wIhYkxjeBaWh2rxwapn5Tu3IqOQ==}
engines: {node: '>=6'}
@@ -8671,10 +8635,6 @@ packages:
resolution: {integrity: sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q==}
engines: {node: '>= 0.6'}
- resolution: {integrity: sha512-Rx/WycZ60HOaqLKAi6cHRKKI7zxWbJ31MhntmtwMoaTeF7XFH9hhBp8vITaMidfljRQ6eYWCKkaTK+ykVJHP2A==}
- engines: {node: '>= 0.8'}
-
resolution: {integrity: sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow==}
@@ -8777,10 +8737,6 @@ packages:
resolution: {integrity: sha512-vpeMIQKxczTD/0s2CdEWHcb0eeJe6TFjxb+J5xgX7hScxqrGuyjmv4c1D4A/gelKfyox0gJJwIHF+fLjeaM8kQ==}
engines: {node: '>=18'}
- resolution: {integrity: sha512-5uYhsJH8VJBTv7oslg4BznJYhDoRI6waYCxMmCdnTrcCrHA/fCFKoTFz2JKKE0HdDFUF7/oQuhzumXJK7paBRQ==}
- engines: {node: '>= 0.4'}
-
resolution: {integrity: sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ==}
engines: {node: '>= 0.4'}
@@ -8857,9 +8813,6 @@ packages:
resolution: {integrity: sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==}
engines: {node: '>=10'}
- resolution: {integrity: sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==}
-
resolution: {integrity: sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==}
engines: {node: '>= 0.4'}
@@ -8903,18 +8856,10 @@ packages:
resolution: {integrity: sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg==}
- resolution: {integrity: sha512-7qE+iP+O+bgF9clE5+UoBFzE65mlBiVj3tKCrlNQ0Ogwm0BjpT/gK4SlLYDMybDh5I3TCTKnPPa0oMG7JDYrhg==}
- engines: {node: '>= 0.4'}
-
resolution: {integrity: sha512-SJ1amZAJUiZS+PhsVLf5tGydlaVB8EdFpaSO4gmiUKUOxk8qzn5AIy4ZeJUmh22znIdk/uMAUT2pl3FxzVUH+Q==}
engines: {node: '>= 0.4'}
- resolution: {integrity: sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==}
- engines: {node: '>= 0.4'}
-
resolution: {integrity: sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ==}
engines: {node: '>= 0.4'}
@@ -9983,10 +9928,6 @@ packages:
resolution: {integrity: sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ==}
engines: {node: '>= 0.6'}
- resolution: {integrity: sha512-aisnrDP4GNe06UcKFnV5bfMNPBUw4jsLGaWwWfnH3v02GnBuXX2MCVn5RbrWo0j3pczUilYblq7fQ7Nw2t5XKw==}
- engines: {node: '>= 0.8'}
-
resolution: {integrity: sha512-zYiwtZUcYyXKo/np96AGZAckk+FWWsUdJ3cHGGmld7+AhvcWmQyGCYUh1hc4Q/pkOhb65dQR/pqCyK0cOaHz4Q==}
@@ -9996,10 +9937,6 @@ packages:
resolution: {integrity: sha512-cCi6g3/Zr1iqQi6ySbseM1Xvooa98N0w31jzUYrXPX2xqObmFGHJ0tQ5u74H3mVh7wLouTseZyYIq39g8cNp1w==}
- resolution: {integrity: sha512-Snk314V5ayFLhp3fkUREub6WtjBfPdCPY1Ln8/8munuLuiYhsABgBVWsozAG+MWMbVEvcdcpbi9R7ww22l9Q3g==}
- engines: {node: '>=18'}
-
resolution: {integrity: sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==}
@@ -10200,10 +10137,6 @@ packages:
resolution: {integrity: sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==}
engines: {node: '>= 0.6'}
- resolution: {integrity: sha512-xRc4oEhT6eaBpU1XF7AjpOFD+xQmXNB5OVKwp4tqCuBpHLS/ZbBDrc07mYTDqVMg6PfxUjjNp85O6Cd2Z/5HWA==}
- engines: {node: '>= 0.6'}
-
resolution: {integrity: sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==}
engines: {node: '>=4'}
@@ -10617,9 +10550,6 @@ packages:
resolution: {integrity: sha512-RSn9F68PjH9HqtltsSnqYC1XXoWe9Bju5+213R98cNGttag9q9yAOTzdbsqvIa7aNm5WffBZFpWYr2aWrklWAw==}
engines: {node: '>= 6'}
- resolution: {integrity: sha512-5qoj1RUiKOMsCCNLV1CBiPYE10sziTsnmNxkAI/rZhiD63CF7IqdFGC/XzjWjpSgLf0LxXX3bDFIh0E18f6UhQ==}
-
resolution: {integrity: sha512-W67iLl4J2EXEGTbfeHCffrjDfitvLANg0UlX3wFUUSTx92KXRFegMHUVgSqE+wvhAbi4WqjGg9czysTV2Epbew==}
engines: {node: '>= 0.4'}
@@ -11183,10 +11113,6 @@ packages:
resolution: {integrity: sha512-MvjoMCJwEarSbUYk5O+nmoSzSutSsTwF85zcHPQ9OrlFoZOYIjaqBAJIqIXjptyD5vThxGq52Xu/MaJzRkIk4Q==}
engines: {node: '>=0.6'}
- resolution: {integrity: sha512-YWWTjgABSKcvs/nWBi9PycY/JiPJqOD4JA6o9Sej2AtvSGarXxKC3OQSk4pAarbdQlKAh5D4FCQkJNkW+GAn3w==}
- engines: {node: '>=0.6'}
-
resolution: {integrity: sha512-FIqgj2EUvTa7R50u0rGsyTftzjYmv/a3hO345bZNrqabNqjtgiDMgmo4mkUjd+nzU5oF3dClKqFIPUKybUyqoQ==}
@@ -11821,10 +11747,6 @@ packages:
engines: {node: '>=18.0.0', npm: '>=8.0.0'}
hasBin: true
- resolution: {integrity: sha512-nLTrUKm2UyiL7rlhapu/Zl45FwNgkZGaCpZbIHajDYgwlJCOzLSk+cIPAnsEqV955GjILJnKbdQC1nVPz+gAYQ==}
- engines: {node: '>= 18'}
-
resolution: {integrity: sha512-tvVnVv01b8c1RrA6Ep7JkStj85Guv/YrMcwqYQnwjsAS2cTmmPGBBjAjpCW7RrSodNSoE2/qg9O4bceNvUuDgQ==}
engines: {node: '>=0.12.0'}
@@ -11938,10 +11860,6 @@ packages:
resolution: {integrity: sha512-qqWzuOjSFOuqPjFe4NOsMLafToQQwBSOEpS+FwEt3A2V3vKubTquT3vmLTQpFgMXp8AlFWFuP1qKaJZOtPpVXg==}
engines: {node: '>= 0.8.0'}
- resolution: {integrity: sha512-uaW0WwXKpL9blXE2o0bRhoL2EGXIrZxQ2ZQ4mgcfoBxdFmQold+qWsD2jLrfZ0trjKL6vOw0j//eAwcALFjKSw==}
- engines: {node: '>= 18'}
-
resolution: {integrity: sha512-ghgmKt5o4Tly5yEG/UJp8qTd0AN7Xalw4XBtDEKP655B699qMEtra1WlXeE6WIvdEG481JvRxULKsInq/iNysw==}
engines: {node: '>=0.10.0'}
@@ -11950,10 +11868,6 @@ packages:
resolution: {integrity: sha512-XGuRDNjXUijsUL0vl6nSD7cwURuzEgglbOaFuZM9g3kwDXOWVTck0jLzjPzGD+TazWbboZYu52/9/XPdUgne9g==}
engines: {node: '>= 0.8.0'}
- resolution: {integrity: sha512-61g9pCh0Vnh7IutZjtLGGpTA355+OPn2TyDv/6ivP2h/AdAVX9azsoxmg2/M6nZeQZNYBEwIcsne1mJd9oQItQ==}
- engines: {node: '>= 18'}
-
resolution: {integrity: sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw==}
@@ -12032,10 +11946,6 @@ packages:
resolution: {integrity: sha512-WPS/HvHQTYnHisLo9McqBHOJk2FkHO/tlpvldyrnem4aeQp4hai3gythswg6p01oSoTl58rcpiFAjF2br2Ak2A==}
engines: {node: '>= 0.4'}
- resolution: {integrity: sha512-QcgiIWV4WV7qWExbN5llt6frQB/lBven9pqliLXfGPB+K9ZYXxDozp0wLkHS24kWCm+6YXH/f0HhnObZnZOBnQ==}
- engines: {node: '>= 0.4'}
-
resolution: {integrity: sha512-ZX99e6tRweoUXqR+VBrslhda51Nh5MTQwou5tnUDgbtyM0dBgmhEDtWGP/xbKn6hqfPRHujUNwz5fy/wbbhnpw==}
engines: {node: '>= 0.4'}
@@ -12636,10 +12546,6 @@ packages:
resolution: {integrity: sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==}
engines: {node: '>= 0.6'}
- resolution: {integrity: sha512-OZs6gsjF4vMp32qrCbiVSkrFmXtG/AZhY3t0iAMrMBiAZyV9oALtXO8hsrHbMXF9x6L3grlFuwW2oAz7cav+Gw==}
- engines: {node: '>= 0.6'}
-
resolution: {integrity: sha512-RSqu1UEuSlrBhHTWC8O9FnPjOduNs4M7rJ4pRKoEjtx1zUNOPN2sSXHLDX+Y2WPbHIxbvg4JFo2DNAEfPIKWoQ==}
engines: {node: '>= 0.4'}
@@ -19392,11 +19298,6 @@ snapshots:
mime-types: 2.1.35
negotiator: 0.6.3
- dependencies:
- mime-types: 3.0.1
- negotiator: 1.0.0
-
dependencies:
acorn: 8.11.3
@@ -19571,7 +19472,7 @@ snapshots:
define-properties: 1.2.1
es-abstract: 1.23.3
es-array-method-boxes-properly: 1.0.0
- es-object-atoms: 1.0.0
+ es-object-atoms: 1.1.1
is-string: 1.0.7
@@ -19581,7 +19482,7 @@ snapshots:
define-properties: 1.2.1
es-abstract: 1.22.4
es-errors: 1.3.0
- get-intrinsic: 1.2.4
+ get-intrinsic: 1.3.0
is-array-buffer: 3.0.4
is-shared-array-buffer: 1.0.2
@@ -19924,20 +19825,6 @@ snapshots:
transitivePeerDependencies:
- supports-color
- dependencies:
- bytes: 3.1.2
- content-type: 1.0.5
- debug: 4.4.0
- http-errors: 2.0.0
- iconv-lite: 0.6.3
- on-finished: 2.4.1
- qs: 6.14.0
- raw-body: 3.0.0
- type-is: 2.0.1
- transitivePeerDependencies:
- - supports-color
-
@@ -20091,10 +19978,10 @@ snapshots:
dependencies:
- es-define-property: 1.0.0
+ es-define-property: 1.0.1
es-errors: 1.3.0
function-bind: 1.1.2
- get-intrinsic: 1.2.4
+ get-intrinsic: 1.3.0
set-function-length: 1.2.1
@@ -20426,10 +20313,6 @@ snapshots:
dependencies:
safe-buffer: 5.2.1
- dependencies:
- safe-buffer: 5.2.1
-
@@ -20438,8 +20321,6 @@ snapshots:
-
@@ -20807,9 +20688,9 @@ snapshots:
dependencies:
- es-define-property: 1.0.0
+ es-define-property: 1.0.1
es-errors: 1.3.0
- gopd: 1.0.1
+ gopd: 1.2.0
@@ -20996,8 +20877,6 @@ snapshots:
-
dependencies:
once: 1.4.0
@@ -21048,18 +20927,18 @@ snapshots:
arraybuffer.prototype.slice: 1.0.3
available-typed-arrays: 1.0.6
call-bind: 1.0.7
- es-define-property: 1.0.0
+ es-define-property: 1.0.1
es-errors: 1.3.0
es-set-tostringtag: 2.0.2
es-to-primitive: 1.2.1
function.prototype.name: 1.1.6
- get-intrinsic: 1.2.4
+ get-intrinsic: 1.3.0
get-symbol-description: 1.0.2
globalthis: 1.0.3
- gopd: 1.0.1
+ gopd: 1.2.0
has-property-descriptors: 1.0.2
has-proto: 1.0.3
- has-symbols: 1.0.3
+ has-symbols: 1.1.0
hasown: 2.0.2
internal-slot: 1.0.7
is-array-buffer: 3.0.4
@@ -21070,7 +20949,7 @@ snapshots:
is-string: 1.0.7
is-typed-array: 1.1.13
is-weakref: 1.0.2
- object-inspect: 1.13.1
+ object-inspect: 1.13.4
object-keys: 1.1.1
object.assign: 4.1.5
regexp.prototype.flags: 1.5.2
@@ -21095,19 +20974,19 @@ snapshots:
data-view-buffer: 1.0.1
data-view-byte-length: 1.0.1
data-view-byte-offset: 1.0.0
- es-define-property: 1.0.0
+ es-define-property: 1.0.1
es-errors: 1.3.0
- es-object-atoms: 1.0.0
+ es-object-atoms: 1.1.1
es-set-tostringtag: 2.0.3
es-to-primitive: 1.2.1
function.prototype.name: 1.1.6
- get-intrinsic: 1.2.4
+ get-intrinsic: 1.3.0
get-symbol-description: 1.0.2
globalthis: 1.0.3
- gopd: 1.0.1
+ gopd: 1.2.0
has-property-descriptors: 1.0.2
has-proto: 1.0.3
- has-symbols: 1.0.3
+ has-symbols: 1.1.0
hasown: 2.0.2
internal-slot: 1.0.7
is-array-buffer: 3.0.4
@@ -21119,7 +20998,7 @@ snapshots:
is-string: 1.0.7
is-typed-array: 1.1.13
is-weakref: 1.0.2
- object-inspect: 1.13.1
+ object-inspect: 1.13.4
object-keys: 1.1.1
object.assign: 4.1.5
regexp.prototype.flags: 1.5.2
@@ -21137,10 +21016,6 @@ snapshots:
- dependencies:
- get-intrinsic: 1.2.4
-
@@ -21148,8 +21023,8 @@ snapshots:
dependencies:
call-bind: 1.0.7
- get-intrinsic: 1.2.4
- has-symbols: 1.0.3
+ get-intrinsic: 1.3.0
+ has-symbols: 1.1.0
is-arguments: 1.1.1
is-map: 2.0.2
is-set: 2.0.2
@@ -21159,23 +21034,19 @@ snapshots:
- dependencies:
- es-errors: 1.3.0
-
dependencies:
es-errors: 1.3.0
dependencies:
- get-intrinsic: 1.2.4
+ get-intrinsic: 1.3.0
has-tostringtag: 1.0.2
hasown: 2.0.2
dependencies:
- get-intrinsic: 1.2.4
+ get-intrinsic: 1.3.0
has-tostringtag: 1.0.2
hasown: 2.0.2
@@ -21556,38 +21427,6 @@ snapshots:
transitivePeerDependencies:
- supports-color
- dependencies:
- accepts: 2.0.0
- body-parser: 2.2.0
- content-disposition: 1.0.0
- content-type: 1.0.5
- cookie: 0.7.2
- cookie-signature: 1.2.2
- debug: 4.4.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.1
- 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.2.0
- serve-static: 2.2.0
- statuses: 2.0.1
- type-is: 2.0.1
- vary: 1.1.2
- transitivePeerDependencies:
- - supports-color
-
dependencies:
is-extendable: 0.1.1
@@ -21800,17 +21639,6 @@ snapshots:
transitivePeerDependencies:
- supports-color
- dependencies:
- 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
- transitivePeerDependencies:
- - supports-color
-
dependencies:
commondir: 1.0.1
@@ -21943,8 +21771,6 @@ snapshots:
-
@@ -22107,14 +21933,6 @@ snapshots:
- dependencies:
- es-errors: 1.3.0
- function-bind: 1.1.2
- has-proto: 1.0.1
- has-symbols: 1.0.3
- hasown: 2.0.2
-
dependencies:
call-bind-apply-helpers: 1.0.2
@@ -22147,7 +21965,7 @@ snapshots:
dependencies:
call-bind: 1.0.7
es-errors: 1.3.0
- get-intrinsic: 1.2.4
+ get-intrinsic: 1.3.0
@@ -22220,10 +22038,6 @@ snapshots:
merge2: 1.4.1
slash: 3.0.0
- dependencies:
- get-intrinsic: 1.2.4
-
@@ -22266,19 +22080,15 @@ snapshots:
dependencies:
- es-define-property: 1.0.0
-
+ es-define-property: 1.0.1
-
dependencies:
- has-symbols: 1.0.3
+ has-symbols: 1.1.0
@@ -22627,7 +22437,7 @@ snapshots:
dependencies:
es-errors: 1.3.0
hasown: 2.0.2
- side-channel: 1.0.5
+ side-channel: 1.1.0
@@ -22688,7 +22498,7 @@ snapshots:
dependencies:
call-bind: 1.0.7
- get-intrinsic: 1.2.4
+ get-intrinsic: 1.3.0
@@ -22822,7 +22632,7 @@ snapshots:
dependencies:
- has-symbols: 1.0.3
+ has-symbols: 1.1.0
dependencies:
@@ -23563,16 +23373,12 @@ snapshots:
-
-
@@ -24042,10 +23848,6 @@ snapshots:
dependencies:
mime-db: 1.52.0
- dependencies:
- mime-db: 1.54.0
-
@@ -24439,8 +24241,6 @@ snapshots:
-
@@ -24449,7 +24249,7 @@ snapshots:
dependencies:
call-bind: 1.0.7
define-properties: 1.2.1
- has-symbols: 1.0.3
+ has-symbols: 1.1.0
object-keys: 1.1.1
@@ -24964,7 +24764,7 @@ snapshots:
call-bind: 1.0.7
define-properties: 1.2.1
es-abstract: 1.23.3
- get-intrinsic: 1.2.4
+ get-intrinsic: 1.3.0
iterate-value: 1.0.2
@@ -25041,10 +24841,6 @@ snapshots:
- dependencies:
- side-channel: 1.0.5
-
dependencies:
side-channel: 1.1.0
@@ -26027,16 +25823,6 @@ snapshots:
'@rollup/rollup-win32-x64-msvc': 4.40.1
fsevents: 2.3.3
- dependencies:
- debug: 4.4.0
- depd: 2.0.0
- is-promise: 4.0.0
- parseurl: 1.3.3
- path-to-regexp: 8.2.0
- transitivePeerDependencies:
- - supports-color
-
@@ -26054,15 +25840,15 @@ snapshots:
dependencies:
call-bind: 1.0.7
- get-intrinsic: 1.2.4
- has-symbols: 1.0.3
+ get-intrinsic: 1.3.0
+ has-symbols: 1.1.0
isarray: 2.0.5
dependencies:
call-bind: 1.0.7
- get-intrinsic: 1.2.4
- has-symbols: 1.0.3
+ get-intrinsic: 1.3.0
+ has-symbols: 1.1.0
isarray: 2.0.5
@@ -26151,22 +25937,6 @@ snapshots:
transitivePeerDependencies:
- supports-color
- dependencies:
- debug: 4.4.0
- encodeurl: 2.0.0
- escape-html: 1.0.3
- etag: 1.8.1
- fresh: 2.0.0
- http-errors: 2.0.0
- mime-types: 3.0.1
- ms: 2.1.3
- on-finished: 2.4.1
- range-parser: 1.2.1
- statuses: 2.0.1
- transitivePeerDependencies:
- - supports-color
-
@@ -26178,15 +25948,6 @@ snapshots:
transitivePeerDependencies:
- supports-color
- dependencies:
- encodeurl: 2.0.0
- escape-html: 1.0.3
- parseurl: 1.3.3
- send: 1.2.0
- transitivePeerDependencies:
- - supports-color
-
@@ -26196,8 +25957,8 @@ snapshots:
define-data-property: 1.1.4
es-errors: 1.3.0
function-bind: 1.1.2
- get-intrinsic: 1.2.4
- gopd: 1.0.1
+ get-intrinsic: 1.3.0
+ gopd: 1.2.0
has-property-descriptors: 1.0.2
@@ -26304,13 +26065,6 @@ snapshots:
object-inspect: 1.13.4
side-channel-map: 1.0.1
- dependencies:
- call-bind: 1.0.7
- es-errors: 1.3.0
- get-intrinsic: 1.2.4
- object-inspect: 1.13.1
-
dependencies:
es-errors: 1.3.0
@@ -26502,7 +26256,7 @@ snapshots:
call-bind: 1.0.7
define-properties: 1.2.1
es-abstract: 1.23.3
- es-object-atoms: 1.0.0
+ es-object-atoms: 1.1.1
dependencies:
@@ -26514,7 +26268,7 @@ snapshots:
dependencies:
call-bind: 1.0.7
define-properties: 1.2.1
- es-object-atoms: 1.0.0
+ es-object-atoms: 1.1.1
dependencies:
@@ -26526,7 +26280,7 @@ snapshots:
dependencies:
call-bind: 1.0.7
define-properties: 1.2.1
- es-object-atoms: 1.0.0
+ es-object-atoms: 1.1.1
dependencies:
@@ -26985,12 +26739,6 @@ snapshots:
media-typer: 0.3.0
mime-types: 2.1.35
- dependencies:
- content-type: 1.0.5
- media-typer: 1.1.0
- mime-types: 3.0.1
-
dependencies:
call-bind: 1.0.7
@@ -27014,7 +26762,7 @@ snapshots:
dependencies:
call-bind: 1.0.7
for-each: 0.3.3
- gopd: 1.0.1
+ gopd: 1.2.0
has-proto: 1.0.3
is-typed-array: 1.1.13
@@ -27031,7 +26779,7 @@ snapshots:
available-typed-arrays: 1.0.7
call-bind: 1.0.7
for-each: 0.3.3
- gopd: 1.0.1
+ gopd: 1.2.0
has-proto: 1.0.3
is-typed-array: 1.1.13
@@ -27045,7 +26793,7 @@ snapshots:
dependencies:
call-bind: 1.0.7
for-each: 0.3.3
- gopd: 1.0.1
+ gopd: 1.2.0
has-proto: 1.0.3
is-typed-array: 1.1.13
possible-typed-array-names: 1.0.0
@@ -27074,7 +26822,7 @@ snapshots:
dependencies:
call-bind: 1.0.7
has-bigints: 1.0.2
- has-symbols: 1.0.3
+ has-symbols: 1.1.0
which-boxed-primitive: 1.0.2
@@ -27473,7 +27221,7 @@ snapshots:
available-typed-arrays: 1.0.6
call-bind: 1.0.7
for-each: 0.3.3
- gopd: 1.0.1
+ gopd: 1.2.0
has-tostringtag: 1.0.2
@@ -27481,7 +27229,7 @@ snapshots:
available-typed-arrays: 1.0.7
call-bind: 1.0.7
for-each: 0.3.3
- gopd: 1.0.1
+ gopd: 1.2.0
has-tostringtag: 1.0.2