slnodejs 6.1.807 → 6.1.817

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.
@@ -45350,6 +45350,7 @@ var parseValues = function parseQueryStringValues(str, options) {
45350
45350
  var obj = { __proto__: null };
45351
45351
 
45352
45352
  var cleanStr = options.ignoreQueryPrefix ? str.replace(/^\?/, '') : str;
45353
+ cleanStr = cleanStr.replace(/%5B/gi, '[').replace(/%5D/gi, ']');
45353
45354
  var limit = options.parameterLimit === Infinity ? undefined : options.parameterLimit;
45354
45355
  var parts = cleanStr.split(options.delimiter, limit);
45355
45356
  var skipIndex = -1; // Keep track of where the utf8 sentinel was found
@@ -45420,7 +45421,9 @@ var parseObject = function (chain, val, options, valuesParsed) {
45420
45421
  var root = chain[i];
45421
45422
 
45422
45423
  if (root === '[]' && options.parseArrays) {
45423
- obj = options.allowEmptyArrays && leaf === '' ? [] : [].concat(leaf);
45424
+ obj = options.allowEmptyArrays && (leaf === '' || (options.strictNullHandling && leaf === null))
45425
+ ? []
45426
+ : [].concat(leaf);
45424
45427
  } else {
45425
45428
  obj = options.plainObjects ? Object.create(null) : {};
45426
45429
  var cleanRoot = root.charAt(0) === '[' && root.charAt(root.length - 1) === ']' ? root.slice(1, -1) : root;
@@ -57135,7 +57138,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
57135
57138
  "use strict";
57136
57139
  Object.defineProperty(exports, "__esModule", { value: true });
57137
57140
  exports.SL_AGENT_TYPE = exports.SL_AGENT_VERSION = void 0;
57138
- exports.SL_AGENT_VERSION = '6.1.807';
57141
+ exports.SL_AGENT_VERSION = '6.1.817';
57139
57142
  exports.SL_AGENT_TYPE = 'browser';
57140
57143
  });
57141
57144