@swagger-api/apidom-parser-adapter-arazzo-yaml-1 1.2.0 → 1.2.2
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.2.2](https://github.com/swagger-api/apidom/compare/v1.2.1...v1.2.2) (2026-01-16)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @swagger-api/apidom-parser-adapter-arazzo-yaml-1
|
|
9
|
+
|
|
10
|
+
## [1.2.1](https://github.com/swagger-api/apidom/compare/v1.2.0...v1.2.1) (2026-01-16)
|
|
11
|
+
|
|
12
|
+
**Note:** Version bump only for package @swagger-api/apidom-parser-adapter-arazzo-yaml-1
|
|
13
|
+
|
|
6
14
|
# [1.2.0](https://github.com/swagger-api/apidom/compare/v1.1.0...v1.2.0) (2026-01-14)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @swagger-api/apidom-parser-adapter-arazzo-yaml-1
|
|
@@ -23930,6 +23930,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
23930
23930
|
|
|
23931
23931
|
let parser = null;
|
|
23932
23932
|
let parserInitLock = null;
|
|
23933
|
+
let currentTree = null;
|
|
23933
23934
|
|
|
23934
23935
|
/**
|
|
23935
23936
|
* Lexical Analysis of source string using WebTreeSitter.
|
|
@@ -23957,7 +23958,9 @@ const analyze = async source => {
|
|
|
23957
23958
|
} else if (parser === null) {
|
|
23958
23959
|
throw new _swagger_api_apidom_error__WEBPACK_IMPORTED_MODULE_3__["default"]('Error while initializing web-tree-sitter and loading tree-sitter-yaml grammar.');
|
|
23959
23960
|
}
|
|
23960
|
-
|
|
23961
|
+
currentTree = parser.parse(source);
|
|
23962
|
+
parser.reset();
|
|
23963
|
+
return currentTree;
|
|
23961
23964
|
};
|
|
23962
23965
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (analyze);
|
|
23963
23966
|
|
|
@@ -28820,7 +28823,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
28820
28823
|
const detect = async source => {
|
|
28821
28824
|
try {
|
|
28822
28825
|
const cst = await (0,_lexical_analysis_browser_mjs__WEBPACK_IMPORTED_MODULE_2__["default"])(source);
|
|
28823
|
-
|
|
28826
|
+
const isError = !cst.rootNode.isError;
|
|
28827
|
+
cst.delete();
|
|
28828
|
+
return isError;
|
|
28824
28829
|
} catch {
|
|
28825
28830
|
return false;
|
|
28826
28831
|
}
|
|
@@ -28841,9 +28846,11 @@ const parse = async (source, {
|
|
|
28841
28846
|
sourceMap = false
|
|
28842
28847
|
} = {}) => {
|
|
28843
28848
|
const cst = await (0,_lexical_analysis_browser_mjs__WEBPACK_IMPORTED_MODULE_2__["default"])(source);
|
|
28844
|
-
|
|
28849
|
+
const syntacticAnalysisResult = (0,_syntactic_analysis_indirect_index_mjs__WEBPACK_IMPORTED_MODULE_3__["default"])(cst, {
|
|
28845
28850
|
sourceMap
|
|
28846
28851
|
});
|
|
28852
|
+
cst.delete();
|
|
28853
|
+
return syntacticAnalysisResult;
|
|
28847
28854
|
};
|
|
28848
28855
|
|
|
28849
28856
|
/***/ }),
|