@swagger-api/apidom-ns-openapi-3-0 0.70.2 → 0.71.0

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.
@@ -586,7 +586,7 @@ const schema = {
586
586
  const findElementFactory = (ancestor, keyName) => {
587
587
  var _ancestor$classes$fir, _ancestor$classes$fir2;
588
588
  const elementType = getNodeType(ancestor); // @ts-ignore
589
- const keyMapping = schema[elementType] || schema[(_ancestor$classes$fir = ancestor.classes.first) === null || _ancestor$classes$fir === void 0 ? void 0 : (_ancestor$classes$fir2 = _ancestor$classes$fir.toValue) === null || _ancestor$classes$fir2 === void 0 ? void 0 : _ancestor$classes$fir2.call(_ancestor$classes$fir)];
589
+ const keyMapping = schema[elementType] || schema[(_ancestor$classes$fir = ancestor.classes.first) === null || _ancestor$classes$fir === void 0 || (_ancestor$classes$fir2 = _ancestor$classes$fir.toValue) === null || _ancestor$classes$fir2 === void 0 ? void 0 : _ancestor$classes$fir2.call(_ancestor$classes$fir)];
590
590
  return typeof keyMapping === 'undefined' ? undefined : Object.prototype.hasOwnProperty.call(keyMapping, '[key: *]') ? keyMapping['[key: *]'] : keyMapping[keyName];
591
591
  };
592
592
  const plugin = () => () => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swagger-api/apidom-ns-openapi-3-0",
3
- "version": "0.70.2",
3
+ "version": "0.71.0",
4
4
  "description": "Parser adapter for parsing JSON documents into OpenAPI 3.0.x namespace.",
5
5
  "publishConfig": {
6
6
  "access": "public",
@@ -42,9 +42,9 @@
42
42
  "license": "Apache-2.0",
43
43
  "dependencies": {
44
44
  "@babel/runtime-corejs3": "^7.20.7",
45
- "@swagger-api/apidom-core": "^0.70.1",
46
- "@swagger-api/apidom-ns-json-schema-draft-4": "^0.70.1",
47
- "@types/ramda": "~0.29.1",
45
+ "@swagger-api/apidom-core": "^0.71.0",
46
+ "@swagger-api/apidom-ns-json-schema-draft-4": "^0.71.0",
47
+ "@types/ramda": "~0.29.3",
48
48
  "ramda": "~0.29.0",
49
49
  "ramda-adjunct": "^4.0.0",
50
50
  "stampit": "^4.3.2"
@@ -59,5 +59,5 @@
59
59
  "README.md",
60
60
  "CHANGELOG.md"
61
61
  ],
62
- "gitHead": "56f189b5db03d24b6537ca766575094a9ef90bf0"
62
+ "gitHead": "397e4cd2fd84bb57038183b177c0da4d80f15004"
63
63
  }