@nsshunt/stsrunnerframework 1.0.54 → 1.0.55

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.
@@ -1807,21 +1807,6 @@ const noop = () => {
1807
1807
  const toFiniteNumber = (value2, defaultValue) => {
1808
1808
  return value2 != null && Number.isFinite(value2 = +value2) ? value2 : defaultValue;
1809
1809
  };
1810
- const ALPHA = "abcdefghijklmnopqrstuvwxyz";
1811
- const DIGIT = "0123456789";
1812
- const ALPHABET = {
1813
- DIGIT,
1814
- ALPHA,
1815
- ALPHA_DIGIT: ALPHA + ALPHA.toUpperCase() + DIGIT
1816
- };
1817
- const generateString = (size = 16, alphabet = ALPHABET.ALPHA_DIGIT) => {
1818
- let str = "";
1819
- const { length } = alphabet;
1820
- while (size--) {
1821
- str += alphabet[Math.random() * length | 0];
1822
- }
1823
- return str;
1824
- };
1825
1810
  function isSpecCompliantForm(thing) {
1826
1811
  return !!(thing && isFunction(thing.append) && thing[Symbol.toStringTag] === "FormData" && thing[Symbol.iterator]);
1827
1812
  }
@@ -1920,8 +1905,6 @@ const utils$3 = {
1920
1905
  findKey,
1921
1906
  global: _global,
1922
1907
  isContextDefined,
1923
- ALPHABET,
1924
- generateString,
1925
1908
  isSpecCompliantForm,
1926
1909
  toJSONObject,
1927
1910
  isAsyncFn,
@@ -2877,8 +2860,9 @@ function isAbsoluteURL(url) {
2877
2860
  function combineURLs(baseURL, relativeURL) {
2878
2861
  return relativeURL ? baseURL.replace(/\/?\/$/, "") + "/" + relativeURL.replace(/^\/+/, "") : baseURL;
2879
2862
  }
2880
- function buildFullPath(baseURL, requestedURL) {
2881
- if (baseURL && !isAbsoluteURL(requestedURL)) {
2863
+ function buildFullPath(baseURL, requestedURL, allowAbsoluteUrls) {
2864
+ let isRelativeUrl = !isAbsoluteURL(requestedURL);
2865
+ if (baseURL && isRelativeUrl || allowAbsoluteUrls == false) {
2882
2866
  return combineURLs(baseURL, requestedURL);
2883
2867
  }
2884
2868
  return requestedURL;
@@ -3482,7 +3466,7 @@ function dispatchRequest(config2) {
3482
3466
  return Promise.reject(reason);
3483
3467
  });
3484
3468
  }
3485
- const VERSION$1 = "1.7.9";
3469
+ const VERSION$1 = "1.8.1";
3486
3470
  const validators$2 = {};
3487
3471
  ["object", "boolean", "number", "function", "string", "symbol"].forEach((type, i) => {
3488
3472
  validators$2[type] = function validator2(thing) {
@@ -3610,6 +3594,12 @@ let Axios$1 = class Axios {
3610
3594
  }, true);
3611
3595
  }
3612
3596
  }
3597
+ if (config2.allowAbsoluteUrls !== void 0) ;
3598
+ else if (this.defaults.allowAbsoluteUrls !== void 0) {
3599
+ config2.allowAbsoluteUrls = this.defaults.allowAbsoluteUrls;
3600
+ } else {
3601
+ config2.allowAbsoluteUrls = true;
3602
+ }
3613
3603
  validator.assertOptions(config2, {
3614
3604
  baseUrl: validators$1.spelling("baseURL"),
3615
3605
  withXsrfToken: validators$1.spelling("withXSRFToken")
@@ -3680,7 +3670,7 @@ let Axios$1 = class Axios {
3680
3670
  }
3681
3671
  getUri(config2) {
3682
3672
  config2 = mergeConfig$1(this.defaults, config2);
3683
- const fullPath = buildFullPath(config2.baseURL, config2.url);
3673
+ const fullPath = buildFullPath(config2.baseURL, config2.url, config2.allowAbsoluteUrls);
3684
3674
  return buildURL(fullPath, config2.params, config2.paramsSerializer);
3685
3675
  }
3686
3676
  };
@@ -8845,7 +8835,7 @@ function requireVersion() {
8845
8835
  hasRequiredVersion = 1;
8846
8836
  Object.defineProperty(version$1, "__esModule", { value: true });
8847
8837
  version$1.version = void 0;
8848
- version$1.version = "5.1.0";
8838
+ version$1.version = "5.1.2";
8849
8839
  return version$1;
8850
8840
  }
8851
8841
  var canonicalDomain = {};
@@ -8854,14 +8844,16 @@ var hasRequiredConstants$1;
8854
8844
  function requireConstants$1() {
8855
8845
  if (hasRequiredConstants$1) return constants$1;
8856
8846
  hasRequiredConstants$1 = 1;
8857
- Object.defineProperty(constants$1, "__esModule", { value: true });
8858
- constants$1.IP_V6_REGEX_OBJECT = constants$1.PrefixSecurityEnum = void 0;
8859
- constants$1.PrefixSecurityEnum = Object.freeze({
8860
- SILENT: "silent",
8861
- STRICT: "strict",
8862
- DISABLED: "unsafe-disabled"
8863
- });
8864
- const IP_V6_REGEX = `
8847
+ (function(exports) {
8848
+ Object.defineProperty(exports, "__esModule", { value: true });
8849
+ exports.IP_V6_REGEX_OBJECT = exports.PrefixSecurityEnum = void 0;
8850
+ exports.PrefixSecurityEnum = {
8851
+ SILENT: "silent",
8852
+ STRICT: "strict",
8853
+ DISABLED: "unsafe-disabled"
8854
+ };
8855
+ Object.freeze(exports.PrefixSecurityEnum);
8856
+ const IP_V6_REGEX = `
8865
8857
  \\[?(?:
8866
8858
  (?:[a-fA-F\\d]{1,4}:){7}(?:[a-fA-F\\d]{1,4}|:)|
8867
8859
  (?:[a-fA-F\\d]{1,4}:){6}(?:(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}|:[a-fA-F\\d]{1,4}|:)|
@@ -8873,7 +8865,8 @@ function requireConstants$1() {
8873
8865
  (?::(?:(?::[a-fA-F\\d]{1,4}){0,5}:(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}|(?::[a-fA-F\\d]{1,4}){1,7}|:))
8874
8866
  )(?:%[0-9a-zA-Z]{1,})?\\]?
8875
8867
  `.replace(/\s*\/\/.*$/gm, "").replace(/\n/g, "").trim();
8876
- constants$1.IP_V6_REGEX_OBJECT = new RegExp(`^${IP_V6_REGEX}$`);
8868
+ exports.IP_V6_REGEX_OBJECT = new RegExp(`^${IP_V6_REGEX}$`);
8869
+ })(constants$1);
8877
8870
  return constants$1;
8878
8871
  }
8879
8872
  var hasRequiredCanonicalDomain;
@@ -9859,7 +9852,7 @@ function requireDomainMatch() {
9859
9852
  if (_str == _domStr) {
9860
9853
  return true;
9861
9854
  }
9862
- const idx = _str.lastIndexOf(cookieDomain);
9855
+ const idx = _str.lastIndexOf(_domStr);
9863
9856
  if (idx <= 0) {
9864
9857
  return false;
9865
9858
  }