@swagger-api/apidom-parser-adapter-openapi-json-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-json-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-json-3-1
@@ -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
 
@@ -34006,7 +34008,7 @@ const analyze = (cst, {
34006
34008
  const visitor = (0,_visitors_CstVisitor_mjs__WEBPACK_IMPORTED_MODULE_3__["default"])();
34007
34009
  const cursor = cst.walk();
34008
34010
  const iterator = new _TreeCursorIterator_mjs__WEBPACK_IMPORTED_MODULE_4__["default"](cursor);
34009
- const rootNode = [...iterator].at(0);
34011
+ const rootNode = [...iterator][0];
34010
34012
  return (0,_swagger_api_apidom_ast__WEBPACK_IMPORTED_MODULE_2__.visit)(rootNode, visitor, {
34011
34013
  // @ts-ignore
34012
34014
  keyMap,
@@ -34242,7 +34244,7 @@ const analyze = (cst, {
34242
34244
  } = {}) => {
34243
34245
  const cursor = cst.walk();
34244
34246
  const iterator = new _TreeCursorIterator_mjs__WEBPACK_IMPORTED_MODULE_0__["default"](cursor);
34245
- const rootNode = [...iterator].at(0);
34247
+ const rootNode = [...iterator][0];
34246
34248
  const cstVisitor = (0,_visitors_CstVisitor_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])();
34247
34249
  const astVisitor = (0,_visitors_JsonAstVisitor_mjs__WEBPACK_IMPORTED_MODULE_2__["default"])();
34248
34250
  const jsonAst = (0,_swagger_api_apidom_ast__WEBPACK_IMPORTED_MODULE_3__.visit)(rootNode, cstVisitor, {