@speclynx/apidom-parser-adapter-openapi-json-2 4.7.0 → 4.7.1

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
+ ## [4.7.1](https://github.com/speclynx/apidom/compare/v4.7.0...v4.7.1) (2026-04-16)
7
+
8
+ **Note:** Version bump only for package @speclynx/apidom-parser-adapter-openapi-json-2
9
+
6
10
  # [4.7.0](https://github.com/speclynx/apidom/compare/v4.6.0...v4.7.0) (2026-04-12)
7
11
 
8
12
  **Note:** Version bump only for package @speclynx/apidom-parser-adapter-openapi-json-2
@@ -32686,11 +32686,6 @@ function* traverseGenerator(root, visitor, options) {
32686
32686
  if (currentPath.shouldStop) {
32687
32687
  break;
32688
32688
  }
32689
- if (currentPath.shouldSkip) {
32690
- if (!isLeaving) {
32691
- continue;
32692
- }
32693
- }
32694
32689
  if (currentPath.removed) {
32695
32690
  edits.push([key, null]);
32696
32691
  if (!isLeaving) {
@@ -32700,12 +32695,19 @@ function* traverseGenerator(root, visitor, options) {
32700
32695
  const replacement = currentPath._getReplacementNode();
32701
32696
  edits.push([key, replacement]);
32702
32697
  if (!isLeaving) {
32698
+ if (currentPath.shouldSkip) {
32699
+ continue;
32700
+ }
32703
32701
  if (nodePredicate(replacement)) {
32704
32702
  node = replacement;
32705
32703
  } else {
32706
32704
  continue;
32707
32705
  }
32708
32706
  }
32707
+ } else if (currentPath.shouldSkip) {
32708
+ if (!isLeaving) {
32709
+ continue;
32710
+ }
32709
32711
  } else if (result !== undefined) {
32710
32712
  // Support return value replacement for backwards compatibility
32711
32713
  edits.push([key, result]);