@swagger-api/apidom-parser-adapter-asyncapi-json-2 0.82.1 → 0.83.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.
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.83.0](https://github.com/swagger-api/apidom/compare/v0.82.2...v0.83.0) (2023-11-07)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @swagger-api/apidom-parser-adapter-asyncapi-json-2
|
|
9
|
+
|
|
10
|
+
## [0.82.2](https://github.com/swagger-api/apidom/compare/v0.82.1...v0.82.2) (2023-11-03)
|
|
11
|
+
|
|
12
|
+
**Note:** Version bump only for package @swagger-api/apidom-parser-adapter-asyncapi-json-2
|
|
13
|
+
|
|
6
14
|
## [0.82.1](https://github.com/swagger-api/apidom/compare/v0.82.0...v0.82.1) (2023-11-03)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @swagger-api/apidom-parser-adapter-asyncapi-json-2
|
|
@@ -16268,8 +16268,9 @@ visitor, {
|
|
|
16268
16268
|
}
|
|
16269
16269
|
} while (stack !== undefined);
|
|
16270
16270
|
if (edits.length !== 0) {
|
|
16271
|
-
return edits.
|
|
16271
|
+
return edits[edits.length - 1][1]; // @TODO(vladimir.gorej@gmail.com): can be replaced by Array.prototype.at in future
|
|
16272
16272
|
}
|
|
16273
|
+
|
|
16273
16274
|
return root;
|
|
16274
16275
|
};
|
|
16275
16276
|
|
|
@@ -16420,8 +16421,9 @@ visitor, {
|
|
|
16420
16421
|
}
|
|
16421
16422
|
} while (stack !== undefined);
|
|
16422
16423
|
if (edits.length !== 0) {
|
|
16423
|
-
return edits.
|
|
16424
|
+
return edits[edits.length - 1][1]; // @TODO(vladimir.gorej@gmail.com): can be replaced by Array.prototype.at in future
|
|
16424
16425
|
}
|
|
16426
|
+
|
|
16425
16427
|
return root;
|
|
16426
16428
|
};
|
|
16427
16429
|
|
|
@@ -16443,7 +16445,7 @@ class CloneError extends _swagger_api_apidom_error__WEBPACK_IMPORTED_MODULE_0__[
|
|
|
16443
16445
|
constructor(message, structuredOptions) {
|
|
16444
16446
|
super(message, structuredOptions);
|
|
16445
16447
|
if (typeof structuredOptions !== 'undefined') {
|
|
16446
|
-
this.value = structuredOptions.
|
|
16448
|
+
this.value = structuredOptions.value;
|
|
16447
16449
|
}
|
|
16448
16450
|
}
|
|
16449
16451
|
}
|
|
@@ -36467,7 +36469,7 @@ const analyze = (cst, {
|
|
|
36467
36469
|
const visitor = (0,_visitors_CstVisitor_mjs__WEBPACK_IMPORTED_MODULE_3__["default"])();
|
|
36468
36470
|
const cursor = cst.walk();
|
|
36469
36471
|
const iterator = new _TreeCursorIterator_mjs__WEBPACK_IMPORTED_MODULE_4__["default"](cursor);
|
|
36470
|
-
const rootNode =
|
|
36472
|
+
const [rootNode] = Array.from(iterator);
|
|
36471
36473
|
return (0,_swagger_api_apidom_ast__WEBPACK_IMPORTED_MODULE_2__.visit)(rootNode, visitor, {
|
|
36472
36474
|
// @ts-ignore
|
|
36473
36475
|
keyMap,
|
|
@@ -36703,7 +36705,7 @@ const analyze = (cst, {
|
|
|
36703
36705
|
} = {}) => {
|
|
36704
36706
|
const cursor = cst.walk();
|
|
36705
36707
|
const iterator = new _TreeCursorIterator_mjs__WEBPACK_IMPORTED_MODULE_0__["default"](cursor);
|
|
36706
|
-
const rootNode =
|
|
36708
|
+
const [rootNode] = Array.from(iterator);
|
|
36707
36709
|
const cstVisitor = (0,_visitors_CstVisitor_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])();
|
|
36708
36710
|
const astVisitor = (0,_visitors_JsonAstVisitor_mjs__WEBPACK_IMPORTED_MODULE_2__["default"])();
|
|
36709
36711
|
const jsonAst = (0,_swagger_api_apidom_ast__WEBPACK_IMPORTED_MODULE_3__.visit)(rootNode, cstVisitor, {
|