@speclynx/apidom-ns-arazzo-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-arazzo-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
|
|
@@ -28736,9 +28736,9 @@ const mergeVisitors = (visitors, options = {}) => {
|
|
|
28736
28736
|
}
|
|
28737
28737
|
|
|
28738
28738
|
// Handle path-based control flow
|
|
28739
|
+
// Note: no break here — other merged visitors must still process this node
|
|
28739
28740
|
if (proxyPath.shouldStop) {
|
|
28740
28741
|
skipping[i] = breakSymbol;
|
|
28741
|
-
break;
|
|
28742
28742
|
}
|
|
28743
28743
|
if (proxyPath.shouldSkip) {
|
|
28744
28744
|
skipping[i] = currentNode;
|
|
@@ -28769,6 +28769,11 @@ const mergeVisitors = (visitors, options = {}) => {
|
|
|
28769
28769
|
}
|
|
28770
28770
|
}
|
|
28771
28771
|
}
|
|
28772
|
+
|
|
28773
|
+
// stop traversal only when all visitors have stopped
|
|
28774
|
+
if (skipping.every(s => s === breakSymbol)) {
|
|
28775
|
+
path.stop();
|
|
28776
|
+
}
|
|
28772
28777
|
if (hasChanged) {
|
|
28773
28778
|
path.replaceWith(currentNode);
|
|
28774
28779
|
return currentNode;
|
|
@@ -28794,9 +28799,9 @@ const mergeVisitors = (visitors, options = {}) => {
|
|
|
28794
28799
|
}
|
|
28795
28800
|
|
|
28796
28801
|
// Handle path-based control flow
|
|
28802
|
+
// Note: no break here — other merged visitors must still process this node
|
|
28797
28803
|
if (proxyPath.shouldStop) {
|
|
28798
28804
|
skipping[i] = breakSymbol;
|
|
28799
|
-
break;
|
|
28800
28805
|
}
|
|
28801
28806
|
if (proxyPath.removed) {
|
|
28802
28807
|
path.remove();
|
|
@@ -28816,6 +28821,11 @@ const mergeVisitors = (visitors, options = {}) => {
|
|
|
28816
28821
|
skipping[i] = internalSkipSymbol;
|
|
28817
28822
|
}
|
|
28818
28823
|
}
|
|
28824
|
+
|
|
28825
|
+
// stop traversal only when all visitors have stopped
|
|
28826
|
+
if (skipping.every(s => s === breakSymbol)) {
|
|
28827
|
+
path.stop();
|
|
28828
|
+
}
|
|
28819
28829
|
return undefined;
|
|
28820
28830
|
}
|
|
28821
28831
|
};
|
|
@@ -28844,9 +28854,11 @@ const mergeVisitorsAsync = (visitors, options = {}) => {
|
|
|
28844
28854
|
if (typeof visitFn === 'function') {
|
|
28845
28855
|
const proxyPath = createPathProxy(path, currentNode);
|
|
28846
28856
|
const result = await visitFn.call(visitors[i], proxyPath);
|
|
28857
|
+
|
|
28858
|
+
// Handle path-based control flow
|
|
28859
|
+
// Note: no break here — other merged visitors must still process this node
|
|
28847
28860
|
if (proxyPath.shouldStop) {
|
|
28848
28861
|
skipping[i] = breakSymbol;
|
|
28849
|
-
break;
|
|
28850
28862
|
}
|
|
28851
28863
|
if (proxyPath.shouldSkip) {
|
|
28852
28864
|
skipping[i] = currentNode;
|
|
@@ -28876,6 +28888,11 @@ const mergeVisitorsAsync = (visitors, options = {}) => {
|
|
|
28876
28888
|
}
|
|
28877
28889
|
}
|
|
28878
28890
|
}
|
|
28891
|
+
|
|
28892
|
+
// stop traversal only when all visitors have stopped
|
|
28893
|
+
if (skipping.every(s => s === breakSymbol)) {
|
|
28894
|
+
path.stop();
|
|
28895
|
+
}
|
|
28879
28896
|
if (hasChanged) {
|
|
28880
28897
|
path.replaceWith(currentNode);
|
|
28881
28898
|
return currentNode;
|
|
@@ -28890,9 +28907,11 @@ const mergeVisitorsAsync = (visitors, options = {}) => {
|
|
|
28890
28907
|
if (typeof visitFn === 'function') {
|
|
28891
28908
|
const proxyPath = createPathProxy(path, currentNode);
|
|
28892
28909
|
const result = await visitFn.call(visitors[i], proxyPath);
|
|
28910
|
+
|
|
28911
|
+
// Handle path-based control flow
|
|
28912
|
+
// Note: no break here — other merged visitors must still process this node
|
|
28893
28913
|
if (proxyPath.shouldStop) {
|
|
28894
28914
|
skipping[i] = breakSymbol;
|
|
28895
|
-
break;
|
|
28896
28915
|
}
|
|
28897
28916
|
if (proxyPath.removed) {
|
|
28898
28917
|
path.remove();
|
|
@@ -28911,6 +28930,11 @@ const mergeVisitorsAsync = (visitors, options = {}) => {
|
|
|
28911
28930
|
skipping[i] = internalSkipSymbol;
|
|
28912
28931
|
}
|
|
28913
28932
|
}
|
|
28933
|
+
|
|
28934
|
+
// stop traversal only when all visitors have stopped
|
|
28935
|
+
if (skipping.every(s => s === breakSymbol)) {
|
|
28936
|
+
path.stop();
|
|
28937
|
+
}
|
|
28914
28938
|
return undefined;
|
|
28915
28939
|
}
|
|
28916
28940
|
};
|