@swagger-api/apidom-parser-adapter-asyncapi-json-2 1.0.0-beta.43 → 1.0.0-beta.45
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
|
+
# [1.0.0-beta.45](https://github.com/swagger-api/apidom/compare/v1.0.0-beta.44...v1.0.0-beta.45) (2025-08-01)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @swagger-api/apidom-parser-adapter-asyncapi-json-2
|
|
9
|
+
|
|
10
|
+
# [1.0.0-beta.44](https://github.com/swagger-api/apidom/compare/v1.0.0-beta.43...v1.0.0-beta.44) (2025-07-07)
|
|
11
|
+
|
|
12
|
+
**Note:** Version bump only for package @swagger-api/apidom-parser-adapter-asyncapi-json-2
|
|
13
|
+
|
|
6
14
|
# [1.0.0-beta.43](https://github.com/swagger-api/apidom/compare/v1.0.0-beta.42...v1.0.0-beta.43) (2025-06-13)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @swagger-api/apidom-parser-adapter-asyncapi-json-2
|
|
@@ -24218,7 +24218,8 @@ visitor, {
|
|
|
24218
24218
|
nodeTypeGetter = getNodeType,
|
|
24219
24219
|
nodePredicate = isNode,
|
|
24220
24220
|
nodeCloneFn = cloneNode,
|
|
24221
|
-
detectCycles = true
|
|
24221
|
+
detectCycles = true,
|
|
24222
|
+
detectCyclesCallback = null
|
|
24222
24223
|
} = {}) => {
|
|
24223
24224
|
const visitorKeys = keyMap || {};
|
|
24224
24225
|
let stack;
|
|
@@ -24290,6 +24291,10 @@ visitor, {
|
|
|
24290
24291
|
|
|
24291
24292
|
// cycle detected; skipping over a sub-tree to avoid recursion
|
|
24292
24293
|
if (detectCycles && ancestors.includes(node)) {
|
|
24294
|
+
if (typeof detectCyclesCallback === 'function') {
|
|
24295
|
+
// @ts-ignore
|
|
24296
|
+
detectCyclesCallback(node, key, parent, path, ancestors);
|
|
24297
|
+
}
|
|
24293
24298
|
path.pop();
|
|
24294
24299
|
continue;
|
|
24295
24300
|
}
|
|
@@ -24392,7 +24397,8 @@ visitor, {
|
|
|
24392
24397
|
nodeTypeGetter = getNodeType,
|
|
24393
24398
|
nodePredicate = isNode,
|
|
24394
24399
|
nodeCloneFn = cloneNode,
|
|
24395
|
-
detectCycles = true
|
|
24400
|
+
detectCycles = true,
|
|
24401
|
+
detectCyclesCallback = null
|
|
24396
24402
|
} = {}) => {
|
|
24397
24403
|
const visitorKeys = keyMap || {};
|
|
24398
24404
|
let stack;
|
|
@@ -24463,6 +24469,10 @@ visitor, {
|
|
|
24463
24469
|
|
|
24464
24470
|
// cycle detected; skipping over a sub-tree to avoid recursion
|
|
24465
24471
|
if (detectCycles && ancestors.includes(node)) {
|
|
24472
|
+
if (typeof detectCyclesCallback === 'function') {
|
|
24473
|
+
// @ts-ignore
|
|
24474
|
+
detectCyclesCallback(node, key, parent, path, ancestors);
|
|
24475
|
+
}
|
|
24466
24476
|
path.pop();
|
|
24467
24477
|
continue;
|
|
24468
24478
|
}
|