@nsshunt/stsrunnerframework 1.0.161 → 1.0.163

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.
@@ -58,6 +58,13 @@ var IWorkerState = /* @__PURE__ */ ((IWorkerState2) => {
58
58
  IWorkerState2["error"] = "error";
59
59
  return IWorkerState2;
60
60
  })(IWorkerState || {});
61
+ var IRunnerSignalType = /* @__PURE__ */ ((IRunnerSignalType2) => {
62
+ IRunnerSignalType2["duration"] = "duration";
63
+ IRunnerSignalType2["iteration"] = "iteration";
64
+ IRunnerSignalType2["log"] = "log";
65
+ IRunnerSignalType2["user"] = "user";
66
+ return IRunnerSignalType2;
67
+ })(IRunnerSignalType || {});
61
68
  const PublishMessageCommandsTestRunner = {
62
69
  ...eIWMessageCommands,
63
70
  GetAccessToken: "__GetAccessToken",
@@ -67,6 +74,7 @@ const PublishMessageCommandsTestRunner = {
67
74
  ExecuteRefreshTokenResponse: "__ExecuteRefreshTokenResponse"
68
75
  };
69
76
  const isNode = Object.prototype.toString.call(typeof process !== "undefined" ? process : 0) === "[object process]";
77
+ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
70
78
  function getDefaultExportFromCjs(x) {
71
79
  return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
72
80
  }
@@ -1458,7 +1466,7 @@ function requireSource() {
1458
1466
  parent
1459
1467
  };
1460
1468
  };
1461
- const createBuilder = (self, _styler, _isEmpty) => {
1469
+ const createBuilder = (self2, _styler, _isEmpty) => {
1462
1470
  const builder = (...arguments_) => {
1463
1471
  if (isArray(arguments_[0]) && isArray(arguments_[0].raw)) {
1464
1472
  return applyStyle(builder, chalkTag(builder, ...arguments_));
@@ -1466,16 +1474,16 @@ function requireSource() {
1466
1474
  return applyStyle(builder, arguments_.length === 1 ? "" + arguments_[0] : arguments_.join(" "));
1467
1475
  };
1468
1476
  Object.setPrototypeOf(builder, proto);
1469
- builder._generator = self;
1477
+ builder._generator = self2;
1470
1478
  builder._styler = _styler;
1471
1479
  builder._isEmpty = _isEmpty;
1472
1480
  return builder;
1473
1481
  };
1474
- const applyStyle = (self, string) => {
1475
- if (self.level <= 0 || !string) {
1476
- return self._isEmpty ? "" : string;
1482
+ const applyStyle = (self2, string) => {
1483
+ if (self2.level <= 0 || !string) {
1484
+ return self2._isEmpty ? "" : string;
1477
1485
  }
1478
- let styler = self._styler;
1486
+ let styler = self2._styler;
1479
1487
  if (styler === void 0) {
1480
1488
  return string;
1481
1489
  }
@@ -1538,27 +1546,27 @@ class WorkerInstance {
1538
1546
  }
1539
1547
  });
1540
1548
  __privateAdd(this, _silly, (message) => {
1541
- if (__privateGet(this, _options) && __privateGet(this, _options).logLevel <= 5) {
1549
+ if (__privateGet(this, _options) && __privateGet(this, _options).logLevel >= 5) {
1542
1550
  __privateGet(this, _logMessage).call(this, this.logger.silly, message);
1543
1551
  }
1544
1552
  });
1545
1553
  __privateAdd(this, _debug, (message) => {
1546
- if (__privateGet(this, _options) && __privateGet(this, _options).logLevel <= 4) {
1554
+ if (__privateGet(this, _options) && __privateGet(this, _options).logLevel >= 4) {
1547
1555
  __privateGet(this, _logMessage).call(this, this.logger.debug, message);
1548
1556
  }
1549
1557
  });
1550
1558
  __privateAdd(this, _info, (message) => {
1551
- if (__privateGet(this, _options) && __privateGet(this, _options).logLevel <= 3) {
1559
+ if (__privateGet(this, _options) && __privateGet(this, _options).logLevel >= 3) {
1552
1560
  __privateGet(this, _logMessage).call(this, this.logger.info, message);
1553
1561
  }
1554
1562
  });
1555
1563
  __privateAdd(this, _warn, (message) => {
1556
- if (__privateGet(this, _options) && __privateGet(this, _options).logLevel <= 2) {
1564
+ if (__privateGet(this, _options) && __privateGet(this, _options).logLevel >= 2) {
1557
1565
  __privateGet(this, _logMessage).call(this, this.logger.warn, message);
1558
1566
  }
1559
1567
  });
1560
1568
  __privateAdd(this, _error, (error) => {
1561
- if (__privateGet(this, _options) && __privateGet(this, _options).logLevel <= 1) {
1569
+ if (__privateGet(this, _options) && __privateGet(this, _options).logLevel >= 1) {
1562
1570
  __privateGet(this, _logMessage).call(this, this.logger.error, error);
1563
1571
  }
1564
1572
  });
@@ -2335,6 +2343,692 @@ function v4(options, buf, offset) {
2335
2343
  rnds[8] = rnds[8] & 63 | 128;
2336
2344
  return unsafeStringify(rnds);
2337
2345
  }
2346
+ var lodash_merge = { exports: {} };
2347
+ lodash_merge.exports;
2348
+ var hasRequiredLodash_merge;
2349
+ function requireLodash_merge() {
2350
+ if (hasRequiredLodash_merge) return lodash_merge.exports;
2351
+ hasRequiredLodash_merge = 1;
2352
+ (function(module, exports) {
2353
+ var LARGE_ARRAY_SIZE = 200;
2354
+ var HASH_UNDEFINED = "__lodash_hash_undefined__";
2355
+ var HOT_COUNT = 800, HOT_SPAN = 16;
2356
+ var MAX_SAFE_INTEGER = 9007199254740991;
2357
+ var argsTag = "[object Arguments]", arrayTag = "[object Array]", asyncTag = "[object AsyncFunction]", boolTag = "[object Boolean]", dateTag = "[object Date]", errorTag = "[object Error]", funcTag = "[object Function]", genTag = "[object GeneratorFunction]", mapTag = "[object Map]", numberTag = "[object Number]", nullTag = "[object Null]", objectTag = "[object Object]", proxyTag = "[object Proxy]", regexpTag = "[object RegExp]", setTag = "[object Set]", stringTag = "[object String]", undefinedTag = "[object Undefined]", weakMapTag = "[object WeakMap]";
2358
+ var arrayBufferTag = "[object ArrayBuffer]", dataViewTag = "[object DataView]", float32Tag = "[object Float32Array]", float64Tag = "[object Float64Array]", int8Tag = "[object Int8Array]", int16Tag = "[object Int16Array]", int32Tag = "[object Int32Array]", uint8Tag = "[object Uint8Array]", uint8ClampedTag = "[object Uint8ClampedArray]", uint16Tag = "[object Uint16Array]", uint32Tag = "[object Uint32Array]";
2359
+ var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
2360
+ var reIsHostCtor = /^\[object .+?Constructor\]$/;
2361
+ var reIsUint = /^(?:0|[1-9]\d*)$/;
2362
+ var typedArrayTags = {};
2363
+ typedArrayTags[float32Tag] = typedArrayTags[float64Tag] = typedArrayTags[int8Tag] = typedArrayTags[int16Tag] = typedArrayTags[int32Tag] = typedArrayTags[uint8Tag] = typedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] = typedArrayTags[uint32Tag] = true;
2364
+ typedArrayTags[argsTag] = typedArrayTags[arrayTag] = typedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] = typedArrayTags[dataViewTag] = typedArrayTags[dateTag] = typedArrayTags[errorTag] = typedArrayTags[funcTag] = typedArrayTags[mapTag] = typedArrayTags[numberTag] = typedArrayTags[objectTag] = typedArrayTags[regexpTag] = typedArrayTags[setTag] = typedArrayTags[stringTag] = typedArrayTags[weakMapTag] = false;
2365
+ var freeGlobal = typeof commonjsGlobal == "object" && commonjsGlobal && commonjsGlobal.Object === Object && commonjsGlobal;
2366
+ var freeSelf = typeof self == "object" && self && self.Object === Object && self;
2367
+ var root = freeGlobal || freeSelf || Function("return this")();
2368
+ var freeExports = exports && !exports.nodeType && exports;
2369
+ var freeModule = freeExports && true && module && !module.nodeType && module;
2370
+ var moduleExports = freeModule && freeModule.exports === freeExports;
2371
+ var freeProcess = moduleExports && freeGlobal.process;
2372
+ var nodeUtil = function() {
2373
+ try {
2374
+ var types = freeModule && freeModule.require && freeModule.require("util").types;
2375
+ if (types) {
2376
+ return types;
2377
+ }
2378
+ return freeProcess && freeProcess.binding && freeProcess.binding("util");
2379
+ } catch (e) {
2380
+ }
2381
+ }();
2382
+ var nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;
2383
+ function apply(func, thisArg, args) {
2384
+ switch (args.length) {
2385
+ case 0:
2386
+ return func.call(thisArg);
2387
+ case 1:
2388
+ return func.call(thisArg, args[0]);
2389
+ case 2:
2390
+ return func.call(thisArg, args[0], args[1]);
2391
+ case 3:
2392
+ return func.call(thisArg, args[0], args[1], args[2]);
2393
+ }
2394
+ return func.apply(thisArg, args);
2395
+ }
2396
+ function baseTimes(n, iteratee) {
2397
+ var index = -1, result = Array(n);
2398
+ while (++index < n) {
2399
+ result[index] = iteratee(index);
2400
+ }
2401
+ return result;
2402
+ }
2403
+ function baseUnary(func) {
2404
+ return function(value) {
2405
+ return func(value);
2406
+ };
2407
+ }
2408
+ function getValue(object, key) {
2409
+ return object == null ? void 0 : object[key];
2410
+ }
2411
+ function overArg(func, transform) {
2412
+ return function(arg) {
2413
+ return func(transform(arg));
2414
+ };
2415
+ }
2416
+ var arrayProto = Array.prototype, funcProto = Function.prototype, objectProto = Object.prototype;
2417
+ var coreJsData = root["__core-js_shared__"];
2418
+ var funcToString = funcProto.toString;
2419
+ var hasOwnProperty = objectProto.hasOwnProperty;
2420
+ var maskSrcKey = function() {
2421
+ var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || "");
2422
+ return uid ? "Symbol(src)_1." + uid : "";
2423
+ }();
2424
+ var nativeObjectToString = objectProto.toString;
2425
+ var objectCtorString = funcToString.call(Object);
2426
+ var reIsNative = RegExp(
2427
+ "^" + funcToString.call(hasOwnProperty).replace(reRegExpChar, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
2428
+ );
2429
+ var Buffer2 = moduleExports ? root.Buffer : void 0, Symbol2 = root.Symbol, Uint8Array2 = root.Uint8Array;
2430
+ Buffer2 ? Buffer2.allocUnsafe : void 0;
2431
+ var getPrototype = overArg(Object.getPrototypeOf, Object), objectCreate = Object.create, propertyIsEnumerable = objectProto.propertyIsEnumerable, splice = arrayProto.splice, symToStringTag = Symbol2 ? Symbol2.toStringTag : void 0;
2432
+ var defineProperty = function() {
2433
+ try {
2434
+ var func = getNative(Object, "defineProperty");
2435
+ func({}, "", {});
2436
+ return func;
2437
+ } catch (e) {
2438
+ }
2439
+ }();
2440
+ var nativeIsBuffer = Buffer2 ? Buffer2.isBuffer : void 0, nativeMax = Math.max, nativeNow = Date.now;
2441
+ var Map2 = getNative(root, "Map"), nativeCreate = getNative(Object, "create");
2442
+ var baseCreate = /* @__PURE__ */ function() {
2443
+ function object() {
2444
+ }
2445
+ return function(proto) {
2446
+ if (!isObject(proto)) {
2447
+ return {};
2448
+ }
2449
+ if (objectCreate) {
2450
+ return objectCreate(proto);
2451
+ }
2452
+ object.prototype = proto;
2453
+ var result = new object();
2454
+ object.prototype = void 0;
2455
+ return result;
2456
+ };
2457
+ }();
2458
+ function Hash(entries) {
2459
+ var index = -1, length = entries == null ? 0 : entries.length;
2460
+ this.clear();
2461
+ while (++index < length) {
2462
+ var entry = entries[index];
2463
+ this.set(entry[0], entry[1]);
2464
+ }
2465
+ }
2466
+ function hashClear() {
2467
+ this.__data__ = nativeCreate ? nativeCreate(null) : {};
2468
+ this.size = 0;
2469
+ }
2470
+ function hashDelete(key) {
2471
+ var result = this.has(key) && delete this.__data__[key];
2472
+ this.size -= result ? 1 : 0;
2473
+ return result;
2474
+ }
2475
+ function hashGet(key) {
2476
+ var data = this.__data__;
2477
+ if (nativeCreate) {
2478
+ var result = data[key];
2479
+ return result === HASH_UNDEFINED ? void 0 : result;
2480
+ }
2481
+ return hasOwnProperty.call(data, key) ? data[key] : void 0;
2482
+ }
2483
+ function hashHas(key) {
2484
+ var data = this.__data__;
2485
+ return nativeCreate ? data[key] !== void 0 : hasOwnProperty.call(data, key);
2486
+ }
2487
+ function hashSet(key, value) {
2488
+ var data = this.__data__;
2489
+ this.size += this.has(key) ? 0 : 1;
2490
+ data[key] = nativeCreate && value === void 0 ? HASH_UNDEFINED : value;
2491
+ return this;
2492
+ }
2493
+ Hash.prototype.clear = hashClear;
2494
+ Hash.prototype["delete"] = hashDelete;
2495
+ Hash.prototype.get = hashGet;
2496
+ Hash.prototype.has = hashHas;
2497
+ Hash.prototype.set = hashSet;
2498
+ function ListCache(entries) {
2499
+ var index = -1, length = entries == null ? 0 : entries.length;
2500
+ this.clear();
2501
+ while (++index < length) {
2502
+ var entry = entries[index];
2503
+ this.set(entry[0], entry[1]);
2504
+ }
2505
+ }
2506
+ function listCacheClear() {
2507
+ this.__data__ = [];
2508
+ this.size = 0;
2509
+ }
2510
+ function listCacheDelete(key) {
2511
+ var data = this.__data__, index = assocIndexOf(data, key);
2512
+ if (index < 0) {
2513
+ return false;
2514
+ }
2515
+ var lastIndex = data.length - 1;
2516
+ if (index == lastIndex) {
2517
+ data.pop();
2518
+ } else {
2519
+ splice.call(data, index, 1);
2520
+ }
2521
+ --this.size;
2522
+ return true;
2523
+ }
2524
+ function listCacheGet(key) {
2525
+ var data = this.__data__, index = assocIndexOf(data, key);
2526
+ return index < 0 ? void 0 : data[index][1];
2527
+ }
2528
+ function listCacheHas(key) {
2529
+ return assocIndexOf(this.__data__, key) > -1;
2530
+ }
2531
+ function listCacheSet(key, value) {
2532
+ var data = this.__data__, index = assocIndexOf(data, key);
2533
+ if (index < 0) {
2534
+ ++this.size;
2535
+ data.push([key, value]);
2536
+ } else {
2537
+ data[index][1] = value;
2538
+ }
2539
+ return this;
2540
+ }
2541
+ ListCache.prototype.clear = listCacheClear;
2542
+ ListCache.prototype["delete"] = listCacheDelete;
2543
+ ListCache.prototype.get = listCacheGet;
2544
+ ListCache.prototype.has = listCacheHas;
2545
+ ListCache.prototype.set = listCacheSet;
2546
+ function MapCache(entries) {
2547
+ var index = -1, length = entries == null ? 0 : entries.length;
2548
+ this.clear();
2549
+ while (++index < length) {
2550
+ var entry = entries[index];
2551
+ this.set(entry[0], entry[1]);
2552
+ }
2553
+ }
2554
+ function mapCacheClear() {
2555
+ this.size = 0;
2556
+ this.__data__ = {
2557
+ "hash": new Hash(),
2558
+ "map": new (Map2 || ListCache)(),
2559
+ "string": new Hash()
2560
+ };
2561
+ }
2562
+ function mapCacheDelete(key) {
2563
+ var result = getMapData(this, key)["delete"](key);
2564
+ this.size -= result ? 1 : 0;
2565
+ return result;
2566
+ }
2567
+ function mapCacheGet(key) {
2568
+ return getMapData(this, key).get(key);
2569
+ }
2570
+ function mapCacheHas(key) {
2571
+ return getMapData(this, key).has(key);
2572
+ }
2573
+ function mapCacheSet(key, value) {
2574
+ var data = getMapData(this, key), size = data.size;
2575
+ data.set(key, value);
2576
+ this.size += data.size == size ? 0 : 1;
2577
+ return this;
2578
+ }
2579
+ MapCache.prototype.clear = mapCacheClear;
2580
+ MapCache.prototype["delete"] = mapCacheDelete;
2581
+ MapCache.prototype.get = mapCacheGet;
2582
+ MapCache.prototype.has = mapCacheHas;
2583
+ MapCache.prototype.set = mapCacheSet;
2584
+ function Stack(entries) {
2585
+ var data = this.__data__ = new ListCache(entries);
2586
+ this.size = data.size;
2587
+ }
2588
+ function stackClear() {
2589
+ this.__data__ = new ListCache();
2590
+ this.size = 0;
2591
+ }
2592
+ function stackDelete(key) {
2593
+ var data = this.__data__, result = data["delete"](key);
2594
+ this.size = data.size;
2595
+ return result;
2596
+ }
2597
+ function stackGet(key) {
2598
+ return this.__data__.get(key);
2599
+ }
2600
+ function stackHas(key) {
2601
+ return this.__data__.has(key);
2602
+ }
2603
+ function stackSet(key, value) {
2604
+ var data = this.__data__;
2605
+ if (data instanceof ListCache) {
2606
+ var pairs = data.__data__;
2607
+ if (!Map2 || pairs.length < LARGE_ARRAY_SIZE - 1) {
2608
+ pairs.push([key, value]);
2609
+ this.size = ++data.size;
2610
+ return this;
2611
+ }
2612
+ data = this.__data__ = new MapCache(pairs);
2613
+ }
2614
+ data.set(key, value);
2615
+ this.size = data.size;
2616
+ return this;
2617
+ }
2618
+ Stack.prototype.clear = stackClear;
2619
+ Stack.prototype["delete"] = stackDelete;
2620
+ Stack.prototype.get = stackGet;
2621
+ Stack.prototype.has = stackHas;
2622
+ Stack.prototype.set = stackSet;
2623
+ function arrayLikeKeys(value, inherited) {
2624
+ var isArr = isArray(value), isArg = !isArr && isArguments(value), isBuff = !isArr && !isArg && isBuffer(value), isType = !isArr && !isArg && !isBuff && isTypedArray(value), skipIndexes = isArr || isArg || isBuff || isType, result = skipIndexes ? baseTimes(value.length, String) : [], length = result.length;
2625
+ for (var key in value) {
2626
+ if (!(skipIndexes && // Safari 9 has enumerable `arguments.length` in strict mode.
2627
+ (key == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
2628
+ isBuff && (key == "offset" || key == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
2629
+ isType && (key == "buffer" || key == "byteLength" || key == "byteOffset") || // Skip index properties.
2630
+ isIndex(key, length)))) {
2631
+ result.push(key);
2632
+ }
2633
+ }
2634
+ return result;
2635
+ }
2636
+ function assignMergeValue(object, key, value) {
2637
+ if (value !== void 0 && !eq(object[key], value) || value === void 0 && !(key in object)) {
2638
+ baseAssignValue(object, key, value);
2639
+ }
2640
+ }
2641
+ function assignValue(object, key, value) {
2642
+ var objValue = object[key];
2643
+ if (!(hasOwnProperty.call(object, key) && eq(objValue, value)) || value === void 0 && !(key in object)) {
2644
+ baseAssignValue(object, key, value);
2645
+ }
2646
+ }
2647
+ function assocIndexOf(array, key) {
2648
+ var length = array.length;
2649
+ while (length--) {
2650
+ if (eq(array[length][0], key)) {
2651
+ return length;
2652
+ }
2653
+ }
2654
+ return -1;
2655
+ }
2656
+ function baseAssignValue(object, key, value) {
2657
+ if (key == "__proto__" && defineProperty) {
2658
+ defineProperty(object, key, {
2659
+ "configurable": true,
2660
+ "enumerable": true,
2661
+ "value": value,
2662
+ "writable": true
2663
+ });
2664
+ } else {
2665
+ object[key] = value;
2666
+ }
2667
+ }
2668
+ var baseFor = createBaseFor();
2669
+ function baseGetTag(value) {
2670
+ if (value == null) {
2671
+ return value === void 0 ? undefinedTag : nullTag;
2672
+ }
2673
+ return symToStringTag && symToStringTag in Object(value) ? getRawTag(value) : objectToString(value);
2674
+ }
2675
+ function baseIsArguments(value) {
2676
+ return isObjectLike(value) && baseGetTag(value) == argsTag;
2677
+ }
2678
+ function baseIsNative(value) {
2679
+ if (!isObject(value) || isMasked(value)) {
2680
+ return false;
2681
+ }
2682
+ var pattern = isFunction(value) ? reIsNative : reIsHostCtor;
2683
+ return pattern.test(toSource(value));
2684
+ }
2685
+ function baseIsTypedArray(value) {
2686
+ return isObjectLike(value) && isLength(value.length) && !!typedArrayTags[baseGetTag(value)];
2687
+ }
2688
+ function baseKeysIn(object) {
2689
+ if (!isObject(object)) {
2690
+ return nativeKeysIn(object);
2691
+ }
2692
+ var isProto = isPrototype(object), result = [];
2693
+ for (var key in object) {
2694
+ if (!(key == "constructor" && (isProto || !hasOwnProperty.call(object, key)))) {
2695
+ result.push(key);
2696
+ }
2697
+ }
2698
+ return result;
2699
+ }
2700
+ function baseMerge(object, source2, srcIndex, customizer, stack) {
2701
+ if (object === source2) {
2702
+ return;
2703
+ }
2704
+ baseFor(source2, function(srcValue, key) {
2705
+ stack || (stack = new Stack());
2706
+ if (isObject(srcValue)) {
2707
+ baseMergeDeep(object, source2, key, srcIndex, baseMerge, customizer, stack);
2708
+ } else {
2709
+ var newValue = customizer ? customizer(safeGet(object, key), srcValue, key + "", object, source2, stack) : void 0;
2710
+ if (newValue === void 0) {
2711
+ newValue = srcValue;
2712
+ }
2713
+ assignMergeValue(object, key, newValue);
2714
+ }
2715
+ }, keysIn);
2716
+ }
2717
+ function baseMergeDeep(object, source2, key, srcIndex, mergeFunc, customizer, stack) {
2718
+ var objValue = safeGet(object, key), srcValue = safeGet(source2, key), stacked = stack.get(srcValue);
2719
+ if (stacked) {
2720
+ assignMergeValue(object, key, stacked);
2721
+ return;
2722
+ }
2723
+ var newValue = customizer ? customizer(objValue, srcValue, key + "", object, source2, stack) : void 0;
2724
+ var isCommon = newValue === void 0;
2725
+ if (isCommon) {
2726
+ var isArr = isArray(srcValue), isBuff = !isArr && isBuffer(srcValue), isTyped = !isArr && !isBuff && isTypedArray(srcValue);
2727
+ newValue = srcValue;
2728
+ if (isArr || isBuff || isTyped) {
2729
+ if (isArray(objValue)) {
2730
+ newValue = objValue;
2731
+ } else if (isArrayLikeObject(objValue)) {
2732
+ newValue = copyArray(objValue);
2733
+ } else if (isBuff) {
2734
+ isCommon = false;
2735
+ newValue = cloneBuffer(srcValue);
2736
+ } else if (isTyped) {
2737
+ isCommon = false;
2738
+ newValue = cloneTypedArray(srcValue);
2739
+ } else {
2740
+ newValue = [];
2741
+ }
2742
+ } else if (isPlainObject(srcValue) || isArguments(srcValue)) {
2743
+ newValue = objValue;
2744
+ if (isArguments(objValue)) {
2745
+ newValue = toPlainObject(objValue);
2746
+ } else if (!isObject(objValue) || isFunction(objValue)) {
2747
+ newValue = initCloneObject(srcValue);
2748
+ }
2749
+ } else {
2750
+ isCommon = false;
2751
+ }
2752
+ }
2753
+ if (isCommon) {
2754
+ stack.set(srcValue, newValue);
2755
+ mergeFunc(newValue, srcValue, srcIndex, customizer, stack);
2756
+ stack["delete"](srcValue);
2757
+ }
2758
+ assignMergeValue(object, key, newValue);
2759
+ }
2760
+ function baseRest(func, start) {
2761
+ return setToString(overRest(func, start, identity), func + "");
2762
+ }
2763
+ var baseSetToString = !defineProperty ? identity : function(func, string) {
2764
+ return defineProperty(func, "toString", {
2765
+ "configurable": true,
2766
+ "enumerable": false,
2767
+ "value": constant(string),
2768
+ "writable": true
2769
+ });
2770
+ };
2771
+ function cloneBuffer(buffer, isDeep) {
2772
+ {
2773
+ return buffer.slice();
2774
+ }
2775
+ }
2776
+ function cloneArrayBuffer(arrayBuffer) {
2777
+ var result = new arrayBuffer.constructor(arrayBuffer.byteLength);
2778
+ new Uint8Array2(result).set(new Uint8Array2(arrayBuffer));
2779
+ return result;
2780
+ }
2781
+ function cloneTypedArray(typedArray, isDeep) {
2782
+ var buffer = cloneArrayBuffer(typedArray.buffer);
2783
+ return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);
2784
+ }
2785
+ function copyArray(source2, array) {
2786
+ var index = -1, length = source2.length;
2787
+ array || (array = Array(length));
2788
+ while (++index < length) {
2789
+ array[index] = source2[index];
2790
+ }
2791
+ return array;
2792
+ }
2793
+ function copyObject(source2, props, object, customizer) {
2794
+ var isNew = !object;
2795
+ object || (object = {});
2796
+ var index = -1, length = props.length;
2797
+ while (++index < length) {
2798
+ var key = props[index];
2799
+ var newValue = void 0;
2800
+ if (newValue === void 0) {
2801
+ newValue = source2[key];
2802
+ }
2803
+ if (isNew) {
2804
+ baseAssignValue(object, key, newValue);
2805
+ } else {
2806
+ assignValue(object, key, newValue);
2807
+ }
2808
+ }
2809
+ return object;
2810
+ }
2811
+ function createAssigner(assigner) {
2812
+ return baseRest(function(object, sources) {
2813
+ var index = -1, length = sources.length, customizer = length > 1 ? sources[length - 1] : void 0, guard = length > 2 ? sources[2] : void 0;
2814
+ customizer = assigner.length > 3 && typeof customizer == "function" ? (length--, customizer) : void 0;
2815
+ if (guard && isIterateeCall(sources[0], sources[1], guard)) {
2816
+ customizer = length < 3 ? void 0 : customizer;
2817
+ length = 1;
2818
+ }
2819
+ object = Object(object);
2820
+ while (++index < length) {
2821
+ var source2 = sources[index];
2822
+ if (source2) {
2823
+ assigner(object, source2, index, customizer);
2824
+ }
2825
+ }
2826
+ return object;
2827
+ });
2828
+ }
2829
+ function createBaseFor(fromRight) {
2830
+ return function(object, iteratee, keysFunc) {
2831
+ var index = -1, iterable = Object(object), props = keysFunc(object), length = props.length;
2832
+ while (length--) {
2833
+ var key = props[++index];
2834
+ if (iteratee(iterable[key], key, iterable) === false) {
2835
+ break;
2836
+ }
2837
+ }
2838
+ return object;
2839
+ };
2840
+ }
2841
+ function getMapData(map, key) {
2842
+ var data = map.__data__;
2843
+ return isKeyable(key) ? data[typeof key == "string" ? "string" : "hash"] : data.map;
2844
+ }
2845
+ function getNative(object, key) {
2846
+ var value = getValue(object, key);
2847
+ return baseIsNative(value) ? value : void 0;
2848
+ }
2849
+ function getRawTag(value) {
2850
+ var isOwn = hasOwnProperty.call(value, symToStringTag), tag = value[symToStringTag];
2851
+ try {
2852
+ value[symToStringTag] = void 0;
2853
+ var unmasked = true;
2854
+ } catch (e) {
2855
+ }
2856
+ var result = nativeObjectToString.call(value);
2857
+ if (unmasked) {
2858
+ if (isOwn) {
2859
+ value[symToStringTag] = tag;
2860
+ } else {
2861
+ delete value[symToStringTag];
2862
+ }
2863
+ }
2864
+ return result;
2865
+ }
2866
+ function initCloneObject(object) {
2867
+ return typeof object.constructor == "function" && !isPrototype(object) ? baseCreate(getPrototype(object)) : {};
2868
+ }
2869
+ function isIndex(value, length) {
2870
+ var type = typeof value;
2871
+ length = length == null ? MAX_SAFE_INTEGER : length;
2872
+ return !!length && (type == "number" || type != "symbol" && reIsUint.test(value)) && (value > -1 && value % 1 == 0 && value < length);
2873
+ }
2874
+ function isIterateeCall(value, index, object) {
2875
+ if (!isObject(object)) {
2876
+ return false;
2877
+ }
2878
+ var type = typeof index;
2879
+ if (type == "number" ? isArrayLike(object) && isIndex(index, object.length) : type == "string" && index in object) {
2880
+ return eq(object[index], value);
2881
+ }
2882
+ return false;
2883
+ }
2884
+ function isKeyable(value) {
2885
+ var type = typeof value;
2886
+ return type == "string" || type == "number" || type == "symbol" || type == "boolean" ? value !== "__proto__" : value === null;
2887
+ }
2888
+ function isMasked(func) {
2889
+ return !!maskSrcKey && maskSrcKey in func;
2890
+ }
2891
+ function isPrototype(value) {
2892
+ var Ctor = value && value.constructor, proto = typeof Ctor == "function" && Ctor.prototype || objectProto;
2893
+ return value === proto;
2894
+ }
2895
+ function nativeKeysIn(object) {
2896
+ var result = [];
2897
+ if (object != null) {
2898
+ for (var key in Object(object)) {
2899
+ result.push(key);
2900
+ }
2901
+ }
2902
+ return result;
2903
+ }
2904
+ function objectToString(value) {
2905
+ return nativeObjectToString.call(value);
2906
+ }
2907
+ function overRest(func, start, transform) {
2908
+ start = nativeMax(start === void 0 ? func.length - 1 : start, 0);
2909
+ return function() {
2910
+ var args = arguments, index = -1, length = nativeMax(args.length - start, 0), array = Array(length);
2911
+ while (++index < length) {
2912
+ array[index] = args[start + index];
2913
+ }
2914
+ index = -1;
2915
+ var otherArgs = Array(start + 1);
2916
+ while (++index < start) {
2917
+ otherArgs[index] = args[index];
2918
+ }
2919
+ otherArgs[start] = transform(array);
2920
+ return apply(func, this, otherArgs);
2921
+ };
2922
+ }
2923
+ function safeGet(object, key) {
2924
+ if (key === "constructor" && typeof object[key] === "function") {
2925
+ return;
2926
+ }
2927
+ if (key == "__proto__") {
2928
+ return;
2929
+ }
2930
+ return object[key];
2931
+ }
2932
+ var setToString = shortOut(baseSetToString);
2933
+ function shortOut(func) {
2934
+ var count = 0, lastCalled = 0;
2935
+ return function() {
2936
+ var stamp = nativeNow(), remaining = HOT_SPAN - (stamp - lastCalled);
2937
+ lastCalled = stamp;
2938
+ if (remaining > 0) {
2939
+ if (++count >= HOT_COUNT) {
2940
+ return arguments[0];
2941
+ }
2942
+ } else {
2943
+ count = 0;
2944
+ }
2945
+ return func.apply(void 0, arguments);
2946
+ };
2947
+ }
2948
+ function toSource(func) {
2949
+ if (func != null) {
2950
+ try {
2951
+ return funcToString.call(func);
2952
+ } catch (e) {
2953
+ }
2954
+ try {
2955
+ return func + "";
2956
+ } catch (e) {
2957
+ }
2958
+ }
2959
+ return "";
2960
+ }
2961
+ function eq(value, other) {
2962
+ return value === other || value !== value && other !== other;
2963
+ }
2964
+ var isArguments = baseIsArguments(/* @__PURE__ */ function() {
2965
+ return arguments;
2966
+ }()) ? baseIsArguments : function(value) {
2967
+ return isObjectLike(value) && hasOwnProperty.call(value, "callee") && !propertyIsEnumerable.call(value, "callee");
2968
+ };
2969
+ var isArray = Array.isArray;
2970
+ function isArrayLike(value) {
2971
+ return value != null && isLength(value.length) && !isFunction(value);
2972
+ }
2973
+ function isArrayLikeObject(value) {
2974
+ return isObjectLike(value) && isArrayLike(value);
2975
+ }
2976
+ var isBuffer = nativeIsBuffer || stubFalse;
2977
+ function isFunction(value) {
2978
+ if (!isObject(value)) {
2979
+ return false;
2980
+ }
2981
+ var tag = baseGetTag(value);
2982
+ return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;
2983
+ }
2984
+ function isLength(value) {
2985
+ return typeof value == "number" && value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
2986
+ }
2987
+ function isObject(value) {
2988
+ var type = typeof value;
2989
+ return value != null && (type == "object" || type == "function");
2990
+ }
2991
+ function isObjectLike(value) {
2992
+ return value != null && typeof value == "object";
2993
+ }
2994
+ function isPlainObject(value) {
2995
+ if (!isObjectLike(value) || baseGetTag(value) != objectTag) {
2996
+ return false;
2997
+ }
2998
+ var proto = getPrototype(value);
2999
+ if (proto === null) {
3000
+ return true;
3001
+ }
3002
+ var Ctor = hasOwnProperty.call(proto, "constructor") && proto.constructor;
3003
+ return typeof Ctor == "function" && Ctor instanceof Ctor && funcToString.call(Ctor) == objectCtorString;
3004
+ }
3005
+ var isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;
3006
+ function toPlainObject(value) {
3007
+ return copyObject(value, keysIn(value));
3008
+ }
3009
+ function keysIn(object) {
3010
+ return isArrayLike(object) ? arrayLikeKeys(object) : baseKeysIn(object);
3011
+ }
3012
+ var merge2 = createAssigner(function(object, source2, srcIndex) {
3013
+ baseMerge(object, source2, srcIndex);
3014
+ });
3015
+ function constant(value) {
3016
+ return function() {
3017
+ return value;
3018
+ };
3019
+ }
3020
+ function identity(value) {
3021
+ return value;
3022
+ }
3023
+ function stubFalse() {
3024
+ return false;
3025
+ }
3026
+ module.exports = merge2;
3027
+ })(lodash_merge, lodash_merge.exports);
3028
+ return lodash_merge.exports;
3029
+ }
3030
+ var lodash_mergeExports = requireLodash_merge();
3031
+ const merge = /* @__PURE__ */ getDefaultExportFromCjs(lodash_mergeExports);
2338
3032
  chalk.level = 3;
2339
3033
  class STSWorkerManager {
2340
3034
  constructor(options) {
@@ -2352,27 +3046,27 @@ class STSWorkerManager {
2352
3046
  fn(`pid: [${process.pid}] STSWorkerManager: ID: [${__privateGet(this, _id)}] Log: [${message}]`);
2353
3047
  });
2354
3048
  __privateAdd(this, _silly2, (message) => {
2355
- if (__privateGet(this, _options2) && __privateGet(this, _options2).logLevel <= 5) {
3049
+ if (__privateGet(this, _options2) && __privateGet(this, _options2).logLevel >= 5) {
2356
3050
  __privateGet(this, _logMessage2).call(this, __privateGet(this, _options2).logger.silly, message);
2357
3051
  }
2358
3052
  });
2359
3053
  __privateAdd(this, _debug2, (message) => {
2360
- if (__privateGet(this, _options2) && __privateGet(this, _options2).logLevel <= 4) {
3054
+ if (__privateGet(this, _options2) && __privateGet(this, _options2).logLevel >= 4) {
2361
3055
  __privateGet(this, _logMessage2).call(this, __privateGet(this, _options2).logger.debug, message);
2362
3056
  }
2363
3057
  });
2364
3058
  __privateAdd(this, _info2, (message) => {
2365
- if (__privateGet(this, _options2) && __privateGet(this, _options2).logLevel <= 3) {
3059
+ if (__privateGet(this, _options2) && __privateGet(this, _options2).logLevel >= 3) {
2366
3060
  __privateGet(this, _logMessage2).call(this, __privateGet(this, _options2).logger.info, message);
2367
3061
  }
2368
3062
  });
2369
3063
  __privateAdd(this, _warn2, (message) => {
2370
- if (__privateGet(this, _options2) && __privateGet(this, _options2).logLevel <= 2) {
3064
+ if (__privateGet(this, _options2) && __privateGet(this, _options2).logLevel >= 2) {
2371
3065
  __privateGet(this, _logMessage2).call(this, __privateGet(this, _options2).logger.warn, message);
2372
3066
  }
2373
3067
  });
2374
3068
  __privateAdd(this, _error2, (error) => {
2375
- if (__privateGet(this, _options2) && __privateGet(this, _options2).logLevel <= 1) {
3069
+ if (__privateGet(this, _options2) && __privateGet(this, _options2).logLevel >= 1) {
2376
3070
  __privateGet(this, _logMessage2).call(this, __privateGet(this, _options2).logger.error, error);
2377
3071
  }
2378
3072
  });
@@ -2995,21 +3689,7 @@ class STSWorkerManager {
2995
3689
  __privateAdd(this, _UpdateRunner2, async (workerEx, runnerEx, runnerOptions) => {
2996
3690
  return new Promise((resolve, reject) => {
2997
3691
  try {
2998
- if (runnerOptions.description) {
2999
- runnerEx.options.description = runnerOptions.description;
3000
- }
3001
- if (runnerOptions.executionProfile) {
3002
- runnerEx.options.executionProfile = { ...runnerOptions.executionProfile };
3003
- }
3004
- if (runnerOptions.tag) {
3005
- runnerEx.options.tag = runnerOptions.tag;
3006
- }
3007
- if (runnerOptions.testType) {
3008
- runnerEx.options.testType = runnerOptions.testType;
3009
- }
3010
- if (runnerOptions.userData) {
3011
- runnerEx.options.userData = runnerOptions.userData;
3012
- }
3692
+ merge(runnerEx.options, runnerOptions);
3013
3693
  const command = eIWMessageCommands.UpdateRunner;
3014
3694
  const messageId = __privateGet(this, _SetupCallbackMessage).call(this, resolve, reject, command);
3015
3695
  const payload = {
@@ -3527,6 +4207,7 @@ _SyncWorkerDataFromWorkers = new WeakMap();
3527
4207
  _SetupCallbackMessage = new WeakMap();
3528
4208
  _PostMessageToWorkerGetRunners = new WeakMap();
3529
4209
  export {
4210
+ IRunnerSignalType,
3530
4211
  IRunnerState,
3531
4212
  IWorkerState,
3532
4213
  PublishMessageCommandsTestRunner,