@swagger-api/apidom-parser-adapter-openapi-json-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-json-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-json-3-1
@@ -18108,7 +18108,7 @@ class JSONEvaluationRealm extends _EvaluationRealm_mjs__WEBPACK_IMPORTED_MODULE_
18108
18108
  realm: this.name
18109
18109
  });
18110
18110
  }
18111
- return indexUint32 < this.sizeOf(node);
18111
+ return indexUint32 < this.sizeOf(node) && Object.prototype.hasOwnProperty.call(node, index);
18112
18112
  }
18113
18113
  if (this.isObject(node)) {
18114
18114
  return Object.prototype.hasOwnProperty.call(node, referenceToken);
@@ -37447,7 +37447,7 @@ const evaluate = (value, jsonPointer, {
37447
37447
  return output;
37448
37448
  }
37449
37449
  }
37450
- if (strictArrays && !(0,_test_array_index_mjs__WEBPACK_IMPORTED_MODULE_2__["default"])(referenceToken)) {
37450
+ if (!(0,_test_array_index_mjs__WEBPACK_IMPORTED_MODULE_2__["default"])(referenceToken)) {
37451
37451
  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"`, {
37452
37452
  jsonPointer,
37453
37453
  referenceTokens,
@@ -37469,7 +37469,7 @@ const evaluate = (value, jsonPointer, {
37469
37469
  });
37470
37470
  }
37471
37471
  if (!realm.has(current, referenceToken) && strictArrays) {
37472
- throw new _errors_JSONPointerIndexError_mjs__WEBPACK_IMPORTED_MODULE_6__["default"](`Invalid array index "${referenceToken}" at position ${referenceTokenPosition} in "${jsonPointer}": out of bounds`, {
37472
+ throw new _errors_JSONPointerIndexError_mjs__WEBPACK_IMPORTED_MODULE_6__["default"](`Invalid array index "${referenceToken}" at position ${referenceTokenPosition} in "${jsonPointer}": index not found in array`, {
37473
37473
  jsonPointer,
37474
37474
  referenceTokens,
37475
37475
  referenceToken,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swagger-api/apidom-parser-adapter-openapi-json-3-1",
3
- "version": "1.0.0-beta.36",
3
+ "version": "1.0.0-beta.37",
4
4
  "description": "Parser adapter for parsing JSON 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.36",
47
- "@swagger-api/apidom-ns-openapi-3-1": "^1.0.0-beta.36",
48
- "@swagger-api/apidom-parser-adapter-json": "^1.0.0-beta.36",
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-json": "^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": "76856f50db4a45dd32362af7a5e3702617848703"
63
+ "gitHead": "6c04248d4c60b79542e4ef957170cc48c6889445"
64
64
  }