@abaplint/core 2.95.8 → 2.95.9

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.
@@ -63,7 +63,7 @@ class Registry {
63
63
  }
64
64
  static abaplintVersion() {
65
65
  // magic, see build script "version.sh"
66
- return "2.95.8";
66
+ return "2.95.9";
67
67
  }
68
68
  getDDICReferences() {
69
69
  return this.references;
@@ -50,6 +50,9 @@ class XMLConsistency {
50
50
  if (name === undefined) {
51
51
  issues.push(issue_1.Issue.atRow(file, 1, "Name undefined in XML", this.getMetadata().key, this.conf.severity));
52
52
  }
53
+ else if (obj.getDescription() && obj.getDescription().length > 60) {
54
+ issues.push(issue_1.Issue.atRow(file, 1, "Description too long", this.getMetadata().key, this.conf.severity));
55
+ }
53
56
  else if (name !== obj.getName().toUpperCase()) {
54
57
  issues.push(issue_1.Issue.atRow(file, 1, "Name in XML does not match object", this.getMetadata().key, this.conf.severity));
55
58
  }
@@ -62,6 +65,9 @@ class XMLConsistency {
62
65
  if (name === undefined) {
63
66
  issues.push(issue_1.Issue.atRow(file, 1, "Name undefined in XML", this.getMetadata().key, this.conf.severity));
64
67
  }
68
+ else if (obj.getDescription() && obj.getDescription().length > 60) {
69
+ issues.push(issue_1.Issue.atRow(file, 1, "Description too long", this.getMetadata().key, this.conf.severity));
70
+ }
65
71
  else if (name !== obj.getName().toUpperCase()) {
66
72
  issues.push(issue_1.Issue.atRow(file, 1, "Name in XML does not match object", this.getMetadata().key, this.conf.severity));
67
73
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/core",
3
- "version": "2.95.8",
3
+ "version": "2.95.9",
4
4
  "description": "abaplint - Core API",
5
5
  "main": "build/src/index.js",
6
6
  "typings": "build/abaplint.d.ts",
@@ -47,7 +47,7 @@
47
47
  },
48
48
  "homepage": "https://abaplint.org",
49
49
  "devDependencies": {
50
- "@microsoft/api-extractor": "^7.34.0",
50
+ "@microsoft/api-extractor": "^7.34.2",
51
51
  "@types/chai": "^4.3.4",
52
52
  "@types/mocha": "^10.0.1",
53
53
  "@types/node": "^18.11.18",
@@ -57,7 +57,7 @@
57
57
  "c8": "^7.12.0",
58
58
  "source-map-support": "^0.5.21",
59
59
  "ts-json-schema-generator": "^1.2.0",
60
- "typescript": "^4.9.4"
60
+ "typescript": "^4.9.5"
61
61
  },
62
62
  "dependencies": {
63
63
  "fast-xml-parser": "^4.0.15",