@swagger-api/apidom-parser-adapter-asyncapi-json-2 0.81.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,14 @@
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-asyncapi-json-2
9
+
10
+ # [0.82.0](https://github.com/swagger-api/apidom/compare/v0.81.0...v0.82.0) (2023-11-01)
11
+
12
+ **Note:** Version bump only for package @swagger-api/apidom-parser-adapter-asyncapi-json-2
13
+
6
14
  # [0.81.0](https://github.com/swagger-api/apidom/compare/v0.80.0...v0.81.0) (2023-10-30)
7
15
 
8
16
  **Note:** Version bump only for package @swagger-api/apidom-parser-adapter-asyncapi-json-2
@@ -11282,59 +11282,6 @@ var has =
11282
11282
 
11283
11283
  /***/ }),
11284
11284
 
11285
- /***/ 84506:
11286
- /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
11287
-
11288
- "use strict";
11289
- __webpack_require__.r(__webpack_exports__);
11290
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
11291
- /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
11292
- /* harmony export */ });
11293
- /* harmony import */ var _internal_curry2_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(45652);
11294
- /* harmony import */ var _isNil_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(27596);
11295
-
11296
-
11297
- /**
11298
- * Returns whether or not an object or its prototype chain has a property with
11299
- * the specified name
11300
- *
11301
- * @func
11302
- * @memberOf R
11303
- * @since v0.7.0
11304
- * @category Object
11305
- * @sig s -> {s: x} -> Boolean
11306
- * @param {String} prop The name of the property to check for.
11307
- * @param {Object} obj The object to query.
11308
- * @return {Boolean} Whether the property exists.
11309
- * @example
11310
- *
11311
- * function Rectangle(width, height) {
11312
- * this.width = width;
11313
- * this.height = height;
11314
- * }
11315
- * Rectangle.prototype.area = function() {
11316
- * return this.width * this.height;
11317
- * };
11318
- *
11319
- * const square = new Rectangle(2, 2);
11320
- * R.hasIn('width', square); //=> true
11321
- * R.hasIn('area', square); //=> true
11322
- */
11323
-
11324
- var hasIn =
11325
- /*#__PURE__*/
11326
- (0,_internal_curry2_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function hasIn(prop, obj) {
11327
- if ((0,_isNil_js__WEBPACK_IMPORTED_MODULE_1__["default"])(obj)) {
11328
- return false;
11329
- }
11330
-
11331
- return prop in obj;
11332
- });
11333
-
11334
- /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (hasIn);
11335
-
11336
- /***/ }),
11337
-
11338
11285
  /***/ 78152:
11339
11286
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
11340
11287
 
@@ -17649,10 +17596,6 @@ __webpack_require__.r(__webpack_exports__);
17649
17596
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
17650
17597
  /* harmony export */ });
17651
17598
  /* harmony import */ var _babel_runtime_corejs3_core_js_aggregate_error__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(21427);
17652
- /* harmony import */ var ramda_adjunct__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(39723);
17653
- /* harmony import */ var ramda__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(84506);
17654
-
17655
-
17656
17599
 
17657
17600
  class ApiDOMAggregateError extends _babel_runtime_corejs3_core_js_aggregate_error__WEBPACK_IMPORTED_MODULE_0__ {
17658
17601
  constructor(errors, message, options) {
@@ -17669,15 +17612,15 @@ class ApiDOMAggregateError extends _babel_runtime_corejs3_core_js_aggregate_erro
17669
17612
 
17670
17613
  /**
17671
17614
  * This needs to stay here until our minimum supported version of Node.js is >= 16.9.0.
17672
- * Node.js is >= 16.9.0 supports error causes natively.
17615
+ * Node.js >= 16.9.0 supports error causes natively.
17673
17616
  */
17674
- 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)) {
17617
+ if (options != null && typeof options === 'object' && Object.hasOwn(options, 'cause') && !('cause' in this)) {
17675
17618
  const {
17676
17619
  cause
17677
17620
  } = options;
17678
17621
  this.cause = cause;
17679
- if (cause instanceof Error && (0,ramda__WEBPACK_IMPORTED_MODULE_2__["default"])('stack', cause)) {
17680
- this.stack = `${this.stack}\nCAUSE: ${cause === null || cause === void 0 ? void 0 : cause.stack}`;
17622
+ if (cause instanceof Error && 'stack' in cause) {
17623
+ this.stack = `${this.stack}\nCAUSE: ${cause.stack}`;
17681
17624
  }
17682
17625
  }
17683
17626
  }
@@ -17694,12 +17637,8 @@ __webpack_require__.r(__webpack_exports__);
17694
17637
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
17695
17638
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
17696
17639
  /* harmony export */ });
17697
- /* harmony import */ var ramda__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(84506);
17698
- /* harmony import */ var ramda_adjunct__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(39723);
17699
17640
  /* harmony import */ var _ApiDOMAggregateError_mjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(57345);
17700
17641
 
17701
-
17702
-
17703
17642
  class ApiDOMError extends Error {
17704
17643
  static [Symbol.hasInstance](instance) {
17705
17644
  // we want to ApiDOMAggregateError to act as if ApiDOMError was its superclass
@@ -17721,13 +17660,13 @@ class ApiDOMError extends Error {
17721
17660
  * This needs to stay here until our minimum supported version of Node.js is >= 16.9.0.
17722
17661
  * Node.js is >= 16.9.0 supports error causes natively.
17723
17662
  */
17724
- 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)) {
17663
+ if (options != null && typeof options === 'object' && Object.hasOwn(options, 'cause') && !('cause' in this)) {
17725
17664
  const {
17726
17665
  cause
17727
17666
  } = options;
17728
17667
  this.cause = cause;
17729
- if (cause instanceof Error && (0,ramda__WEBPACK_IMPORTED_MODULE_2__["default"])('stack', cause)) {
17730
- this.stack = `${this.stack}\nCAUSE: ${cause === null || cause === void 0 ? void 0 : cause.stack}`;
17668
+ if (cause instanceof Error && 'stack' in cause) {
17669
+ this.stack = `${this.stack}\nCAUSE: ${cause.stack}`;
17731
17670
  }
17732
17671
  }
17733
17672
  }
@@ -17744,15 +17683,17 @@ __webpack_require__.r(__webpack_exports__);
17744
17683
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
17745
17684
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
17746
17685
  /* harmony export */ });
17747
- /* harmony import */ var ramda__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(54783);
17748
17686
  /* harmony import */ var _ApiDOMError_mjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7471);
17749
17687
 
17750
-
17751
17688
  class ApiDOMStructuredError extends _ApiDOMError_mjs__WEBPACK_IMPORTED_MODULE_0__["default"] {
17752
17689
  constructor(message, structuredOptions) {
17753
17690
  super(message, structuredOptions);
17754
- if (typeof structuredOptions !== 'undefined') {
17755
- Object.assign(this, (0,ramda__WEBPACK_IMPORTED_MODULE_1__["default"])(['cause'], structuredOptions));
17691
+ if (structuredOptions != null && typeof structuredOptions === 'object') {
17692
+ const {
17693
+ cause,
17694
+ ...causelessOptions
17695
+ } = structuredOptions;
17696
+ Object.assign(this, causelessOptions);
17756
17697
  }
17757
17698
  }
17758
17699
  }