@swagger-api/apidom-parser-adapter-openapi-yaml-3-1 0.96.0 → 0.98.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.98.0](https://github.com/swagger-api/apidom/compare/v0.97.1...v0.98.0) (2024-03-21)
7
+
8
+ **Note:** Version bump only for package @swagger-api/apidom-parser-adapter-openapi-yaml-3-1
9
+
10
+ # [0.97.0](https://github.com/swagger-api/apidom/compare/v0.96.0...v0.97.0) (2024-03-07)
11
+
12
+ **Note:** Version bump only for package @swagger-api/apidom-parser-adapter-openapi-yaml-3-1
13
+
6
14
  # [0.96.0](https://github.com/swagger-api/apidom/compare/v0.95.0...v0.96.0) (2024-02-28)
7
15
 
8
16
  **Note:** Version bump only for package @swagger-api/apidom-parser-adapter-openapi-yaml-3-1
@@ -20348,6 +20348,20 @@ class Visitor {
20348
20348
  NullElement() {
20349
20349
  return null;
20350
20350
  }
20351
+ RefElement(element, ...rest) {
20352
+ var _ancestors;
20353
+ const ancestors = rest[3];
20354
+ if (((_ancestors = ancestors[ancestors.length - 1]) === null || _ancestors === void 0 ? void 0 : _ancestors.type) === 'EphemeralObject') {
20355
+ return Symbol.for('delete-node');
20356
+ }
20357
+ return String(element.toValue());
20358
+ }
20359
+ LinkElement(element) {
20360
+ if ((0,_predicates_index_mjs__WEBPACK_IMPORTED_MODULE_2__.isStringElement)(element.href)) {
20361
+ return element.href.toValue();
20362
+ }
20363
+ return '';
20364
+ }
20351
20365
  }
20352
20366
  const serializer = element => {
20353
20367
  if (!(0,_predicates_index_mjs__WEBPACK_IMPORTED_MODULE_2__.isElement)(element)) return element;