@intuned/runtime-dev 1.0.6-cli.6 → 1.0.6-cli.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- import { AsyncLocalStorage } from "async_hooks";
1
+ import { AsyncLocalStorage } from "node:async_hooks";
2
2
  import { Payload, RunInfo } from "../../runtime/export";
3
3
  export declare const asyncLocalStorage: AsyncLocalStorage<InternalRunInfo>;
4
4
  export declare function runWithContext<R, TArgs extends any[]>(contextData: InternalRunInfo, callback: (...args: TArgs) => R, ...args: TArgs): R;
@@ -6,8 +6,8 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.asyncLocalStorage = void 0;
7
7
  exports.getExecutionContext = getExecutionContext;
8
8
  exports.runWithContext = runWithContext;
9
- var _async_hooks = require("async_hooks");
10
- const asyncLocalStorage = exports.asyncLocalStorage = new _async_hooks.AsyncLocalStorage();
9
+ var _nodeAsync_hooks = require("node:async_hooks");
10
+ const asyncLocalStorage = exports.asyncLocalStorage = new _nodeAsync_hooks.AsyncLocalStorage();
11
11
  function runWithContext(contextData, callback, ...args) {
12
12
  return asyncLocalStorage.run(contextData, callback, ...args);
13
13
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@intuned/runtime-dev",
3
- "version": "1.0.6-cli.6",
3
+ "version": "1.0.6-cli.7",
4
4
  "description": "Intuned runtime",
5
5
  "exports": {
6
6
  ".": "./dist/index.js",