@abaplint/cli 2.99.6 → 2.99.8

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 +19 -4
  2. package/package.json +5 -5
package/build/cli.js CHANGED
@@ -22571,7 +22571,23 @@ class BasicTypes {
22571
22571
  }
22572
22572
  const constant = val.findFirstExpression(Expressions.Constant);
22573
22573
  if (constant) {
22574
- return constant.concatTokens();
22574
+ const conc = val.findFirstExpression(Expressions.ConcatenatedConstant);
22575
+ if (conc) {
22576
+ const first = conc.getFirstToken().getStr().substring(0, 1);
22577
+ let result = "";
22578
+ for (const token of conc.getAllTokens()) {
22579
+ if (token.getStr() === "&") {
22580
+ continue;
22581
+ }
22582
+ else {
22583
+ result += token.getStr().substring(1, token.getStr().length - 1);
22584
+ }
22585
+ }
22586
+ return first + result + first;
22587
+ }
22588
+ else {
22589
+ return constant.concatTokens();
22590
+ }
22575
22591
  }
22576
22592
  const chain = val.findFirstExpression(Expressions.SimpleFieldChain);
22577
22593
  if (chain) {
@@ -47575,7 +47591,7 @@ class Registry {
47575
47591
  }
47576
47592
  static abaplintVersion() {
47577
47593
  // magic, see build script "version.sh"
47578
- return "2.99.6";
47594
+ return "2.99.8";
47579
47595
  }
47580
47596
  getDDICReferences() {
47581
47597
  return this.references;
@@ -64900,7 +64916,7 @@ https://help.sap.com/doc/abapdocu_751_index_htm/7.51/en-us/abenopensql_strict_mo
64900
64916
  Also see separate rule sql_escape_host_variables
64901
64917
 
64902
64918
  Activates from v750 and up`,
64903
- tags: [_irule_1.RuleTag.Upport, _irule_1.RuleTag.Syntax, _irule_1.RuleTag.Quickfix],
64919
+ tags: [_irule_1.RuleTag.Upport, _irule_1.RuleTag.Quickfix],
64904
64920
  };
64905
64921
  }
64906
64922
  getConfig() {
@@ -64943,7 +64959,6 @@ Activates from v750 and up`,
64943
64959
  const message = "INTO/APPENDING must be last in strict SQL";
64944
64960
  const issue = issue_1.Issue.atToken(file, s.getFirstToken(), message, this.getMetadata().key, this.conf.severity, fix);
64945
64961
  issues.push(issue);
64946
- break;
64947
64962
  }
64948
64963
  }
64949
64964
  return issues;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/cli",
3
- "version": "2.99.6",
3
+ "version": "2.99.8",
4
4
  "description": "abaplint - Command Line Interface",
5
5
  "bin": {
6
6
  "abaplint": "./abaplint"
@@ -37,16 +37,16 @@
37
37
  },
38
38
  "homepage": "https://abaplint.org",
39
39
  "devDependencies": {
40
- "@abaplint/core": "^2.99.6",
40
+ "@abaplint/core": "^2.99.8",
41
41
  "@types/chai": "^4.3.5",
42
42
  "@types/glob": "^7.2.0",
43
43
  "@types/minimist": "^1.2.2",
44
44
  "@types/mocha": "^10.0.1",
45
- "@types/node": "^20.0.0",
45
+ "@types/node": "^20.1.0",
46
46
  "@types/progress": "^2.0.5",
47
47
  "chai": "^4.3.7",
48
48
  "chalk": "^5.2.0",
49
- "eslint": "^8.39.0",
49
+ "eslint": "^8.40.0",
50
50
  "glob": "^7.2.3",
51
51
  "json5": "^2.2.3",
52
52
  "memfs": "^3.5.1",
@@ -55,7 +55,7 @@
55
55
  "progress": "^2.0.3",
56
56
  "typescript": "^5.0.4",
57
57
  "webpack": "^5.82.0",
58
- "webpack-cli": "^5.0.2",
58
+ "webpack-cli": "^5.1.0",
59
59
  "xml-js": "^1.6.11"
60
60
  },
61
61
  "dependencies": {}