slnodejs 6.1.577 → 6.1.596

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.
@@ -24248,6 +24248,9 @@ var gOPD = require('gopd');
24248
24248
  var $TypeError = GetIntrinsic('%TypeError%');
24249
24249
  var $floor = GetIntrinsic('%Math.floor%');
24250
24250
 
24251
+ /** @typedef {(...args: unknown[]) => unknown} Func */
24252
+
24253
+ /** @type {<T extends Func = Func>(fn: T, length: number, loose?: boolean) => T} */
24251
24254
  module.exports = function setFunctionLength(fn, length) {
24252
24255
  if (typeof fn !== 'function') {
24253
24256
  throw new $TypeError('`fn` is not a function');
@@ -24272,9 +24275,9 @@ module.exports = function setFunctionLength(fn, length) {
24272
24275
 
24273
24276
  if (functionLengthIsConfigurable || functionLengthIsWritable || !loose) {
24274
24277
  if (hasDescriptors) {
24275
- define(fn, 'length', length, true, true);
24278
+ define(/** @type {Parameters<define>[0]} */ (fn), 'length', length, true, true);
24276
24279
  } else {
24277
- define(fn, 'length', length);
24280
+ define(/** @type {Parameters<define>[0]} */ (fn), 'length', length);
24278
24281
  }
24279
24282
  }
24280
24283
  return fn;
@@ -29132,7 +29135,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
29132
29135
  "use strict";
29133
29136
  Object.defineProperty(exports, "__esModule", { value: true });
29134
29137
  exports.SL_AGENT_TYPE = exports.SL_AGENT_VERSION = void 0;
29135
- exports.SL_AGENT_VERSION = '6.1.577';
29138
+ exports.SL_AGENT_VERSION = '6.1.596';
29136
29139
  exports.SL_AGENT_TYPE = 'browser';
29137
29140
  });
29138
29141
 
@@ -29786,13 +29789,13 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
29786
29789
  }
29787
29790
  logger.info(`setBaggage: Received event "detail": ${JSON.stringify(detail, null, 4)}`);
29788
29791
  if (!detail) {
29789
- logger.info(`Received setBaggage event with no detail, not changing baggage.`);
29792
+ logger.warn(`Received setBaggage event with no detail, not changing baggage.`);
29790
29793
  return;
29791
29794
  }
29792
29795
  const executionId = detail[SlConst.SL_SESSION_ID];
29793
29796
  const testName = detail[SlConst.SL_TEST_NAME];
29794
29797
  if (!(executionId === null || executionId === void 0 ? void 0 : executionId.length) || !(testName === null || testName === void 0 ? void 0 : testName.length)) {
29795
- logger.info(`Received setBaggage event with with missing testName/executionId: testName=${testName} executionId=${executionId}`);
29798
+ logger.warn(`Received setBaggage event with with missing testName/executionId: testName=${testName} executionId=${executionId}`);
29796
29799
  return;
29797
29800
  }
29798
29801
  if ((0, utils_1.checkIsDiagnosisBaggage)(detail)) {