@speclynx/apidom-ns-openapi-3-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-ns-openapi-3-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
|
|
@@ -37608,9 +37608,9 @@ const mergeVisitors = (visitors, options = {}) => {
|
|
|
37608
37608
|
}
|
|
37609
37609
|
|
|
37610
37610
|
// Handle path-based control flow
|
|
37611
|
+
// Note: no break here — other merged visitors must still process this node
|
|
37611
37612
|
if (proxyPath.shouldStop) {
|
|
37612
37613
|
skipping[i] = breakSymbol;
|
|
37613
|
-
break;
|
|
37614
37614
|
}
|
|
37615
37615
|
if (proxyPath.shouldSkip) {
|
|
37616
37616
|
skipping[i] = currentNode;
|
|
@@ -37641,6 +37641,11 @@ const mergeVisitors = (visitors, options = {}) => {
|
|
|
37641
37641
|
}
|
|
37642
37642
|
}
|
|
37643
37643
|
}
|
|
37644
|
+
|
|
37645
|
+
// stop traversal only when all visitors have stopped
|
|
37646
|
+
if (skipping.every(s => s === breakSymbol)) {
|
|
37647
|
+
path.stop();
|
|
37648
|
+
}
|
|
37644
37649
|
if (hasChanged) {
|
|
37645
37650
|
path.replaceWith(currentNode);
|
|
37646
37651
|
return currentNode;
|
|
@@ -37666,9 +37671,9 @@ const mergeVisitors = (visitors, options = {}) => {
|
|
|
37666
37671
|
}
|
|
37667
37672
|
|
|
37668
37673
|
// Handle path-based control flow
|
|
37674
|
+
// Note: no break here — other merged visitors must still process this node
|
|
37669
37675
|
if (proxyPath.shouldStop) {
|
|
37670
37676
|
skipping[i] = breakSymbol;
|
|
37671
|
-
break;
|
|
37672
37677
|
}
|
|
37673
37678
|
if (proxyPath.removed) {
|
|
37674
37679
|
path.remove();
|
|
@@ -37688,6 +37693,11 @@ const mergeVisitors = (visitors, options = {}) => {
|
|
|
37688
37693
|
skipping[i] = internalSkipSymbol;
|
|
37689
37694
|
}
|
|
37690
37695
|
}
|
|
37696
|
+
|
|
37697
|
+
// stop traversal only when all visitors have stopped
|
|
37698
|
+
if (skipping.every(s => s === breakSymbol)) {
|
|
37699
|
+
path.stop();
|
|
37700
|
+
}
|
|
37691
37701
|
return undefined;
|
|
37692
37702
|
}
|
|
37693
37703
|
};
|
|
@@ -37716,9 +37726,11 @@ const mergeVisitorsAsync = (visitors, options = {}) => {
|
|
|
37716
37726
|
if (typeof visitFn === 'function') {
|
|
37717
37727
|
const proxyPath = createPathProxy(path, currentNode);
|
|
37718
37728
|
const result = await visitFn.call(visitors[i], proxyPath);
|
|
37729
|
+
|
|
37730
|
+
// Handle path-based control flow
|
|
37731
|
+
// Note: no break here — other merged visitors must still process this node
|
|
37719
37732
|
if (proxyPath.shouldStop) {
|
|
37720
37733
|
skipping[i] = breakSymbol;
|
|
37721
|
-
break;
|
|
37722
37734
|
}
|
|
37723
37735
|
if (proxyPath.shouldSkip) {
|
|
37724
37736
|
skipping[i] = currentNode;
|
|
@@ -37748,6 +37760,11 @@ const mergeVisitorsAsync = (visitors, options = {}) => {
|
|
|
37748
37760
|
}
|
|
37749
37761
|
}
|
|
37750
37762
|
}
|
|
37763
|
+
|
|
37764
|
+
// stop traversal only when all visitors have stopped
|
|
37765
|
+
if (skipping.every(s => s === breakSymbol)) {
|
|
37766
|
+
path.stop();
|
|
37767
|
+
}
|
|
37751
37768
|
if (hasChanged) {
|
|
37752
37769
|
path.replaceWith(currentNode);
|
|
37753
37770
|
return currentNode;
|
|
@@ -37762,9 +37779,11 @@ const mergeVisitorsAsync = (visitors, options = {}) => {
|
|
|
37762
37779
|
if (typeof visitFn === 'function') {
|
|
37763
37780
|
const proxyPath = createPathProxy(path, currentNode);
|
|
37764
37781
|
const result = await visitFn.call(visitors[i], proxyPath);
|
|
37782
|
+
|
|
37783
|
+
// Handle path-based control flow
|
|
37784
|
+
// Note: no break here — other merged visitors must still process this node
|
|
37765
37785
|
if (proxyPath.shouldStop) {
|
|
37766
37786
|
skipping[i] = breakSymbol;
|
|
37767
|
-
break;
|
|
37768
37787
|
}
|
|
37769
37788
|
if (proxyPath.removed) {
|
|
37770
37789
|
path.remove();
|
|
@@ -37783,6 +37802,11 @@ const mergeVisitorsAsync = (visitors, options = {}) => {
|
|
|
37783
37802
|
skipping[i] = internalSkipSymbol;
|
|
37784
37803
|
}
|
|
37785
37804
|
}
|
|
37805
|
+
|
|
37806
|
+
// stop traversal only when all visitors have stopped
|
|
37807
|
+
if (skipping.every(s => s === breakSymbol)) {
|
|
37808
|
+
path.stop();
|
|
37809
|
+
}
|
|
37786
37810
|
return undefined;
|
|
37787
37811
|
}
|
|
37788
37812
|
};
|