@swagger-api/apidom-parser-adapter-openapi-json-3-0 0.82.1 → 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,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.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-openapi-json-3-0
9
+
6
10
  ## [0.82.1](https://github.com/swagger-api/apidom/compare/v0.82.0...v0.82.1) (2023-11-03)
7
11
 
8
12
  **Note:** Version bump only for package @swagger-api/apidom-parser-adapter-openapi-json-3-0
@@ -16274,8 +16274,9 @@ visitor, {
16274
16274
  }
16275
16275
  } while (stack !== undefined);
16276
16276
  if (edits.length !== 0) {
16277
- return edits.at(-1)[1];
16277
+ return edits[edits.length - 1][1]; // @TODO(vladimir.gorej@gmail.com): can be replaced by Array.prototype.at in future
16278
16278
  }
16279
+
16279
16280
  return root;
16280
16281
  };
16281
16282
 
@@ -16426,8 +16427,9 @@ visitor, {
16426
16427
  }
16427
16428
  } while (stack !== undefined);
16428
16429
  if (edits.length !== 0) {
16429
- return edits.at(-1)[1];
16430
+ return edits[edits.length - 1][1]; // @TODO(vladimir.gorej@gmail.com): can be replaced by Array.prototype.at in future
16430
16431
  }
16432
+
16431
16433
  return root;
16432
16434
  };
16433
16435
 
@@ -29088,7 +29090,7 @@ const analyze = (cst, {
29088
29090
  const visitor = (0,_visitors_CstVisitor_mjs__WEBPACK_IMPORTED_MODULE_3__["default"])();
29089
29091
  const cursor = cst.walk();
29090
29092
  const iterator = new _TreeCursorIterator_mjs__WEBPACK_IMPORTED_MODULE_4__["default"](cursor);
29091
- const rootNode = [...iterator].at(0);
29093
+ const rootNode = [...iterator][0];
29092
29094
  return (0,_swagger_api_apidom_ast__WEBPACK_IMPORTED_MODULE_2__.visit)(rootNode, visitor, {
29093
29095
  // @ts-ignore
29094
29096
  keyMap,
@@ -29324,7 +29326,7 @@ const analyze = (cst, {
29324
29326
  } = {}) => {
29325
29327
  const cursor = cst.walk();
29326
29328
  const iterator = new _TreeCursorIterator_mjs__WEBPACK_IMPORTED_MODULE_0__["default"](cursor);
29327
- const rootNode = [...iterator].at(0);
29329
+ const rootNode = [...iterator][0];
29328
29330
  const cstVisitor = (0,_visitors_CstVisitor_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])();
29329
29331
  const astVisitor = (0,_visitors_JsonAstVisitor_mjs__WEBPACK_IMPORTED_MODULE_2__["default"])();
29330
29332
  const jsonAst = (0,_swagger_api_apidom_ast__WEBPACK_IMPORTED_MODULE_3__.visit)(rootNode, cstVisitor, {