@swagger-api/apidom-parser-adapter-yaml-1-2 1.10.0 → 1.10.1
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@swagger-api/apidom-parser-adapter-yaml-1-2",
|
|
3
|
-
"version": "1.10.
|
|
3
|
+
"version": "1.10.1",
|
|
4
4
|
"description": "Parser adapter for parsing YAML documents into base namespace.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public",
|
|
@@ -51,9 +51,9 @@
|
|
|
51
51
|
"license": "Apache-2.0",
|
|
52
52
|
"dependencies": {
|
|
53
53
|
"@babel/runtime-corejs3": "^7.26.10",
|
|
54
|
-
"@swagger-api/apidom-ast": "^1.10.
|
|
55
|
-
"@swagger-api/apidom-core": "^1.10.
|
|
56
|
-
"@swagger-api/apidom-error": "^1.10.
|
|
54
|
+
"@swagger-api/apidom-ast": "^1.10.1",
|
|
55
|
+
"@swagger-api/apidom-core": "^1.10.1",
|
|
56
|
+
"@swagger-api/apidom-error": "^1.10.1",
|
|
57
57
|
"@tree-sitter-grammars/tree-sitter-yaml": "=0.7.1",
|
|
58
58
|
"@types/ramda": "~0.30.0",
|
|
59
59
|
"ramda": "~0.30.0",
|
|
@@ -75,5 +75,5 @@
|
|
|
75
75
|
"README.md",
|
|
76
76
|
"CHANGELOG.md"
|
|
77
77
|
],
|
|
78
|
-
"gitHead": "
|
|
78
|
+
"gitHead": "156d40b3dc9f84a5e6bc77b27717a06dd0e2090b"
|
|
79
79
|
}
|
|
@@ -8,7 +8,7 @@ var _apidomError = require("@swagger-api/apidom-error");
|
|
|
8
8
|
let parser = null;
|
|
9
9
|
let parserInitLock = null;
|
|
10
10
|
const activeTrees = new Set();
|
|
11
|
-
const MAX_ACTIVE_TREES =
|
|
11
|
+
const MAX_ACTIVE_TREES = 10;
|
|
12
12
|
const createAnalyze = treeSitterYaml => async source => {
|
|
13
13
|
if (parser === null && parserInitLock === null) {
|
|
14
14
|
// acquire lock
|
|
@@ -3,7 +3,7 @@ import { ApiDOMError } from '@swagger-api/apidom-error';
|
|
|
3
3
|
let parser = null;
|
|
4
4
|
let parserInitLock = null;
|
|
5
5
|
const activeTrees = new Set();
|
|
6
|
-
const MAX_ACTIVE_TREES =
|
|
6
|
+
const MAX_ACTIVE_TREES = 10;
|
|
7
7
|
const createAnalyze = treeSitterYaml => async source => {
|
|
8
8
|
if (parser === null && parserInitLock === null) {
|
|
9
9
|
// acquire lock
|