@speclynx/apidom-parser-adapter-json 2.1.0 → 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,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
+ # [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-json
9
+
6
10
  # [2.1.0](https://github.com/speclynx/apidom/compare/v2.0.1...v2.1.0) (2026-01-17)
7
11
 
8
12
  **Note:** Version bump only for package @speclynx/apidom-parser-adapter-json
@@ -679,7 +679,8 @@ class Element {
679
679
  * Checks deep equality with another value.
680
680
  */
681
681
  equals(value) {
682
- return (0,ramda__WEBPACK_IMPORTED_MODULE_0__["default"])(this.toValue(), value);
682
+ const compareTo = value instanceof Element ? value.toValue() : value;
683
+ return (0,ramda__WEBPACK_IMPORTED_MODULE_0__["default"])(this.toValue(), compareTo);
683
684
  }
684
685
 
685
686
  // ============================================================