@speclynx/apidom-parser-adapter-arazzo-yaml-1 4.0.4 → 4.0.5

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.0.5](https://github.com/speclynx/apidom/compare/v4.0.4...v4.0.5) (2026-03-13)
7
+
8
+ **Note:** Version bump only for package @speclynx/apidom-parser-adapter-arazzo-yaml-1
9
+
6
10
  ## [4.0.4](https://github.com/speclynx/apidom/compare/v4.0.3...v4.0.4) (2026-03-12)
7
11
 
8
12
  ### Bug Fixes
@@ -46425,9 +46425,9 @@ const mergeVisitors = (visitors, options = {}) => {
46425
46425
  }
46426
46426
 
46427
46427
  // Handle path-based control flow
46428
+ // Note: no break here — other merged visitors must still process this node
46428
46429
  if (proxyPath.shouldStop) {
46429
46430
  skipping[i] = breakSymbol;
46430
- break;
46431
46431
  }
46432
46432
  if (proxyPath.shouldSkip) {
46433
46433
  skipping[i] = currentNode;
@@ -46458,6 +46458,11 @@ const mergeVisitors = (visitors, options = {}) => {
46458
46458
  }
46459
46459
  }
46460
46460
  }
46461
+
46462
+ // stop traversal only when all visitors have stopped
46463
+ if (skipping.every(s => s === breakSymbol)) {
46464
+ path.stop();
46465
+ }
46461
46466
  if (hasChanged) {
46462
46467
  path.replaceWith(currentNode);
46463
46468
  return currentNode;
@@ -46483,9 +46488,9 @@ const mergeVisitors = (visitors, options = {}) => {
46483
46488
  }
46484
46489
 
46485
46490
  // Handle path-based control flow
46491
+ // Note: no break here — other merged visitors must still process this node
46486
46492
  if (proxyPath.shouldStop) {
46487
46493
  skipping[i] = breakSymbol;
46488
- break;
46489
46494
  }
46490
46495
  if (proxyPath.removed) {
46491
46496
  path.remove();
@@ -46505,6 +46510,11 @@ const mergeVisitors = (visitors, options = {}) => {
46505
46510
  skipping[i] = internalSkipSymbol;
46506
46511
  }
46507
46512
  }
46513
+
46514
+ // stop traversal only when all visitors have stopped
46515
+ if (skipping.every(s => s === breakSymbol)) {
46516
+ path.stop();
46517
+ }
46508
46518
  return undefined;
46509
46519
  }
46510
46520
  };
@@ -46533,9 +46543,11 @@ const mergeVisitorsAsync = (visitors, options = {}) => {
46533
46543
  if (typeof visitFn === 'function') {
46534
46544
  const proxyPath = createPathProxy(path, currentNode);
46535
46545
  const result = await visitFn.call(visitors[i], proxyPath);
46546
+
46547
+ // Handle path-based control flow
46548
+ // Note: no break here — other merged visitors must still process this node
46536
46549
  if (proxyPath.shouldStop) {
46537
46550
  skipping[i] = breakSymbol;
46538
- break;
46539
46551
  }
46540
46552
  if (proxyPath.shouldSkip) {
46541
46553
  skipping[i] = currentNode;
@@ -46565,6 +46577,11 @@ const mergeVisitorsAsync = (visitors, options = {}) => {
46565
46577
  }
46566
46578
  }
46567
46579
  }
46580
+
46581
+ // stop traversal only when all visitors have stopped
46582
+ if (skipping.every(s => s === breakSymbol)) {
46583
+ path.stop();
46584
+ }
46568
46585
  if (hasChanged) {
46569
46586
  path.replaceWith(currentNode);
46570
46587
  return currentNode;
@@ -46579,9 +46596,11 @@ const mergeVisitorsAsync = (visitors, options = {}) => {
46579
46596
  if (typeof visitFn === 'function') {
46580
46597
  const proxyPath = createPathProxy(path, currentNode);
46581
46598
  const result = await visitFn.call(visitors[i], proxyPath);
46599
+
46600
+ // Handle path-based control flow
46601
+ // Note: no break here — other merged visitors must still process this node
46582
46602
  if (proxyPath.shouldStop) {
46583
46603
  skipping[i] = breakSymbol;
46584
- break;
46585
46604
  }
46586
46605
  if (proxyPath.removed) {
46587
46606
  path.remove();
@@ -46600,6 +46619,11 @@ const mergeVisitorsAsync = (visitors, options = {}) => {
46600
46619
  skipping[i] = internalSkipSymbol;
46601
46620
  }
46602
46621
  }
46622
+
46623
+ // stop traversal only when all visitors have stopped
46624
+ if (skipping.every(s => s === breakSymbol)) {
46625
+ path.stop();
46626
+ }
46603
46627
  return undefined;
46604
46628
  }
46605
46629
  };