@bluelibs/runner 4.5.3 → 4.5.4
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.
- package/dist/index.cjs +12 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +1 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/dist/index.d.mts +0 -1763
package/dist/index.cjs
CHANGED
|
@@ -7,6 +7,12 @@ var __typeError = (msg) => {
|
|
|
7
7
|
throw TypeError(msg);
|
|
8
8
|
};
|
|
9
9
|
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
10
|
+
var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
|
|
11
|
+
get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
|
|
12
|
+
}) : x)(function(x) {
|
|
13
|
+
if (typeof require !== "undefined") return require.apply(this, arguments);
|
|
14
|
+
throw Error('Dynamic require of "' + x + '" is not supported');
|
|
15
|
+
});
|
|
10
16
|
var __export = (target, all) => {
|
|
11
17
|
for (var name in all)
|
|
12
18
|
__defProp(target, name, { get: all[name], enumerable: true });
|
|
@@ -709,7 +715,12 @@ var _PlatformAdapter = class _PlatformAdapter {
|
|
|
709
715
|
}
|
|
710
716
|
async init() {
|
|
711
717
|
if (this.env === "node") {
|
|
712
|
-
|
|
718
|
+
{
|
|
719
|
+
{
|
|
720
|
+
const mod = __require("async_hooks");
|
|
721
|
+
this.nodeALSClass = mod.AsyncLocalStorage;
|
|
722
|
+
}
|
|
723
|
+
}
|
|
713
724
|
}
|
|
714
725
|
}
|
|
715
726
|
onUncaughtException(handler) {
|