@squiz/render-runtime-lib 1.57.1-alpha.2 → 1.58.1-alpha.0

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.
@@ -122820,48 +122820,63 @@ var require_ComponentSetComponentVersionExcludedRepository = __commonJS({
122820
122820
  }
122821
122821
  });
122822
122822
 
122823
- // ../../node_modules/semver/internal/constants.js
122823
+ // ../component-lib/node_modules/semver/internal/constants.js
122824
122824
  var require_constants10 = __commonJS({
122825
- "../../node_modules/semver/internal/constants.js"(exports2, module2) {
122825
+ "../component-lib/node_modules/semver/internal/constants.js"(exports2, module2) {
122826
122826
  var SEMVER_SPEC_VERSION = "2.0.0";
122827
122827
  var MAX_LENGTH = 256;
122828
122828
  var MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER || /* istanbul ignore next */
122829
122829
  9007199254740991;
122830
122830
  var MAX_SAFE_COMPONENT_LENGTH = 16;
122831
+ var RELEASE_TYPES = [
122832
+ "major",
122833
+ "premajor",
122834
+ "minor",
122835
+ "preminor",
122836
+ "patch",
122837
+ "prepatch",
122838
+ "prerelease"
122839
+ ];
122831
122840
  module2.exports = {
122832
- SEMVER_SPEC_VERSION,
122833
122841
  MAX_LENGTH,
122842
+ MAX_SAFE_COMPONENT_LENGTH,
122834
122843
  MAX_SAFE_INTEGER,
122835
- MAX_SAFE_COMPONENT_LENGTH
122844
+ RELEASE_TYPES,
122845
+ SEMVER_SPEC_VERSION,
122846
+ FLAG_INCLUDE_PRERELEASE: 1,
122847
+ FLAG_LOOSE: 2
122836
122848
  };
122837
122849
  }
122838
122850
  });
122839
122851
 
122840
- // ../../node_modules/semver/internal/debug.js
122852
+ // ../component-lib/node_modules/semver/internal/debug.js
122841
122853
  var require_debug2 = __commonJS({
122842
- "../../node_modules/semver/internal/debug.js"(exports2, module2) {
122854
+ "../component-lib/node_modules/semver/internal/debug.js"(exports2, module2) {
122843
122855
  var debug = typeof process === "object" && process.env && process.env.NODE_DEBUG && /\bsemver\b/i.test(process.env.NODE_DEBUG) ? (...args) => console.error("SEMVER", ...args) : () => {
122844
122856
  };
122845
122857
  module2.exports = debug;
122846
122858
  }
122847
122859
  });
122848
122860
 
122849
- // ../../node_modules/semver/internal/re.js
122861
+ // ../component-lib/node_modules/semver/internal/re.js
122850
122862
  var require_re = __commonJS({
122851
- "../../node_modules/semver/internal/re.js"(exports2, module2) {
122863
+ "../component-lib/node_modules/semver/internal/re.js"(exports2, module2) {
122852
122864
  var { MAX_SAFE_COMPONENT_LENGTH } = require_constants10();
122853
122865
  var debug = require_debug2();
122854
122866
  exports2 = module2.exports = {};
122855
122867
  var re = exports2.re = [];
122868
+ var safeRe = exports2.safeRe = [];
122856
122869
  var src2 = exports2.src = [];
122857
122870
  var t = exports2.t = {};
122858
122871
  var R = 0;
122859
122872
  var createToken = (name, value, isGlobal) => {
122873
+ const safe = value.split("\\s*").join("\\s{0,1}").split("\\s+").join("\\s");
122860
122874
  const index = R++;
122861
122875
  debug(name, index, value);
122862
122876
  t[name] = index;
122863
122877
  src2[index] = value;
122864
122878
  re[index] = new RegExp(value, isGlobal ? "g" : void 0);
122879
+ safeRe[index] = new RegExp(safe, isGlobal ? "g" : void 0);
122865
122880
  };
122866
122881
  createToken("NUMERICIDENTIFIER", "0|[1-9]\\d*");
122867
122882
  createToken("NUMERICIDENTIFIERLOOSE", "[0-9]+");
@@ -122909,21 +122924,27 @@ var require_re = __commonJS({
122909
122924
  }
122910
122925
  });
122911
122926
 
122912
- // ../../node_modules/semver/internal/parse-options.js
122927
+ // ../component-lib/node_modules/semver/internal/parse-options.js
122913
122928
  var require_parse_options = __commonJS({
122914
- "../../node_modules/semver/internal/parse-options.js"(exports2, module2) {
122915
- var opts = ["includePrerelease", "loose", "rtl"];
122916
- var parseOptions = (options) => !options ? {} : typeof options !== "object" ? { loose: true } : opts.filter((k) => options[k]).reduce((o, k) => {
122917
- o[k] = true;
122918
- return o;
122919
- }, {});
122929
+ "../component-lib/node_modules/semver/internal/parse-options.js"(exports2, module2) {
122930
+ var looseOption = Object.freeze({ loose: true });
122931
+ var emptyOpts = Object.freeze({});
122932
+ var parseOptions = (options) => {
122933
+ if (!options) {
122934
+ return emptyOpts;
122935
+ }
122936
+ if (typeof options !== "object") {
122937
+ return looseOption;
122938
+ }
122939
+ return options;
122940
+ };
122920
122941
  module2.exports = parseOptions;
122921
122942
  }
122922
122943
  });
122923
122944
 
122924
- // ../../node_modules/semver/internal/identifiers.js
122945
+ // ../component-lib/node_modules/semver/internal/identifiers.js
122925
122946
  var require_identifiers = __commonJS({
122926
- "../../node_modules/semver/internal/identifiers.js"(exports2, module2) {
122947
+ "../component-lib/node_modules/semver/internal/identifiers.js"(exports2, module2) {
122927
122948
  var numeric = /^[0-9]+$/;
122928
122949
  var compareIdentifiers = (a, b) => {
122929
122950
  const anum = numeric.test(a);
@@ -122942,12 +122963,12 @@ var require_identifiers = __commonJS({
122942
122963
  }
122943
122964
  });
122944
122965
 
122945
- // ../../node_modules/semver/classes/semver.js
122966
+ // ../component-lib/node_modules/semver/classes/semver.js
122946
122967
  var require_semver = __commonJS({
122947
- "../../node_modules/semver/classes/semver.js"(exports2, module2) {
122968
+ "../component-lib/node_modules/semver/classes/semver.js"(exports2, module2) {
122948
122969
  var debug = require_debug2();
122949
122970
  var { MAX_LENGTH, MAX_SAFE_INTEGER } = require_constants10();
122950
- var { re, t } = require_re();
122971
+ var { safeRe: re, t } = require_re();
122951
122972
  var parseOptions = require_parse_options();
122952
122973
  var { compareIdentifiers } = require_identifiers();
122953
122974
  var SemVer = class {
@@ -122960,7 +122981,7 @@ var require_semver = __commonJS({
122960
122981
  version2 = version2.version;
122961
122982
  }
122962
122983
  } else if (typeof version2 !== "string") {
122963
- throw new TypeError(`Invalid Version: ${version2}`);
122984
+ throw new TypeError(`Invalid version. Must be a string. Got type "${typeof version2}".`);
122964
122985
  }
122965
122986
  if (version2.length > MAX_LENGTH) {
122966
122987
  throw new TypeError(
@@ -123086,31 +123107,31 @@ var require_semver = __commonJS({
123086
123107
  }
123087
123108
  // preminor will bump the version up to the next minor release, and immediately
123088
123109
  // down to pre-release. premajor and prepatch work the same way.
123089
- inc(release, identifier) {
123110
+ inc(release, identifier, identifierBase) {
123090
123111
  switch (release) {
123091
123112
  case "premajor":
123092
123113
  this.prerelease.length = 0;
123093
123114
  this.patch = 0;
123094
123115
  this.minor = 0;
123095
123116
  this.major++;
123096
- this.inc("pre", identifier);
123117
+ this.inc("pre", identifier, identifierBase);
123097
123118
  break;
123098
123119
  case "preminor":
123099
123120
  this.prerelease.length = 0;
123100
123121
  this.patch = 0;
123101
123122
  this.minor++;
123102
- this.inc("pre", identifier);
123123
+ this.inc("pre", identifier, identifierBase);
123103
123124
  break;
123104
123125
  case "prepatch":
123105
123126
  this.prerelease.length = 0;
123106
- this.inc("patch", identifier);
123107
- this.inc("pre", identifier);
123127
+ this.inc("patch", identifier, identifierBase);
123128
+ this.inc("pre", identifier, identifierBase);
123108
123129
  break;
123109
123130
  case "prerelease":
123110
123131
  if (this.prerelease.length === 0) {
123111
- this.inc("patch", identifier);
123132
+ this.inc("patch", identifier, identifierBase);
123112
123133
  }
123113
- this.inc("pre", identifier);
123134
+ this.inc("pre", identifier, identifierBase);
123114
123135
  break;
123115
123136
  case "major":
123116
123137
  if (this.minor !== 0 || this.patch !== 0 || this.prerelease.length === 0) {
@@ -123133,9 +123154,13 @@ var require_semver = __commonJS({
123133
123154
  }
123134
123155
  this.prerelease = [];
123135
123156
  break;
123136
- case "pre":
123157
+ case "pre": {
123158
+ const base = Number(identifierBase) ? 1 : 0;
123159
+ if (!identifier && identifierBase === false) {
123160
+ throw new Error("invalid increment argument: identifier is empty");
123161
+ }
123137
123162
  if (this.prerelease.length === 0) {
123138
- this.prerelease = [0];
123163
+ this.prerelease = [base];
123139
123164
  } else {
123140
123165
  let i = this.prerelease.length;
123141
123166
  while (--i >= 0) {
@@ -123145,24 +123170,34 @@ var require_semver = __commonJS({
123145
123170
  }
123146
123171
  }
123147
123172
  if (i === -1) {
123148
- this.prerelease.push(0);
123173
+ if (identifier === this.prerelease.join(".") && identifierBase === false) {
123174
+ throw new Error("invalid increment argument: identifier already exists");
123175
+ }
123176
+ this.prerelease.push(base);
123149
123177
  }
123150
123178
  }
123151
123179
  if (identifier) {
123180
+ let prerelease = [identifier, base];
123181
+ if (identifierBase === false) {
123182
+ prerelease = [identifier];
123183
+ }
123152
123184
  if (compareIdentifiers(this.prerelease[0], identifier) === 0) {
123153
123185
  if (isNaN(this.prerelease[1])) {
123154
- this.prerelease = [identifier, 0];
123186
+ this.prerelease = prerelease;
123155
123187
  }
123156
123188
  } else {
123157
- this.prerelease = [identifier, 0];
123189
+ this.prerelease = prerelease;
123158
123190
  }
123159
123191
  }
123160
123192
  break;
123193
+ }
123161
123194
  default:
123162
123195
  throw new Error(`invalid increment argument: ${release}`);
123163
123196
  }
123164
- this.format();
123165
- this.raw = this.version;
123197
+ this.raw = this.format();
123198
+ if (this.build.length) {
123199
+ this.raw += `+${this.build.join(".")}`;
123200
+ }
123166
123201
  return this;
123167
123202
  }
123168
123203
  };
@@ -123170,41 +123205,30 @@ var require_semver = __commonJS({
123170
123205
  }
123171
123206
  });
123172
123207
 
123173
- // ../../node_modules/semver/functions/parse.js
123208
+ // ../component-lib/node_modules/semver/functions/parse.js
123174
123209
  var require_parse2 = __commonJS({
123175
- "../../node_modules/semver/functions/parse.js"(exports2, module2) {
123176
- var { MAX_LENGTH } = require_constants10();
123177
- var { re, t } = require_re();
123210
+ "../component-lib/node_modules/semver/functions/parse.js"(exports2, module2) {
123178
123211
  var SemVer = require_semver();
123179
- var parseOptions = require_parse_options();
123180
- var parse2 = (version2, options) => {
123181
- options = parseOptions(options);
123212
+ var parse2 = (version2, options, throwErrors = false) => {
123182
123213
  if (version2 instanceof SemVer) {
123183
123214
  return version2;
123184
123215
  }
123185
- if (typeof version2 !== "string") {
123186
- return null;
123187
- }
123188
- if (version2.length > MAX_LENGTH) {
123189
- return null;
123190
- }
123191
- const r = options.loose ? re[t.LOOSE] : re[t.FULL];
123192
- if (!r.test(version2)) {
123193
- return null;
123194
- }
123195
123216
  try {
123196
123217
  return new SemVer(version2, options);
123197
123218
  } catch (er) {
123198
- return null;
123219
+ if (!throwErrors) {
123220
+ return null;
123221
+ }
123222
+ throw er;
123199
123223
  }
123200
123224
  };
123201
123225
  module2.exports = parse2;
123202
123226
  }
123203
123227
  });
123204
123228
 
123205
- // ../../node_modules/semver/functions/valid.js
123229
+ // ../component-lib/node_modules/semver/functions/valid.js
123206
123230
  var require_valid = __commonJS({
123207
- "../../node_modules/semver/functions/valid.js"(exports2, module2) {
123231
+ "../component-lib/node_modules/semver/functions/valid.js"(exports2, module2) {
123208
123232
  var parse2 = require_parse2();
123209
123233
  var valid = (version2, options) => {
123210
123234
  const v = parse2(version2, options);
@@ -123214,9 +123238,9 @@ var require_valid = __commonJS({
123214
123238
  }
123215
123239
  });
123216
123240
 
123217
- // ../../node_modules/semver/functions/clean.js
123241
+ // ../component-lib/node_modules/semver/functions/clean.js
123218
123242
  var require_clean = __commonJS({
123219
- "../../node_modules/semver/functions/clean.js"(exports2, module2) {
123243
+ "../component-lib/node_modules/semver/functions/clean.js"(exports2, module2) {
123220
123244
  var parse2 = require_parse2();
123221
123245
  var clean = (version2, options) => {
123222
123246
  const s = parse2(version2.trim().replace(/^[=v]+/, ""), options);
@@ -123226,12 +123250,13 @@ var require_clean = __commonJS({
123226
123250
  }
123227
123251
  });
123228
123252
 
123229
- // ../../node_modules/semver/functions/inc.js
123253
+ // ../component-lib/node_modules/semver/functions/inc.js
123230
123254
  var require_inc = __commonJS({
123231
- "../../node_modules/semver/functions/inc.js"(exports2, module2) {
123255
+ "../component-lib/node_modules/semver/functions/inc.js"(exports2, module2) {
123232
123256
  var SemVer = require_semver();
123233
- var inc = (version2, release, options, identifier) => {
123257
+ var inc = (version2, release, options, identifier, identifierBase) => {
123234
123258
  if (typeof options === "string") {
123259
+ identifierBase = identifier;
123235
123260
  identifier = options;
123236
123261
  options = void 0;
123237
123262
  }
@@ -123239,7 +123264,7 @@ var require_inc = __commonJS({
123239
123264
  return new SemVer(
123240
123265
  version2 instanceof SemVer ? version2.version : version2,
123241
123266
  options
123242
- ).inc(release, identifier).version;
123267
+ ).inc(release, identifier, identifierBase).version;
123243
123268
  } catch (er) {
123244
123269
  return null;
123245
123270
  }
@@ -123248,82 +123273,80 @@ var require_inc = __commonJS({
123248
123273
  }
123249
123274
  });
123250
123275
 
123251
- // ../../node_modules/semver/functions/compare.js
123252
- var require_compare = __commonJS({
123253
- "../../node_modules/semver/functions/compare.js"(exports2, module2) {
123254
- var SemVer = require_semver();
123255
- var compare = (a, b, loose) => new SemVer(a, loose).compare(new SemVer(b, loose));
123256
- module2.exports = compare;
123257
- }
123258
- });
123259
-
123260
- // ../../node_modules/semver/functions/eq.js
123261
- var require_eq = __commonJS({
123262
- "../../node_modules/semver/functions/eq.js"(exports2, module2) {
123263
- var compare = require_compare();
123264
- var eq = (a, b, loose) => compare(a, b, loose) === 0;
123265
- module2.exports = eq;
123266
- }
123267
- });
123268
-
123269
- // ../../node_modules/semver/functions/diff.js
123276
+ // ../component-lib/node_modules/semver/functions/diff.js
123270
123277
  var require_diff = __commonJS({
123271
- "../../node_modules/semver/functions/diff.js"(exports2, module2) {
123278
+ "../component-lib/node_modules/semver/functions/diff.js"(exports2, module2) {
123272
123279
  var parse2 = require_parse2();
123273
- var eq = require_eq();
123274
123280
  var diff = (version1, version2) => {
123275
- if (eq(version1, version2)) {
123281
+ const v12 = parse2(version1, null, true);
123282
+ const v2 = parse2(version2, null, true);
123283
+ const comparison = v12.compare(v2);
123284
+ if (comparison === 0) {
123276
123285
  return null;
123277
- } else {
123278
- const v12 = parse2(version1);
123279
- const v2 = parse2(version2);
123280
- const hasPre = v12.prerelease.length || v2.prerelease.length;
123281
- const prefix = hasPre ? "pre" : "";
123282
- const defaultResult = hasPre ? "prerelease" : "";
123283
- for (const key in v12) {
123284
- if (key === "major" || key === "minor" || key === "patch") {
123285
- if (v12[key] !== v2[key]) {
123286
- return prefix + key;
123287
- }
123288
- }
123286
+ }
123287
+ const v1Higher = comparison > 0;
123288
+ const highVersion = v1Higher ? v12 : v2;
123289
+ const lowVersion = v1Higher ? v2 : v12;
123290
+ const highHasPre = !!highVersion.prerelease.length;
123291
+ const lowHasPre = !!lowVersion.prerelease.length;
123292
+ if (lowHasPre && !highHasPre) {
123293
+ if (!lowVersion.patch && !lowVersion.minor) {
123294
+ return "major";
123295
+ }
123296
+ if (highVersion.patch) {
123297
+ return "patch";
123289
123298
  }
123290
- return defaultResult;
123299
+ if (highVersion.minor) {
123300
+ return "minor";
123301
+ }
123302
+ return "major";
123303
+ }
123304
+ const prefix = highHasPre ? "pre" : "";
123305
+ if (v12.major !== v2.major) {
123306
+ return prefix + "major";
123291
123307
  }
123308
+ if (v12.minor !== v2.minor) {
123309
+ return prefix + "minor";
123310
+ }
123311
+ if (v12.patch !== v2.patch) {
123312
+ return prefix + "patch";
123313
+ }
123314
+ return "prerelease";
123292
123315
  };
123293
123316
  module2.exports = diff;
123294
123317
  }
123295
123318
  });
123296
123319
 
123297
- // ../../node_modules/semver/functions/major.js
123320
+ // ../component-lib/node_modules/semver/functions/major.js
123298
123321
  var require_major = __commonJS({
123299
- "../../node_modules/semver/functions/major.js"(exports2, module2) {
123322
+ "../component-lib/node_modules/semver/functions/major.js"(exports2, module2) {
123300
123323
  var SemVer = require_semver();
123301
123324
  var major = (a, loose) => new SemVer(a, loose).major;
123302
123325
  module2.exports = major;
123303
123326
  }
123304
123327
  });
123305
123328
 
123306
- // ../../node_modules/semver/functions/minor.js
123329
+ // ../component-lib/node_modules/semver/functions/minor.js
123307
123330
  var require_minor = __commonJS({
123308
- "../../node_modules/semver/functions/minor.js"(exports2, module2) {
123331
+ "../component-lib/node_modules/semver/functions/minor.js"(exports2, module2) {
123309
123332
  var SemVer = require_semver();
123310
123333
  var minor = (a, loose) => new SemVer(a, loose).minor;
123311
123334
  module2.exports = minor;
123312
123335
  }
123313
123336
  });
123314
123337
 
123315
- // ../../node_modules/semver/functions/patch.js
123338
+ // ../component-lib/node_modules/semver/functions/patch.js
123316
123339
  var require_patch = __commonJS({
123317
- "../../node_modules/semver/functions/patch.js"(exports2, module2) {
123340
+ "../component-lib/node_modules/semver/functions/patch.js"(exports2, module2) {
123318
123341
  var SemVer = require_semver();
123319
123342
  var patch = (a, loose) => new SemVer(a, loose).patch;
123320
123343
  module2.exports = patch;
123321
123344
  }
123322
123345
  });
123323
123346
 
123324
- // ../../node_modules/semver/functions/prerelease.js
123347
+ // ../component-lib/node_modules/semver/functions/prerelease.js
123325
123348
  var require_prerelease = __commonJS({
123326
- "../../node_modules/semver/functions/prerelease.js"(exports2, module2) {
123349
+ "../component-lib/node_modules/semver/functions/prerelease.js"(exports2, module2) {
123327
123350
  var parse2 = require_parse2();
123328
123351
  var prerelease = (version2, options) => {
123329
123352
  const parsed = parse2(version2, options);
@@ -123333,27 +123356,36 @@ var require_prerelease = __commonJS({
123333
123356
  }
123334
123357
  });
123335
123358
 
123336
- // ../../node_modules/semver/functions/rcompare.js
123359
+ // ../component-lib/node_modules/semver/functions/compare.js
123360
+ var require_compare = __commonJS({
123361
+ "../component-lib/node_modules/semver/functions/compare.js"(exports2, module2) {
123362
+ var SemVer = require_semver();
123363
+ var compare = (a, b, loose) => new SemVer(a, loose).compare(new SemVer(b, loose));
123364
+ module2.exports = compare;
123365
+ }
123366
+ });
123367
+
123368
+ // ../component-lib/node_modules/semver/functions/rcompare.js
123337
123369
  var require_rcompare = __commonJS({
123338
- "../../node_modules/semver/functions/rcompare.js"(exports2, module2) {
123370
+ "../component-lib/node_modules/semver/functions/rcompare.js"(exports2, module2) {
123339
123371
  var compare = require_compare();
123340
123372
  var rcompare = (a, b, loose) => compare(b, a, loose);
123341
123373
  module2.exports = rcompare;
123342
123374
  }
123343
123375
  });
123344
123376
 
123345
- // ../../node_modules/semver/functions/compare-loose.js
123377
+ // ../component-lib/node_modules/semver/functions/compare-loose.js
123346
123378
  var require_compare_loose = __commonJS({
123347
- "../../node_modules/semver/functions/compare-loose.js"(exports2, module2) {
123379
+ "../component-lib/node_modules/semver/functions/compare-loose.js"(exports2, module2) {
123348
123380
  var compare = require_compare();
123349
123381
  var compareLoose = (a, b) => compare(a, b, true);
123350
123382
  module2.exports = compareLoose;
123351
123383
  }
123352
123384
  });
123353
123385
 
123354
- // ../../node_modules/semver/functions/compare-build.js
123386
+ // ../component-lib/node_modules/semver/functions/compare-build.js
123355
123387
  var require_compare_build = __commonJS({
123356
- "../../node_modules/semver/functions/compare-build.js"(exports2, module2) {
123388
+ "../component-lib/node_modules/semver/functions/compare-build.js"(exports2, module2) {
123357
123389
  var SemVer = require_semver();
123358
123390
  var compareBuild = (a, b, loose) => {
123359
123391
  const versionA = new SemVer(a, loose);
@@ -123364,72 +123396,81 @@ var require_compare_build = __commonJS({
123364
123396
  }
123365
123397
  });
123366
123398
 
123367
- // ../../node_modules/semver/functions/sort.js
123399
+ // ../component-lib/node_modules/semver/functions/sort.js
123368
123400
  var require_sort = __commonJS({
123369
- "../../node_modules/semver/functions/sort.js"(exports2, module2) {
123401
+ "../component-lib/node_modules/semver/functions/sort.js"(exports2, module2) {
123370
123402
  var compareBuild = require_compare_build();
123371
123403
  var sort = (list, loose) => list.sort((a, b) => compareBuild(a, b, loose));
123372
123404
  module2.exports = sort;
123373
123405
  }
123374
123406
  });
123375
123407
 
123376
- // ../../node_modules/semver/functions/rsort.js
123408
+ // ../component-lib/node_modules/semver/functions/rsort.js
123377
123409
  var require_rsort = __commonJS({
123378
- "../../node_modules/semver/functions/rsort.js"(exports2, module2) {
123410
+ "../component-lib/node_modules/semver/functions/rsort.js"(exports2, module2) {
123379
123411
  var compareBuild = require_compare_build();
123380
123412
  var rsort = (list, loose) => list.sort((a, b) => compareBuild(b, a, loose));
123381
123413
  module2.exports = rsort;
123382
123414
  }
123383
123415
  });
123384
123416
 
123385
- // ../../node_modules/semver/functions/gt.js
123417
+ // ../component-lib/node_modules/semver/functions/gt.js
123386
123418
  var require_gt = __commonJS({
123387
- "../../node_modules/semver/functions/gt.js"(exports2, module2) {
123419
+ "../component-lib/node_modules/semver/functions/gt.js"(exports2, module2) {
123388
123420
  var compare = require_compare();
123389
123421
  var gt = (a, b, loose) => compare(a, b, loose) > 0;
123390
123422
  module2.exports = gt;
123391
123423
  }
123392
123424
  });
123393
123425
 
123394
- // ../../node_modules/semver/functions/lt.js
123426
+ // ../component-lib/node_modules/semver/functions/lt.js
123395
123427
  var require_lt = __commonJS({
123396
- "../../node_modules/semver/functions/lt.js"(exports2, module2) {
123428
+ "../component-lib/node_modules/semver/functions/lt.js"(exports2, module2) {
123397
123429
  var compare = require_compare();
123398
123430
  var lt = (a, b, loose) => compare(a, b, loose) < 0;
123399
123431
  module2.exports = lt;
123400
123432
  }
123401
123433
  });
123402
123434
 
123403
- // ../../node_modules/semver/functions/neq.js
123435
+ // ../component-lib/node_modules/semver/functions/eq.js
123436
+ var require_eq = __commonJS({
123437
+ "../component-lib/node_modules/semver/functions/eq.js"(exports2, module2) {
123438
+ var compare = require_compare();
123439
+ var eq = (a, b, loose) => compare(a, b, loose) === 0;
123440
+ module2.exports = eq;
123441
+ }
123442
+ });
123443
+
123444
+ // ../component-lib/node_modules/semver/functions/neq.js
123404
123445
  var require_neq = __commonJS({
123405
- "../../node_modules/semver/functions/neq.js"(exports2, module2) {
123446
+ "../component-lib/node_modules/semver/functions/neq.js"(exports2, module2) {
123406
123447
  var compare = require_compare();
123407
123448
  var neq = (a, b, loose) => compare(a, b, loose) !== 0;
123408
123449
  module2.exports = neq;
123409
123450
  }
123410
123451
  });
123411
123452
 
123412
- // ../../node_modules/semver/functions/gte.js
123453
+ // ../component-lib/node_modules/semver/functions/gte.js
123413
123454
  var require_gte = __commonJS({
123414
- "../../node_modules/semver/functions/gte.js"(exports2, module2) {
123455
+ "../component-lib/node_modules/semver/functions/gte.js"(exports2, module2) {
123415
123456
  var compare = require_compare();
123416
123457
  var gte = (a, b, loose) => compare(a, b, loose) >= 0;
123417
123458
  module2.exports = gte;
123418
123459
  }
123419
123460
  });
123420
123461
 
123421
- // ../../node_modules/semver/functions/lte.js
123462
+ // ../component-lib/node_modules/semver/functions/lte.js
123422
123463
  var require_lte = __commonJS({
123423
- "../../node_modules/semver/functions/lte.js"(exports2, module2) {
123464
+ "../component-lib/node_modules/semver/functions/lte.js"(exports2, module2) {
123424
123465
  var compare = require_compare();
123425
123466
  var lte = (a, b, loose) => compare(a, b, loose) <= 0;
123426
123467
  module2.exports = lte;
123427
123468
  }
123428
123469
  });
123429
123470
 
123430
- // ../../node_modules/semver/functions/cmp.js
123471
+ // ../component-lib/node_modules/semver/functions/cmp.js
123431
123472
  var require_cmp = __commonJS({
123432
- "../../node_modules/semver/functions/cmp.js"(exports2, module2) {
123473
+ "../component-lib/node_modules/semver/functions/cmp.js"(exports2, module2) {
123433
123474
  var eq = require_eq();
123434
123475
  var neq = require_neq();
123435
123476
  var gt = require_gt();
@@ -123476,12 +123517,12 @@ var require_cmp = __commonJS({
123476
123517
  }
123477
123518
  });
123478
123519
 
123479
- // ../../node_modules/semver/functions/coerce.js
123520
+ // ../component-lib/node_modules/semver/functions/coerce.js
123480
123521
  var require_coerce = __commonJS({
123481
- "../../node_modules/semver/functions/coerce.js"(exports2, module2) {
123522
+ "../component-lib/node_modules/semver/functions/coerce.js"(exports2, module2) {
123482
123523
  var SemVer = require_semver();
123483
123524
  var parse2 = require_parse2();
123484
- var { re, t } = require_re();
123525
+ var { safeRe: re, t } = require_re();
123485
123526
  var coerce = (version2, options) => {
123486
123527
  if (version2 instanceof SemVer) {
123487
123528
  return version2;
@@ -123515,9 +123556,9 @@ var require_coerce = __commonJS({
123515
123556
  }
123516
123557
  });
123517
123558
 
123518
- // ../../node_modules/semver/node_modules/yallist/iterator.js
123559
+ // ../component-lib/node_modules/yallist/iterator.js
123519
123560
  var require_iterator2 = __commonJS({
123520
- "../../node_modules/semver/node_modules/yallist/iterator.js"(exports2, module2) {
123561
+ "../component-lib/node_modules/yallist/iterator.js"(exports2, module2) {
123521
123562
  "use strict";
123522
123563
  module2.exports = function(Yallist) {
123523
123564
  Yallist.prototype[Symbol.iterator] = function* () {
@@ -123529,9 +123570,9 @@ var require_iterator2 = __commonJS({
123529
123570
  }
123530
123571
  });
123531
123572
 
123532
- // ../../node_modules/semver/node_modules/yallist/yallist.js
123573
+ // ../component-lib/node_modules/yallist/yallist.js
123533
123574
  var require_yallist = __commonJS({
123534
- "../../node_modules/semver/node_modules/yallist/yallist.js"(exports2, module2) {
123575
+ "../component-lib/node_modules/yallist/yallist.js"(exports2, module2) {
123535
123576
  "use strict";
123536
123577
  module2.exports = Yallist;
123537
123578
  Yallist.Node = Node;
@@ -123898,9 +123939,9 @@ var require_yallist = __commonJS({
123898
123939
  }
123899
123940
  });
123900
123941
 
123901
- // ../../node_modules/semver/node_modules/lru-cache/index.js
123942
+ // ../component-lib/node_modules/lru-cache/index.js
123902
123943
  var require_lru_cache = __commonJS({
123903
- "../../node_modules/semver/node_modules/lru-cache/index.js"(exports2, module2) {
123944
+ "../component-lib/node_modules/lru-cache/index.js"(exports2, module2) {
123904
123945
  "use strict";
123905
123946
  var Yallist = require_yallist();
123906
123947
  var MAX = Symbol("max");
@@ -124168,9 +124209,9 @@ var require_lru_cache = __commonJS({
124168
124209
  }
124169
124210
  });
124170
124211
 
124171
- // ../../node_modules/semver/classes/range.js
124212
+ // ../component-lib/node_modules/semver/classes/range.js
124172
124213
  var require_range = __commonJS({
124173
- "../../node_modules/semver/classes/range.js"(exports2, module2) {
124214
+ "../component-lib/node_modules/semver/classes/range.js"(exports2, module2) {
124174
124215
  var Range = class {
124175
124216
  constructor(range, options) {
124176
124217
  options = parseOptions(options);
@@ -124190,10 +124231,10 @@ var require_range = __commonJS({
124190
124231
  this.options = options;
124191
124232
  this.loose = !!options.loose;
124192
124233
  this.includePrerelease = !!options.includePrerelease;
124193
- this.raw = range;
124194
- this.set = range.split("||").map((r) => this.parseRange(r.trim())).filter((c) => c.length);
124234
+ this.raw = range.trim().split(/\s+/).join(" ");
124235
+ this.set = this.raw.split("||").map((r) => this.parseRange(r)).filter((c) => c.length);
124195
124236
  if (!this.set.length) {
124196
- throw new TypeError(`Invalid SemVer Range: ${range}`);
124237
+ throw new TypeError(`Invalid SemVer Range: ${this.raw}`);
124197
124238
  }
124198
124239
  if (this.set.length > 1) {
124199
124240
  const first = this.set[0];
@@ -124212,18 +124253,15 @@ var require_range = __commonJS({
124212
124253
  this.format();
124213
124254
  }
124214
124255
  format() {
124215
- this.range = this.set.map((comps) => {
124216
- return comps.join(" ").trim();
124217
- }).join("||").trim();
124256
+ this.range = this.set.map((comps) => comps.join(" ").trim()).join("||").trim();
124218
124257
  return this.range;
124219
124258
  }
124220
124259
  toString() {
124221
124260
  return this.range;
124222
124261
  }
124223
124262
  parseRange(range) {
124224
- range = range.trim();
124225
- const memoOpts = Object.keys(this.options).join(",");
124226
- const memoKey = `parseRange:${memoOpts}:${range}`;
124263
+ const memoOpts = (this.options.includePrerelease && FLAG_INCLUDE_PRERELEASE) | (this.options.loose && FLAG_LOOSE);
124264
+ const memoKey = memoOpts + ":" + range;
124227
124265
  const cached = cache.get(memoKey);
124228
124266
  if (cached) {
124229
124267
  return cached;
@@ -124236,7 +124274,6 @@ var require_range = __commonJS({
124236
124274
  debug("comparator trim", range);
124237
124275
  range = range.replace(re[t.TILDETRIM], tildeTrimReplace);
124238
124276
  range = range.replace(re[t.CARETTRIM], caretTrimReplace);
124239
- range = range.split(/\s+/).join(" ");
124240
124277
  let rangeList = range.split(" ").map((comp) => parseComparator(comp, this.options)).join(" ").split(/\s+/).map((comp) => replaceGTE0(comp, this.options));
124241
124278
  if (loose) {
124242
124279
  rangeList = rangeList.filter((comp) => {
@@ -124302,12 +124339,13 @@ var require_range = __commonJS({
124302
124339
  var debug = require_debug2();
124303
124340
  var SemVer = require_semver();
124304
124341
  var {
124305
- re,
124342
+ safeRe: re,
124306
124343
  t,
124307
124344
  comparatorTrimReplace,
124308
124345
  tildeTrimReplace,
124309
124346
  caretTrimReplace
124310
124347
  } = require_re();
124348
+ var { FLAG_INCLUDE_PRERELEASE, FLAG_LOOSE } = require_constants10();
124311
124349
  var isNullSet = (c) => c.value === "<0.0.0-0";
124312
124350
  var isAny = (c) => c.value === "";
124313
124351
  var isSatisfiable = (comparators, options) => {
@@ -124335,9 +124373,9 @@ var require_range = __commonJS({
124335
124373
  return comp;
124336
124374
  };
124337
124375
  var isX = (id) => !id || id.toLowerCase() === "x" || id === "*";
124338
- var replaceTildes = (comp, options) => comp.trim().split(/\s+/).map((c) => {
124339
- return replaceTilde(c, options);
124340
- }).join(" ");
124376
+ var replaceTildes = (comp, options) => {
124377
+ return comp.trim().split(/\s+/).map((c) => replaceTilde(c, options)).join(" ");
124378
+ };
124341
124379
  var replaceTilde = (comp, options) => {
124342
124380
  const r = options.loose ? re[t.TILDELOOSE] : re[t.TILDE];
124343
124381
  return comp.replace(r, (_2, M, m, p, pr) => {
@@ -124359,9 +124397,9 @@ var require_range = __commonJS({
124359
124397
  return ret;
124360
124398
  });
124361
124399
  };
124362
- var replaceCarets = (comp, options) => comp.trim().split(/\s+/).map((c) => {
124363
- return replaceCaret(c, options);
124364
- }).join(" ");
124400
+ var replaceCarets = (comp, options) => {
124401
+ return comp.trim().split(/\s+/).map((c) => replaceCaret(c, options)).join(" ");
124402
+ };
124365
124403
  var replaceCaret = (comp, options) => {
124366
124404
  debug("caret", comp, options);
124367
124405
  const r = options.loose ? re[t.CARETLOOSE] : re[t.CARET];
@@ -124408,9 +124446,7 @@ var require_range = __commonJS({
124408
124446
  };
124409
124447
  var replaceXRanges = (comp, options) => {
124410
124448
  debug("replaceXRanges", comp, options);
124411
- return comp.split(/\s+/).map((c) => {
124412
- return replaceXRange(c, options);
124413
- }).join(" ");
124449
+ return comp.split(/\s+/).map((c) => replaceXRange(c, options)).join(" ");
124414
124450
  };
124415
124451
  var replaceXRange = (comp, options) => {
124416
124452
  comp = comp.trim();
@@ -124528,9 +124564,9 @@ var require_range = __commonJS({
124528
124564
  }
124529
124565
  });
124530
124566
 
124531
- // ../../node_modules/semver/classes/comparator.js
124567
+ // ../component-lib/node_modules/semver/classes/comparator.js
124532
124568
  var require_comparator = __commonJS({
124533
- "../../node_modules/semver/classes/comparator.js"(exports2, module2) {
124569
+ "../component-lib/node_modules/semver/classes/comparator.js"(exports2, module2) {
124534
124570
  var ANY = Symbol("SemVer ANY");
124535
124571
  var Comparator = class {
124536
124572
  static get ANY() {
@@ -124545,6 +124581,7 @@ var require_comparator = __commonJS({
124545
124581
  comp = comp.value;
124546
124582
  }
124547
124583
  }
124584
+ comp = comp.trim().split(/\s+/).join(" ");
124548
124585
  debug("comparator", comp, options);
124549
124586
  this.options = options;
124550
124587
  this.loose = !!options.loose;
@@ -124593,12 +124630,6 @@ var require_comparator = __commonJS({
124593
124630
  if (!(comp instanceof Comparator)) {
124594
124631
  throw new TypeError("a Comparator is required");
124595
124632
  }
124596
- if (!options || typeof options !== "object") {
124597
- options = {
124598
- loose: !!options,
124599
- includePrerelease: false
124600
- };
124601
- }
124602
124633
  if (this.operator === "") {
124603
124634
  if (this.value === "") {
124604
124635
  return true;
@@ -124610,18 +124641,34 @@ var require_comparator = __commonJS({
124610
124641
  }
124611
124642
  return new Range(this.value, options).test(comp.semver);
124612
124643
  }
124613
- const sameDirectionIncreasing = (this.operator === ">=" || this.operator === ">") && (comp.operator === ">=" || comp.operator === ">");
124614
- const sameDirectionDecreasing = (this.operator === "<=" || this.operator === "<") && (comp.operator === "<=" || comp.operator === "<");
124615
- const sameSemVer = this.semver.version === comp.semver.version;
124616
- const differentDirectionsInclusive = (this.operator === ">=" || this.operator === "<=") && (comp.operator === ">=" || comp.operator === "<=");
124617
- const oppositeDirectionsLessThan = cmp(this.semver, "<", comp.semver, options) && (this.operator === ">=" || this.operator === ">") && (comp.operator === "<=" || comp.operator === "<");
124618
- const oppositeDirectionsGreaterThan = cmp(this.semver, ">", comp.semver, options) && (this.operator === "<=" || this.operator === "<") && (comp.operator === ">=" || comp.operator === ">");
124619
- return sameDirectionIncreasing || sameDirectionDecreasing || sameSemVer && differentDirectionsInclusive || oppositeDirectionsLessThan || oppositeDirectionsGreaterThan;
124644
+ options = parseOptions(options);
124645
+ if (options.includePrerelease && (this.value === "<0.0.0-0" || comp.value === "<0.0.0-0")) {
124646
+ return false;
124647
+ }
124648
+ if (!options.includePrerelease && (this.value.startsWith("<0.0.0") || comp.value.startsWith("<0.0.0"))) {
124649
+ return false;
124650
+ }
124651
+ if (this.operator.startsWith(">") && comp.operator.startsWith(">")) {
124652
+ return true;
124653
+ }
124654
+ if (this.operator.startsWith("<") && comp.operator.startsWith("<")) {
124655
+ return true;
124656
+ }
124657
+ if (this.semver.version === comp.semver.version && this.operator.includes("=") && comp.operator.includes("=")) {
124658
+ return true;
124659
+ }
124660
+ if (cmp(this.semver, "<", comp.semver, options) && this.operator.startsWith(">") && comp.operator.startsWith("<")) {
124661
+ return true;
124662
+ }
124663
+ if (cmp(this.semver, ">", comp.semver, options) && this.operator.startsWith("<") && comp.operator.startsWith(">")) {
124664
+ return true;
124665
+ }
124666
+ return false;
124620
124667
  }
124621
124668
  };
124622
124669
  module2.exports = Comparator;
124623
124670
  var parseOptions = require_parse_options();
124624
- var { re, t } = require_re();
124671
+ var { safeRe: re, t } = require_re();
124625
124672
  var cmp = require_cmp();
124626
124673
  var debug = require_debug2();
124627
124674
  var SemVer = require_semver();
@@ -124629,9 +124676,9 @@ var require_comparator = __commonJS({
124629
124676
  }
124630
124677
  });
124631
124678
 
124632
- // ../../node_modules/semver/functions/satisfies.js
124679
+ // ../component-lib/node_modules/semver/functions/satisfies.js
124633
124680
  var require_satisfies = __commonJS({
124634
- "../../node_modules/semver/functions/satisfies.js"(exports2, module2) {
124681
+ "../component-lib/node_modules/semver/functions/satisfies.js"(exports2, module2) {
124635
124682
  var Range = require_range();
124636
124683
  var satisfies = (version2, range, options) => {
124637
124684
  try {
@@ -124645,18 +124692,18 @@ var require_satisfies = __commonJS({
124645
124692
  }
124646
124693
  });
124647
124694
 
124648
- // ../../node_modules/semver/ranges/to-comparators.js
124695
+ // ../component-lib/node_modules/semver/ranges/to-comparators.js
124649
124696
  var require_to_comparators = __commonJS({
124650
- "../../node_modules/semver/ranges/to-comparators.js"(exports2, module2) {
124697
+ "../component-lib/node_modules/semver/ranges/to-comparators.js"(exports2, module2) {
124651
124698
  var Range = require_range();
124652
124699
  var toComparators = (range, options) => new Range(range, options).set.map((comp) => comp.map((c) => c.value).join(" ").trim().split(" "));
124653
124700
  module2.exports = toComparators;
124654
124701
  }
124655
124702
  });
124656
124703
 
124657
- // ../../node_modules/semver/ranges/max-satisfying.js
124704
+ // ../component-lib/node_modules/semver/ranges/max-satisfying.js
124658
124705
  var require_max_satisfying = __commonJS({
124659
- "../../node_modules/semver/ranges/max-satisfying.js"(exports2, module2) {
124706
+ "../component-lib/node_modules/semver/ranges/max-satisfying.js"(exports2, module2) {
124660
124707
  var SemVer = require_semver();
124661
124708
  var Range = require_range();
124662
124709
  var maxSatisfying = (versions, range, options) => {
@@ -124682,9 +124729,9 @@ var require_max_satisfying = __commonJS({
124682
124729
  }
124683
124730
  });
124684
124731
 
124685
- // ../../node_modules/semver/ranges/min-satisfying.js
124732
+ // ../component-lib/node_modules/semver/ranges/min-satisfying.js
124686
124733
  var require_min_satisfying = __commonJS({
124687
- "../../node_modules/semver/ranges/min-satisfying.js"(exports2, module2) {
124734
+ "../component-lib/node_modules/semver/ranges/min-satisfying.js"(exports2, module2) {
124688
124735
  var SemVer = require_semver();
124689
124736
  var Range = require_range();
124690
124737
  var minSatisfying = (versions, range, options) => {
@@ -124710,9 +124757,9 @@ var require_min_satisfying = __commonJS({
124710
124757
  }
124711
124758
  });
124712
124759
 
124713
- // ../../node_modules/semver/ranges/min-version.js
124760
+ // ../component-lib/node_modules/semver/ranges/min-version.js
124714
124761
  var require_min_version = __commonJS({
124715
- "../../node_modules/semver/ranges/min-version.js"(exports2, module2) {
124762
+ "../component-lib/node_modules/semver/ranges/min-version.js"(exports2, module2) {
124716
124763
  var SemVer = require_semver();
124717
124764
  var Range = require_range();
124718
124765
  var gt = require_gt();
@@ -124766,9 +124813,9 @@ var require_min_version = __commonJS({
124766
124813
  }
124767
124814
  });
124768
124815
 
124769
- // ../../node_modules/semver/ranges/valid.js
124816
+ // ../component-lib/node_modules/semver/ranges/valid.js
124770
124817
  var require_valid2 = __commonJS({
124771
- "../../node_modules/semver/ranges/valid.js"(exports2, module2) {
124818
+ "../component-lib/node_modules/semver/ranges/valid.js"(exports2, module2) {
124772
124819
  var Range = require_range();
124773
124820
  var validRange = (range, options) => {
124774
124821
  try {
@@ -124781,9 +124828,9 @@ var require_valid2 = __commonJS({
124781
124828
  }
124782
124829
  });
124783
124830
 
124784
- // ../../node_modules/semver/ranges/outside.js
124831
+ // ../component-lib/node_modules/semver/ranges/outside.js
124785
124832
  var require_outside = __commonJS({
124786
- "../../node_modules/semver/ranges/outside.js"(exports2, module2) {
124833
+ "../component-lib/node_modules/semver/ranges/outside.js"(exports2, module2) {
124787
124834
  var SemVer = require_semver();
124788
124835
  var Comparator = require_comparator();
124789
124836
  var { ANY } = Comparator;
@@ -124849,40 +124896,40 @@ var require_outside = __commonJS({
124849
124896
  }
124850
124897
  });
124851
124898
 
124852
- // ../../node_modules/semver/ranges/gtr.js
124899
+ // ../component-lib/node_modules/semver/ranges/gtr.js
124853
124900
  var require_gtr = __commonJS({
124854
- "../../node_modules/semver/ranges/gtr.js"(exports2, module2) {
124901
+ "../component-lib/node_modules/semver/ranges/gtr.js"(exports2, module2) {
124855
124902
  var outside = require_outside();
124856
124903
  var gtr = (version2, range, options) => outside(version2, range, ">", options);
124857
124904
  module2.exports = gtr;
124858
124905
  }
124859
124906
  });
124860
124907
 
124861
- // ../../node_modules/semver/ranges/ltr.js
124908
+ // ../component-lib/node_modules/semver/ranges/ltr.js
124862
124909
  var require_ltr = __commonJS({
124863
- "../../node_modules/semver/ranges/ltr.js"(exports2, module2) {
124910
+ "../component-lib/node_modules/semver/ranges/ltr.js"(exports2, module2) {
124864
124911
  var outside = require_outside();
124865
124912
  var ltr = (version2, range, options) => outside(version2, range, "<", options);
124866
124913
  module2.exports = ltr;
124867
124914
  }
124868
124915
  });
124869
124916
 
124870
- // ../../node_modules/semver/ranges/intersects.js
124917
+ // ../component-lib/node_modules/semver/ranges/intersects.js
124871
124918
  var require_intersects = __commonJS({
124872
- "../../node_modules/semver/ranges/intersects.js"(exports2, module2) {
124919
+ "../component-lib/node_modules/semver/ranges/intersects.js"(exports2, module2) {
124873
124920
  var Range = require_range();
124874
124921
  var intersects = (r1, r2, options) => {
124875
124922
  r1 = new Range(r1, options);
124876
124923
  r2 = new Range(r2, options);
124877
- return r1.intersects(r2);
124924
+ return r1.intersects(r2, options);
124878
124925
  };
124879
124926
  module2.exports = intersects;
124880
124927
  }
124881
124928
  });
124882
124929
 
124883
- // ../../node_modules/semver/ranges/simplify.js
124930
+ // ../component-lib/node_modules/semver/ranges/simplify.js
124884
124931
  var require_simplify = __commonJS({
124885
- "../../node_modules/semver/ranges/simplify.js"(exports2, module2) {
124932
+ "../component-lib/node_modules/semver/ranges/simplify.js"(exports2, module2) {
124886
124933
  var satisfies = require_satisfies();
124887
124934
  var compare = require_compare();
124888
124935
  module2.exports = (versions, range, options) => {
@@ -124929,9 +124976,9 @@ var require_simplify = __commonJS({
124929
124976
  }
124930
124977
  });
124931
124978
 
124932
- // ../../node_modules/semver/ranges/subset.js
124979
+ // ../component-lib/node_modules/semver/ranges/subset.js
124933
124980
  var require_subset = __commonJS({
124934
- "../../node_modules/semver/ranges/subset.js"(exports2, module2) {
124981
+ "../component-lib/node_modules/semver/ranges/subset.js"(exports2, module2) {
124935
124982
  var Range = require_range();
124936
124983
  var Comparator = require_comparator();
124937
124984
  var { ANY } = Comparator;
@@ -124959,6 +125006,8 @@ var require_subset = __commonJS({
124959
125006
  }
124960
125007
  return true;
124961
125008
  };
125009
+ var minimumVersionWithPreRelease = [new Comparator(">=0.0.0-0")];
125010
+ var minimumVersion = [new Comparator(">=0.0.0")];
124962
125011
  var simpleSubset = (sub, dom, options) => {
124963
125012
  if (sub === dom) {
124964
125013
  return true;
@@ -124967,16 +125016,16 @@ var require_subset = __commonJS({
124967
125016
  if (dom.length === 1 && dom[0].semver === ANY) {
124968
125017
  return true;
124969
125018
  } else if (options.includePrerelease) {
124970
- sub = [new Comparator(">=0.0.0-0")];
125019
+ sub = minimumVersionWithPreRelease;
124971
125020
  } else {
124972
- sub = [new Comparator(">=0.0.0")];
125021
+ sub = minimumVersion;
124973
125022
  }
124974
125023
  }
124975
125024
  if (dom.length === 1 && dom[0].semver === ANY) {
124976
125025
  if (options.includePrerelease) {
124977
125026
  return true;
124978
125027
  } else {
124979
- dom = [new Comparator(">=0.0.0")];
125028
+ dom = minimumVersion;
124980
125029
  }
124981
125030
  }
124982
125031
  const eqSet = /* @__PURE__ */ new Set();
@@ -125089,55 +125138,96 @@ var require_subset = __commonJS({
125089
125138
  }
125090
125139
  });
125091
125140
 
125092
- // ../../node_modules/semver/index.js
125141
+ // ../component-lib/node_modules/semver/index.js
125093
125142
  var require_semver2 = __commonJS({
125094
- "../../node_modules/semver/index.js"(exports2, module2) {
125143
+ "../component-lib/node_modules/semver/index.js"(exports2, module2) {
125095
125144
  var internalRe = require_re();
125145
+ var constants = require_constants10();
125146
+ var SemVer = require_semver();
125147
+ var identifiers = require_identifiers();
125148
+ var parse2 = require_parse2();
125149
+ var valid = require_valid();
125150
+ var clean = require_clean();
125151
+ var inc = require_inc();
125152
+ var diff = require_diff();
125153
+ var major = require_major();
125154
+ var minor = require_minor();
125155
+ var patch = require_patch();
125156
+ var prerelease = require_prerelease();
125157
+ var compare = require_compare();
125158
+ var rcompare = require_rcompare();
125159
+ var compareLoose = require_compare_loose();
125160
+ var compareBuild = require_compare_build();
125161
+ var sort = require_sort();
125162
+ var rsort = require_rsort();
125163
+ var gt = require_gt();
125164
+ var lt = require_lt();
125165
+ var eq = require_eq();
125166
+ var neq = require_neq();
125167
+ var gte = require_gte();
125168
+ var lte = require_lte();
125169
+ var cmp = require_cmp();
125170
+ var coerce = require_coerce();
125171
+ var Comparator = require_comparator();
125172
+ var Range = require_range();
125173
+ var satisfies = require_satisfies();
125174
+ var toComparators = require_to_comparators();
125175
+ var maxSatisfying = require_max_satisfying();
125176
+ var minSatisfying = require_min_satisfying();
125177
+ var minVersion = require_min_version();
125178
+ var validRange = require_valid2();
125179
+ var outside = require_outside();
125180
+ var gtr = require_gtr();
125181
+ var ltr = require_ltr();
125182
+ var intersects = require_intersects();
125183
+ var simplifyRange = require_simplify();
125184
+ var subset = require_subset();
125096
125185
  module2.exports = {
125186
+ parse: parse2,
125187
+ valid,
125188
+ clean,
125189
+ inc,
125190
+ diff,
125191
+ major,
125192
+ minor,
125193
+ patch,
125194
+ prerelease,
125195
+ compare,
125196
+ rcompare,
125197
+ compareLoose,
125198
+ compareBuild,
125199
+ sort,
125200
+ rsort,
125201
+ gt,
125202
+ lt,
125203
+ eq,
125204
+ neq,
125205
+ gte,
125206
+ lte,
125207
+ cmp,
125208
+ coerce,
125209
+ Comparator,
125210
+ Range,
125211
+ satisfies,
125212
+ toComparators,
125213
+ maxSatisfying,
125214
+ minSatisfying,
125215
+ minVersion,
125216
+ validRange,
125217
+ outside,
125218
+ gtr,
125219
+ ltr,
125220
+ intersects,
125221
+ simplifyRange,
125222
+ subset,
125223
+ SemVer,
125097
125224
  re: internalRe.re,
125098
125225
  src: internalRe.src,
125099
125226
  tokens: internalRe.t,
125100
- SEMVER_SPEC_VERSION: require_constants10().SEMVER_SPEC_VERSION,
125101
- SemVer: require_semver(),
125102
- compareIdentifiers: require_identifiers().compareIdentifiers,
125103
- rcompareIdentifiers: require_identifiers().rcompareIdentifiers,
125104
- parse: require_parse2(),
125105
- valid: require_valid(),
125106
- clean: require_clean(),
125107
- inc: require_inc(),
125108
- diff: require_diff(),
125109
- major: require_major(),
125110
- minor: require_minor(),
125111
- patch: require_patch(),
125112
- prerelease: require_prerelease(),
125113
- compare: require_compare(),
125114
- rcompare: require_rcompare(),
125115
- compareLoose: require_compare_loose(),
125116
- compareBuild: require_compare_build(),
125117
- sort: require_sort(),
125118
- rsort: require_rsort(),
125119
- gt: require_gt(),
125120
- lt: require_lt(),
125121
- eq: require_eq(),
125122
- neq: require_neq(),
125123
- gte: require_gte(),
125124
- lte: require_lte(),
125125
- cmp: require_cmp(),
125126
- coerce: require_coerce(),
125127
- Comparator: require_comparator(),
125128
- Range: require_range(),
125129
- satisfies: require_satisfies(),
125130
- toComparators: require_to_comparators(),
125131
- maxSatisfying: require_max_satisfying(),
125132
- minSatisfying: require_min_satisfying(),
125133
- minVersion: require_min_version(),
125134
- validRange: require_valid2(),
125135
- outside: require_outside(),
125136
- gtr: require_gtr(),
125137
- ltr: require_ltr(),
125138
- intersects: require_intersects(),
125139
- simplifyRange: require_simplify(),
125140
- subset: require_subset()
125227
+ SEMVER_SPEC_VERSION: constants.SEMVER_SPEC_VERSION,
125228
+ RELEASE_TYPES: constants.RELEASE_TYPES,
125229
+ compareIdentifiers: identifiers.compareIdentifiers,
125230
+ rcompareIdentifiers: identifiers.rcompareIdentifiers
125141
125231
  };
125142
125232
  }
125143
125233
  });
@@ -216261,8 +216351,9 @@ var require_axios = __commonJS({
216261
216351
  var isFileList = kindOfTest("FileList");
216262
216352
  var isStream = (val2) => isObject(val2) && isFunction(val2.pipe);
216263
216353
  var isFormData = (thing) => {
216264
- const pattern = "[object FormData]";
216265
- return thing && (typeof FormData === "function" && thing instanceof FormData || toString.call(thing) === pattern || isFunction(thing.toString) && thing.toString() === pattern);
216354
+ let kind;
216355
+ return thing && (typeof FormData === "function" && thing instanceof FormData || isFunction(thing.append) && ((kind = kindOf(thing)) === "formdata" || // detect form-data instance
216356
+ kind === "object" && isFunction(thing.toString) && thing.toString() === "[object FormData]"));
216266
216357
  };
216267
216358
  var isURLSearchParams = kindOfTest("URLSearchParams");
216268
216359
  var trim = (str) => str.trim ? str.trim() : str.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
@@ -216434,8 +216525,9 @@ var require_axios = __commonJS({
216434
216525
  const descriptors2 = Object.getOwnPropertyDescriptors(obj);
216435
216526
  const reducedDescriptors = {};
216436
216527
  forEach(descriptors2, (descriptor, name) => {
216437
- if (reducer(descriptor, name, obj) !== false) {
216438
- reducedDescriptors[name] = descriptor;
216528
+ let ret;
216529
+ if ((ret = reducer(descriptor, name, obj)) !== false) {
216530
+ reducedDescriptors[name] = ret || descriptor;
216439
216531
  }
216440
216532
  });
216441
216533
  Object.defineProperties(obj, reducedDescriptors);
@@ -216516,6 +216608,8 @@ var require_axios = __commonJS({
216516
216608
  };
216517
216609
  return visit(obj, 0);
216518
216610
  };
216611
+ var isAsyncFn = kindOfTest("AsyncFunction");
216612
+ var isThenable = (thing) => thing && (isObject(thing) || isFunction(thing)) && isFunction(thing.then) && isFunction(thing.catch);
216519
216613
  var utils = {
216520
216614
  isArray,
216521
216615
  isArrayBuffer,
@@ -216566,7 +216660,9 @@ var require_axios = __commonJS({
216566
216660
  ALPHABET,
216567
216661
  generateString,
216568
216662
  isSpecCompliantForm,
216569
- toJSONObject
216663
+ toJSONObject,
216664
+ isAsyncFn,
216665
+ isThenable
216570
216666
  };
216571
216667
  function AxiosError(message, code, config, request, response) {
216572
216668
  Error.call(this);
@@ -216940,9 +217036,6 @@ var require_axios = __commonJS({
216940
217036
  }
216941
217037
  return null;
216942
217038
  }
216943
- var DEFAULT_CONTENT_TYPE = {
216944
- "Content-Type": void 0
216945
- };
216946
217039
  function stringifySafely(rawValue, parser, encoder) {
216947
217040
  if (utils.isString(rawValue)) {
216948
217041
  try {
@@ -217041,16 +217134,14 @@ var require_axios = __commonJS({
217041
217134
  },
217042
217135
  headers: {
217043
217136
  common: {
217044
- "Accept": "application/json, text/plain, */*"
217137
+ "Accept": "application/json, text/plain, */*",
217138
+ "Content-Type": void 0
217045
217139
  }
217046
217140
  }
217047
217141
  };
217048
- utils.forEach(["delete", "get", "head"], function forEachMethodNoData(method) {
217142
+ utils.forEach(["delete", "get", "head", "post", "put", "patch"], (method) => {
217049
217143
  defaults.headers[method] = {};
217050
217144
  });
217051
- utils.forEach(["post", "put", "patch"], function forEachMethodWithData(method) {
217052
- defaults.headers[method] = utils.merge(DEFAULT_CONTENT_TYPE);
217053
- });
217054
217145
  var defaults$1 = defaults;
217055
217146
  var ignoreDuplicateOf = utils.toObjectSet([
217056
217147
  "age",
@@ -217114,13 +217205,14 @@ var require_axios = __commonJS({
217114
217205
  }
217115
217206
  return tokens;
217116
217207
  }
217117
- function isValidHeaderName(str) {
217118
- return /^[-_a-zA-Z]+$/.test(str.trim());
217119
- }
217120
- function matchHeaderValue(context, value, header, filter) {
217208
+ var isValidHeaderName = (str) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(str.trim());
217209
+ function matchHeaderValue(context, value, header, filter, isHeaderNameFilter) {
217121
217210
  if (utils.isFunction(filter)) {
217122
217211
  return filter.call(this, value, header);
217123
217212
  }
217213
+ if (isHeaderNameFilter) {
217214
+ value = header;
217215
+ }
217124
217216
  if (!utils.isString(value))
217125
217217
  return;
217126
217218
  if (utils.isString(filter)) {
@@ -217228,7 +217320,7 @@ var require_axios = __commonJS({
217228
217320
  let deleted = false;
217229
217321
  while (i--) {
217230
217322
  const key = keys[i];
217231
- if (!matcher || matchHeaderValue(this, this[key], key, matcher)) {
217323
+ if (!matcher || matchHeaderValue(this, this[key], key, matcher, true)) {
217232
217324
  delete this[key];
217233
217325
  deleted = true;
217234
217326
  }
@@ -217299,7 +217391,15 @@ var require_axios = __commonJS({
217299
217391
  }
217300
217392
  };
217301
217393
  AxiosHeaders.accessor(["Content-Type", "Content-Length", "Accept", "Accept-Encoding", "User-Agent", "Authorization"]);
217302
- utils.freezeMethods(AxiosHeaders.prototype);
217394
+ utils.reduceDescriptors(AxiosHeaders.prototype, ({ value }, key) => {
217395
+ let mapped = key[0].toUpperCase() + key.slice(1);
217396
+ return {
217397
+ get: () => value,
217398
+ set(headerValue) {
217399
+ this[mapped] = headerValue;
217400
+ }
217401
+ };
217402
+ });
217303
217403
  utils.freezeMethods(AxiosHeaders);
217304
217404
  var AxiosHeaders$1 = AxiosHeaders;
217305
217405
  function transformData(fns, response) {
@@ -217349,7 +217449,7 @@ var require_axios = __commonJS({
217349
217449
  }
217350
217450
  return requestedURL;
217351
217451
  }
217352
- var VERSION = "1.3.2";
217452
+ var VERSION = "1.6.0";
217353
217453
  function parseProtocol(url2) {
217354
217454
  const match = /^([-+\w]{1,25})(:?\/\/|:)/.exec(url2);
217355
217455
  return match && match[1] || "";
@@ -217694,6 +217794,19 @@ var require_axios = __commonJS({
217694
217794
  }
217695
217795
  };
217696
217796
  var ZlibHeaderTransformStream$1 = ZlibHeaderTransformStream;
217797
+ var callbackify = (fn, reducer) => {
217798
+ return utils.isAsyncFn(fn) ? function(...args) {
217799
+ const cb = args.pop();
217800
+ fn.apply(this, args).then((value) => {
217801
+ try {
217802
+ reducer ? cb(null, ...reducer(value)) : cb(null, value);
217803
+ } catch (err) {
217804
+ cb(err);
217805
+ }
217806
+ }, cb);
217807
+ } : fn;
217808
+ };
217809
+ var callbackify$1 = callbackify;
217697
217810
  var zlibOptions = {
217698
217811
  flush: zlib__default["default"].constants.Z_SYNC_FLUSH,
217699
217812
  finishFlush: zlib__default["default"].constants.Z_SYNC_FLUSH
@@ -217750,21 +217863,56 @@ var require_axios = __commonJS({
217750
217863
  };
217751
217864
  }
217752
217865
  var isHttpAdapterSupported = typeof process !== "undefined" && utils.kindOf(process) === "process";
217866
+ var wrapAsync = (asyncExecutor) => {
217867
+ return new Promise((resolve, reject) => {
217868
+ let onDone;
217869
+ let isDone;
217870
+ const done = (value, isRejected) => {
217871
+ if (isDone)
217872
+ return;
217873
+ isDone = true;
217874
+ onDone && onDone(value, isRejected);
217875
+ };
217876
+ const _resolve = (value) => {
217877
+ done(value);
217878
+ resolve(value);
217879
+ };
217880
+ const _reject = (reason) => {
217881
+ done(reason, true);
217882
+ reject(reason);
217883
+ };
217884
+ asyncExecutor(_resolve, _reject, (onDoneHandler) => onDone = onDoneHandler).catch(_reject);
217885
+ });
217886
+ };
217887
+ var resolveFamily = ({ address, family }) => {
217888
+ if (!utils.isString(address)) {
217889
+ throw TypeError("address must be a string");
217890
+ }
217891
+ return {
217892
+ address,
217893
+ family: family || (address.indexOf(".") < 0 ? 6 : 4)
217894
+ };
217895
+ };
217896
+ var buildAddressEntry = (address, family) => resolveFamily(utils.isObject(address) ? address : { address, family });
217753
217897
  var httpAdapter = isHttpAdapterSupported && function httpAdapter2(config) {
217754
- return new Promise(async function dispatchHttpRequest(resolvePromise, rejectPromise) {
217755
- let data = config.data;
217756
- const responseType = config.responseType;
217757
- const responseEncoding = config.responseEncoding;
217898
+ return wrapAsync(async function dispatchHttpRequest(resolve, reject, onDone) {
217899
+ let { data, lookup, family } = config;
217900
+ const { responseType, responseEncoding } = config;
217758
217901
  const method = config.method.toUpperCase();
217759
- let isFinished;
217760
217902
  let isDone;
217761
217903
  let rejected = false;
217762
217904
  let req;
217905
+ if (lookup) {
217906
+ const _lookup = callbackify$1(lookup, (value) => utils.isArray(value) ? value : [value]);
217907
+ lookup = (hostname, opt, cb) => {
217908
+ _lookup(hostname, opt, (err, arg0, arg1) => {
217909
+ const addresses = utils.isArray(arg0) ? arg0.map((addr) => buildAddressEntry(addr)) : [buildAddressEntry(arg0, arg1)];
217910
+ opt.all ? cb(err, addresses) : cb(err, addresses[0].address, addresses[0].family);
217911
+ });
217912
+ };
217913
+ }
217763
217914
  const emitter = new EventEmitter__default["default"]();
217764
- function onFinished() {
217765
- if (isFinished)
217766
- return;
217767
- isFinished = true;
217915
+ const onFinished = () => {
217768
217916
  if (config.cancelToken) {
217769
217917
  config.cancelToken.unsubscribe(abort);
217770
217918
  }
@@ -217772,23 +217920,14 @@ var require_axios = __commonJS({
217772
217920
  config.signal.removeEventListener("abort", abort);
217773
217921
  }
217774
217922
  emitter.removeAllListeners();
217775
- }
217776
- function done(value, isRejected) {
217777
- if (isDone)
217778
- return;
217923
+ };
217924
+ onDone((value, isRejected) => {
217779
217925
  isDone = true;
217780
217926
  if (isRejected) {
217781
217927
  rejected = true;
217782
217928
  onFinished();
217783
217929
  }
217784
- isRejected ? rejectPromise(value) : resolvePromise(value);
217785
- }
217786
- const resolve = function resolve2(value) {
217787
- done(value);
217788
- };
217789
- const reject = function reject2(value) {
217790
- done(value, true);
217791
- };
217930
+ });
217792
217931
  function abort(reason) {
217793
217932
  emitter.emit("abort", !reason || reason.type ? new CanceledError(null, config, req) : reason);
217794
217933
  }
@@ -217862,7 +218001,7 @@ var require_axios = __commonJS({
217862
218001
  if (!headers.hasContentLength()) {
217863
218002
  try {
217864
218003
  const knownLength = await util__default["default"].promisify(data.getLength).call(data);
217865
- headers.setContentLength(knownLength);
218004
+ Number.isFinite(knownLength) && knownLength >= 0 && headers.setContentLength(knownLength);
217866
218005
  } catch (e) {
217867
218006
  }
217868
218007
  }
@@ -217952,9 +218091,11 @@ var require_axios = __commonJS({
217952
218091
  agents: { http: config.httpAgent, https: config.httpsAgent },
217953
218092
  auth,
217954
218093
  protocol,
218094
+ family,
217955
218095
  beforeRedirect: dispatchBeforeRedirect,
217956
218096
  beforeRedirects: {}
217957
218097
  };
218098
+ !utils.isUndefined(lookup) && (options.lookup = lookup);
217958
218099
  if (config.socketPath) {
217959
218100
  options.socketPath = config.socketPath;
217960
218101
  } else {
@@ -218009,7 +218150,7 @@ var require_axios = __commonJS({
218009
218150
  if (method === "HEAD" || res.statusCode === 204) {
218010
218151
  delete res.headers["content-encoding"];
218011
218152
  }
218012
- switch (res.headers["content-encoding"]) {
218153
+ switch ((res.headers["content-encoding"] || "").toLowerCase()) {
218013
218154
  case "gzip":
218014
218155
  case "x-gzip":
218015
218156
  case "compress":
@@ -218090,7 +218231,7 @@ var require_axios = __commonJS({
218090
218231
  }
218091
218232
  response.data = responseData;
218092
218233
  } catch (err) {
218093
- reject(AxiosError.from(err, null, config, response.request, response));
218234
+ return reject(AxiosError.from(err, null, config, response.request, response));
218094
218235
  }
218095
218236
  settle(resolve, reject, response);
218096
218237
  });
@@ -218114,7 +218255,7 @@ var require_axios = __commonJS({
218114
218255
  });
218115
218256
  if (config.timeout) {
218116
218257
  const timeout = parseInt(config.timeout, 10);
218117
- if (isNaN(timeout)) {
218258
+ if (Number.isNaN(timeout)) {
218118
218259
  reject(new AxiosError(
218119
218260
  "error trying to parse `config.timeout` to int",
218120
218261
  AxiosError.ERR_BAD_OPTION_VALUE,
@@ -218282,8 +218423,15 @@ var require_axios = __commonJS({
218282
218423
  config.signal.removeEventListener("abort", onCanceled);
218283
218424
  }
218284
218425
  }
218285
- if (utils.isFormData(requestData) && (platform.isStandardBrowserEnv || platform.isStandardBrowserWebWorkerEnv)) {
218286
- requestHeaders.setContentType(false);
218426
+ let contentType;
218427
+ if (utils.isFormData(requestData)) {
218428
+ if (platform.isStandardBrowserEnv || platform.isStandardBrowserWebWorkerEnv) {
218429
+ requestHeaders.setContentType(false);
218430
+ } else if (!requestHeaders.getContentType(/^\s*multipart\/form-data/)) {
218431
+ requestHeaders.setContentType("multipart/form-data");
218432
+ } else if (utils.isString(contentType = requestHeaders.getContentType())) {
218433
+ requestHeaders.setContentType(contentType.replace(/^\s*(multipart\/form-data);+/, "$1"));
218434
+ }
218287
218435
  }
218288
218436
  let request = new XMLHttpRequest();
218289
218437
  if (config.auth) {
@@ -218358,7 +218506,7 @@ var require_axios = __commonJS({
218358
218506
  request = null;
218359
218507
  };
218360
218508
  if (platform.isStandardBrowserEnv) {
218361
- const xsrfValue = (config.withCredentials || isURLSameOrigin(fullPath)) && config.xsrfCookieName && cookies.read(config.xsrfCookieName);
218509
+ const xsrfValue = isURLSameOrigin(fullPath) && config.xsrfCookieName && cookies.read(config.xsrfCookieName);
218362
218510
  if (xsrfValue) {
218363
218511
  requestHeaders.set(config.xsrfHeaderName, xsrfValue);
218364
218512
  }
@@ -218416,31 +218564,39 @@ var require_axios = __commonJS({
218416
218564
  Object.defineProperty(fn, "adapterName", { value });
218417
218565
  }
218418
218566
  });
218567
+ var renderReason = (reason) => `- ${reason}`;
218568
+ var isResolvedHandle = (adapter) => utils.isFunction(adapter) || adapter === null || adapter === false;
218419
218569
  var adapters = {
218420
218570
  getAdapter: (adapters2) => {
218421
218571
  adapters2 = utils.isArray(adapters2) ? adapters2 : [adapters2];
218422
218572
  const { length } = adapters2;
218423
218573
  let nameOrAdapter;
218424
218574
  let adapter;
218575
+ const rejectedReasons = {};
218425
218576
  for (let i = 0; i < length; i++) {
218426
218577
  nameOrAdapter = adapters2[i];
218427
- if (adapter = utils.isString(nameOrAdapter) ? knownAdapters[nameOrAdapter.toLowerCase()] : nameOrAdapter) {
218578
+ let id;
218579
+ adapter = nameOrAdapter;
218580
+ if (!isResolvedHandle(nameOrAdapter)) {
218581
+ adapter = knownAdapters[(id = String(nameOrAdapter)).toLowerCase()];
218582
+ if (adapter === void 0) {
218583
+ throw new AxiosError(`Unknown adapter '${id}'`);
218584
+ }
218585
+ }
218586
+ if (adapter) {
218428
218587
  break;
218429
218588
  }
218589
+ rejectedReasons[id || "#" + i] = adapter;
218430
218590
  }
218431
218591
  if (!adapter) {
218432
- if (adapter === false) {
218433
- throw new AxiosError(
218434
- `Adapter ${nameOrAdapter} is not supported by the environment`,
218435
- "ERR_NOT_SUPPORT"
218436
- );
218437
- }
218438
- throw new Error(
218439
- utils.hasOwnProp(knownAdapters, nameOrAdapter) ? `Adapter '${nameOrAdapter}' is not available in the build` : `Unknown adapter '${nameOrAdapter}'`
218592
+ const reasons = Object.entries(rejectedReasons).map(
218593
+ ([id, state]) => `adapter ${id} ` + (state === false ? "is not supported by the environment" : "is not available in the build")
218594
+ );
218595
+ let s = length ? reasons.length > 1 ? "since :\n" + reasons.map(renderReason).join("\n") : " " + renderReason(reasons[0]) : "as no adapter specified";
218596
+ throw new AxiosError(
218597
+ `There is no suitable adapter to dispatch the request ` + s,
218598
+ "ERR_NOT_SUPPORT"
218440
218599
  );
218441
- }
218442
- if (!utils.isFunction(adapter)) {
218443
- throw new TypeError("adapter is not a function");
218444
218600
  }
218445
218601
  return adapter;
218446
218602
  },
@@ -218559,7 +218715,7 @@ var require_axios = __commonJS({
218559
218715
  validateStatus: mergeDirectKeys,
218560
218716
  headers: (a, b) => mergeDeepProperties(headersToObject(a), headersToObject(b), true)
218561
218717
  };
218562
- utils.forEach(Object.keys(config1).concat(Object.keys(config2)), function computeConfigValue(prop) {
218718
+ utils.forEach(Object.keys(Object.assign({}, config1, config2)), function computeConfigValue(prop) {
218563
218719
  const merge2 = mergeMap[prop] || mergeDeepProperties;
218564
218720
  const configValue = merge2(config1[prop], config2[prop], prop);
218565
218721
  utils.isUndefined(configValue) && merge2 !== mergeDirectKeys || (config[prop] = configValue);
@@ -218655,19 +218811,24 @@ var require_axios = __commonJS({
218655
218811
  clarifyTimeoutError: validators.transitional(validators.boolean)
218656
218812
  }, false);
218657
218813
  }
218658
- if (paramsSerializer !== void 0) {
218659
- validator.assertOptions(paramsSerializer, {
218660
- encode: validators.function,
218661
- serialize: validators.function
218662
- }, true);
218814
+ if (paramsSerializer != null) {
218815
+ if (utils.isFunction(paramsSerializer)) {
218816
+ config.paramsSerializer = {
218817
+ serialize: paramsSerializer
218818
+ };
218819
+ } else {
218820
+ validator.assertOptions(paramsSerializer, {
218821
+ encode: validators.function,
218822
+ serialize: validators.function
218823
+ }, true);
218824
+ }
218663
218825
  }
218664
218826
  config.method = (config.method || this.defaults.method || "get").toLowerCase();
218665
- let contextHeaders;
218666
- contextHeaders = headers && utils.merge(
218827
+ let contextHeaders = headers && utils.merge(
218667
218828
  headers.common,
218668
218829
  headers[config.method]
218669
218830
  );
218670
- contextHeaders && utils.forEach(
218831
+ headers && utils.forEach(
218671
218832
  ["delete", "get", "head", "post", "put", "patch", "common"],
218672
218833
  (method) => {
218673
218834
  delete headers[method];
@@ -218950,6 +219111,7 @@ var require_axios = __commonJS({
218950
219111
  axios.mergeConfig = mergeConfig;
218951
219112
  axios.AxiosHeaders = AxiosHeaders$1;
218952
219113
  axios.formToJSON = (thing) => formDataToJSON(utils.isHTMLForm(thing) ? new FormData(thing) : thing);
219114
+ axios.getAdapter = adapters.getAdapter;
218953
219115
  axios.HttpStatusCode = HttpStatusCode$1;
218954
219116
  axios.default = axios;
218955
219117
  module2.exports = axios;
@@ -220013,7 +220175,7 @@ archiver/index.js:
220013
220175
  */
220014
220176
  /**
220015
220177
  * @title @squiz/content-api
220016
- * @version 1.57.1-alpha.1
220178
+ * @version 1.58.1-alpha.0
220017
220179
  * @license ISC
220018
220180
  * @baseUrl /
220019
220181
  * @contact