@abaplint/cli 2.100.2 → 2.100.3

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/cli.js +9 -4
  2. package/package.json +3 -3
package/build/cli.js CHANGED
@@ -25458,6 +25458,7 @@ class Source {
25458
25458
  {
25459
25459
  const foundType = this.determineType(node, scope, filename, targetType);
25460
25460
  new conv_body_1.ConvBody().runSyntax(node.findDirectExpression(Expressions.ConvBody), scope, filename);
25461
+ this.addIfInferred(node, scope, filename, foundType);
25461
25462
  return foundType;
25462
25463
  }
25463
25464
  case "REF":
@@ -38264,7 +38265,7 @@ class DDIC {
38264
38265
  case "SSTRING": // 1 <= len <= 1333
38265
38266
  case "STRG": // 256 <= len
38266
38267
  case "STRING": // 256 <= len
38267
- return new Types.StringType({ qualifiedName: qualifiedName });
38268
+ return new Types.StringType({ qualifiedName: qualifiedName || "STRING" });
38268
38269
  case "RSTR": // 256 <= len
38269
38270
  case "RAWSTRING": // 256 <= len
38270
38271
  case "GEOM_EWKB":
@@ -47756,7 +47757,7 @@ class Registry {
47756
47757
  }
47757
47758
  static abaplintVersion() {
47758
47759
  // magic, see build script "version.sh"
47759
- return "2.100.2";
47760
+ return "2.100.3";
47760
47761
  }
47761
47762
  getDDICReferences() {
47762
47763
  return this.ddicReferences;
@@ -55175,8 +55176,12 @@ class EmptyLineinStatement extends _abap_rule_1.ABAPRule {
55175
55176
  key: "empty_line_in_statement",
55176
55177
  title: "Find empty lines in statements",
55177
55178
  shortDescription: `Checks that statements do not contain empty lines.`,
55178
- extendedInformation: `https://docs.abapopenchecks.org/checks/41/`,
55179
- tags: [_irule_1.RuleTag.Quickfix, _irule_1.RuleTag.Whitespace, _irule_1.RuleTag.SingleFile],
55179
+ extendedInformation: `https://github.com/SAP/styleguides/blob/main/clean-abap/CleanABAP.md#dont-obsess-with-separating-blank-lines
55180
+
55181
+ https://docs.abapopenchecks.org/checks/41/`,
55182
+ tags: [_irule_1.RuleTag.Quickfix, _irule_1.RuleTag.Whitespace, _irule_1.RuleTag.SingleFile, _irule_1.RuleTag.Styleguide],
55183
+ badExample: `WRITE\n\nhello.`,
55184
+ goodExample: `WRITE hello.`,
55180
55185
  };
55181
55186
  }
55182
55187
  getMessage() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/cli",
3
- "version": "2.100.2",
3
+ "version": "2.100.3",
4
4
  "description": "abaplint - Command Line Interface",
5
5
  "funding": "https://github.com/sponsors/larshp",
6
6
  "bin": {
@@ -38,12 +38,12 @@
38
38
  },
39
39
  "homepage": "https://abaplint.org",
40
40
  "devDependencies": {
41
- "@abaplint/core": "^2.100.2",
41
+ "@abaplint/core": "^2.100.3",
42
42
  "@types/chai": "^4.3.5",
43
43
  "@types/glob": "^7.2.0",
44
44
  "@types/minimist": "^1.2.2",
45
45
  "@types/mocha": "^10.0.1",
46
- "@types/node": "^20.1.3",
46
+ "@types/node": "^20.1.5",
47
47
  "@types/progress": "^2.0.5",
48
48
  "chai": "^4.3.7",
49
49
  "chalk": "^5.2.0",