@swagger-api/apidom-parser-adapter-openapi-yaml-3-1 1.0.0-beta.36 → 1.0.0-beta.37
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,10 @@
|
|
|
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.37](https://github.com/swagger-api/apidom/compare/v1.0.0-beta.36...v1.0.0-beta.37) (2025-05-12)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @swagger-api/apidom-parser-adapter-openapi-yaml-3-1
|
|
9
|
+
|
|
6
10
|
# [1.0.0-beta.36](https://github.com/swagger-api/apidom/compare/v1.0.0-beta.35...v1.0.0-beta.36) (2025-05-06)
|
|
7
11
|
|
|
8
12
|
**Note:** Version bump only for package @swagger-api/apidom-parser-adapter-openapi-yaml-3-1
|
|
@@ -19554,7 +19554,7 @@ class JSONEvaluationRealm extends _EvaluationRealm_mjs__WEBPACK_IMPORTED_MODULE_
|
|
|
19554
19554
|
realm: this.name
|
|
19555
19555
|
});
|
|
19556
19556
|
}
|
|
19557
|
-
return indexUint32 < this.sizeOf(node);
|
|
19557
|
+
return indexUint32 < this.sizeOf(node) && Object.prototype.hasOwnProperty.call(node, index);
|
|
19558
19558
|
}
|
|
19559
19559
|
if (this.isObject(node)) {
|
|
19560
19560
|
return Object.prototype.hasOwnProperty.call(node, referenceToken);
|
|
@@ -39706,7 +39706,7 @@ const evaluate = (value, jsonPointer, {
|
|
|
39706
39706
|
return output;
|
|
39707
39707
|
}
|
|
39708
39708
|
}
|
|
39709
|
-
if (
|
|
39709
|
+
if (!(0,_test_array_index_mjs__WEBPACK_IMPORTED_MODULE_2__["default"])(referenceToken)) {
|
|
39710
39710
|
throw new _errors_JSONPointerIndexError_mjs__WEBPACK_IMPORTED_MODULE_6__["default"](`Invalid array index "${referenceToken}" at position ${referenceTokenPosition} in "${jsonPointer}": index MUST be "0", or digits without a leading "0"`, {
|
|
39711
39711
|
jsonPointer,
|
|
39712
39712
|
referenceTokens,
|
|
@@ -39728,7 +39728,7 @@ const evaluate = (value, jsonPointer, {
|
|
|
39728
39728
|
});
|
|
39729
39729
|
}
|
|
39730
39730
|
if (!realm.has(current, referenceToken) && strictArrays) {
|
|
39731
|
-
throw new _errors_JSONPointerIndexError_mjs__WEBPACK_IMPORTED_MODULE_6__["default"](`Invalid array index "${referenceToken}" at position ${referenceTokenPosition} in "${jsonPointer}":
|
|
39731
|
+
throw new _errors_JSONPointerIndexError_mjs__WEBPACK_IMPORTED_MODULE_6__["default"](`Invalid array index "${referenceToken}" at position ${referenceTokenPosition} in "${jsonPointer}": index not found in array`, {
|
|
39732
39732
|
jsonPointer,
|
|
39733
39733
|
referenceTokens,
|
|
39734
39734
|
referenceToken,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@swagger-api/apidom-parser-adapter-openapi-yaml-3-1",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.37",
|
|
4
4
|
"description": "Parser adapter for parsing YAML documents into OpenAPI 3.1.x namespace.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public",
|
|
@@ -43,9 +43,9 @@
|
|
|
43
43
|
"license": "Apache-2.0",
|
|
44
44
|
"dependencies": {
|
|
45
45
|
"@babel/runtime-corejs3": "^7.26.10",
|
|
46
|
-
"@swagger-api/apidom-core": "^1.0.0-beta.
|
|
47
|
-
"@swagger-api/apidom-ns-openapi-3-1": "^1.0.0-beta.
|
|
48
|
-
"@swagger-api/apidom-parser-adapter-yaml-1-2": "^1.0.0-beta.
|
|
46
|
+
"@swagger-api/apidom-core": "^1.0.0-beta.37",
|
|
47
|
+
"@swagger-api/apidom-ns-openapi-3-1": "^1.0.0-beta.37",
|
|
48
|
+
"@swagger-api/apidom-parser-adapter-yaml-1-2": "^1.0.0-beta.37",
|
|
49
49
|
"@types/ramda": "~0.30.0",
|
|
50
50
|
"ramda": "~0.30.0",
|
|
51
51
|
"ramda-adjunct": "^5.0.0"
|
|
@@ -60,5 +60,5 @@
|
|
|
60
60
|
"README.md",
|
|
61
61
|
"CHANGELOG.md"
|
|
62
62
|
],
|
|
63
|
-
"gitHead": "
|
|
63
|
+
"gitHead": "6c04248d4c60b79542e4ef957170cc48c6889445"
|
|
64
64
|
}
|