@swagger-api/apidom-parser-adapter-asyncapi-json-2 0.96.0 → 0.97.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,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.97.0](https://github.com/swagger-api/apidom/compare/v0.96.0...v0.97.0) (2024-03-07)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @swagger-api/apidom-parser-adapter-asyncapi-json-2
|
|
9
|
+
|
|
6
10
|
# [0.96.0](https://github.com/swagger-api/apidom/compare/v0.95.0...v0.96.0) (2024-02-28)
|
|
7
11
|
|
|
8
12
|
**Note:** Version bump only for package @swagger-api/apidom-parser-adapter-asyncapi-json-2
|
|
@@ -17920,6 +17920,20 @@ class Visitor {
|
|
|
17920
17920
|
NullElement() {
|
|
17921
17921
|
return null;
|
|
17922
17922
|
}
|
|
17923
|
+
RefElement(element, ...rest) {
|
|
17924
|
+
var _ancestors;
|
|
17925
|
+
const ancestors = rest[3];
|
|
17926
|
+
if (((_ancestors = ancestors[ancestors.length - 1]) === null || _ancestors === void 0 ? void 0 : _ancestors.type) === 'EphemeralObject') {
|
|
17927
|
+
return Symbol.for('delete-node');
|
|
17928
|
+
}
|
|
17929
|
+
return String(element.toValue());
|
|
17930
|
+
}
|
|
17931
|
+
LinkElement(element) {
|
|
17932
|
+
if ((0,_predicates_index_mjs__WEBPACK_IMPORTED_MODULE_2__.isStringElement)(element.href)) {
|
|
17933
|
+
return element.href.toValue();
|
|
17934
|
+
}
|
|
17935
|
+
return '';
|
|
17936
|
+
}
|
|
17923
17937
|
}
|
|
17924
17938
|
const serializer = element => {
|
|
17925
17939
|
if (!(0,_predicates_index_mjs__WEBPACK_IMPORTED_MODULE_2__.isElement)(element)) return element;
|