Skip to content

Build your personal knowledge base with Trilium Notes

perf(server): back the execution context with AsyncLocalStorage

Elian Doran56a6a84c1a5f
diff --git a/apps/build-docs/src/build-docs.ts b/apps/build-docs/src/build-docs.ts
index 1305eb9254..1ec341584c 100644
--- a/apps/build-docs/src/build-docs.ts
+++ b/apps/build-docs/src/build-docs.ts
@@ -6,7 +6,7 @@ if (!process.env.TRILIUM_RESOURCE_DIR) {
process.env.NODE_ENV = "development";
import { BackupService, getContext, initializeCore, type ImageProvider } from "@triliumnext/core";
-import ClsHookedExecutionContext from "@triliumnext/server/src/cls_provider.js";
+import AsyncLocalStorageExecutionContext from "@triliumnext/server/src/cls_provider.js";
import NodejsCryptoProvider from "@triliumnext/server/src/crypto_provider.js";
import ServerPlatformProvider from "@triliumnext/server/src/platform_provider.js";
import BetterSqlite3Provider from "@triliumnext/server/src/sql_provider.js";
@@ -77,7 +77,7 @@ async function initializeBuildEnvironment() {
crypto: new NodejsCryptoProvider(),
zip: new NodejsZipProvider(),
zipExportProviderFactory: serverZipExportProviderFactory,
- executionContext: new ClsHookedExecutionContext(),
+ executionContext: new AsyncLocalStorageExecutionContext(),
platform: new ServerPlatformProvider(),
schema: readFileSync(require.resolve("@triliumnext/core/src/assets/schema.sql"), "utf-8"),
translations: (await import("@triliumnext/server/src/services/i18n.js")).initializeTranslations,
diff --git a/apps/desktop/src/main.ts b/apps/desktop/src/main.ts
index f9d39b53fa..c55601cced 100644
--- a/apps/desktop/src/main.ts
+++ b/apps/desktop/src/main.ts
@@ -1,6 +1,6 @@
import { becca_loader, cls, entity_changes, getLog, initializeCore, options, sql_init, ws } from "@triliumnext/core";
import ServerBackupService from "@triliumnext/server/src/backup_provider.js";
-import ClsHookedExecutionContext from "@triliumnext/server/src/cls_provider.js";
+import AsyncLocalStorageExecutionContext from "@triliumnext/server/src/cls_provider.js";
import { loadCoreSchema } from "@triliumnext/server/src/core_assets.js";
import NodejsCryptoProvider from "@triliumnext/server/src/crypto_provider.js";
import NodejsInAppHelpProvider from "@triliumnext/server/src/in_app_help_provider.js";
@@ -262,7 +262,7 @@ export async function main() {
zip: new NodejsZipProvider(),
zipExportProviderFactory: (await import("@triliumnext/server/src/services/export/zip/factory.js")).serverZipExportProviderFactory,
request: new ElectronRequestProvider(),
- executionContext: new ClsHookedExecutionContext(),
+ executionContext: new AsyncLocalStorageExecutionContext(),
messaging,
schema: loadCoreSchema(),
platform: new DesktopPlatformProvider(),
diff --git a/apps/edit-docs/src/utils.ts b/apps/edit-docs/src/utils.ts
index 329a49f267..9d5021bd51 100644
--- a/apps/edit-docs/src/utils.ts
+++ b/apps/edit-docs/src/utils.ts
@@ -1,7 +1,7 @@
import { BackupService, initializeCore } from "@triliumnext/core";
import IpcMessagingProvider from "@triliumnext/desktop/src/ipc_messaging_provider.js";
import { registerTriliumAppScheme, setupTriliumAppProtocol } from "@triliumnext/desktop/src/protocol.js";
-import ClsHookedExecutionContext from "@triliumnext/server/src/cls_provider.js";
+import AsyncLocalStorageExecutionContext from "@triliumnext/server/src/cls_provider.js";
import NodejsCryptoProvider from "@triliumnext/server/src/crypto_provider.js";
import ServerPlatformProvider from "@triliumnext/server/src/platform_provider.js";
import { serverImageProvider } from "@triliumnext/server/src/services/image_provider.js";
@@ -65,7 +65,7 @@ export async function initializeEditDocsCore() {
crypto: new NodejsCryptoProvider(),
zip: new NodejsZipProvider(),
zipExportProviderFactory: serverZipExportProviderFactory,
- executionContext: new ClsHookedExecutionContext(),
+ executionContext: new AsyncLocalStorageExecutionContext(),
platform: new ServerPlatformProvider(),
schema: readFileSync(require.resolve("@triliumnext/core/src/assets/schema.sql"), "utf-8"),
translations: (await import("@triliumnext/server/src/services/i18n.js")).initializeTranslationsWithParams,
diff --git a/apps/server/package.json b/apps/server/package.json
index 3e110ed118..7b8144de2a 100644
--- a/apps/server/package.json
+++ b/apps/server/package.json
@@ -52,7 +52,6 @@
"@triliumnext/core": "workspace:*",
"@triliumnext/highlightjs": "workspace:*",
"@types/better-sqlite3": "9.6.0",
- "@types/cls-hooked": "4.3.9",
"@types/compression": "1.8.1",
"@types/cookie-parser": "1.4.10",
"@types/ejs": "3.1.5",
@@ -70,7 +69,6 @@
"archiver": "8.0.0",
"cheerio": "1.2.0",
"chokidar": "5.0.0",
- "cls-hooked": "4.2.2",
"color": "5.0.3",
"compression": "1.8.1",
"cookie-parser": "1.4.7",
diff --git a/apps/server/spec/setup.ts b/apps/server/spec/setup.ts
index e22d00f14b..64bdb4cf83 100644
--- a/apps/server/spec/setup.ts
+++ b/apps/server/spec/setup.ts
@@ -4,7 +4,7 @@ import { join } from "path";
import { initializeCore, options } from "@triliumnext/core";
import { serverZipExportProviderFactory } from "../src/services/export/zip/factory.js";
import ServerBackupService from "../src/backup_provider.js";
-import ClsHookedExecutionContext from "../src/cls_provider.js";
+import AsyncLocalStorageExecutionContext from "../src/cls_provider.js";
import NodejsCryptoProvider from "../src/crypto_provider.js";
import NodejsZipProvider from "../src/zip_provider.js";
import ServerPlatformProvider from "../src/platform_provider.js";
@@ -41,7 +41,7 @@ beforeAll(async () => {
crypto: new NodejsCryptoProvider(),
zip: new NodejsZipProvider(),
zipExportProviderFactory: serverZipExportProviderFactory,
- executionContext: new ClsHookedExecutionContext(),
+ executionContext: new AsyncLocalStorageExecutionContext(),
schema: readFileSync(require.resolve("@triliumnext/core/src/assets/schema.sql"), "utf-8"),
platform: new ServerPlatformProvider(),
translations: initializeTranslationsWithParams,
diff --git a/apps/server/src/cls_provider.spec.ts b/apps/server/src/cls_provider.spec.ts
index 51725e6688..fc530a8411 100644
--- a/apps/server/src/cls_provider.spec.ts
+++ b/apps/server/src/cls_provider.spec.ts
@@ -1,22 +1,15 @@
-import clsHooked from "cls-hooked";
import { EventEmitter } from "events";
-import { afterEach, describe, expect, it, vi } from "vitest";
+import { describe, expect, it } from "vitest";
-import ClsHookedExecutionContext, { namespace } from "./cls_provider.js";
-
-afterEach(() => vi.restoreAllMocks());
+import AsyncLocalStorageExecutionContext, { bindEmitter } from "./cls_provider.js";
/**
* The contract every `ExecutionContext` on the Node side has to satisfy. `route_api`, `etapi_utils`
* and `custom` all rely on it, and `putEntityChange()` writes through it on every entity save, so a
* gap here surfaces as lost entity changes rather than as a thrown error.
*/
-describe("ClsHookedExecutionContext", () => {
- const ctx = new ClsHookedExecutionContext();
-
- // Binding an emitter is not part of ExecutionContext — the three route modules reach for the
- // namespace directly. Routed through one helper so the tests below describe behaviour only.
- const bindEmitter = (emitter: EventEmitter) => namespace.bindEmitter(emitter);
+describe("AsyncLocalStorageExecutionContext", () => {
+ const ctx = new AsyncLocalStorageExecutionContext();
describe("value storage", () => {
it("round-trips values inside init() and returns the callback's value", () => {
@@ -167,9 +160,18 @@ describe("ClsHookedExecutionContext", () => {
});
});
- it("delegates reset() to the underlying implementation", () => {
- const resetSpy = vi.spyOn(clsHooked, "reset").mockImplementation(() => {});
- ctx.reset();
- expect(resetSpy).toHaveBeenCalled();
+ it("drops the active context on reset(), and starts clean on the next init()", () => {
+ ctx.init(() => {
+ ctx.set("alpha", 1);
+ ctx.reset();
+ expect(ctx.get("alpha")).toBeUndefined();
+ });
+
+ const afterReset = ctx.init(() => {
+ ctx.set("alpha", 2);
+ return ctx.get<number>("alpha");
+ });
+
+ expect(afterReset).toBe(2);
});
});
diff --git a/apps/server/src/cls_provider.ts b/apps/server/src/cls_provider.ts
index a11f616129..939462dd5f 100644
--- a/apps/server/src/cls_provider.ts
+++ b/apps/server/src/cls_provider.ts
@@ -1,24 +1,119 @@
import { ExecutionContext } from "@triliumnext/core";
-import clsHooked from "cls-hooked";
+import { AsyncLocalStorage, AsyncResource } from "async_hooks";
+import type { EventEmitter } from "events";
-export const namespace = clsHooked.createNamespace("trilium");
+type Listener = (...args: unknown[]) => unknown;
+type AddOrRemove = (event: string, listener: Listener) => unknown;
-export default class ClsHookedExecutionContext implements ExecutionContext {
+const storage = new AsyncLocalStorage<Map<string, unknown>>();
+
+export default class AsyncLocalStorageExecutionContext implements ExecutionContext {
get<T = any>(key: string): T | undefined {
- return namespace.get(key);
+ return storage.getStore()?.get(key) as T | undefined;
}
set(key: string, value: any): void {
- namespace.set(key, value);
+ const store = storage.getStore();
+
+ if (!store) {
+ throw new Error("No context available. cls.init() must be called first.");
+ }
+
+ store.set(key, value);
}
reset(): void {
- clsHooked.reset();
+ storage.disable();
}
init<T>(callback: () => T): T {
- return namespace.runAndReturn(callback);
+ // A nested scope starts from a copy of the enclosing one. `routes/api/llm.ts` opens one
+ // while its request is still on the stack and reads the request's componentId and
+ // hoistedNoteId through it. Writes land on the copy, leaving the enclosing scope alone.
+ const enclosing = storage.getStore();
+
+ return storage.run(enclosing ? new Map(enclosing) : new Map(), callback);
}
}
+
+const ADD_METHODS = ["addListener", "on", "prependListener"];
+const REMOVE_METHODS = ["removeListener", "off"];
+const BOUND_LISTENERS = Symbol("boundListeners");
+
+/**
+ * Runs listeners added to `emitter` in the context that was active when they were added.
+ *
+ * {@link AsyncLocalStorage} already covers a listener whose emit descends from the scope that added
+ * it. It does not cover one the socket raises on its own — a client aborting mid-response — and
+ * both route handlers and `#customRequestHandler` scripts add listeners there that write notes. A
+ * write needs a context to record its entity change against, and `set()` throws without one.
+ *
+ * `once()` and `prependOnceListener()` are deliberately absent from {@link ADD_METHODS}: Node
+ * routes both through `on()` and `prependListener()`, so patching them would wrap a listener twice.
+ */
+export function bindEmitter(emitter: EventEmitter) {
+ const target = emitter as unknown as Record<string | symbol, unknown>;
+
+ if (target[BOUND_LISTENERS]) {
+ return;
+ }
+
+ // Node removes a listener by identity, so the wrapper that replaced one has to be findable
+ // again from whatever `removeListener()` is handed.
+ const wrappers = new WeakMap<Listener, Listener>();
+ Object.defineProperty(emitter, BOUND_LISTENERS, { value: wrappers });
+
+ for (const method of ADD_METHODS) {
+ patch(target, method, (add, event, listener) => {
+ const wrapper = bindListener(listener);
+ wrappers.set(listener, wrapper);
+
+ return add(event, wrapper);
+ });
+ }
+
+ for (const method of REMOVE_METHODS) {
+ patch(target, method, (remove, event, listener) => (
+ remove(event, wrappers.get(listener) ?? listener)
+ ));
+ }
+}
+
+/** Replaces one of `target`'s listener methods, leaving a non-function listener untouched. */
+function patch(
+ target: Record<string | symbol, unknown>,
+ method: string,
+ apply: (call: AddOrRemove, event: string, listener: Listener) => unknown
+) {
+ const original = target[method];
+
+ if (typeof original !== "function") {
+ return;
+ }
+
+ const invoke = original as Listener;
+ const call: AddOrRemove = (event, listener) => invoke.call(target, event, listener);
+
+ target[method] = (event: string, listener: Listener) => (
+ typeof listener === "function" ? apply(call, event, listener) : call(event, listener)
+ );
+}
+
+function bindListener(listener: Listener): Listener {
+ const wrapper: Listener = storage.getStore()
+ ? AsyncResource.bind(listener)
+ // Nothing is active, so give the listener a scope of its own rather than none. Declared as
+ // a `function` so the emitter still arrives as `this`, which express's own listeners read.
+ : AsyncResource.bind(function (this: unknown, ...args: unknown[]) {
+ return storage.run(new Map(), () => listener.apply(this, args));
+ });
+
+ // `once()` hands `on()` a wrapper of its own. Carrying the innermost listener through keeps
+ // `removeListener(originalListener)` and `listeners()` reporting what the caller passed.
+ const innermost = (listener as { listener?: Listener }).listener ?? listener;
+ Object.defineProperty(wrapper, "listener", { value: innermost, configurable: true });
+
+ return wrapper;
+}
diff --git a/apps/server/src/etapi/etapi_utils.ts b/apps/server/src/etapi/etapi_utils.ts
index 0d2edc219b..f2eb649533 100644
--- a/apps/server/src/etapi/etapi_utils.ts
+++ b/apps/server/src/etapi/etapi_utils.ts
@@ -2,7 +2,7 @@ import type { NextFunction, Request, RequestHandler, Response, Router } from "ex
import type { ParamsDictionary } from "express-serve-static-core";
import { becca } from "@triliumnext/core";
-import { namespace } from "../cls_provider.js";
+import { bindEmitter } from "../cls_provider.js";
import type { ApiRequestHandler, SyncRouteRequestHandler } from "../routes/route_api.js";
import { cls } from "@triliumnext/core";
import config from "../services/config.js";
@@ -54,8 +54,8 @@ function checkEtapiAuth(req: Request, res: Response, next: NextFunction) {
function processRequest<P extends ParamsDictionary>(req: Request<P>, res: Response, routeHandler: ApiRequestHandler<P>, next: NextFunction, method: string, path: string) {
try {
- namespace.bindEmitter(req);
- namespace.bindEmitter(res);
+ bindEmitter(req);
+ bindEmitter(res);
cls.init(() => {
cls.set("componentId", "etapi");
diff --git a/apps/server/src/main.ts b/apps/server/src/main.ts
index aabff3fe91..fda936cb44 100644
--- a/apps/server/src/main.ts
+++ b/apps/server/src/main.ts
@@ -9,7 +9,7 @@ import { t } from "i18next";
import path from "path";
import ServerBackupService from "./backup_provider.js";
-import ClsHookedExecutionContext from "./cls_provider.js";
+import AsyncLocalStorageExecutionContext from "./cls_provider.js";
import { loadCoreSchema } from "./core_assets.js";
import NodejsCryptoProvider from "./crypto_provider.js";
import NodejsInAppHelpProvider from "./in_app_help_provider.js";
@@ -75,7 +75,7 @@ async function startApplication() {
zip: new NodejsZipProvider(),
zipExportProviderFactory: (await import("./services/export/zip/factory.js")).serverZipExportProviderFactory,
request: new NodeRequestProvider(),
- executionContext: new ClsHookedExecutionContext(),
+ executionContext: new AsyncLocalStorageExecutionContext(),
messaging: new WebSocketMessagingProvider(),
schema: loadCoreSchema(),
platform: new ServerPlatformProvider(),
diff --git a/apps/server/src/routes/custom.ts b/apps/server/src/routes/custom.ts
index 942c876bae..d227e210e6 100644
--- a/apps/server/src/routes/custom.ts
+++ b/apps/server/src/routes/custom.ts
@@ -1,7 +1,7 @@
import { becca, cls, getLog, routeHelpers, scriptService, utils } from "@triliumnext/core";
import type { Request, Response, Router } from "express";
-import { namespace } from "../cls_provider.js";
+import { bindEmitter } from "../cls_provider.js";
import { isScriptingEnabled } from "../services/scripting_guard.js";
import sql from "../services/sql.js";
@@ -101,8 +101,8 @@ function register(router: Router) {
// explicitly no CSRF middleware since it's meant to allow integration from external services
router.all("/custom/*path", (req: Request, res: Response, _next) => {
- namespace.bindEmitter(req);
- namespace.bindEmitter(res);
+ bindEmitter(req);
+ bindEmitter(res);
cls.init(() => handleRequest(req, res));
});
diff --git a/apps/server/src/routes/route_api.ts b/apps/server/src/routes/route_api.ts
index 38cdbe4614..7b1f45e2c5 100644
--- a/apps/server/src/routes/route_api.ts
+++ b/apps/server/src/routes/route_api.ts
@@ -6,7 +6,7 @@ import { readFile, rm } from "fs/promises";
import multer from "multer";
import { join } from "path";
-import { namespace } from "../cls_provider.js";
+import { bindEmitter } from "../cls_provider.js";
import auth from "../services/auth.js";
import { cls } from "@triliumnext/core";
import { getLog } from "@triliumnext/core";
@@ -87,8 +87,8 @@ function internalRoute<P extends ParamsDictionary>(method: HttpMethod, path: str
const start = Date.now();
try {
- namespace.bindEmitter(req);
- namespace.bindEmitter(res);
+ bindEmitter(req);
+ bindEmitter(res);
const result = cls.init(() => {
cls.set("componentId", req.headers["trilium-component-id"]);
diff --git a/apps/standalone/src/lightweight/cls_provider.spec.ts b/apps/standalone/src/lightweight/cls_provider.spec.ts
index aa9f1d8ee7..794a1b911f 100644
--- a/apps/standalone/src/lightweight/cls_provider.spec.ts
+++ b/apps/standalone/src/lightweight/cls_provider.spec.ts
@@ -41,7 +41,7 @@ describe("BrowserExecutionContext", () => {
// Known limitation, recorded so a fix flips these assertions rather than passing silently.
// A stack is not async-context propagation: the browser has no AsyncLocalStorage, so scopes
// are pushed and popped, and a scope stays on the stack for the grace period after it ends.
- // The server's cls-hooked context gets both of these right.
+ // The server's AsyncLocalStorage context gets both of these right.
describe("stack-based scoping (known divergence from the server context)", () => {
it("starts a nested scope empty, leaving the enclosing one reading it", () => {
const ctx = new BrowserExecutionContext();
@@ -50,7 +50,7 @@ describe("BrowserExecutionContext", () => {
ctx.set("componentId", "outer");
ctx.init(() => {
- // No inheritance: cls-hooked would report "outer" here.
+ // No inheritance: the server context would report "outer" here.
expect(ctx.get("componentId")).toBeUndefined();
ctx.set("componentId", "inner");
});
diff --git a/packages/trilium-core/src/services/context.spec.ts b/packages/trilium-core/src/services/context.spec.ts
index 38963148b3..fc3942a10e 100644
--- a/packages/trilium-core/src/services/context.spec.ts
+++ b/packages/trilium-core/src/services/context.spec.ts
@@ -60,7 +60,7 @@ describe("context", () => {
const seen = init(() => get<string>("isolationKey"));
- // cls-hooked starts a fresh store per init(), so the value set in
+ // Sibling scopes start independent, so the value set in
// the previous scope must not leak into this one.
expect(seen).toBeUndefined();
});
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 5a2b7721a2..05df83e63f 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -646,9 +646,6 @@ importers:
'@types/better-sqlite3':
specifier: 9.6.0
version: 9.6.0
- '@types/cls-hooked':
- specifier: 4.3.9
- version: 4.3.9
'@types/compression':
specifier: 1.8.1
version: 1.8.1
@@ -700,9 +697,6 @@ importers:
chokidar:
specifier: 5.0.0
version: 5.0.0
- cls-hooked:
- specifier: 4.2.2
- version: 4.2.2
color:
specifier: 5.0.3
version: 5.0.3
@@ -4670,9 +4664,6 @@ packages:
resolution: {integrity: sha512-Mw558oeA9fFbv65/y4mHtXDs9bPnFMZAL/jxdPFUpOHHIXX91mcgEHbS5Lahr+pwZFR8A7GQleRWeI6cGFC2UA==}
- '@types/[email protected]':
- resolution: {integrity: sha512-CMtHMz6Q/dkfcHarq9nioXH8BDPP+v5xvd+N90lBQ2bdmu06UvnLDqxTKoOJzz4SzIwb/x9i4UXGAAcnUDuIvg==}
-
resolution: {integrity: sha512-Ub1MmDdyZ7mX//g25uBAoH/mWGd9swVbt8BseymnaE18SU4po/PjmCrHxqIIRjBo3hV/vh1KGr0eMxUhp+t+dQ==}
@@ -6161,10 +6152,6 @@ packages:
resolution: {integrity: sha512-hsU18Ae8CDTR6Kgu9DYf0EbCr/a5iGL0rytQDobUcdpYOKokk8LEjVphnXkDkgpi0wYVsqrXuP0bZxJaTqdgoA==}
engines: {node: '>= 0.4'}
- resolution: {integrity: sha512-gFaHkFfSxTjvoxDMYqDuGHlcRyUuamF8s+ZTtJdDzqjws4mCt7v0vuV79/E2Wr2/riMQgtG4/yUtXWs1gZ7JMg==}
- engines: {node: ^4.7 || >=6.9 || >=7.3}
-
resolution: {integrity: sha512-Az2ZTpuytrtqENulXwO3GGv1Bztugx6TT37NIo7imr/Qo0gsYiGtSdBa2B6fsXhTpVZDNfu1Qn3pk531e3q+nQ==}
@@ -6685,10 +6672,6 @@ packages:
resolution: {integrity: sha512-3Pe/CF1Nn94hyhIYpjtiLhdCoEoz0DqQ+988E9gmeEdQZlojxnOb74wctFyuwWQHzqyf9X7C7MG8juUpqBJT8w==}
engines: {node: '>=0.8'}
- resolution: {integrity: sha512-J4Xj5f5wq/4jAvcdgoGsL3G103BtWpZrMo8NEinRltN+xpTZdI+M38pyQqhuFU/P792xkMFvnKSf+Lm81U1bxw==}
- engines: {node: ^4.7 || >=6.9 || >=7.3 || >=8.2.1}
-
resolution: {integrity: sha512-6/bPho624p3S2pMyvP5kKBPXnI3ufHLObBFCfgx+LkeR5lg2XYy2hqZqUf45ypD8COn2bhgGJSUE+l5dhNBieA==}
engines: {node: '>=6'}
@@ -7481,9 +7464,6 @@ packages:
resolution: {integrity: sha512-f/ZeWvW/BCXbhGEf1Ujp29EASo/lk1FDnETgNKwJrsVvGZhUWCZyg3xLJjAsxfOmt8KjswHmI5EwCQcPMpOYhQ==}
- resolution: {integrity: sha512-Bt1sBAGFHY9DKY+4/2cV6izcKJUf5T7/gkdmkxzX/qv9CcGH8xSwVRW5mtX03SWJtRTWSOpzCuWN9rBFYZepZQ==}
-
resolution: {integrity: sha512-toUI84YS5YmxW219erniWD0CIVOo46xGKColeNQRgOzDorgBi1v4D71/OFzgD9GO2UGKIv1C3Sp8DAn0+j5w7A==}
@@ -11028,9 +11008,6 @@ packages:
resolution: {integrity: sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==}
engines: {node: '>=8'}
- resolution: {integrity: sha512-sQTKC1Re/rM6XyFM6fIAGHRPVGvyXfgzIDvzoq608vM+jeyVD0Tu1E6Np0Kc2zAIFWIj963V2800iF/9LPieQw==}
-
resolution: {integrity: sha512-mjn/0bi/oUURjc5Xl7IaWi/OJJJumuoJFQJfDDyO46+hBWsfaVM65TBHq2eoZBhzl9EchxOijpkbRC8SVBQU0w==}
engines: {node: '>= 0.4'}
@@ -11168,9 +11145,6 @@ packages:
resolution: {integrity: sha512-o57Wcn66jMQvfHG1FlYbWeZWW/dHZhJXjpIcTfXldXEk5nz5lStPo3mK0OJQfGR3RbZUlbISexbljkJzuEj/8Q==}
engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0}
- resolution: {integrity: sha512-D8cWtWVdIe/jBA7v5p5Hwl5yOSOrmZPWDPe2KxQ5UAGD+nxbxU0lKXA4h85Ta6+qgdKVL3vUxsbIZjc1kBG7ug==}
-
resolution: {integrity: sha512-H6D7134xi6qONvh7ZHKgviXf+rd3vhGBSvebPZCaUkd8zvQ+7PtDw6CljPTe4cXWNf2IKZGNqw6VJXSb9IgBpA==}
engines: {node: '>=20.0.0'}
@@ -16408,10 +16382,6 @@ snapshots:
'@types/deep-eql': 4.0.2
assertion-error: 2.0.1
- '@types/[email protected]':
- dependencies:
- '@types/node': 24.13.3
-
dependencies:
'@types/color-name': 1.1.5
@@ -18948,10 +18918,6 @@ snapshots:
- dependencies:
- stack-chain: 1.3.7
-
@@ -19562,12 +19528,6 @@ snapshots:
- dependencies:
- async-hook-jl: 1.7.6
- emitter-listener: 1.1.2
- semver: 5.7.2
-
@@ -20444,10 +20404,6 @@ snapshots:
- dependencies:
- shimmer: 1.2.1
-
@@ -24642,8 +24598,6 @@ snapshots:
-
dependencies:
es-errors: 1.3.0
@@ -24789,8 +24743,6 @@ snapshots:
dependencies:
minipass: 3.3.6
-