@swagger-api/apidom-parser-adapter-openapi-yaml-2 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-2
|
|
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-2
|
|
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-2
|
|
@@ -20410,6 +20410,20 @@ class Visitor {
|
|
|
20410
20410
|
NullElement() {
|
|
20411
20411
|
return null;
|
|
20412
20412
|
}
|
|
20413
|
+
RefElement(element, ...rest) {
|
|
20414
|
+
var _ancestors;
|
|
20415
|
+
const ancestors = rest[3];
|
|
20416
|
+
if (((_ancestors = ancestors[ancestors.length - 1]) === null || _ancestors === void 0 ? void 0 : _ancestors.type) === 'EphemeralObject') {
|
|
20417
|
+
return Symbol.for('delete-node');
|
|
20418
|
+
}
|
|
20419
|
+
return String(element.toValue());
|
|
20420
|
+
}
|
|
20421
|
+
LinkElement(element) {
|
|
20422
|
+
if ((0,_predicates_index_mjs__WEBPACK_IMPORTED_MODULE_2__.isStringElement)(element.href)) {
|
|
20423
|
+
return element.href.toValue();
|
|
20424
|
+
}
|
|
20425
|
+
return '';
|
|
20426
|
+
}
|
|
20413
20427
|
}
|
|
20414
20428
|
const serializer = element => {
|
|
20415
20429
|
if (!(0,_predicates_index_mjs__WEBPACK_IMPORTED_MODULE_2__.isElement)(element)) return element;
|