@xuda.io/xuda-studio-checker 1.0.20 → 1.0.21

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.
Files changed (2) hide show
  1. package/index.mjs +1 -1
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -528,7 +528,7 @@ export const check_structure = function (doc, critical_error) {
528
528
  continue;
529
529
  }
530
530
 
531
- if (!item.id) {
531
+ if (!item.id && item?.type !== 'comment') {
532
532
  addValidationError('CHK_MSG_OBJ_GEN_712', 'missing progUi id item property');
533
533
  }
534
534
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/xuda-studio-checker",
3
- "version": "1.0.20",
3
+ "version": "1.0.21",
4
4
  "main": "index.mjs",
5
5
  "type": "module",
6
6
  "description": "Auto-generated build for xuda-studio-checker.mjs",