@speclynx/apidom-parser-adapter-openapi-yaml-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-parser-adapter-openapi-yaml-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
|
|
@@ -53730,9 +53730,9 @@ const mergeVisitors = (visitors, options = {}) => {
|
|
|
53730
53730
|
}
|
|
53731
53731
|
|
|
53732
53732
|
// Handle path-based control flow
|
|
53733
|
+
// Note: no break here — other merged visitors must still process this node
|
|
53733
53734
|
if (proxyPath.shouldStop) {
|
|
53734
53735
|
skipping[i] = breakSymbol;
|
|
53735
|
-
break;
|
|
53736
53736
|
}
|
|
53737
53737
|
if (proxyPath.shouldSkip) {
|
|
53738
53738
|
skipping[i] = currentNode;
|
|
@@ -53763,6 +53763,11 @@ const mergeVisitors = (visitors, options = {}) => {
|
|
|
53763
53763
|
}
|
|
53764
53764
|
}
|
|
53765
53765
|
}
|
|
53766
|
+
|
|
53767
|
+
// stop traversal only when all visitors have stopped
|
|
53768
|
+
if (skipping.every(s => s === breakSymbol)) {
|
|
53769
|
+
path.stop();
|
|
53770
|
+
}
|
|
53766
53771
|
if (hasChanged) {
|
|
53767
53772
|
path.replaceWith(currentNode);
|
|
53768
53773
|
return currentNode;
|
|
@@ -53788,9 +53793,9 @@ const mergeVisitors = (visitors, options = {}) => {
|
|
|
53788
53793
|
}
|
|
53789
53794
|
|
|
53790
53795
|
// Handle path-based control flow
|
|
53796
|
+
// Note: no break here — other merged visitors must still process this node
|
|
53791
53797
|
if (proxyPath.shouldStop) {
|
|
53792
53798
|
skipping[i] = breakSymbol;
|
|
53793
|
-
break;
|
|
53794
53799
|
}
|
|
53795
53800
|
if (proxyPath.removed) {
|
|
53796
53801
|
path.remove();
|
|
@@ -53810,6 +53815,11 @@ const mergeVisitors = (visitors, options = {}) => {
|
|
|
53810
53815
|
skipping[i] = internalSkipSymbol;
|
|
53811
53816
|
}
|
|
53812
53817
|
}
|
|
53818
|
+
|
|
53819
|
+
// stop traversal only when all visitors have stopped
|
|
53820
|
+
if (skipping.every(s => s === breakSymbol)) {
|
|
53821
|
+
path.stop();
|
|
53822
|
+
}
|
|
53813
53823
|
return undefined;
|
|
53814
53824
|
}
|
|
53815
53825
|
};
|
|
@@ -53838,9 +53848,11 @@ const mergeVisitorsAsync = (visitors, options = {}) => {
|
|
|
53838
53848
|
if (typeof visitFn === 'function') {
|
|
53839
53849
|
const proxyPath = createPathProxy(path, currentNode);
|
|
53840
53850
|
const result = await visitFn.call(visitors[i], proxyPath);
|
|
53851
|
+
|
|
53852
|
+
// Handle path-based control flow
|
|
53853
|
+
// Note: no break here — other merged visitors must still process this node
|
|
53841
53854
|
if (proxyPath.shouldStop) {
|
|
53842
53855
|
skipping[i] = breakSymbol;
|
|
53843
|
-
break;
|
|
53844
53856
|
}
|
|
53845
53857
|
if (proxyPath.shouldSkip) {
|
|
53846
53858
|
skipping[i] = currentNode;
|
|
@@ -53870,6 +53882,11 @@ const mergeVisitorsAsync = (visitors, options = {}) => {
|
|
|
53870
53882
|
}
|
|
53871
53883
|
}
|
|
53872
53884
|
}
|
|
53885
|
+
|
|
53886
|
+
// stop traversal only when all visitors have stopped
|
|
53887
|
+
if (skipping.every(s => s === breakSymbol)) {
|
|
53888
|
+
path.stop();
|
|
53889
|
+
}
|
|
53873
53890
|
if (hasChanged) {
|
|
53874
53891
|
path.replaceWith(currentNode);
|
|
53875
53892
|
return currentNode;
|
|
@@ -53884,9 +53901,11 @@ const mergeVisitorsAsync = (visitors, options = {}) => {
|
|
|
53884
53901
|
if (typeof visitFn === 'function') {
|
|
53885
53902
|
const proxyPath = createPathProxy(path, currentNode);
|
|
53886
53903
|
const result = await visitFn.call(visitors[i], proxyPath);
|
|
53904
|
+
|
|
53905
|
+
// Handle path-based control flow
|
|
53906
|
+
// Note: no break here — other merged visitors must still process this node
|
|
53887
53907
|
if (proxyPath.shouldStop) {
|
|
53888
53908
|
skipping[i] = breakSymbol;
|
|
53889
|
-
break;
|
|
53890
53909
|
}
|
|
53891
53910
|
if (proxyPath.removed) {
|
|
53892
53911
|
path.remove();
|
|
@@ -53905,6 +53924,11 @@ const mergeVisitorsAsync = (visitors, options = {}) => {
|
|
|
53905
53924
|
skipping[i] = internalSkipSymbol;
|
|
53906
53925
|
}
|
|
53907
53926
|
}
|
|
53927
|
+
|
|
53928
|
+
// stop traversal only when all visitors have stopped
|
|
53929
|
+
if (skipping.every(s => s === breakSymbol)) {
|
|
53930
|
+
path.stop();
|
|
53931
|
+
}
|
|
53908
53932
|
return undefined;
|
|
53909
53933
|
}
|
|
53910
53934
|
};
|