@swagger-api/apidom-parser-adapter-openapi-yaml-2 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-yaml-2
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-yaml-2
@@ -17549,8 +17549,9 @@ visitor, {
17549
17549
  }
17550
17550
  } while (stack !== undefined);
17551
17551
  if (edits.length !== 0) {
17552
- return edits.at(-1)[1];
17552
+ return edits[edits.length - 1][1]; // @TODO(vladimir.gorej@gmail.com): can be replaced by Array.prototype.at in future
17553
17553
  }
17554
+
17554
17555
  return root;
17555
17556
  };
17556
17557
 
@@ -17701,8 +17702,9 @@ visitor, {
17701
17702
  }
17702
17703
  } while (stack !== undefined);
17703
17704
  if (edits.length !== 0) {
17704
- return edits.at(-1)[1];
17705
+ return edits[edits.length - 1][1]; // @TODO(vladimir.gorej@gmail.com): can be replaced by Array.prototype.at in future
17705
17706
  }
17707
+
17706
17708
  return root;
17707
17709
  };
17708
17710
 
@@ -28128,7 +28130,7 @@ const analyze = (cst, {
28128
28130
  } = {}) => {
28129
28131
  const cursor = cst.walk();
28130
28132
  const iterator = new _TreeCursorIterator_mjs__WEBPACK_IMPORTED_MODULE_0__["default"](cursor);
28131
- const rootNode = [...iterator].at(0);
28133
+ const rootNode = [...iterator][0];
28132
28134
  const cstVisitor = (0,_visitors_CstVisitor_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])();
28133
28135
  const astVisitor = (0,_visitors_YamlAstVisitor_mjs__WEBPACK_IMPORTED_MODULE_2__["default"])();
28134
28136
  const schema = (0,_swagger_api_apidom_ast__WEBPACK_IMPORTED_MODULE_3__["default"])();