@abaplint/transpiler-cli 2.4.0 → 2.4.2

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/build/bundle.js +7 -1
  2. package/package.json +3 -3
package/build/bundle.js CHANGED
@@ -45829,7 +45829,7 @@ class Registry {
45829
45829
  }
45830
45830
  static abaplintVersion() {
45831
45831
  // magic, see build script "version.sh"
45832
- return "2.95.8";
45832
+ return "2.95.9";
45833
45833
  }
45834
45834
  getDDICReferences() {
45835
45835
  return this.references;
@@ -65326,6 +65326,9 @@ class XMLConsistency {
65326
65326
  if (name === undefined) {
65327
65327
  issues.push(issue_1.Issue.atRow(file, 1, "Name undefined in XML", this.getMetadata().key, this.conf.severity));
65328
65328
  }
65329
+ else if (obj.getDescription() && obj.getDescription().length > 60) {
65330
+ issues.push(issue_1.Issue.atRow(file, 1, "Description too long", this.getMetadata().key, this.conf.severity));
65331
+ }
65329
65332
  else if (name !== obj.getName().toUpperCase()) {
65330
65333
  issues.push(issue_1.Issue.atRow(file, 1, "Name in XML does not match object", this.getMetadata().key, this.conf.severity));
65331
65334
  }
@@ -65338,6 +65341,9 @@ class XMLConsistency {
65338
65341
  if (name === undefined) {
65339
65342
  issues.push(issue_1.Issue.atRow(file, 1, "Name undefined in XML", this.getMetadata().key, this.conf.severity));
65340
65343
  }
65344
+ else if (obj.getDescription() && obj.getDescription().length > 60) {
65345
+ issues.push(issue_1.Issue.atRow(file, 1, "Description too long", this.getMetadata().key, this.conf.severity));
65346
+ }
65341
65347
  else if (name !== obj.getName().toUpperCase()) {
65342
65348
  issues.push(issue_1.Issue.atRow(file, 1, "Name in XML does not match object", this.getMetadata().key, this.conf.severity));
65343
65349
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/transpiler-cli",
3
- "version": "2.4.0",
3
+ "version": "2.4.2",
4
4
  "description": "Transpiler - Command Line Interface",
5
5
  "bin": {
6
6
  "abap_transpile": "./abap_transpile"
@@ -25,11 +25,11 @@
25
25
  "author": "abaplint",
26
26
  "license": "MIT",
27
27
  "devDependencies": {
28
- "@abaplint/transpiler": "^2.4.0",
28
+ "@abaplint/transpiler": "^2.4.2",
29
29
  "@types/glob": "^7.2.0",
30
30
  "glob": "=7.2.0",
31
31
  "@types/progress": "^2.0.5",
32
- "@abaplint/core": "^2.95.8",
32
+ "@abaplint/core": "^2.95.9",
33
33
  "progress": "^2.0.3",
34
34
  "webpack": "^5.75.0",
35
35
  "webpack-cli": "^5.0.1",