@speclynx/apidom-parser-adapter-yaml-1-2 2.0.1 → 2.2.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
+ # [2.2.0](https://github.com/speclynx/apidom/compare/v2.1.0...v2.2.0) (2026-01-19)
7
+
8
+ **Note:** Version bump only for package @speclynx/apidom-parser-adapter-yaml-1-2
9
+
10
+ # [2.1.0](https://github.com/speclynx/apidom/compare/v2.0.1...v2.1.0) (2026-01-17)
11
+
12
+ **Note:** Version bump only for package @speclynx/apidom-parser-adapter-yaml-1-2
13
+
6
14
  ## [2.0.1](https://github.com/speclynx/apidom/compare/v2.0.0...v2.0.1) (2026-01-14)
7
15
 
8
16
  **Note:** Version bump only for package @speclynx/apidom-parser-adapter-yaml-1-2
@@ -1379,7 +1379,8 @@ class Element {
1379
1379
  * Checks deep equality with another value.
1380
1380
  */
1381
1381
  equals(value) {
1382
- return (0,ramda__WEBPACK_IMPORTED_MODULE_0__["default"])(this.toValue(), value);
1382
+ const compareTo = value instanceof Element ? value.toValue() : value;
1383
+ return (0,ramda__WEBPACK_IMPORTED_MODULE_0__["default"])(this.toValue(), compareTo);
1383
1384
  }
1384
1385
 
1385
1386
  // ============================================================