@clipboard-health/execution-context
Advanced tools
Comparing version
{ | ||
"name": "@clipboard-health/execution-context", | ||
"description": "A lightweight Node.js utility for managing execution contexts and metadata aggregation using AsyncLocalStorage.", | ||
"version": "0.2.8", | ||
"version": "0.2.9", | ||
"dependencies": { | ||
@@ -6,0 +6,0 @@ "tslib": "2.8.0" |
@@ -0,3 +1,3 @@ | ||
import "./types/global"; | ||
export * from "./lib/contextStore"; | ||
export * from "./types/global"; | ||
export * from "./types/types"; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const tslib_1 = require("tslib"); | ||
require("./types/global"); | ||
tslib_1.__exportStar(require("./lib/contextStore"), exports); | ||
tslib_1.__exportStar(require("./types/global"), exports); | ||
tslib_1.__exportStar(require("./types/types"), exports); | ||
//# sourceMappingURL=index.js.map |
@@ -0,1 +1,2 @@ | ||
import "../types/global"; | ||
import { type ExecutionContext } from "../types/types"; | ||
@@ -2,0 +3,0 @@ export declare function getExecutionContext(): ExecutionContext | undefined; |
@@ -8,2 +8,3 @@ "use strict"; | ||
exports.addToMetadataList = addToMetadataList; | ||
require("../types/global"); | ||
const node_async_hooks_1 = require("node:async_hooks"); | ||
@@ -10,0 +11,0 @@ globalThis.threadLocalStorage ||= new node_async_hooks_1.AsyncLocalStorage(); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
9827
5.15%14
27.27%106
9.28%