@swagger-api/apidom-ns-openapi-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-ns-openapi-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-ns-openapi-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
  ### Bug Fixes
@@ -23173,6 +23173,20 @@ class Visitor {
23173
23173
  NullElement() {
23174
23174
  return null;
23175
23175
  }
23176
+ RefElement(element, ...rest) {
23177
+ var _ancestors;
23178
+ const ancestors = rest[3];
23179
+ if (((_ancestors = ancestors[ancestors.length - 1]) === null || _ancestors === void 0 ? void 0 : _ancestors.type) === 'EphemeralObject') {
23180
+ return Symbol.for('delete-node');
23181
+ }
23182
+ return String(element.toValue());
23183
+ }
23184
+ LinkElement(element) {
23185
+ if ((0,_predicates_index_mjs__WEBPACK_IMPORTED_MODULE_2__.isStringElement)(element.href)) {
23186
+ return element.href.toValue();
23187
+ }
23188
+ return '';
23189
+ }
23176
23190
  }
23177
23191
  const serializer = element => {
23178
23192
  if (!(0,_predicates_index_mjs__WEBPACK_IMPORTED_MODULE_2__.isElement)(element)) return element;