@abaplint/cli 2.101.13 → 2.101.14

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 +10 -7
  2. package/package.json +3 -3
package/build/cli.js CHANGED
@@ -25599,7 +25599,9 @@ class Source {
25599
25599
  case "CORRESPONDING":
25600
25600
  {
25601
25601
  const foundType = this.determineType(node, scope, filename, targetType);
25602
- return new corresponding_body_1.CorrespondingBody().runSyntax(node.findDirectExpression(Expressions.CorrespondingBody), scope, filename, foundType);
25602
+ new corresponding_body_1.CorrespondingBody().runSyntax(node.findDirectExpression(Expressions.CorrespondingBody), scope, filename, foundType);
25603
+ this.addIfInferred(node, scope, filename, foundType);
25604
+ return foundType;
25603
25605
  }
25604
25606
  case "EXACT":
25605
25607
  return this.determineType(node, scope, filename, targetType);
@@ -26370,6 +26372,7 @@ class ValueBody {
26370
26372
  }
26371
26373
  for (const l of foo.findDirectExpressions(Expressions.ValueBodyLines)) {
26372
26374
  for (const s of l.findDirectExpressions(Expressions.Source)) {
26375
+ // LINES OF ?? todo, pass type,
26373
26376
  new source_1.Source().runSyntax(s, scope, filename);
26374
26377
  }
26375
26378
  }
@@ -26377,7 +26380,7 @@ class ValueBody {
26377
26380
  new field_assignment_1.FieldAssignment().runSyntax(s, scope, filename, rowType);
26378
26381
  }
26379
26382
  for (const s of foo.findDirectExpressions(Expressions.Source)) {
26380
- new source_1.Source().runSyntax(s, scope, filename);
26383
+ new source_1.Source().runSyntax(s, scope, filename, rowType);
26381
26384
  }
26382
26385
  }
26383
26386
  if (letScoped === true) {
@@ -29121,9 +29124,9 @@ class InsertInternal {
29121
29124
  }
29122
29125
  }
29123
29126
  for (const s of node.findDirectExpressions(Expressions.Source)) {
29124
- new source_1.Source().runSyntax(s, scope, filename, targetType);
29125
- }
29126
- for (const s of node.findDirectExpressions(Expressions.SimpleSource4)) {
29127
+ if (s === source) {
29128
+ continue;
29129
+ }
29127
29130
  new source_1.Source().runSyntax(s, scope, filename, targetType);
29128
29131
  }
29129
29132
  }
@@ -48286,7 +48289,7 @@ class Registry {
48286
48289
  }
48287
48290
  static abaplintVersion() {
48288
48291
  // magic, see build script "version.sh"
48289
- return "2.101.13";
48292
+ return "2.101.14";
48290
48293
  }
48291
48294
  getDDICReferences() {
48292
48295
  return this.ddicReferences;
@@ -70915,7 +70918,7 @@ function isNotation(xmlData, i){
70915
70918
 
70916
70919
  //an entity name should not contains special characters that may be used in regex
70917
70920
  //Eg !?\\\/[]$%{}^&*()<>
70918
- const specialChar = "!?\\\/[]$%{}^&*()<>";
70921
+ const specialChar = "!?\\\/[]$%{}^&*()<>|+";
70919
70922
 
70920
70923
  function validateEntityName(name){
70921
70924
  for (let i = 0; i < specialChar.length; i++) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/cli",
3
- "version": "2.101.13",
3
+ "version": "2.101.14",
4
4
  "description": "abaplint - Command Line Interface",
5
5
  "funding": "https://github.com/sponsors/larshp",
6
6
  "bin": {
@@ -38,7 +38,7 @@
38
38
  },
39
39
  "homepage": "https://abaplint.org",
40
40
  "devDependencies": {
41
- "@abaplint/core": "^2.101.13",
41
+ "@abaplint/core": "^2.101.14",
42
42
  "@types/chai": "^4.3.5",
43
43
  "@types/glob": "^7.2.0",
44
44
  "@types/minimist": "^1.2.2",
@@ -55,7 +55,7 @@
55
55
  "mocha": "^10.2.0",
56
56
  "progress": "^2.0.3",
57
57
  "typescript": "^5.1.3",
58
- "webpack": "^5.85.0",
58
+ "webpack": "^5.85.1",
59
59
  "webpack-cli": "^5.1.3",
60
60
  "xml-js": "^1.6.11"
61
61
  },