@swagger-api/apidom-parser-adapter-asyncapi-json-2 0.82.0 → 0.82.2
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.2](https://github.com/swagger-api/apidom/compare/v0.82.1...v0.82.2) (2023-11-03)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @swagger-api/apidom-parser-adapter-asyncapi-json-2
|
|
9
|
+
|
|
10
|
+
## [0.82.1](https://github.com/swagger-api/apidom/compare/v0.82.0...v0.82.1) (2023-11-03)
|
|
11
|
+
|
|
12
|
+
**Note:** Version bump only for package @swagger-api/apidom-parser-adapter-asyncapi-json-2
|
|
13
|
+
|
|
6
14
|
# [0.82.0](https://github.com/swagger-api/apidom/compare/v0.81.0...v0.82.0) (2023-11-01)
|
|
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
|
|
|
@@ -16321,8 +16268,9 @@ visitor, {
|
|
|
16321
16268
|
}
|
|
16322
16269
|
} while (stack !== undefined);
|
|
16323
16270
|
if (edits.length !== 0) {
|
|
16324
|
-
return edits.
|
|
16271
|
+
return edits[edits.length - 1][1]; // @TODO(vladimir.gorej@gmail.com): can be replaced by Array.prototype.at in future
|
|
16325
16272
|
}
|
|
16273
|
+
|
|
16326
16274
|
return root;
|
|
16327
16275
|
};
|
|
16328
16276
|
|
|
@@ -16473,8 +16421,9 @@ visitor, {
|
|
|
16473
16421
|
}
|
|
16474
16422
|
} while (stack !== undefined);
|
|
16475
16423
|
if (edits.length !== 0) {
|
|
16476
|
-
return edits.
|
|
16424
|
+
return edits[edits.length - 1][1]; // @TODO(vladimir.gorej@gmail.com): can be replaced by Array.prototype.at in future
|
|
16477
16425
|
}
|
|
16426
|
+
|
|
16478
16427
|
return root;
|
|
16479
16428
|
};
|
|
16480
16429
|
|
|
@@ -17649,10 +17598,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
17649
17598
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
17650
17599
|
/* harmony export */ });
|
|
17651
17600
|
/* 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
17601
|
|
|
17657
17602
|
class ApiDOMAggregateError extends _babel_runtime_corejs3_core_js_aggregate_error__WEBPACK_IMPORTED_MODULE_0__ {
|
|
17658
17603
|
constructor(errors, message, options) {
|
|
@@ -17669,15 +17614,15 @@ class ApiDOMAggregateError extends _babel_runtime_corejs3_core_js_aggregate_erro
|
|
|
17669
17614
|
|
|
17670
17615
|
/**
|
|
17671
17616
|
* This needs to stay here until our minimum supported version of Node.js is >= 16.9.0.
|
|
17672
|
-
* Node.js
|
|
17617
|
+
* Node.js >= 16.9.0 supports error causes natively.
|
|
17673
17618
|
*/
|
|
17674
|
-
if (
|
|
17619
|
+
if (options != null && typeof options === 'object' && Object.hasOwn(options, 'cause') && !('cause' in this)) {
|
|
17675
17620
|
const {
|
|
17676
17621
|
cause
|
|
17677
17622
|
} = options;
|
|
17678
17623
|
this.cause = cause;
|
|
17679
|
-
if (cause instanceof Error &&
|
|
17680
|
-
this.stack = `${this.stack}\nCAUSE: ${cause
|
|
17624
|
+
if (cause instanceof Error && 'stack' in cause) {
|
|
17625
|
+
this.stack = `${this.stack}\nCAUSE: ${cause.stack}`;
|
|
17681
17626
|
}
|
|
17682
17627
|
}
|
|
17683
17628
|
}
|
|
@@ -17694,12 +17639,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
17694
17639
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
17695
17640
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
17696
17641
|
/* 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
17642
|
/* harmony import */ var _ApiDOMAggregateError_mjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(57345);
|
|
17700
17643
|
|
|
17701
|
-
|
|
17702
|
-
|
|
17703
17644
|
class ApiDOMError extends Error {
|
|
17704
17645
|
static [Symbol.hasInstance](instance) {
|
|
17705
17646
|
// we want to ApiDOMAggregateError to act as if ApiDOMError was its superclass
|
|
@@ -17721,13 +17662,13 @@ class ApiDOMError extends Error {
|
|
|
17721
17662
|
* This needs to stay here until our minimum supported version of Node.js is >= 16.9.0.
|
|
17722
17663
|
* Node.js is >= 16.9.0 supports error causes natively.
|
|
17723
17664
|
*/
|
|
17724
|
-
if (
|
|
17665
|
+
if (options != null && typeof options === 'object' && Object.hasOwn(options, 'cause') && !('cause' in this)) {
|
|
17725
17666
|
const {
|
|
17726
17667
|
cause
|
|
17727
17668
|
} = options;
|
|
17728
17669
|
this.cause = cause;
|
|
17729
|
-
if (cause instanceof Error &&
|
|
17730
|
-
this.stack = `${this.stack}\nCAUSE: ${cause
|
|
17670
|
+
if (cause instanceof Error && 'stack' in cause) {
|
|
17671
|
+
this.stack = `${this.stack}\nCAUSE: ${cause.stack}`;
|
|
17731
17672
|
}
|
|
17732
17673
|
}
|
|
17733
17674
|
}
|
|
@@ -17744,15 +17685,17 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
17744
17685
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
17745
17686
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
17746
17687
|
/* harmony export */ });
|
|
17747
|
-
/* harmony import */ var ramda__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(54783);
|
|
17748
17688
|
/* harmony import */ var _ApiDOMError_mjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7471);
|
|
17749
17689
|
|
|
17750
|
-
|
|
17751
17690
|
class ApiDOMStructuredError extends _ApiDOMError_mjs__WEBPACK_IMPORTED_MODULE_0__["default"] {
|
|
17752
17691
|
constructor(message, structuredOptions) {
|
|
17753
17692
|
super(message, structuredOptions);
|
|
17754
|
-
if (typeof structuredOptions
|
|
17755
|
-
|
|
17693
|
+
if (structuredOptions != null && typeof structuredOptions === 'object') {
|
|
17694
|
+
const {
|
|
17695
|
+
cause,
|
|
17696
|
+
...causelessOptions
|
|
17697
|
+
} = structuredOptions;
|
|
17698
|
+
Object.assign(this, causelessOptions);
|
|
17756
17699
|
}
|
|
17757
17700
|
}
|
|
17758
17701
|
}
|
|
@@ -36526,7 +36469,7 @@ const analyze = (cst, {
|
|
|
36526
36469
|
const visitor = (0,_visitors_CstVisitor_mjs__WEBPACK_IMPORTED_MODULE_3__["default"])();
|
|
36527
36470
|
const cursor = cst.walk();
|
|
36528
36471
|
const iterator = new _TreeCursorIterator_mjs__WEBPACK_IMPORTED_MODULE_4__["default"](cursor);
|
|
36529
|
-
const rootNode = [...iterator]
|
|
36472
|
+
const rootNode = [...iterator][0];
|
|
36530
36473
|
return (0,_swagger_api_apidom_ast__WEBPACK_IMPORTED_MODULE_2__.visit)(rootNode, visitor, {
|
|
36531
36474
|
// @ts-ignore
|
|
36532
36475
|
keyMap,
|
|
@@ -36762,7 +36705,7 @@ const analyze = (cst, {
|
|
|
36762
36705
|
} = {}) => {
|
|
36763
36706
|
const cursor = cst.walk();
|
|
36764
36707
|
const iterator = new _TreeCursorIterator_mjs__WEBPACK_IMPORTED_MODULE_0__["default"](cursor);
|
|
36765
|
-
const rootNode = [...iterator]
|
|
36708
|
+
const rootNode = [...iterator][0];
|
|
36766
36709
|
const cstVisitor = (0,_visitors_CstVisitor_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])();
|
|
36767
36710
|
const astVisitor = (0,_visitors_JsonAstVisitor_mjs__WEBPACK_IMPORTED_MODULE_2__["default"])();
|
|
36768
36711
|
const jsonAst = (0,_swagger_api_apidom_ast__WEBPACK_IMPORTED_MODULE_3__.visit)(rootNode, cstVisitor, {
|