@speclynx/apidom-reference 2.10.2 → 2.11.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.
@@ -20912,14 +20912,14 @@ const factory = (env) => {
20912
20912
 
20913
20913
  if (err && err.name === 'TypeError' && /Load failed|fetch/i.test(err.message)) {
20914
20914
  throw Object.assign(
20915
- new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__["default"]('Network Error', _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__["default"].ERR_NETWORK, config, request),
20915
+ new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__["default"]('Network Error', _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__["default"].ERR_NETWORK, config, request, err && err.response),
20916
20916
  {
20917
20917
  cause: err.cause || err
20918
20918
  }
20919
20919
  )
20920
20920
  }
20921
20921
 
20922
- throw _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__["default"].from(err, err && err.code, config, request);
20922
+ throw _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__["default"].from(err, err && err.code, config, request, err && err.response);
20923
20923
  }
20924
20924
  }
20925
20925
  }
@@ -21511,6 +21511,8 @@ __webpack_require__.r(__webpack_exports__);
21511
21511
  /* harmony import */ var _buildFullPath_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(22921);
21512
21512
  /* harmony import */ var _helpers_validator_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(62215);
21513
21513
  /* harmony import */ var _AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(76487);
21514
+ /* harmony import */ var _defaults_transitional_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(69006);
21515
+
21514
21516
 
21515
21517
 
21516
21518
 
@@ -21593,7 +21595,8 @@ class Axios {
21593
21595
  _helpers_validator_js__WEBPACK_IMPORTED_MODULE_6__["default"].assertOptions(transitional, {
21594
21596
  silentJSONParsing: validators.transitional(validators.boolean),
21595
21597
  forcedJSONParsing: validators.transitional(validators.boolean),
21596
- clarifyTimeoutError: validators.transitional(validators.boolean)
21598
+ clarifyTimeoutError: validators.transitional(validators.boolean),
21599
+ legacyInterceptorReqResOrdering: validators.transitional(validators.boolean)
21597
21600
  }, false);
21598
21601
  }
21599
21602
 
@@ -21652,7 +21655,14 @@ class Axios {
21652
21655
 
21653
21656
  synchronousRequestInterceptors = synchronousRequestInterceptors && interceptor.synchronous;
21654
21657
 
21655
- requestInterceptorChain.unshift(interceptor.fulfilled, interceptor.rejected);
21658
+ const transitional = config.transitional || _defaults_transitional_js__WEBPACK_IMPORTED_MODULE_8__["default"];
21659
+ const legacyInterceptorReqResOrdering = transitional && transitional.legacyInterceptorReqResOrdering;
21660
+
21661
+ if (legacyInterceptorReqResOrdering) {
21662
+ requestInterceptorChain.unshift(interceptor.fulfilled, interceptor.rejected);
21663
+ } else {
21664
+ requestInterceptorChain.push(interceptor.fulfilled, interceptor.rejected);
21665
+ }
21656
21666
  });
21657
21667
 
21658
21668
  const responseInterceptorChain = [];
@@ -22404,7 +22414,8 @@ __webpack_require__.r(__webpack_exports__);
22404
22414
 
22405
22415
 
22406
22416
 
22407
- const headersToObject = (thing) => thing instanceof _AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__["default"] ? { ...thing } : thing;
22417
+ const headersToObject = (thing) =>
22418
+ thing instanceof _AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__["default"] ? { ...thing } : thing;
22408
22419
 
22409
22420
  /**
22410
22421
  * Config-specific merge-function which creates a new config-object
@@ -22493,14 +22504,27 @@ function mergeConfig(config1, config2) {
22493
22504
  socketPath: defaultToConfig2,
22494
22505
  responseEncoding: defaultToConfig2,
22495
22506
  validateStatus: mergeDirectKeys,
22496
- headers: (a, b, prop) => mergeDeepProperties(headersToObject(a), headersToObject(b), prop, true)
22507
+ headers: (a, b, prop) =>
22508
+ mergeDeepProperties(headersToObject(a), headersToObject(b), prop, true),
22497
22509
  };
22498
22510
 
22499
- _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].forEach(Object.keys({ ...config1, ...config2 }), function computeConfigValue(prop) {
22500
- const merge = mergeMap[prop] || mergeDeepProperties;
22501
- const configValue = merge(config1[prop], config2[prop], prop);
22502
- (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isUndefined(configValue) && merge !== mergeDirectKeys) || (config[prop] = configValue);
22503
- });
22511
+ _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].forEach(
22512
+ Object.keys({ ...config1, ...config2 }),
22513
+ function computeConfigValue(prop) {
22514
+ if (
22515
+ prop === "__proto__" ||
22516
+ prop === "constructor" ||
22517
+ prop === "prototype"
22518
+ )
22519
+ return;
22520
+ const merge = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].hasOwnProp(mergeMap, prop)
22521
+ ? mergeMap[prop]
22522
+ : mergeDeepProperties;
22523
+ const configValue = merge(config1[prop], config2[prop], prop);
22524
+ (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isUndefined(configValue) && merge !== mergeDirectKeys) ||
22525
+ (config[prop] = configValue);
22526
+ },
22527
+ );
22504
22528
 
22505
22529
  return config;
22506
22530
  }
@@ -22784,7 +22808,8 @@ __webpack_require__.r(__webpack_exports__);
22784
22808
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
22785
22809
  silentJSONParsing: true,
22786
22810
  forcedJSONParsing: true,
22787
- clarifyTimeoutError: false
22811
+ clarifyTimeoutError: false,
22812
+ legacyInterceptorReqResOrdering: true
22788
22813
  });
22789
22814
 
22790
22815
 
@@ -22798,7 +22823,7 @@ __webpack_require__.r(__webpack_exports__);
22798
22823
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
22799
22824
  /* harmony export */ VERSION: () => (/* binding */ VERSION)
22800
22825
  /* harmony export */ });
22801
- const VERSION = "1.13.4";
22826
+ const VERSION = "1.13.5";
22802
22827
 
22803
22828
  /***/ },
22804
22829
 
@@ -23352,10 +23377,15 @@ function isAbsoluteURL(url) {
23352
23377
  // A URL is considered absolute if it begins with "<scheme>://" or "//" (protocol-relative URL).
23353
23378
  // RFC 3986 defines scheme name as a sequence of characters beginning with a letter and followed
23354
23379
  // by any combination of letters, digits, plus, period, or hyphen.
23380
+ if (typeof url !== 'string') {
23381
+ return false;
23382
+ }
23383
+
23355
23384
  return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(url);
23356
23385
  }
23357
23386
 
23358
23387
 
23388
+
23359
23389
  /***/ },
23360
23390
 
23361
23391
  /***/ 75757
@@ -24475,30 +24505,30 @@ __webpack_require__.r(__webpack_exports__);
24475
24505
 
24476
24506
  // utils is a library of generic helper functions non-specific to axios
24477
24507
 
24478
- const {toString} = Object.prototype;
24479
- const {getPrototypeOf} = Object;
24480
- const {iterator, toStringTag} = Symbol;
24508
+ const { toString } = Object.prototype;
24509
+ const { getPrototypeOf } = Object;
24510
+ const { iterator, toStringTag } = Symbol;
24481
24511
 
24482
- const kindOf = (cache => thing => {
24483
- const str = toString.call(thing);
24484
- return cache[str] || (cache[str] = str.slice(8, -1).toLowerCase());
24512
+ const kindOf = ((cache) => (thing) => {
24513
+ const str = toString.call(thing);
24514
+ return cache[str] || (cache[str] = str.slice(8, -1).toLowerCase());
24485
24515
  })(Object.create(null));
24486
24516
 
24487
24517
  const kindOfTest = (type) => {
24488
24518
  type = type.toLowerCase();
24489
- return (thing) => kindOf(thing) === type
24490
- }
24519
+ return (thing) => kindOf(thing) === type;
24520
+ };
24491
24521
 
24492
- const typeOfTest = type => thing => typeof thing === type;
24522
+ const typeOfTest = (type) => (thing) => typeof thing === type;
24493
24523
 
24494
24524
  /**
24495
- * Determine if a value is an Array
24525
+ * Determine if a value is a non-null object
24496
24526
  *
24497
24527
  * @param {Object} val The value to test
24498
24528
  *
24499
24529
  * @returns {boolean} True if value is an Array, otherwise false
24500
24530
  */
24501
- const {isArray} = Array;
24531
+ const { isArray } = Array;
24502
24532
 
24503
24533
  /**
24504
24534
  * Determine if a value is undefined
@@ -24507,7 +24537,7 @@ const {isArray} = Array;
24507
24537
  *
24508
24538
  * @returns {boolean} True if the value is undefined, otherwise false
24509
24539
  */
24510
- const isUndefined = typeOfTest('undefined');
24540
+ const isUndefined = typeOfTest("undefined");
24511
24541
 
24512
24542
  /**
24513
24543
  * Determine if a value is a Buffer
@@ -24517,8 +24547,14 @@ const isUndefined = typeOfTest('undefined');
24517
24547
  * @returns {boolean} True if value is a Buffer, otherwise false
24518
24548
  */
24519
24549
  function isBuffer(val) {
24520
- return val !== null && !isUndefined(val) && val.constructor !== null && !isUndefined(val.constructor)
24521
- && isFunction(val.constructor.isBuffer) && val.constructor.isBuffer(val);
24550
+ return (
24551
+ val !== null &&
24552
+ !isUndefined(val) &&
24553
+ val.constructor !== null &&
24554
+ !isUndefined(val.constructor) &&
24555
+ isFunction(val.constructor.isBuffer) &&
24556
+ val.constructor.isBuffer(val)
24557
+ );
24522
24558
  }
24523
24559
 
24524
24560
  /**
@@ -24528,8 +24564,7 @@ function isBuffer(val) {
24528
24564
  *
24529
24565
  * @returns {boolean} True if value is an ArrayBuffer, otherwise false
24530
24566
  */
24531
- const isArrayBuffer = kindOfTest('ArrayBuffer');
24532
-
24567
+ const isArrayBuffer = kindOfTest("ArrayBuffer");
24533
24568
 
24534
24569
  /**
24535
24570
  * Determine if a value is a view on an ArrayBuffer
@@ -24540,10 +24575,10 @@ const isArrayBuffer = kindOfTest('ArrayBuffer');
24540
24575
  */
24541
24576
  function isArrayBufferView(val) {
24542
24577
  let result;
24543
- if ((typeof ArrayBuffer !== 'undefined') && (ArrayBuffer.isView)) {
24578
+ if (typeof ArrayBuffer !== "undefined" && ArrayBuffer.isView) {
24544
24579
  result = ArrayBuffer.isView(val);
24545
24580
  } else {
24546
- result = (val) && (val.buffer) && (isArrayBuffer(val.buffer));
24581
+ result = val && val.buffer && isArrayBuffer(val.buffer);
24547
24582
  }
24548
24583
  return result;
24549
24584
  }
@@ -24555,7 +24590,7 @@ function isArrayBufferView(val) {
24555
24590
  *
24556
24591
  * @returns {boolean} True if value is a String, otherwise false
24557
24592
  */
24558
- const isString = typeOfTest('string');
24593
+ const isString = typeOfTest("string");
24559
24594
 
24560
24595
  /**
24561
24596
  * Determine if a value is a Function
@@ -24563,7 +24598,7 @@ const isString = typeOfTest('string');
24563
24598
  * @param {*} val The value to test
24564
24599
  * @returns {boolean} True if value is a Function, otherwise false
24565
24600
  */
24566
- const isFunction = typeOfTest('function');
24601
+ const isFunction = typeOfTest("function");
24567
24602
 
24568
24603
  /**
24569
24604
  * Determine if a value is a Number
@@ -24572,7 +24607,7 @@ const isFunction = typeOfTest('function');
24572
24607
  *
24573
24608
  * @returns {boolean} True if value is a Number, otherwise false
24574
24609
  */
24575
- const isNumber = typeOfTest('number');
24610
+ const isNumber = typeOfTest("number");
24576
24611
 
24577
24612
  /**
24578
24613
  * Determine if a value is an Object
@@ -24581,7 +24616,7 @@ const isNumber = typeOfTest('number');
24581
24616
  *
24582
24617
  * @returns {boolean} True if value is an Object, otherwise false
24583
24618
  */
24584
- const isObject = (thing) => thing !== null && typeof thing === 'object';
24619
+ const isObject = (thing) => thing !== null && typeof thing === "object";
24585
24620
 
24586
24621
  /**
24587
24622
  * Determine if a value is a Boolean
@@ -24589,7 +24624,7 @@ const isObject = (thing) => thing !== null && typeof thing === 'object';
24589
24624
  * @param {*} thing The value to test
24590
24625
  * @returns {boolean} True if value is a Boolean, otherwise false
24591
24626
  */
24592
- const isBoolean = thing => thing === true || thing === false;
24627
+ const isBoolean = (thing) => thing === true || thing === false;
24593
24628
 
24594
24629
  /**
24595
24630
  * Determine if a value is a plain Object
@@ -24599,13 +24634,19 @@ const isBoolean = thing => thing === true || thing === false;
24599
24634
  * @returns {boolean} True if value is a plain Object, otherwise false
24600
24635
  */
24601
24636
  const isPlainObject = (val) => {
24602
- if (kindOf(val) !== 'object') {
24637
+ if (kindOf(val) !== "object") {
24603
24638
  return false;
24604
24639
  }
24605
24640
 
24606
24641
  const prototype = getPrototypeOf(val);
24607
- return (prototype === null || prototype === Object.prototype || Object.getPrototypeOf(prototype) === null) && !(toStringTag in val) && !(iterator in val);
24608
- }
24642
+ return (
24643
+ (prototype === null ||
24644
+ prototype === Object.prototype ||
24645
+ Object.getPrototypeOf(prototype) === null) &&
24646
+ !(toStringTag in val) &&
24647
+ !(iterator in val)
24648
+ );
24649
+ };
24609
24650
 
24610
24651
  /**
24611
24652
  * Determine if a value is an empty object (safely handles Buffers)
@@ -24621,12 +24662,15 @@ const isEmptyObject = (val) => {
24621
24662
  }
24622
24663
 
24623
24664
  try {
24624
- return Object.keys(val).length === 0 && Object.getPrototypeOf(val) === Object.prototype;
24665
+ return (
24666
+ Object.keys(val).length === 0 &&
24667
+ Object.getPrototypeOf(val) === Object.prototype
24668
+ );
24625
24669
  } catch (e) {
24626
24670
  // Fallback for any other objects that might cause RangeError with Object.keys()
24627
24671
  return false;
24628
24672
  }
24629
- }
24673
+ };
24630
24674
 
24631
24675
  /**
24632
24676
  * Determine if a value is a Date
@@ -24635,7 +24679,7 @@ const isEmptyObject = (val) => {
24635
24679
  *
24636
24680
  * @returns {boolean} True if value is a Date, otherwise false
24637
24681
  */
24638
- const isDate = kindOfTest('Date');
24682
+ const isDate = kindOfTest("Date");
24639
24683
 
24640
24684
  /**
24641
24685
  * Determine if a value is a File
@@ -24644,7 +24688,7 @@ const isDate = kindOfTest('Date');
24644
24688
  *
24645
24689
  * @returns {boolean} True if value is a File, otherwise false
24646
24690
  */
24647
- const isFile = kindOfTest('File');
24691
+ const isFile = kindOfTest("File");
24648
24692
 
24649
24693
  /**
24650
24694
  * Determine if a value is a Blob
@@ -24653,7 +24697,7 @@ const isFile = kindOfTest('File');
24653
24697
  *
24654
24698
  * @returns {boolean} True if value is a Blob, otherwise false
24655
24699
  */
24656
- const isBlob = kindOfTest('Blob');
24700
+ const isBlob = kindOfTest("Blob");
24657
24701
 
24658
24702
  /**
24659
24703
  * Determine if a value is a FileList
@@ -24662,7 +24706,7 @@ const isBlob = kindOfTest('Blob');
24662
24706
  *
24663
24707
  * @returns {boolean} True if value is a File, otherwise false
24664
24708
  */
24665
- const isFileList = kindOfTest('FileList');
24709
+ const isFileList = kindOfTest("FileList");
24666
24710
 
24667
24711
  /**
24668
24712
  * Determine if a value is a Stream
@@ -24682,16 +24726,17 @@ const isStream = (val) => isObject(val) && isFunction(val.pipe);
24682
24726
  */
24683
24727
  const isFormData = (thing) => {
24684
24728
  let kind;
24685
- return thing && (
24686
- (typeof FormData === 'function' && thing instanceof FormData) || (
24687
- isFunction(thing.append) && (
24688
- (kind = kindOf(thing)) === 'formdata' ||
24689
- // detect form-data instance
24690
- (kind === 'object' && isFunction(thing.toString) && thing.toString() === '[object FormData]')
24691
- )
24692
- )
24693
- )
24694
- }
24729
+ return (
24730
+ thing &&
24731
+ ((typeof FormData === "function" && thing instanceof FormData) ||
24732
+ (isFunction(thing.append) &&
24733
+ ((kind = kindOf(thing)) === "formdata" ||
24734
+ // detect form-data instance
24735
+ (kind === "object" &&
24736
+ isFunction(thing.toString) &&
24737
+ thing.toString() === "[object FormData]"))))
24738
+ );
24739
+ };
24695
24740
 
24696
24741
  /**
24697
24742
  * Determine if a value is a URLSearchParams object
@@ -24700,9 +24745,14 @@ const isFormData = (thing) => {
24700
24745
  *
24701
24746
  * @returns {boolean} True if value is a URLSearchParams object, otherwise false
24702
24747
  */
24703
- const isURLSearchParams = kindOfTest('URLSearchParams');
24748
+ const isURLSearchParams = kindOfTest("URLSearchParams");
24704
24749
 
24705
- const [isReadableStream, isRequest, isResponse, isHeaders] = ['ReadableStream', 'Request', 'Response', 'Headers'].map(kindOfTest);
24750
+ const [isReadableStream, isRequest, isResponse, isHeaders] = [
24751
+ "ReadableStream",
24752
+ "Request",
24753
+ "Response",
24754
+ "Headers",
24755
+ ].map(kindOfTest);
24706
24756
 
24707
24757
  /**
24708
24758
  * Trim excess whitespace off the beginning and end of a string
@@ -24711,8 +24761,8 @@ const [isReadableStream, isRequest, isResponse, isHeaders] = ['ReadableStream',
24711
24761
  *
24712
24762
  * @returns {String} The String freed of excess whitespace
24713
24763
  */
24714
- const trim = (str) => str.trim ?
24715
- str.trim() : str.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, '');
24764
+ const trim = (str) =>
24765
+ str.trim ? str.trim() : str.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
24716
24766
 
24717
24767
  /**
24718
24768
  * Iterate over an Array or an Object invoking a function for each item.
@@ -24730,9 +24780,9 @@ const trim = (str) => str.trim ?
24730
24780
  * @param {Boolean} [options.allOwnKeys = false]
24731
24781
  * @returns {any}
24732
24782
  */
24733
- function forEach(obj, fn, {allOwnKeys = false} = {}) {
24783
+ function forEach(obj, fn, { allOwnKeys = false } = {}) {
24734
24784
  // Don't bother if no value provided
24735
- if (obj === null || typeof obj === 'undefined') {
24785
+ if (obj === null || typeof obj === "undefined") {
24736
24786
  return;
24737
24787
  }
24738
24788
 
@@ -24740,7 +24790,7 @@ function forEach(obj, fn, {allOwnKeys = false} = {}) {
24740
24790
  let l;
24741
24791
 
24742
24792
  // Force an array if not already something iterable
24743
- if (typeof obj !== 'object') {
24793
+ if (typeof obj !== "object") {
24744
24794
  /*eslint no-param-reassign:0*/
24745
24795
  obj = [obj];
24746
24796
  }
@@ -24757,7 +24807,9 @@ function forEach(obj, fn, {allOwnKeys = false} = {}) {
24757
24807
  }
24758
24808
 
24759
24809
  // Iterate over object keys
24760
- const keys = allOwnKeys ? Object.getOwnPropertyNames(obj) : Object.keys(obj);
24810
+ const keys = allOwnKeys
24811
+ ? Object.getOwnPropertyNames(obj)
24812
+ : Object.keys(obj);
24761
24813
  const len = keys.length;
24762
24814
  let key;
24763
24815
 
@@ -24769,7 +24821,7 @@ function forEach(obj, fn, {allOwnKeys = false} = {}) {
24769
24821
  }
24770
24822
 
24771
24823
  function findKey(obj, key) {
24772
- if (isBuffer(obj)){
24824
+ if (isBuffer(obj)) {
24773
24825
  return null;
24774
24826
  }
24775
24827
 
@@ -24789,10 +24841,15 @@ function findKey(obj, key) {
24789
24841
  const _global = (() => {
24790
24842
  /*eslint no-undef:0*/
24791
24843
  if (typeof globalThis !== "undefined") return globalThis;
24792
- return typeof self !== "undefined" ? self : (typeof window !== 'undefined' ? window : __webpack_require__.g)
24844
+ return typeof self !== "undefined"
24845
+ ? self
24846
+ : typeof window !== "undefined"
24847
+ ? window
24848
+ : __webpack_require__.g;
24793
24849
  })();
24794
24850
 
24795
- const isContextDefined = (context) => !isUndefined(context) && context !== _global;
24851
+ const isContextDefined = (context) =>
24852
+ !isUndefined(context) && context !== _global;
24796
24853
 
24797
24854
  /**
24798
24855
  * Accepts varargs expecting each argument to be an object, then
@@ -24813,10 +24870,15 @@ const isContextDefined = (context) => !isUndefined(context) && context !== _glob
24813
24870
  * @returns {Object} Result of all merge properties
24814
24871
  */
24815
24872
  function merge(/* obj1, obj2, obj3, ... */) {
24816
- const {caseless, skipUndefined} = isContextDefined(this) && this || {};
24873
+ const { caseless, skipUndefined } = (isContextDefined(this) && this) || {};
24817
24874
  const result = {};
24818
24875
  const assignValue = (val, key) => {
24819
- const targetKey = caseless && findKey(result, key) || key;
24876
+ // Skip dangerous property names to prevent prototype pollution
24877
+ if (key === "__proto__" || key === "constructor" || key === "prototype") {
24878
+ return;
24879
+ }
24880
+
24881
+ const targetKey = (caseless && findKey(result, key)) || key;
24820
24882
  if (isPlainObject(result[targetKey]) && isPlainObject(val)) {
24821
24883
  result[targetKey] = merge(result[targetKey], val);
24822
24884
  } else if (isPlainObject(val)) {
@@ -24826,7 +24888,7 @@ function merge(/* obj1, obj2, obj3, ... */) {
24826
24888
  } else if (!skipUndefined || !isUndefined(val)) {
24827
24889
  result[targetKey] = val;
24828
24890
  }
24829
- }
24891
+ };
24830
24892
 
24831
24893
  for (let i = 0, l = arguments.length; i < l; i++) {
24832
24894
  arguments[i] && forEach(arguments[i], assignValue);
@@ -24845,26 +24907,30 @@ function merge(/* obj1, obj2, obj3, ... */) {
24845
24907
  * @param {Boolean} [options.allOwnKeys]
24846
24908
  * @returns {Object} The resulting value of object a
24847
24909
  */
24848
- const extend = (a, b, thisArg, {allOwnKeys}= {}) => {
24849
- forEach(b, (val, key) => {
24850
- if (thisArg && isFunction(val)) {
24851
- Object.defineProperty(a, key, {
24852
- value: (0,_helpers_bind_js__WEBPACK_IMPORTED_MODULE_0__["default"])(val, thisArg),
24853
- writable: true,
24854
- enumerable: true,
24855
- configurable: true
24856
- });
24857
- } else {
24858
- Object.defineProperty(a, key, {
24859
- value: val,
24860
- writable: true,
24861
- enumerable: true,
24862
- configurable: true
24863
- });
24864
- }
24865
- }, {allOwnKeys});
24910
+ const extend = (a, b, thisArg, { allOwnKeys } = {}) => {
24911
+ forEach(
24912
+ b,
24913
+ (val, key) => {
24914
+ if (thisArg && isFunction(val)) {
24915
+ Object.defineProperty(a, key, {
24916
+ value: (0,_helpers_bind_js__WEBPACK_IMPORTED_MODULE_0__["default"])(val, thisArg),
24917
+ writable: true,
24918
+ enumerable: true,
24919
+ configurable: true,
24920
+ });
24921
+ } else {
24922
+ Object.defineProperty(a, key, {
24923
+ value: val,
24924
+ writable: true,
24925
+ enumerable: true,
24926
+ configurable: true,
24927
+ });
24928
+ }
24929
+ },
24930
+ { allOwnKeys },
24931
+ );
24866
24932
  return a;
24867
- }
24933
+ };
24868
24934
 
24869
24935
  /**
24870
24936
  * Remove byte order marker. This catches EF BB BF (the UTF-8 BOM)
@@ -24874,11 +24940,11 @@ const extend = (a, b, thisArg, {allOwnKeys}= {}) => {
24874
24940
  * @returns {string} content value without BOM
24875
24941
  */
24876
24942
  const stripBOM = (content) => {
24877
- if (content.charCodeAt(0) === 0xFEFF) {
24943
+ if (content.charCodeAt(0) === 0xfeff) {
24878
24944
  content = content.slice(1);
24879
24945
  }
24880
24946
  return content;
24881
- }
24947
+ };
24882
24948
 
24883
24949
  /**
24884
24950
  * Inherit the prototype methods from one constructor into another
@@ -24890,18 +24956,21 @@ const stripBOM = (content) => {
24890
24956
  * @returns {void}
24891
24957
  */
24892
24958
  const inherits = (constructor, superConstructor, props, descriptors) => {
24893
- constructor.prototype = Object.create(superConstructor.prototype, descriptors);
24894
- Object.defineProperty(constructor.prototype, 'constructor', {
24959
+ constructor.prototype = Object.create(
24960
+ superConstructor.prototype,
24961
+ descriptors,
24962
+ );
24963
+ Object.defineProperty(constructor.prototype, "constructor", {
24895
24964
  value: constructor,
24896
24965
  writable: true,
24897
24966
  enumerable: false,
24898
- configurable: true
24967
+ configurable: true,
24899
24968
  });
24900
- Object.defineProperty(constructor, 'super', {
24901
- value: superConstructor.prototype
24969
+ Object.defineProperty(constructor, "super", {
24970
+ value: superConstructor.prototype,
24902
24971
  });
24903
24972
  props && Object.assign(constructor.prototype, props);
24904
- }
24973
+ };
24905
24974
 
24906
24975
  /**
24907
24976
  * Resolve object with deep prototype chain to a flat object
@@ -24927,16 +24996,23 @@ const toFlatObject = (sourceObj, destObj, filter, propFilter) => {
24927
24996
  i = props.length;
24928
24997
  while (i-- > 0) {
24929
24998
  prop = props[i];
24930
- if ((!propFilter || propFilter(prop, sourceObj, destObj)) && !merged[prop]) {
24999
+ if (
25000
+ (!propFilter || propFilter(prop, sourceObj, destObj)) &&
25001
+ !merged[prop]
25002
+ ) {
24931
25003
  destObj[prop] = sourceObj[prop];
24932
25004
  merged[prop] = true;
24933
25005
  }
24934
25006
  }
24935
25007
  sourceObj = filter !== false && getPrototypeOf(sourceObj);
24936
- } while (sourceObj && (!filter || filter(sourceObj, destObj)) && sourceObj !== Object.prototype);
25008
+ } while (
25009
+ sourceObj &&
25010
+ (!filter || filter(sourceObj, destObj)) &&
25011
+ sourceObj !== Object.prototype
25012
+ );
24937
25013
 
24938
25014
  return destObj;
24939
- }
25015
+ };
24940
25016
 
24941
25017
  /**
24942
25018
  * Determines whether a string ends with the characters of a specified string
@@ -24955,8 +25031,7 @@ const endsWith = (str, searchString, position) => {
24955
25031
  position -= searchString.length;
24956
25032
  const lastIndex = str.indexOf(searchString, position);
24957
25033
  return lastIndex !== -1 && lastIndex === position;
24958
- }
24959
-
25034
+ };
24960
25035
 
24961
25036
  /**
24962
25037
  * Returns new array from array like object or null if failed
@@ -24975,7 +25050,7 @@ const toArray = (thing) => {
24975
25050
  arr[i] = thing[i];
24976
25051
  }
24977
25052
  return arr;
24978
- }
25053
+ };
24979
25054
 
24980
25055
  /**
24981
25056
  * Checking if the Uint8Array exists and if it does, it returns a function that checks if the
@@ -24986,12 +25061,12 @@ const toArray = (thing) => {
24986
25061
  * @returns {Array}
24987
25062
  */
24988
25063
  // eslint-disable-next-line func-names
24989
- const isTypedArray = (TypedArray => {
25064
+ const isTypedArray = ((TypedArray) => {
24990
25065
  // eslint-disable-next-line func-names
24991
- return thing => {
25066
+ return (thing) => {
24992
25067
  return TypedArray && thing instanceof TypedArray;
24993
25068
  };
24994
- })(typeof Uint8Array !== 'undefined' && getPrototypeOf(Uint8Array));
25069
+ })(typeof Uint8Array !== "undefined" && getPrototypeOf(Uint8Array));
24995
25070
 
24996
25071
  /**
24997
25072
  * For each entry in the object, call the function with the key and value.
@@ -25012,7 +25087,7 @@ const forEachEntry = (obj, fn) => {
25012
25087
  const pair = result.value;
25013
25088
  fn.call(obj, pair[0], pair[1]);
25014
25089
  }
25015
- }
25090
+ };
25016
25091
 
25017
25092
  /**
25018
25093
  * It takes a regular expression and a string, and returns an array of all the matches
@@ -25031,21 +25106,25 @@ const matchAll = (regExp, str) => {
25031
25106
  }
25032
25107
 
25033
25108
  return arr;
25034
- }
25109
+ };
25035
25110
 
25036
25111
  /* Checking if the kindOfTest function returns true when passed an HTMLFormElement. */
25037
- const isHTMLForm = kindOfTest('HTMLFormElement');
25112
+ const isHTMLForm = kindOfTest("HTMLFormElement");
25038
25113
 
25039
- const toCamelCase = str => {
25040
- return str.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,
25041
- function replacer(m, p1, p2) {
25114
+ const toCamelCase = (str) => {
25115
+ return str
25116
+ .toLowerCase()
25117
+ .replace(/[-_\s]([a-z\d])(\w*)/g, function replacer(m, p1, p2) {
25042
25118
  return p1.toUpperCase() + p2;
25043
- }
25044
- );
25119
+ });
25045
25120
  };
25046
25121
 
25047
25122
  /* Creating a function that will check if an object has a property. */
25048
- const hasOwnProperty = (({hasOwnProperty}) => (obj, prop) => hasOwnProperty.call(obj, prop))(Object.prototype);
25123
+ const hasOwnProperty = (
25124
+ ({ hasOwnProperty }) =>
25125
+ (obj, prop) =>
25126
+ hasOwnProperty.call(obj, prop)
25127
+ )(Object.prototype);
25049
25128
 
25050
25129
  /**
25051
25130
  * Determine if a value is a RegExp object
@@ -25054,7 +25133,7 @@ const hasOwnProperty = (({hasOwnProperty}) => (obj, prop) => hasOwnProperty.call
25054
25133
  *
25055
25134
  * @returns {boolean} True if value is a RegExp object, otherwise false
25056
25135
  */
25057
- const isRegExp = kindOfTest('RegExp');
25136
+ const isRegExp = kindOfTest("RegExp");
25058
25137
 
25059
25138
  const reduceDescriptors = (obj, reducer) => {
25060
25139
  const descriptors = Object.getOwnPropertyDescriptors(obj);
@@ -25068,7 +25147,7 @@ const reduceDescriptors = (obj, reducer) => {
25068
25147
  });
25069
25148
 
25070
25149
  Object.defineProperties(obj, reducedDescriptors);
25071
- }
25150
+ };
25072
25151
 
25073
25152
  /**
25074
25153
  * Makes all methods read-only
@@ -25078,7 +25157,10 @@ const reduceDescriptors = (obj, reducer) => {
25078
25157
  const freezeMethods = (obj) => {
25079
25158
  reduceDescriptors(obj, (descriptor, name) => {
25080
25159
  // skip restricted props in strict mode
25081
- if (isFunction(obj) && ['arguments', 'caller', 'callee'].indexOf(name) !== -1) {
25160
+ if (
25161
+ isFunction(obj) &&
25162
+ ["arguments", "caller", "callee"].indexOf(name) !== -1
25163
+ ) {
25082
25164
  return false;
25083
25165
  }
25084
25166
 
@@ -25088,40 +25170,42 @@ const freezeMethods = (obj) => {
25088
25170
 
25089
25171
  descriptor.enumerable = false;
25090
25172
 
25091
- if ('writable' in descriptor) {
25173
+ if ("writable" in descriptor) {
25092
25174
  descriptor.writable = false;
25093
25175
  return;
25094
25176
  }
25095
25177
 
25096
25178
  if (!descriptor.set) {
25097
25179
  descriptor.set = () => {
25098
- throw Error('Can not rewrite read-only method \'' + name + '\'');
25180
+ throw Error("Can not rewrite read-only method '" + name + "'");
25099
25181
  };
25100
25182
  }
25101
25183
  });
25102
- }
25184
+ };
25103
25185
 
25104
25186
  const toObjectSet = (arrayOrString, delimiter) => {
25105
25187
  const obj = {};
25106
25188
 
25107
25189
  const define = (arr) => {
25108
- arr.forEach(value => {
25190
+ arr.forEach((value) => {
25109
25191
  obj[value] = true;
25110
25192
  });
25111
- }
25193
+ };
25112
25194
 
25113
- isArray(arrayOrString) ? define(arrayOrString) : define(String(arrayOrString).split(delimiter));
25195
+ isArray(arrayOrString)
25196
+ ? define(arrayOrString)
25197
+ : define(String(arrayOrString).split(delimiter));
25114
25198
 
25115
25199
  return obj;
25116
- }
25200
+ };
25117
25201
 
25118
- const noop = () => {}
25202
+ const noop = () => {};
25119
25203
 
25120
25204
  const toFiniteNumber = (value, defaultValue) => {
25121
- return value != null && Number.isFinite(value = +value) ? value : defaultValue;
25122
- }
25123
-
25124
-
25205
+ return value != null && Number.isFinite((value = +value))
25206
+ ? value
25207
+ : defaultValue;
25208
+ };
25125
25209
 
25126
25210
  /**
25127
25211
  * If the thing is a FormData object, return true, otherwise return false.
@@ -25131,14 +25215,18 @@ const toFiniteNumber = (value, defaultValue) => {
25131
25215
  * @returns {boolean}
25132
25216
  */
25133
25217
  function isSpecCompliantForm(thing) {
25134
- return !!(thing && isFunction(thing.append) && thing[toStringTag] === 'FormData' && thing[iterator]);
25218
+ return !!(
25219
+ thing &&
25220
+ isFunction(thing.append) &&
25221
+ thing[toStringTag] === "FormData" &&
25222
+ thing[iterator]
25223
+ );
25135
25224
  }
25136
25225
 
25137
25226
  const toJSONObject = (obj) => {
25138
25227
  const stack = new Array(10);
25139
25228
 
25140
25229
  const visit = (source, i) => {
25141
-
25142
25230
  if (isObject(source)) {
25143
25231
  if (stack.indexOf(source) >= 0) {
25144
25232
  return;
@@ -25149,7 +25237,7 @@ const toJSONObject = (obj) => {
25149
25237
  return source;
25150
25238
  }
25151
25239
 
25152
- if(!('toJSON' in source)) {
25240
+ if (!("toJSON" in source)) {
25153
25241
  stack[i] = source;
25154
25242
  const target = isArray(source) ? [] : {};
25155
25243
 
@@ -25165,15 +25253,18 @@ const toJSONObject = (obj) => {
25165
25253
  }
25166
25254
 
25167
25255
  return source;
25168
- }
25256
+ };
25169
25257
 
25170
25258
  return visit(obj, 0);
25171
- }
25259
+ };
25172
25260
 
25173
- const isAsyncFn = kindOfTest('AsyncFunction');
25261
+ const isAsyncFn = kindOfTest("AsyncFunction");
25174
25262
 
25175
25263
  const isThenable = (thing) =>
25176
- thing && (isObject(thing) || isFunction(thing)) && isFunction(thing.then) && isFunction(thing.catch);
25264
+ thing &&
25265
+ (isObject(thing) || isFunction(thing)) &&
25266
+ isFunction(thing.then) &&
25267
+ isFunction(thing.catch);
25177
25268
 
25178
25269
  // original code
25179
25270
  // https://github.com/DigitalBrainJS/AxiosPromise/blob/16deab13710ec09779922131f3fa5954320f83ab/lib/utils.js#L11-L34
@@ -25183,32 +25274,35 @@ const _setImmediate = ((setImmediateSupported, postMessageSupported) => {
25183
25274
  return setImmediate;
25184
25275
  }
25185
25276
 
25186
- return postMessageSupported ? ((token, callbacks) => {
25187
- _global.addEventListener("message", ({source, data}) => {
25188
- if (source === _global && data === token) {
25189
- callbacks.length && callbacks.shift()();
25190
- }
25191
- }, false);
25277
+ return postMessageSupported
25278
+ ? ((token, callbacks) => {
25279
+ _global.addEventListener(
25280
+ "message",
25281
+ ({ source, data }) => {
25282
+ if (source === _global && data === token) {
25283
+ callbacks.length && callbacks.shift()();
25284
+ }
25285
+ },
25286
+ false,
25287
+ );
25192
25288
 
25193
- return (cb) => {
25194
- callbacks.push(cb);
25195
- _global.postMessage(token, "*");
25196
- }
25197
- })(`axios@${Math.random()}`, []) : (cb) => setTimeout(cb);
25198
- })(
25199
- typeof setImmediate === 'function',
25200
- isFunction(_global.postMessage)
25201
- );
25289
+ return (cb) => {
25290
+ callbacks.push(cb);
25291
+ _global.postMessage(token, "*");
25292
+ };
25293
+ })(`axios@${Math.random()}`, [])
25294
+ : (cb) => setTimeout(cb);
25295
+ })(typeof setImmediate === "function", isFunction(_global.postMessage));
25202
25296
 
25203
- const asap = typeof queueMicrotask !== 'undefined' ?
25204
- queueMicrotask.bind(_global) : ( typeof process !== 'undefined' && process.nextTick || _setImmediate);
25297
+ const asap =
25298
+ typeof queueMicrotask !== "undefined"
25299
+ ? queueMicrotask.bind(_global)
25300
+ : (typeof process !== "undefined" && process.nextTick) || _setImmediate;
25205
25301
 
25206
25302
  // *********************
25207
25303
 
25208
-
25209
25304
  const isIterable = (thing) => thing != null && isFunction(thing[iterator]);
25210
25305
 
25211
-
25212
25306
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
25213
25307
  isArray,
25214
25308
  isArrayBuffer,
@@ -25266,7 +25360,7 @@ const isIterable = (thing) => thing != null && isFunction(thing[iterator]);
25266
25360
  isThenable,
25267
25361
  setImmediate: _setImmediate,
25268
25362
  asap,
25269
- isIterable
25363
+ isIterable,
25270
25364
  });
25271
25365
 
25272
25366
 
@@ -49215,7 +49309,13 @@ class Element {
49215
49309
 
49216
49310
  /** Unique identifier for this element. */
49217
49311
  get id() {
49218
- return this.getMetaProperty('id', '');
49312
+ if (this.isFrozen) {
49313
+ return this.getMetaProperty('id', '');
49314
+ }
49315
+ if (!this.hasMetaProperty('id')) {
49316
+ this.setMetaProperty('id', '');
49317
+ }
49318
+ return this.meta.get('id');
49219
49319
  }
49220
49320
  set id(value) {
49221
49321
  this.setMetaProperty('id', value);
@@ -49223,7 +49323,13 @@ class Element {
49223
49323
 
49224
49324
  /** CSS-like class names. */
49225
49325
  get classes() {
49226
- return this.getMetaProperty('classes', []);
49326
+ if (this.isFrozen) {
49327
+ return this.getMetaProperty('classes', []);
49328
+ }
49329
+ if (!this.hasMetaProperty('classes')) {
49330
+ this.setMetaProperty('classes', []);
49331
+ }
49332
+ return this.meta.get('classes');
49227
49333
  }
49228
49334
  set classes(value) {
49229
49335
  this.setMetaProperty('classes', value);
@@ -49231,7 +49337,13 @@ class Element {
49231
49337
 
49232
49338
  /** Hyperlinks associated with this element. */
49233
49339
  get links() {
49234
- return this.getMetaProperty('links', []);
49340
+ if (this.isFrozen) {
49341
+ return this.getMetaProperty('links', []);
49342
+ }
49343
+ if (!this.hasMetaProperty('links')) {
49344
+ this.setMetaProperty('links', []);
49345
+ }
49346
+ return this.meta.get('links');
49235
49347
  }
49236
49348
  set links(value) {
49237
49349
  this.setMetaProperty('links', value);
@@ -49382,16 +49494,26 @@ class Element {
49382
49494
  }
49383
49495
 
49384
49496
  /**
49385
- * Gets a meta property, creating it with default value if not present.
49497
+ * Gets a meta property.
49498
+ *
49499
+ * When the property doesn't exist:
49500
+ * - With defaultValue: returns a new refracted element instance (not cached)
49501
+ * - Without defaultValue: returns undefined
49502
+ *
49503
+ * Note: Each call with a default creates a new instance. Use setMetaProperty
49504
+ * first if you need reference equality across multiple accesses.
49386
49505
  */
49506
+
49387
49507
  getMetaProperty(name, defaultValue) {
49388
- if (!this.meta.hasKey(name)) {
49389
- if (this.isFrozen) {
49390
- const element = this.refract(defaultValue);
49508
+ if (!this.hasMetaProperty(name)) {
49509
+ if (defaultValue === undefined) {
49510
+ return undefined;
49511
+ }
49512
+ const element = this.refract(defaultValue);
49513
+ if (element && this.isFrozen) {
49391
49514
  element.freeze();
49392
- return element;
49393
49515
  }
49394
- this.meta.set(name, defaultValue);
49516
+ return element;
49395
49517
  }
49396
49518
  return this.meta.get(name);
49397
49519
  }
@@ -50440,7 +50562,6 @@ class ArazzoSpecification1 extends _speclynx_apidom_datamodel__WEBPACK_IMPORTED_
50440
50562
  super(content, meta, attributes);
50441
50563
  this.element = 'arazzoSpecification1';
50442
50564
  this.classes.push('api');
50443
- this.classes.push('arazzo');
50444
50565
  }
50445
50566
  get arazzo() {
50446
50567
  return this.get('arazzo');