@swagger-api/apidom-ns-openapi-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-ns-openapi-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-ns-openapi-3-1
@@ -15435,7 +15435,7 @@ class JSONEvaluationRealm extends _EvaluationRealm_mjs__WEBPACK_IMPORTED_MODULE_
15435
15435
  realm: this.name
15436
15436
  });
15437
15437
  }
15438
- return indexUint32 < this.sizeOf(node);
15438
+ return indexUint32 < this.sizeOf(node) && Object.prototype.hasOwnProperty.call(node, index);
15439
15439
  }
15440
15440
  if (this.isObject(node)) {
15441
15441
  return Object.prototype.hasOwnProperty.call(node, referenceToken);
@@ -33686,7 +33686,7 @@ const evaluate = (value, jsonPointer, {
33686
33686
  return output;
33687
33687
  }
33688
33688
  }
33689
- if (strictArrays && !(0,_test_array_index_mjs__WEBPACK_IMPORTED_MODULE_2__["default"])(referenceToken)) {
33689
+ if (!(0,_test_array_index_mjs__WEBPACK_IMPORTED_MODULE_2__["default"])(referenceToken)) {
33690
33690
  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"`, {
33691
33691
  jsonPointer,
33692
33692
  referenceTokens,
@@ -33708,7 +33708,7 @@ const evaluate = (value, jsonPointer, {
33708
33708
  });
33709
33709
  }
33710
33710
  if (!realm.has(current, referenceToken) && strictArrays) {
33711
- throw new _errors_JSONPointerIndexError_mjs__WEBPACK_IMPORTED_MODULE_6__["default"](`Invalid array index "${referenceToken}" at position ${referenceTokenPosition} in "${jsonPointer}": out of bounds`, {
33711
+ throw new _errors_JSONPointerIndexError_mjs__WEBPACK_IMPORTED_MODULE_6__["default"](`Invalid array index "${referenceToken}" at position ${referenceTokenPosition} in "${jsonPointer}": index not found in array`, {
33712
33712
  jsonPointer,
33713
33713
  referenceTokens,
33714
33714
  referenceToken,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swagger-api/apidom-ns-openapi-3-1",
3
- "version": "1.0.0-beta.36",
3
+ "version": "1.0.0-beta.37",
4
4
  "description": "OpenAPI 3.1.x namespace for ApiDOM.",
5
5
  "publishConfig": {
6
6
  "access": "public",
@@ -45,11 +45,11 @@
45
45
  "license": "Apache-2.0",
46
46
  "dependencies": {
47
47
  "@babel/runtime-corejs3": "^7.26.10",
48
- "@swagger-api/apidom-ast": "^1.0.0-beta.36",
49
- "@swagger-api/apidom-core": "^1.0.0-beta.36",
50
- "@swagger-api/apidom-json-pointer": "^1.0.0-beta.36",
51
- "@swagger-api/apidom-ns-json-schema-2020-12": "^1.0.0-beta.36",
52
- "@swagger-api/apidom-ns-openapi-3-0": "^1.0.0-beta.36",
48
+ "@swagger-api/apidom-ast": "^1.0.0-beta.37",
49
+ "@swagger-api/apidom-core": "^1.0.0-beta.37",
50
+ "@swagger-api/apidom-json-pointer": "^1.0.0-beta.37",
51
+ "@swagger-api/apidom-ns-json-schema-2020-12": "^1.0.0-beta.37",
52
+ "@swagger-api/apidom-ns-openapi-3-0": "^1.0.0-beta.37",
53
53
  "@types/ramda": "~0.30.0",
54
54
  "ramda": "~0.30.0",
55
55
  "ramda-adjunct": "^5.0.0",
@@ -65,5 +65,5 @@
65
65
  "README.md",
66
66
  "CHANGELOG.md"
67
67
  ],
68
- "gitHead": "76856f50db4a45dd32362af7a5e3702617848703"
68
+ "gitHead": "6c04248d4c60b79542e4ef957170cc48c6889445"
69
69
  }