@swagger-api/apidom-parser-adapter-openapi-json-3-0 1.0.0-alpha.0 → 1.0.0-alpha.10

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.
@@ -6302,6 +6302,7 @@ var createMethod = function (IS_INCLUDES) {
6302
6302
  return function ($this, el, fromIndex) {
6303
6303
  var O = toIndexedObject($this);
6304
6304
  var length = lengthOfArrayLike(O);
6305
+ if (length === 0) return !IS_INCLUDES && -1;
6305
6306
  var index = toAbsoluteIndex(fromIndex, length);
6306
6307
  var value;
6307
6308
  // Array#includes uses SameValueZero equality algorithm
@@ -6497,16 +6498,16 @@ module.exports = function (target, key, value, options) {
6497
6498
 
6498
6499
  "use strict";
6499
6500
 
6500
- var global = __webpack_require__(21063);
6501
+ var globalThis = __webpack_require__(58900);
6501
6502
 
6502
6503
  // eslint-disable-next-line es/no-object-defineproperty -- safe
6503
6504
  var defineProperty = Object.defineProperty;
6504
6505
 
6505
6506
  module.exports = function (key, value) {
6506
6507
  try {
6507
- defineProperty(global, key, { value: value, configurable: true, writable: true });
6508
+ defineProperty(globalThis, key, { value: value, configurable: true, writable: true });
6508
6509
  } catch (error) {
6509
- global[key] = value;
6510
+ globalThis[key] = value;
6510
6511
  } return value;
6511
6512
  };
6512
6513
 
@@ -6534,10 +6535,10 @@ module.exports = !fails(function () {
6534
6535
 
6535
6536
  "use strict";
6536
6537
 
6537
- var global = __webpack_require__(21063);
6538
+ var globalThis = __webpack_require__(58900);
6538
6539
  var isObject = __webpack_require__(90262);
6539
6540
 
6540
- var document = global.document;
6541
+ var document = globalThis.document;
6541
6542
  // typeof document.createElement is 'object' in old IE
6542
6543
  var EXISTS = isObject(document) && isObject(document.createElement);
6543
6544
 
@@ -6592,26 +6593,50 @@ module.exports = {
6592
6593
 
6593
6594
  /***/ }),
6594
6595
 
6595
- /***/ 47868:
6596
+ /***/ 79683:
6596
6597
  /***/ ((module) => {
6597
6598
 
6598
6599
  "use strict";
6599
6600
 
6600
- module.exports = typeof navigator != 'undefined' && String(navigator.userAgent) || '';
6601
+ // IE8- don't enum bug keys
6602
+ module.exports = [
6603
+ 'constructor',
6604
+ 'hasOwnProperty',
6605
+ 'isPrototypeOf',
6606
+ 'propertyIsEnumerable',
6607
+ 'toLocaleString',
6608
+ 'toString',
6609
+ 'valueOf'
6610
+ ];
6601
6611
 
6602
6612
 
6603
6613
  /***/ }),
6604
6614
 
6605
- /***/ 44432:
6615
+ /***/ 83531:
6606
6616
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
6607
6617
 
6608
6618
  "use strict";
6609
6619
 
6610
- var global = __webpack_require__(21063);
6611
- var userAgent = __webpack_require__(47868);
6620
+ var globalThis = __webpack_require__(58900);
6621
+
6622
+ var navigator = globalThis.navigator;
6623
+ var userAgent = navigator && navigator.userAgent;
6612
6624
 
6613
- var process = global.process;
6614
- var Deno = global.Deno;
6625
+ module.exports = userAgent ? String(userAgent) : '';
6626
+
6627
+
6628
+ /***/ }),
6629
+
6630
+ /***/ 5547:
6631
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
6632
+
6633
+ "use strict";
6634
+
6635
+ var globalThis = __webpack_require__(58900);
6636
+ var userAgent = __webpack_require__(83531);
6637
+
6638
+ var process = globalThis.process;
6639
+ var Deno = globalThis.Deno;
6615
6640
  var versions = process && process.versions || Deno && Deno.version;
6616
6641
  var v8 = versions && versions.v8;
6617
6642
  var match, version;
@@ -6636,25 +6661,6 @@ if (!version && userAgent) {
6636
6661
  module.exports = version;
6637
6662
 
6638
6663
 
6639
- /***/ }),
6640
-
6641
- /***/ 79683:
6642
- /***/ ((module) => {
6643
-
6644
- "use strict";
6645
-
6646
- // IE8- don't enum bug keys
6647
- module.exports = [
6648
- 'constructor',
6649
- 'hasOwnProperty',
6650
- 'isPrototypeOf',
6651
- 'propertyIsEnumerable',
6652
- 'toLocaleString',
6653
- 'toString',
6654
- 'valueOf'
6655
- ];
6656
-
6657
-
6658
6664
  /***/ }),
6659
6665
 
6660
6666
  /***/ 13885:
@@ -6727,7 +6733,7 @@ module.exports = !fails(function () {
6727
6733
 
6728
6734
  "use strict";
6729
6735
 
6730
- var global = __webpack_require__(21063);
6736
+ var globalThis = __webpack_require__(58900);
6731
6737
  var apply = __webpack_require__(57013);
6732
6738
  var uncurryThis = __webpack_require__(9344);
6733
6739
  var isCallable = __webpack_require__(52769);
@@ -6737,6 +6743,8 @@ var path = __webpack_require__(68099);
6737
6743
  var bind = __webpack_require__(94572);
6738
6744
  var createNonEnumerableProperty = __webpack_require__(73999);
6739
6745
  var hasOwn = __webpack_require__(70701);
6746
+ // add debugging info
6747
+ __webpack_require__(33753);
6740
6748
 
6741
6749
  var wrapConstructor = function (NativeConstructor) {
6742
6750
  var Wrapper = function (a, b, c) {
@@ -6773,7 +6781,7 @@ module.exports = function (options, source) {
6773
6781
  var STATIC = options.stat;
6774
6782
  var PROTO = options.proto;
6775
6783
 
6776
- var nativeSource = GLOBAL ? global : STATIC ? global[TARGET] : global[TARGET] && global[TARGET].prototype;
6784
+ var nativeSource = GLOBAL ? globalThis : STATIC ? globalThis[TARGET] : globalThis[TARGET] && globalThis[TARGET].prototype;
6777
6785
 
6778
6786
  var target = GLOBAL ? path : path[TARGET] || createNonEnumerableProperty(path, TARGET, {})[TARGET];
6779
6787
  var targetPrototype = target.prototype;
@@ -6799,7 +6807,7 @@ module.exports = function (options, source) {
6799
6807
  if (!FORCED && !PROTO && typeof targetProperty == typeof sourceProperty) continue;
6800
6808
 
6801
6809
  // bind methods to global for calling from export context
6802
- if (options.bind && USE_NATIVE) resultProperty = bind(sourceProperty, global);
6810
+ if (options.bind && USE_NATIVE) resultProperty = bind(sourceProperty, globalThis);
6803
6811
  // wrap global constructors for prevent changes in this version
6804
6812
  else if (options.wrap && USE_NATIVE) resultProperty = wrapConstructor(sourceProperty);
6805
6813
  // make static versions for prototype methods
@@ -7010,7 +7018,7 @@ module.exports = NATIVE_BIND ? uncurryThisWithBind : function (fn) {
7010
7018
  "use strict";
7011
7019
 
7012
7020
  var path = __webpack_require__(68099);
7013
- var global = __webpack_require__(21063);
7021
+ var globalThis = __webpack_require__(58900);
7014
7022
  var isCallable = __webpack_require__(52769);
7015
7023
 
7016
7024
  var aFunction = function (variable) {
@@ -7018,8 +7026,8 @@ var aFunction = function (variable) {
7018
7026
  };
7019
7027
 
7020
7028
  module.exports = function (namespace, method) {
7021
- return arguments.length < 2 ? aFunction(path[namespace]) || aFunction(global[namespace])
7022
- : path[namespace] && path[namespace][method] || global[namespace] && global[namespace][method];
7029
+ return arguments.length < 2 ? aFunction(path[namespace]) || aFunction(globalThis[namespace])
7030
+ : path[namespace] && path[namespace][method] || globalThis[namespace] && globalThis[namespace][method];
7023
7031
  };
7024
7032
 
7025
7033
 
@@ -7087,7 +7095,7 @@ module.exports = function (V, P) {
7087
7095
 
7088
7096
  /***/ }),
7089
7097
 
7090
- /***/ 21063:
7098
+ /***/ 58900:
7091
7099
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
7092
7100
 
7093
7101
  "use strict";
@@ -7249,7 +7257,7 @@ module.exports = function (O, options) {
7249
7257
  "use strict";
7250
7258
 
7251
7259
  var NATIVE_WEAK_MAP = __webpack_require__(31314);
7252
- var global = __webpack_require__(21063);
7260
+ var globalThis = __webpack_require__(58900);
7253
7261
  var isObject = __webpack_require__(90262);
7254
7262
  var createNonEnumerableProperty = __webpack_require__(73999);
7255
7263
  var hasOwn = __webpack_require__(70701);
@@ -7258,8 +7266,8 @@ var sharedKey = __webpack_require__(64275);
7258
7266
  var hiddenKeys = __webpack_require__(95241);
7259
7267
 
7260
7268
  var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
7261
- var TypeError = global.TypeError;
7262
- var WeakMap = global.WeakMap;
7269
+ var TypeError = globalThis.TypeError;
7270
+ var WeakMap = globalThis.WeakMap;
7263
7271
  var set, get, has;
7264
7272
 
7265
7273
  var enforce = function (it) {
@@ -7856,7 +7864,8 @@ var NullProtoObjectViaActiveX = function (activeXDocument) {
7856
7864
  activeXDocument.write(scriptTag(''));
7857
7865
  activeXDocument.close();
7858
7866
  var temp = activeXDocument.parentWindow.Object;
7859
- activeXDocument = null; // avoid memory leak
7867
+ // eslint-disable-next-line no-useless-assignment -- avoid memory leak
7868
+ activeXDocument = null;
7860
7869
  return temp;
7861
7870
  };
7862
7871
 
@@ -8178,7 +8187,8 @@ exports.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
8178
8187
 
8179
8188
  /* eslint-disable no-proto -- safe */
8180
8189
  var uncurryThisAccessor = __webpack_require__(33574);
8181
- var anObject = __webpack_require__(47235);
8190
+ var isObject = __webpack_require__(90262);
8191
+ var requireObjectCoercible = __webpack_require__(95426);
8182
8192
  var aPossiblePrototype = __webpack_require__(91966);
8183
8193
 
8184
8194
  // `Object.setPrototypeOf` method
@@ -8195,8 +8205,9 @@ module.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () {
8195
8205
  CORRECT_SETTER = test instanceof Array;
8196
8206
  } catch (error) { /* empty */ }
8197
8207
  return function setPrototypeOf(O, proto) {
8198
- anObject(O);
8208
+ requireObjectCoercible(O);
8199
8209
  aPossiblePrototype(proto);
8210
+ if (!isObject(O)) return O;
8200
8211
  if (CORRECT_SETTER) setter(O, proto);
8201
8212
  else O.__proto__ = proto;
8202
8213
  return O;
@@ -8368,13 +8379,20 @@ module.exports = function (key) {
8368
8379
 
8369
8380
  "use strict";
8370
8381
 
8371
- var global = __webpack_require__(21063);
8382
+ var IS_PURE = __webpack_require__(64871);
8383
+ var globalThis = __webpack_require__(58900);
8372
8384
  var defineGlobalProperty = __webpack_require__(57525);
8373
8385
 
8374
8386
  var SHARED = '__core-js_shared__';
8375
- var store = global[SHARED] || defineGlobalProperty(SHARED, {});
8387
+ var store = module.exports = globalThis[SHARED] || defineGlobalProperty(SHARED, {});
8376
8388
 
8377
- module.exports = store;
8389
+ (store.versions || (store.versions = [])).push({
8390
+ version: '3.38.1',
8391
+ mode: IS_PURE ? 'pure' : 'global',
8392
+ copyright: '© 2014-2024 Denis Pushkarev (zloirock.ru)',
8393
+ license: 'https://github.com/zloirock/core-js/blob/v3.38.1/LICENSE',
8394
+ source: 'https://github.com/zloirock/core-js'
8395
+ });
8378
8396
 
8379
8397
 
8380
8398
  /***/ }),
@@ -8384,18 +8402,11 @@ module.exports = store;
8384
8402
 
8385
8403
  "use strict";
8386
8404
 
8387
- var IS_PURE = __webpack_require__(64871);
8388
8405
  var store = __webpack_require__(33753);
8389
8406
 
8390
- (module.exports = function (key, value) {
8391
- return store[key] || (store[key] = value !== undefined ? value : {});
8392
- })('versions', []).push({
8393
- version: '3.35.1',
8394
- mode: IS_PURE ? 'pure' : 'global',
8395
- copyright: '© 2014-2024 Denis Pushkarev (zloirock.ru)',
8396
- license: 'https://github.com/zloirock/core-js/blob/v3.35.1/LICENSE',
8397
- source: 'https://github.com/zloirock/core-js'
8398
- });
8407
+ module.exports = function (key, value) {
8408
+ return store[key] || (store[key] = value || {});
8409
+ };
8399
8410
 
8400
8411
 
8401
8412
  /***/ }),
@@ -8451,11 +8462,11 @@ module.exports = {
8451
8462
  "use strict";
8452
8463
 
8453
8464
  /* eslint-disable es/no-symbol -- required for testing */
8454
- var V8_VERSION = __webpack_require__(44432);
8465
+ var V8_VERSION = __webpack_require__(5547);
8455
8466
  var fails = __webpack_require__(61203);
8456
- var global = __webpack_require__(21063);
8467
+ var globalThis = __webpack_require__(58900);
8457
8468
 
8458
- var $String = global.String;
8469
+ var $String = globalThis.String;
8459
8470
 
8460
8471
  // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
8461
8472
  module.exports = !!Object.getOwnPropertySymbols && !fails(function () {
@@ -8727,10 +8738,10 @@ module.exports = DESCRIPTORS && fails(function () {
8727
8738
 
8728
8739
  "use strict";
8729
8740
 
8730
- var global = __webpack_require__(21063);
8741
+ var globalThis = __webpack_require__(58900);
8731
8742
  var isCallable = __webpack_require__(52769);
8732
8743
 
8733
- var WeakMap = global.WeakMap;
8744
+ var WeakMap = globalThis.WeakMap;
8734
8745
 
8735
8746
  module.exports = isCallable(WeakMap) && /native code/.test(String(WeakMap));
8736
8747
 
@@ -8742,14 +8753,14 @@ module.exports = isCallable(WeakMap) && /native code/.test(String(WeakMap));
8742
8753
 
8743
8754
  "use strict";
8744
8755
 
8745
- var global = __webpack_require__(21063);
8756
+ var globalThis = __webpack_require__(58900);
8746
8757
  var shared = __webpack_require__(58141);
8747
8758
  var hasOwn = __webpack_require__(70701);
8748
8759
  var uid = __webpack_require__(41268);
8749
8760
  var NATIVE_SYMBOL = __webpack_require__(74603);
8750
8761
  var USE_SYMBOL_AS_UID = __webpack_require__(57460);
8751
8762
 
8752
- var Symbol = global.Symbol;
8763
+ var Symbol = globalThis.Symbol;
8753
8764
  var WellKnownSymbolsStore = shared('wks');
8754
8765
  var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol['for'] || Symbol : Symbol && Symbol.withoutSetter || uid;
8755
8766
 
@@ -8981,7 +8992,7 @@ module.exports = defineIterator(Array, 'Array', function (iterated, kind) {
8981
8992
  var target = state.target;
8982
8993
  var index = state.index++;
8983
8994
  if (!target || index >= target.length) {
8984
- state.target = undefined;
8995
+ state.target = null;
8985
8996
  return createIterResultObject(undefined, true);
8986
8997
  }
8987
8998
  switch (state.kind) {
@@ -9015,12 +9026,12 @@ if (!IS_PURE && DESCRIPTORS && values.name !== 'values') try {
9015
9026
 
9016
9027
  /* eslint-disable no-unused-vars -- required for functions `.length` */
9017
9028
  var $ = __webpack_require__(9098);
9018
- var global = __webpack_require__(21063);
9029
+ var globalThis = __webpack_require__(58900);
9019
9030
  var apply = __webpack_require__(57013);
9020
9031
  var wrapErrorConstructorWithCause = __webpack_require__(16453);
9021
9032
 
9022
9033
  var WEB_ASSEMBLY = 'WebAssembly';
9023
- var WebAssembly = global[WEB_ASSEMBLY];
9034
+ var WebAssembly = globalThis[WEB_ASSEMBLY];
9024
9035
 
9025
9036
  // eslint-disable-next-line es/no-error-cause -- feature detection
9026
9037
  var FORCED = new Error('e', { cause: 7 }).cause !== 7;
@@ -9131,12 +9142,12 @@ __webpack_require__(35695);
9131
9142
 
9132
9143
  __webpack_require__(59828);
9133
9144
  var DOMIterables = __webpack_require__(1100);
9134
- var global = __webpack_require__(21063);
9145
+ var globalThis = __webpack_require__(58900);
9135
9146
  var setToStringTag = __webpack_require__(71811);
9136
9147
  var Iterators = __webpack_require__(86625);
9137
9148
 
9138
9149
  for (var COLLECTION_NAME in DOMIterables) {
9139
- setToStringTag(global[COLLECTION_NAME], COLLECTION_NAME);
9150
+ setToStringTag(globalThis[COLLECTION_NAME], COLLECTION_NAME);
9140
9151
  Iterators[COLLECTION_NAME] = Iterators.Array;
9141
9152
  }
9142
9153
 
@@ -9180,12 +9191,12 @@ __webpack_require__.r(__webpack_exports__);
9180
9191
  /* harmony import */ var _isNotNil_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(76955);
9181
9192
  /* harmony import */ var _isNonEmptyArray_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(60058);
9182
9193
  /* harmony import */ var _stubUndefined_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(23387);
9183
- function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
9194
+ function _toConsumableArray(r) { return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread(); }
9184
9195
  function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
9185
- function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
9186
- function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
9187
- function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
9188
- function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
9196
+ function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
9197
+ function _iterableToArray(r) { if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); }
9198
+ function _arrayWithoutHoles(r) { if (Array.isArray(r)) return _arrayLikeToArray(r); }
9199
+ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
9189
9200
 
9190
9201
 
9191
9202
  /**
@@ -11417,7 +11428,7 @@ __webpack_require__.r(__webpack_exports__);
11417
11428
  * @since v0.1.0
11418
11429
  * @category List
11419
11430
  * @sig [a] -> a | Undefined
11420
- * @sig String -> String
11431
+ * @sig String -> String | Undefined
11421
11432
  * @param {Array|String} list
11422
11433
  * @return {*}
11423
11434
  * @see R.tail, R.init, R.last
@@ -11427,7 +11438,7 @@ __webpack_require__.r(__webpack_exports__);
11427
11438
  * R.head([]); //=> undefined
11428
11439
  *
11429
11440
  * R.head('abc'); //=> 'a'
11430
- * R.head(''); //=> ''
11441
+ * R.head(''); //=> undefined
11431
11442
  */
11432
11443
  var head = /*#__PURE__*/(0,_internal_curry1_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function (list) {
11433
11444
  return (0,_internal_nth_js__WEBPACK_IMPORTED_MODULE_1__["default"])(0, list);
@@ -12762,10 +12773,8 @@ __webpack_require__.r(__webpack_exports__);
12762
12773
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
12763
12774
  /* harmony export */ "default": () => (/* binding */ _isPlaceholder)
12764
12775
  /* harmony export */ });
12765
- /* harmony import */ var _placeholder_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(80231);
12766
-
12767
12776
  function _isPlaceholder(a) {
12768
- return a === _placeholder_js__WEBPACK_IMPORTED_MODULE_0__["default"];
12777
+ return a != null && typeof a === 'object' && a['@@functional/placeholder'] === true;
12769
12778
  }
12770
12779
 
12771
12780
  /***/ }),
@@ -12935,20 +12944,6 @@ function _pipe(f, g) {
12935
12944
 
12936
12945
  /***/ }),
12937
12946
 
12938
- /***/ 80231:
12939
- /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
12940
-
12941
- "use strict";
12942
- __webpack_require__.r(__webpack_exports__);
12943
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
12944
- /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
12945
- /* harmony export */ });
12946
- /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
12947
- '@@functional/placeholder': true
12948
- });
12949
-
12950
- /***/ }),
12951
-
12952
12947
  /***/ 61950:
12953
12948
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
12954
12949
 
@@ -13715,7 +13710,7 @@ __webpack_require__.r(__webpack_exports__);
13715
13710
  * @since v0.1.4
13716
13711
  * @category List
13717
13712
  * @sig [a] -> a | Undefined
13718
- * @sig String -> String
13713
+ * @sig String -> String | Undefined
13719
13714
  * @param {*} list
13720
13715
  * @return {*}
13721
13716
  * @see R.init, R.head, R.tail
@@ -13725,7 +13720,7 @@ __webpack_require__.r(__webpack_exports__);
13725
13720
  * R.last([]); //=> undefined
13726
13721
  *
13727
13722
  * R.last('abc'); //=> 'c'
13728
- * R.last(''); //=> ''
13723
+ * R.last(''); //=> undefined
13729
13724
  */
13730
13725
  var last = /*#__PURE__*/(0,_internal_curry1_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function (list) {
13731
13726
  return (0,_internal_nth_js__WEBPACK_IMPORTED_MODULE_1__["default"])(-1, list);
@@ -15787,7 +15782,7 @@ const cloneNode = node => Object.create(Object.getPrototypeOf(node), Object.getO
15787
15782
  * parallel. Each visitor will be visited for each node before moving on.
15788
15783
  *
15789
15784
  * If a prior visitor edits a node, no following visitors will see that node.
15790
- * `exposeEdits=true` can be used to exoise the edited node from the previous visitors.
15785
+ * `exposeEdits=true` can be used to expose the edited node from the previous visitors.
15791
15786
  */
15792
15787
 
15793
15788
  const mergeAll = (visitors, {
@@ -15801,14 +15796,21 @@ const mergeAll = (visitors, {
15801
15796
  const skipSymbol = Symbol('skip');
15802
15797
  const skipping = new Array(visitors.length).fill(skipSymbol);
15803
15798
  return {
15804
- enter(node, ...rest) {
15799
+ enter(node, key, parent, path, ancestors, link) {
15805
15800
  let currentNode = node;
15806
15801
  let hasChanged = false;
15802
+ const linkProxy = {
15803
+ ...link,
15804
+ replaceWith(newNode, replacer) {
15805
+ link.replaceWith(newNode, replacer);
15806
+ currentNode = newNode;
15807
+ }
15808
+ };
15807
15809
  for (let i = 0; i < visitors.length; i += 1) {
15808
15810
  if (skipping[i] === skipSymbol) {
15809
15811
  const visitFn = visitFnGetter(visitors[i], nodeTypeGetter(currentNode), false);
15810
15812
  if (typeof visitFn === 'function') {
15811
- const result = visitFn.call(visitors[i], currentNode, ...rest);
15813
+ const result = visitFn.call(visitors[i], currentNode, key, parent, path, ancestors, linkProxy);
15812
15814
 
15813
15815
  // check if the visitor is async
15814
15816
  if (typeof (result === null || result === void 0 ? void 0 : result.then) === 'function') {
@@ -15818,7 +15820,7 @@ const mergeAll = (visitors, {
15818
15820
  });
15819
15821
  }
15820
15822
  if (result === skipVisitingNodeSymbol) {
15821
- skipping[i] = node;
15823
+ skipping[i] = currentNode;
15822
15824
  } else if (result === breakSymbol) {
15823
15825
  skipping[i] = breakSymbol;
15824
15826
  } else if (result === deleteNodeSymbol) {
@@ -15836,12 +15838,20 @@ const mergeAll = (visitors, {
15836
15838
  }
15837
15839
  return hasChanged ? currentNode : undefined;
15838
15840
  },
15839
- leave(node, ...rest) {
15841
+ leave(node, key, parent, path, ancestors, link) {
15842
+ let currentNode = node;
15843
+ const linkProxy = {
15844
+ ...link,
15845
+ replaceWith(newNode, replacer) {
15846
+ link.replaceWith(newNode, replacer);
15847
+ currentNode = newNode;
15848
+ }
15849
+ };
15840
15850
  for (let i = 0; i < visitors.length; i += 1) {
15841
15851
  if (skipping[i] === skipSymbol) {
15842
- const visitFn = visitFnGetter(visitors[i], nodeTypeGetter(node), true);
15852
+ const visitFn = visitFnGetter(visitors[i], nodeTypeGetter(currentNode), true);
15843
15853
  if (typeof visitFn === 'function') {
15844
- const result = visitFn.call(visitors[i], node, ...rest);
15854
+ const result = visitFn.call(visitors[i], currentNode, key, parent, path, ancestors, linkProxy);
15845
15855
 
15846
15856
  // check if the visitor is async
15847
15857
  if (typeof (result === null || result === void 0 ? void 0 : result.then) === 'function') {
@@ -15856,7 +15866,7 @@ const mergeAll = (visitors, {
15856
15866
  return result;
15857
15867
  }
15858
15868
  }
15859
- } else if (skipping[i] === node) {
15869
+ } else if (skipping[i] === currentNode) {
15860
15870
  skipping[i] = skipSymbol;
15861
15871
  }
15862
15872
  }
@@ -15875,17 +15885,24 @@ const mergeAllAsync = (visitors, {
15875
15885
  const skipSymbol = Symbol('skip');
15876
15886
  const skipping = new Array(visitors.length).fill(skipSymbol);
15877
15887
  return {
15878
- async enter(node, ...rest) {
15888
+ async enter(node, key, parent, path, ancestors, link) {
15879
15889
  let currentNode = node;
15880
15890
  let hasChanged = false;
15891
+ const linkProxy = {
15892
+ ...link,
15893
+ replaceWith(newNode, replacer) {
15894
+ link.replaceWith(newNode, replacer);
15895
+ currentNode = newNode;
15896
+ }
15897
+ };
15881
15898
  for (let i = 0; i < visitors.length; i += 1) {
15882
15899
  if (skipping[i] === skipSymbol) {
15883
15900
  const visitFn = visitFnGetter(visitors[i], nodeTypeGetter(currentNode), false);
15884
15901
  if (typeof visitFn === 'function') {
15885
15902
  // eslint-disable-next-line no-await-in-loop
15886
- const result = await visitFn.call(visitors[i], currentNode, ...rest);
15903
+ const result = await visitFn.call(visitors[i], currentNode, key, parent, path, ancestors, linkProxy);
15887
15904
  if (result === skipVisitingNodeSymbol) {
15888
- skipping[i] = node;
15905
+ skipping[i] = currentNode;
15889
15906
  } else if (result === breakSymbol) {
15890
15907
  skipping[i] = breakSymbol;
15891
15908
  } else if (result === deleteNodeSymbol) {
@@ -15903,20 +15920,28 @@ const mergeAllAsync = (visitors, {
15903
15920
  }
15904
15921
  return hasChanged ? currentNode : undefined;
15905
15922
  },
15906
- async leave(node, ...rest) {
15923
+ async leave(node, key, parent, path, ancestors, link) {
15924
+ let currentNode = node;
15925
+ const linkProxy = {
15926
+ ...link,
15927
+ replaceWith(newNode, replacer) {
15928
+ link.replaceWith(newNode, replacer);
15929
+ currentNode = newNode;
15930
+ }
15931
+ };
15907
15932
  for (let i = 0; i < visitors.length; i += 1) {
15908
15933
  if (skipping[i] === skipSymbol) {
15909
- const visitFn = visitFnGetter(visitors[i], nodeTypeGetter(node), true);
15934
+ const visitFn = visitFnGetter(visitors[i], nodeTypeGetter(currentNode), true);
15910
15935
  if (typeof visitFn === 'function') {
15911
15936
  // eslint-disable-next-line no-await-in-loop
15912
- const result = await visitFn.call(visitors[i], node, ...rest);
15937
+ const result = await visitFn.call(visitors[i], currentNode, key, parent, path, ancestors, linkProxy);
15913
15938
  if (result === breakSymbol) {
15914
15939
  skipping[i] = breakSymbol;
15915
15940
  } else if (result !== undefined && result !== skipVisitingNodeSymbol) {
15916
15941
  return result;
15917
15942
  }
15918
15943
  }
15919
- } else if (skipping[i] === node) {
15944
+ } else if (skipping[i] === currentNode) {
15920
15945
  skipping[i] = skipSymbol;
15921
15946
  }
15922
15947
  }
@@ -16112,8 +16137,22 @@ visitor, {
16112
16137
  for (const [stateKey, stateValue] of Object.entries(state)) {
16113
16138
  visitor[stateKey] = stateValue;
16114
16139
  }
16140
+ const link = {
16141
+ // eslint-disable-next-line @typescript-eslint/no-loop-func
16142
+ replaceWith(newNode, replacer) {
16143
+ if (typeof replacer === 'function') {
16144
+ replacer(newNode, node, key, parent, path, ancestors);
16145
+ } else if (parent) {
16146
+ parent[key] = newNode;
16147
+ }
16148
+ if (!isLeaving) {
16149
+ node = newNode;
16150
+ }
16151
+ }
16152
+ };
16153
+
16115
16154
  // retrieve result
16116
- result = visitFn.call(visitor, node, key, parent, path, ancestors);
16155
+ result = visitFn.call(visitor, node, key, parent, path, ancestors, link);
16117
16156
  }
16118
16157
 
16119
16158
  // check if the visitor is async
@@ -16270,9 +16309,22 @@ visitor, {
16270
16309
  for (const [stateKey, stateValue] of Object.entries(state)) {
16271
16310
  visitor[stateKey] = stateValue;
16272
16311
  }
16312
+ const link = {
16313
+ // eslint-disable-next-line @typescript-eslint/no-loop-func
16314
+ replaceWith(newNode, replacer) {
16315
+ if (typeof replacer === 'function') {
16316
+ replacer(newNode, node, key, parent, path, ancestors);
16317
+ } else if (parent) {
16318
+ parent[key] = newNode;
16319
+ }
16320
+ if (!isLeaving) {
16321
+ node = newNode;
16322
+ }
16323
+ }
16324
+ };
16273
16325
 
16274
16326
  // retrieve result
16275
- result = await visitFn.call(visitor, node, key, parent, path, ancestors); // eslint-disable-line no-await-in-loop
16327
+ result = await visitFn.call(visitor, node, key, parent, path, ancestors, link); // eslint-disable-line no-await-in-loop
16276
16328
  }
16277
16329
  if (result === breakSymbol) {
16278
16330
  break;
@@ -27983,7 +28035,7 @@ class JsonAstVisitor {
27983
28035
  /******/ if (__webpack_require__.g.importScripts) scriptUrl = __webpack_require__.g.location + "";
27984
28036
  /******/ var document = __webpack_require__.g.document;
27985
28037
  /******/ if (!scriptUrl && document) {
27986
- /******/ if (document.currentScript)
28038
+ /******/ if (document.currentScript && document.currentScript.tagName.toUpperCase() === 'SCRIPT')
27987
28039
  /******/ scriptUrl = document.currentScript.src;
27988
28040
  /******/ if (!scriptUrl) {
27989
28041
  /******/ var scripts = document.getElementsByTagName("script");
@@ -28027,7 +28079,7 @@ __webpack_require__.r(__webpack_exports__);
28027
28079
 
28028
28080
 
28029
28081
 
28030
- const detectionRegExp = /"openapi"\s*:\s*"(?<version_json>3\.0\.([0123])(?:-rc[012])?)"/;
28082
+ const detectionRegExp = /"openapi"\s*:\s*"(?<version_json>3\.0\.([0123]))"/;
28031
28083
  const detect = async source => detectionRegExp.test(source) && (await (0,_swagger_api_apidom_parser_adapter_json__WEBPACK_IMPORTED_MODULE_1__.detect)(source));
28032
28084
  const parse = async (source, options = {}) => {
28033
28085
  const refractorOpts = (0,ramda__WEBPACK_IMPORTED_MODULE_2__["default"])({}, 'refractorOpts', options);