@swagger-api/apidom-parser-adapter-openapi-json-3-0 0.82.0 → 0.82.1

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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,10 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [0.82.1](https://github.com/swagger-api/apidom/compare/v0.82.0...v0.82.1) (2023-11-03)
7
+
8
+ **Note:** Version bump only for package @swagger-api/apidom-parser-adapter-openapi-json-3-0
9
+
6
10
  # [0.82.0](https://github.com/swagger-api/apidom/compare/v0.81.0...v0.82.0) (2023-11-01)
7
11
 
8
12
  **Note:** Version bump only for package @swagger-api/apidom-parser-adapter-openapi-json-3-0
@@ -11141,59 +11141,6 @@ var has =
11141
11141
 
11142
11142
  /***/ }),
11143
11143
 
11144
- /***/ 84506:
11145
- /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
11146
-
11147
- "use strict";
11148
- __webpack_require__.r(__webpack_exports__);
11149
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
11150
- /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
11151
- /* harmony export */ });
11152
- /* harmony import */ var _internal_curry2_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(45652);
11153
- /* harmony import */ var _isNil_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(27596);
11154
-
11155
-
11156
- /**
11157
- * Returns whether or not an object or its prototype chain has a property with
11158
- * the specified name
11159
- *
11160
- * @func
11161
- * @memberOf R
11162
- * @since v0.7.0
11163
- * @category Object
11164
- * @sig s -> {s: x} -> Boolean
11165
- * @param {String} prop The name of the property to check for.
11166
- * @param {Object} obj The object to query.
11167
- * @return {Boolean} Whether the property exists.
11168
- * @example
11169
- *
11170
- * function Rectangle(width, height) {
11171
- * this.width = width;
11172
- * this.height = height;
11173
- * }
11174
- * Rectangle.prototype.area = function() {
11175
- * return this.width * this.height;
11176
- * };
11177
- *
11178
- * const square = new Rectangle(2, 2);
11179
- * R.hasIn('width', square); //=> true
11180
- * R.hasIn('area', square); //=> true
11181
- */
11182
-
11183
- var hasIn =
11184
- /*#__PURE__*/
11185
- (0,_internal_curry2_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function hasIn(prop, obj) {
11186
- if ((0,_isNil_js__WEBPACK_IMPORTED_MODULE_1__["default"])(obj)) {
11187
- return false;
11188
- }
11189
-
11190
- return prop in obj;
11191
- });
11192
-
11193
- /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (hasIn);
11194
-
11195
- /***/ }),
11196
-
11197
11144
  /***/ 78152:
11198
11145
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
11199
11146
 
@@ -17655,10 +17602,6 @@ __webpack_require__.r(__webpack_exports__);
17655
17602
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
17656
17603
  /* harmony export */ });
17657
17604
  /* harmony import */ var _babel_runtime_corejs3_core_js_aggregate_error__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(21427);
17658
- /* harmony import */ var ramda_adjunct__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(39723);
17659
- /* harmony import */ var ramda__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(84506);
17660
-
17661
-
17662
17605
 
17663
17606
  class ApiDOMAggregateError extends _babel_runtime_corejs3_core_js_aggregate_error__WEBPACK_IMPORTED_MODULE_0__ {
17664
17607
  constructor(errors, message, options) {
@@ -17675,15 +17618,15 @@ class ApiDOMAggregateError extends _babel_runtime_corejs3_core_js_aggregate_erro
17675
17618
 
17676
17619
  /**
17677
17620
  * This needs to stay here until our minimum supported version of Node.js is >= 16.9.0.
17678
- * Node.js is >= 16.9.0 supports error causes natively.
17621
+ * Node.js >= 16.9.0 supports error causes natively.
17679
17622
  */
17680
- if ((0,ramda_adjunct__WEBPACK_IMPORTED_MODULE_1__["default"])(options) && (0,ramda__WEBPACK_IMPORTED_MODULE_2__["default"])('cause', options) && !(0,ramda__WEBPACK_IMPORTED_MODULE_2__["default"])('cause', this)) {
17623
+ if (options != null && typeof options === 'object' && Object.hasOwn(options, 'cause') && !('cause' in this)) {
17681
17624
  const {
17682
17625
  cause
17683
17626
  } = options;
17684
17627
  this.cause = cause;
17685
- if (cause instanceof Error && (0,ramda__WEBPACK_IMPORTED_MODULE_2__["default"])('stack', cause)) {
17686
- this.stack = `${this.stack}\nCAUSE: ${cause === null || cause === void 0 ? void 0 : cause.stack}`;
17628
+ if (cause instanceof Error && 'stack' in cause) {
17629
+ this.stack = `${this.stack}\nCAUSE: ${cause.stack}`;
17687
17630
  }
17688
17631
  }
17689
17632
  }
@@ -17700,12 +17643,8 @@ __webpack_require__.r(__webpack_exports__);
17700
17643
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
17701
17644
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
17702
17645
  /* harmony export */ });
17703
- /* harmony import */ var ramda__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(84506);
17704
- /* harmony import */ var ramda_adjunct__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(39723);
17705
17646
  /* harmony import */ var _ApiDOMAggregateError_mjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(57345);
17706
17647
 
17707
-
17708
-
17709
17648
  class ApiDOMError extends Error {
17710
17649
  static [Symbol.hasInstance](instance) {
17711
17650
  // we want to ApiDOMAggregateError to act as if ApiDOMError was its superclass
@@ -17727,13 +17666,13 @@ class ApiDOMError extends Error {
17727
17666
  * This needs to stay here until our minimum supported version of Node.js is >= 16.9.0.
17728
17667
  * Node.js is >= 16.9.0 supports error causes natively.
17729
17668
  */
17730
- if ((0,ramda_adjunct__WEBPACK_IMPORTED_MODULE_1__["default"])(options) && (0,ramda__WEBPACK_IMPORTED_MODULE_2__["default"])('cause', options) && !(0,ramda__WEBPACK_IMPORTED_MODULE_2__["default"])('cause', this)) {
17669
+ if (options != null && typeof options === 'object' && Object.hasOwn(options, 'cause') && !('cause' in this)) {
17731
17670
  const {
17732
17671
  cause
17733
17672
  } = options;
17734
17673
  this.cause = cause;
17735
- if (cause instanceof Error && (0,ramda__WEBPACK_IMPORTED_MODULE_2__["default"])('stack', cause)) {
17736
- this.stack = `${this.stack}\nCAUSE: ${cause === null || cause === void 0 ? void 0 : cause.stack}`;
17674
+ if (cause instanceof Error && 'stack' in cause) {
17675
+ this.stack = `${this.stack}\nCAUSE: ${cause.stack}`;
17737
17676
  }
17738
17677
  }
17739
17678
  }
@@ -17750,15 +17689,17 @@ __webpack_require__.r(__webpack_exports__);
17750
17689
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
17751
17690
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
17752
17691
  /* harmony export */ });
17753
- /* harmony import */ var ramda__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(54783);
17754
17692
  /* harmony import */ var _ApiDOMError_mjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7471);
17755
17693
 
17756
-
17757
17694
  class ApiDOMStructuredError extends _ApiDOMError_mjs__WEBPACK_IMPORTED_MODULE_0__["default"] {
17758
17695
  constructor(message, structuredOptions) {
17759
17696
  super(message, structuredOptions);
17760
- if (typeof structuredOptions !== 'undefined') {
17761
- Object.assign(this, (0,ramda__WEBPACK_IMPORTED_MODULE_1__["default"])(['cause'], structuredOptions));
17697
+ if (structuredOptions != null && typeof structuredOptions === 'object') {
17698
+ const {
17699
+ cause,
17700
+ ...causelessOptions
17701
+ } = structuredOptions;
17702
+ Object.assign(this, causelessOptions);
17762
17703
  }
17763
17704
  }
17764
17705
  }
@@ -22692,7 +22633,8 @@ __webpack_require__.r(__webpack_exports__);
22692
22633
  /* harmony export */ isSchemaElement: () => (/* binding */ isSchemaElement),
22693
22634
  /* harmony export */ isSecurityRequirementElement: () => (/* binding */ isSecurityRequirementElement),
22694
22635
  /* harmony export */ isServerElement: () => (/* binding */ isServerElement),
22695
- /* harmony export */ isServerVariableElement: () => (/* binding */ isServerVariableElement)
22636
+ /* harmony export */ isServerVariableElement: () => (/* binding */ isServerVariableElement),
22637
+ /* harmony export */ isServersElement: () => (/* binding */ isServersElement)
22696
22638
  /* harmony export */ });
22697
22639
  /* harmony import */ var _swagger_api_apidom_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(63801);
22698
22640
  /* harmony import */ var _swagger_api_apidom_core__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(36903);
@@ -22721,6 +22663,7 @@ __webpack_require__.r(__webpack_exports__);
22721
22663
  /* harmony import */ var _elements_Server_mjs__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(15241);
22722
22664
  /* harmony import */ var _elements_ServerVariable_mjs__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(46380);
22723
22665
  /* harmony import */ var _elements_MediaType_mjs__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(12928);
22666
+ /* harmony import */ var _elements_nces_Servers_mjs__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(69106);
22724
22667
 
22725
22668
 
22726
22669
 
@@ -22745,6 +22688,7 @@ __webpack_require__.r(__webpack_exports__);
22745
22688
 
22746
22689
 
22747
22690
 
22691
+ // NCE types
22748
22692
 
22749
22693
  const isCallbackElement = (0,_swagger_api_apidom_core__WEBPACK_IMPORTED_MODULE_0__["default"])(({
22750
22694
  hasBasicElementProps,
@@ -22950,6 +22894,14 @@ const isMediaTypeElement = (0,_swagger_api_apidom_core__WEBPACK_IMPORTED_MODULE_
22950
22894
  }) => {
22951
22895
  return element => element instanceof _elements_MediaType_mjs__WEBPACK_IMPORTED_MODULE_26__["default"] || hasBasicElementProps(element) && isElementType('mediaType', element) && primitiveEq('object', element);
22952
22896
  });
22897
+ const isServersElement = (0,_swagger_api_apidom_core__WEBPACK_IMPORTED_MODULE_0__["default"])(({
22898
+ hasBasicElementProps,
22899
+ isElementType,
22900
+ primitiveEq,
22901
+ hasClass
22902
+ }) => {
22903
+ return element => element instanceof _elements_nces_Servers_mjs__WEBPACK_IMPORTED_MODULE_27__["default"] || hasBasicElementProps(element) && isElementType('array', element) && primitiveEq('array', element) && hasClass('servers', element);
22904
+ });
22953
22905
 
22954
22906
  /***/ }),
22955
22907