@speclynx/apidom-parser-adapter-openapi-yaml-2 4.0.4 → 4.1.0
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,14 @@
|
|
|
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.1.0](https://github.com/speclynx/apidom/compare/v4.0.5...v4.1.0) (2026-03-16)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @speclynx/apidom-parser-adapter-openapi-yaml-2
|
|
9
|
+
|
|
10
|
+
## [4.0.5](https://github.com/speclynx/apidom/compare/v4.0.4...v4.0.5) (2026-03-13)
|
|
11
|
+
|
|
12
|
+
**Note:** Version bump only for package @speclynx/apidom-parser-adapter-openapi-yaml-2
|
|
13
|
+
|
|
6
14
|
## [4.0.4](https://github.com/speclynx/apidom/compare/v4.0.3...v4.0.4) (2026-03-12)
|
|
7
15
|
|
|
8
16
|
### Bug Fixes
|
|
@@ -45815,9 +45815,9 @@ const mergeVisitors = (visitors, options = {}) => {
|
|
|
45815
45815
|
}
|
|
45816
45816
|
|
|
45817
45817
|
// Handle path-based control flow
|
|
45818
|
+
// Note: no break here — other merged visitors must still process this node
|
|
45818
45819
|
if (proxyPath.shouldStop) {
|
|
45819
45820
|
skipping[i] = breakSymbol;
|
|
45820
|
-
break;
|
|
45821
45821
|
}
|
|
45822
45822
|
if (proxyPath.shouldSkip) {
|
|
45823
45823
|
skipping[i] = currentNode;
|
|
@@ -45848,6 +45848,11 @@ const mergeVisitors = (visitors, options = {}) => {
|
|
|
45848
45848
|
}
|
|
45849
45849
|
}
|
|
45850
45850
|
}
|
|
45851
|
+
|
|
45852
|
+
// stop traversal only when all visitors have stopped
|
|
45853
|
+
if (skipping.every(s => s === breakSymbol)) {
|
|
45854
|
+
path.stop();
|
|
45855
|
+
}
|
|
45851
45856
|
if (hasChanged) {
|
|
45852
45857
|
path.replaceWith(currentNode);
|
|
45853
45858
|
return currentNode;
|
|
@@ -45873,9 +45878,9 @@ const mergeVisitors = (visitors, options = {}) => {
|
|
|
45873
45878
|
}
|
|
45874
45879
|
|
|
45875
45880
|
// Handle path-based control flow
|
|
45881
|
+
// Note: no break here — other merged visitors must still process this node
|
|
45876
45882
|
if (proxyPath.shouldStop) {
|
|
45877
45883
|
skipping[i] = breakSymbol;
|
|
45878
|
-
break;
|
|
45879
45884
|
}
|
|
45880
45885
|
if (proxyPath.removed) {
|
|
45881
45886
|
path.remove();
|
|
@@ -45895,6 +45900,11 @@ const mergeVisitors = (visitors, options = {}) => {
|
|
|
45895
45900
|
skipping[i] = internalSkipSymbol;
|
|
45896
45901
|
}
|
|
45897
45902
|
}
|
|
45903
|
+
|
|
45904
|
+
// stop traversal only when all visitors have stopped
|
|
45905
|
+
if (skipping.every(s => s === breakSymbol)) {
|
|
45906
|
+
path.stop();
|
|
45907
|
+
}
|
|
45898
45908
|
return undefined;
|
|
45899
45909
|
}
|
|
45900
45910
|
};
|
|
@@ -45923,9 +45933,11 @@ const mergeVisitorsAsync = (visitors, options = {}) => {
|
|
|
45923
45933
|
if (typeof visitFn === 'function') {
|
|
45924
45934
|
const proxyPath = createPathProxy(path, currentNode);
|
|
45925
45935
|
const result = await visitFn.call(visitors[i], proxyPath);
|
|
45936
|
+
|
|
45937
|
+
// Handle path-based control flow
|
|
45938
|
+
// Note: no break here — other merged visitors must still process this node
|
|
45926
45939
|
if (proxyPath.shouldStop) {
|
|
45927
45940
|
skipping[i] = breakSymbol;
|
|
45928
|
-
break;
|
|
45929
45941
|
}
|
|
45930
45942
|
if (proxyPath.shouldSkip) {
|
|
45931
45943
|
skipping[i] = currentNode;
|
|
@@ -45955,6 +45967,11 @@ const mergeVisitorsAsync = (visitors, options = {}) => {
|
|
|
45955
45967
|
}
|
|
45956
45968
|
}
|
|
45957
45969
|
}
|
|
45970
|
+
|
|
45971
|
+
// stop traversal only when all visitors have stopped
|
|
45972
|
+
if (skipping.every(s => s === breakSymbol)) {
|
|
45973
|
+
path.stop();
|
|
45974
|
+
}
|
|
45958
45975
|
if (hasChanged) {
|
|
45959
45976
|
path.replaceWith(currentNode);
|
|
45960
45977
|
return currentNode;
|
|
@@ -45969,9 +45986,11 @@ const mergeVisitorsAsync = (visitors, options = {}) => {
|
|
|
45969
45986
|
if (typeof visitFn === 'function') {
|
|
45970
45987
|
const proxyPath = createPathProxy(path, currentNode);
|
|
45971
45988
|
const result = await visitFn.call(visitors[i], proxyPath);
|
|
45989
|
+
|
|
45990
|
+
// Handle path-based control flow
|
|
45991
|
+
// Note: no break here — other merged visitors must still process this node
|
|
45972
45992
|
if (proxyPath.shouldStop) {
|
|
45973
45993
|
skipping[i] = breakSymbol;
|
|
45974
|
-
break;
|
|
45975
45994
|
}
|
|
45976
45995
|
if (proxyPath.removed) {
|
|
45977
45996
|
path.remove();
|
|
@@ -45990,6 +46009,11 @@ const mergeVisitorsAsync = (visitors, options = {}) => {
|
|
|
45990
46009
|
skipping[i] = internalSkipSymbol;
|
|
45991
46010
|
}
|
|
45992
46011
|
}
|
|
46012
|
+
|
|
46013
|
+
// stop traversal only when all visitors have stopped
|
|
46014
|
+
if (skipping.every(s => s === breakSymbol)) {
|
|
46015
|
+
path.stop();
|
|
46016
|
+
}
|
|
45993
46017
|
return undefined;
|
|
45994
46018
|
}
|
|
45995
46019
|
};
|