@swagger-api/apidom-parser-adapter-yaml-1-2 1.8.0 → 1.9.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,12 @@
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
+ # [1.9.0](https://github.com/swagger-api/apidom/compare/v1.8.0...v1.9.0) (2026-03-30)
7
+
8
+ ### Bug Fixes
9
+
10
+ - **parser-adapter-yaml-1-2:** free WASM tree memory between parses ([#5152](https://github.com/swagger-api/apidom/issues/5152)) ([749deb2](https://github.com/swagger-api/apidom/commit/749deb2e389e971dd343641388785d5ac53dfe01))
11
+
6
12
  # [1.8.0](https://github.com/swagger-api/apidom/compare/v1.7.0...v1.8.0) (2026-03-20)
7
13
 
8
14
  ### Bug Fixes
@@ -9914,6 +9914,9 @@
9914
9914
  "Error while initializing web-tree-sitter and loading tree-sitter-yaml grammar."
9915
9915
  );
9916
9916
  }
9917
+ if (currentTree !== null) {
9918
+ currentTree.delete();
9919
+ }
9917
9920
  currentTree = parser.parse(source);
9918
9921
  parser.reset();
9919
9922
  return currentTree;