@swagger-api/apidom-parser-adapter-openapi-yaml-3-1 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-3-1
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-3-1
@@ -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
 
@@ -36452,7 +36454,7 @@ const analyze = (cst, {
36452
36454
  } = {}) => {
36453
36455
  const cursor = cst.walk();
36454
36456
  const iterator = new _TreeCursorIterator_mjs__WEBPACK_IMPORTED_MODULE_0__["default"](cursor);
36455
- const rootNode = [...iterator].at(0);
36457
+ const rootNode = [...iterator][0];
36456
36458
  const cstVisitor = (0,_visitors_CstVisitor_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])();
36457
36459
  const astVisitor = (0,_visitors_YamlAstVisitor_mjs__WEBPACK_IMPORTED_MODULE_2__["default"])();
36458
36460
  const schema = (0,_swagger_api_apidom_ast__WEBPACK_IMPORTED_MODULE_3__["default"])();