semanticdb-core 1.0.45 → 1.0.46

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.
@@ -56,7 +56,7 @@ exports.findPropertyByName = findPropertyByName;
56
56
  * @returns The property marked as display name (is_name=true or ui.name=true) or undefined if not found
57
57
  */
58
58
  const findDisplayNameProperty = (schema) => {
59
- let nameProp = schema.properties.find((p) => p.is_name || p.ui.name);
59
+ let nameProp = schema.properties.find((p) => { var _a; return p.is_name || ((_a = p.ui) === null || _a === void 0 ? void 0 : _a.name); });
60
60
  if (nameProp)
61
61
  return nameProp;
62
62
  nameProp = schema.properties.find((p) => p.type === 'ID');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "semanticdb-core",
3
- "version": "1.0.45",
3
+ "version": "1.0.46",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [