@swagger-api/apidom-parser-adapter-json-schema-yaml-2020-12 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-json-schema-yaml-2020-12
|
|
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-json-schema-yaml-2020-12
|
|
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-json-schema-yaml-2020-12
|
|
@@ -20194,7 +20194,8 @@ visitor, {
|
|
|
20194
20194
|
nodeTypeGetter = getNodeType,
|
|
20195
20195
|
nodePredicate = isNode,
|
|
20196
20196
|
nodeCloneFn = cloneNode,
|
|
20197
|
-
detectCycles = true
|
|
20197
|
+
detectCycles = true,
|
|
20198
|
+
detectCyclesCallback = null
|
|
20198
20199
|
} = {}) => {
|
|
20199
20200
|
const visitorKeys = keyMap || {};
|
|
20200
20201
|
let stack;
|
|
@@ -20266,6 +20267,10 @@ visitor, {
|
|
|
20266
20267
|
|
|
20267
20268
|
// cycle detected; skipping over a sub-tree to avoid recursion
|
|
20268
20269
|
if (detectCycles && ancestors.includes(node)) {
|
|
20270
|
+
if (typeof detectCyclesCallback === 'function') {
|
|
20271
|
+
// @ts-ignore
|
|
20272
|
+
detectCyclesCallback(node, key, parent, path, ancestors);
|
|
20273
|
+
}
|
|
20269
20274
|
path.pop();
|
|
20270
20275
|
continue;
|
|
20271
20276
|
}
|
|
@@ -20368,7 +20373,8 @@ visitor, {
|
|
|
20368
20373
|
nodeTypeGetter = getNodeType,
|
|
20369
20374
|
nodePredicate = isNode,
|
|
20370
20375
|
nodeCloneFn = cloneNode,
|
|
20371
|
-
detectCycles = true
|
|
20376
|
+
detectCycles = true,
|
|
20377
|
+
detectCyclesCallback = null
|
|
20372
20378
|
} = {}) => {
|
|
20373
20379
|
const visitorKeys = keyMap || {};
|
|
20374
20380
|
let stack;
|
|
@@ -20439,6 +20445,10 @@ visitor, {
|
|
|
20439
20445
|
|
|
20440
20446
|
// cycle detected; skipping over a sub-tree to avoid recursion
|
|
20441
20447
|
if (detectCycles && ancestors.includes(node)) {
|
|
20448
|
+
if (typeof detectCyclesCallback === 'function') {
|
|
20449
|
+
// @ts-ignore
|
|
20450
|
+
detectCyclesCallback(node, key, parent, path, ancestors);
|
|
20451
|
+
}
|
|
20442
20452
|
path.pop();
|
|
20443
20453
|
continue;
|
|
20444
20454
|
}
|