@abaplint/cli 2.108.0 → 2.108.1

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 +5 -4
  2. package/package.json +3 -3
package/build/cli.js CHANGED
@@ -1594,6 +1594,7 @@ class LexerStream {
1594
1594
  this.row = this.row + 1;
1595
1595
  }
1596
1596
  if (this.offset === this.raw.length) {
1597
+ this.col = this.col - 1;
1597
1598
  return false;
1598
1599
  }
1599
1600
  this.col = this.col + 1;
@@ -51482,7 +51483,7 @@ class Registry {
51482
51483
  }
51483
51484
  static abaplintVersion() {
51484
51485
  // magic, see build script "version.sh"
51485
- return "2.108.0";
51486
+ return "2.108.1";
51486
51487
  }
51487
51488
  getDDICReferences() {
51488
51489
  return this.ddicReferences;
@@ -52558,14 +52559,14 @@ class AlignPseudoComments extends _abap_rule_1.ABAPRule {
52558
52559
  continue;
52559
52560
  }
52560
52561
  else if (commentLength > 10) {
52561
- const expectedColumn = 72 - commentLength + 1;
52562
+ const expectedColumn = 72 - commentLength;
52562
52563
  if (previousEnd.getCol() < expectedColumn && firstCommentToken.getStart().getCol() !== expectedColumn) {
52563
52564
  const message = "Align pseudo comment to column " + expectedColumn;
52564
52565
  issues.push(issue_1.Issue.atStatement(file, statement, message, this.getMetadata().key, this.conf.severity));
52565
52566
  }
52566
52567
  }
52567
- else if (previousEnd.getCol() < 62 && firstCommentToken.getStart().getCol() !== 62) {
52568
- const message = "Align pseudo comment to column 62";
52568
+ else if (previousEnd.getCol() < 61 && firstCommentToken.getStart().getCol() !== 61) {
52569
+ const message = "Align pseudo comment to column 61";
52569
52570
  issues.push(issue_1.Issue.atStatement(file, statement, message, this.getMetadata().key, this.conf.severity));
52570
52571
  }
52571
52572
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/cli",
3
- "version": "2.108.0",
3
+ "version": "2.108.1",
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.108.0",
41
+ "@abaplint/core": "^2.108.1",
42
42
  "@types/chai": "^4.3.16",
43
43
  "@types/glob": "^8.1.0",
44
44
  "@types/minimist": "^1.2.5",
45
45
  "@types/mocha": "^10.0.6",
46
- "@types/node": "^20.12.10",
46
+ "@types/node": "^20.12.11",
47
47
  "@types/progress": "^2.0.7",
48
48
  "chai": "^4.4.1",
49
49
  "chalk": "^5.3.0",