@abaplint/cli 2.113.86 → 2.113.87

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 -13
  2. package/package.json +5 -5
package/build/cli.js CHANGED
@@ -11359,10 +11359,12 @@ const version_1 = __webpack_require__(/*! ../../../version */ "./node_modules/@a
11359
11359
  class Communication {
11360
11360
  getMatcher() {
11361
11361
  const length = (0, combi_1.seq)("LENGTH", expressions_1.Target);
11362
+ const returncode = (0, combi_1.seq)("RETURNCODE", expressions_1.Source);
11363
+ const buffer = (0, combi_1.seq)("BUFFER", expressions_1.Target);
11362
11364
  const init = (0, combi_1.seq)("INIT ID", expressions_1.Source, "DESTINATION", expressions_1.Target);
11363
- const allocate = (0, combi_1.seq)("ALLOCATE ID", expressions_1.Source);
11364
- const send = (0, combi_1.seq)("SEND ID", expressions_1.Source, "BUFFER", expressions_1.Target, (0, combi_1.opt)(length));
11365
- const deallocate = (0, combi_1.seq)("DEALLOCATE ID", expressions_1.Source);
11365
+ const allocate = (0, combi_1.seq)("ALLOCATE ID", expressions_1.Source, (0, combi_1.opt)(returncode));
11366
+ const send = (0, combi_1.seq)("SEND ID", expressions_1.Source, (0, combi_1.opt)((0, combi_1.per)(buffer, length)), (0, combi_1.opt)(returncode));
11367
+ const deallocate = (0, combi_1.seq)("DEALLOCATE ID", expressions_1.Source, (0, combi_1.opt)(returncode));
11366
11368
  const accept = (0, combi_1.seq)("ACCEPT ID", expressions_1.Source);
11367
11369
  const receive = (0, combi_1.seq)("RECEIVE ID", expressions_1.Source, "BUFFER", expressions_1.Source, (0, combi_1.opt)(length), "DATAINFO", expressions_1.Target, "STATUSINFO", expressions_1.Target, "RECEIVED", expressions_1.Target);
11368
11370
  const ret = (0, combi_1.seq)("COMMUNICATION", (0, combi_1.alt)(init, allocate, send, deallocate, receive, accept));
@@ -11985,7 +11987,7 @@ class DeleteMemory {
11985
11987
  const memory = (0, combi_1.seq)("MEMORY ID", expressions_1.Source);
11986
11988
  const id = (0, combi_1.seq)("ID", expressions_1.Source);
11987
11989
  const client = (0, combi_1.seq)("CLIENT", expressions_1.Source);
11988
- const shared = (0, combi_1.seq)("SHARED", (0, combi_1.altPrio)("MEMORY", "BUFFER"), expressions_1.Field, "(", expressions_1.Field, ")", (0, combi_1.optPrio)(client), id);
11990
+ const shared = (0, combi_1.seq)("SHARED", (0, combi_1.altPrio)("MEMORY", "BUFFER"), expressions_1.Field, "(", (0, combi_1.regex)(/^\w+$/), ")", (0, combi_1.optPrio)(client), id);
11989
11991
  const ret = (0, combi_1.seq)("DELETE FROM", (0, combi_1.alt)(memory, shared));
11990
11992
  return (0, combi_1.verNot)(version_1.Version.Cloud, ret);
11991
11993
  }
@@ -15005,9 +15007,9 @@ class ModifyInternal {
15005
15007
  const using = (0, combi_1.seq)("USING KEY", expressions_1.SimpleName);
15006
15008
  const additions = (0, combi_1.per)(where, assigning, using);
15007
15009
  const target = (0, combi_1.alt)(expressions_1.Target, expressions_1.Dynamic);
15008
- const options = (0, combi_1.alt)((0, combi_1.per)(index, transporting), (0, combi_1.seq)(from, (0, combi_1.opt)((0, combi_1.per)(index, transporting))), (0, combi_1.seq)((0, combi_1.per)(index, transporting), from, (0, combi_1.opt)((0, combi_1.per)(index, transporting))));
15010
+ const options = (0, combi_1.alt)((0, combi_1.per)(index, transporting), (0, combi_1.seq)(from, (0, combi_1.opt)((0, combi_1.per)(index, transporting, using))), (0, combi_1.seq)((0, combi_1.per)(index, transporting), from, (0, combi_1.opt)((0, combi_1.per)(index, transporting))));
15009
15011
  const long = (0, combi_1.seq)("MODIFY", (0, combi_1.opt)("TABLE"), target, (0, combi_1.opt)(options), (0, combi_1.opt)(additions));
15010
- const simple = (0, combi_1.seq)("MODIFY TABLE", target, from, (0, combi_1.opt)(using));
15012
+ const simple = (0, combi_1.seq)("MODIFY TABLE", target, (0, combi_1.per)(from, using));
15011
15013
  return (0, combi_1.alt)(long, simple);
15012
15014
  }
15013
15015
  }
@@ -15431,7 +15433,7 @@ class Parameter {
15431
15433
  const type = (0, combi_1.seq)((0, combi_1.altPrio)("TYPE", "LIKE"), (0, combi_1.altPrio)(expressions_1.TypeName, expressions_1.Dynamic));
15432
15434
  const memory = (0, combi_1.seq)("MEMORY ID", expressions_1.SimpleSource1);
15433
15435
  const listbox = (0, combi_1.str)("AS LISTBOX");
15434
- const cmd = (0, combi_1.seq)("USER-COMMAND", (0, combi_1.regex)(/^\w+$/));
15436
+ const cmd = (0, combi_1.seq)("USER-COMMAND", (0, combi_1.regex)(/^[\w\?\/]+$/));
15435
15437
  const modif = (0, combi_1.seq)("MODIF ID", expressions_1.Modif);
15436
15438
  const visible = (0, combi_1.seq)("VISIBLE LENGTH", expressions_1.Constant);
15437
15439
  const length = (0, combi_1.seq)("LENGTH", expressions_1.Constant);
@@ -16511,7 +16513,7 @@ class SelectionScreen {
16511
16513
  const exclude = (0, combi_1.seq)("EXCLUDE", (0, combi_1.alt)("IDS", "PARAMETERS"), (0, combi_1.regex)(/^\w+$/));
16512
16514
  const beginVersion = (0, combi_1.seq)("BEGIN OF VERSION", (0, combi_1.regex)(/^\w+$/), expressions_1.TextElement);
16513
16515
  const endVersion = (0, combi_1.seq)("END OF VERSION", (0, combi_1.regex)(/^\w+$/));
16514
- const ret = (0, combi_1.seq)("SELECTION-SCREEN", (0, combi_1.altPrio)(comment, func, skip, pos, incl, iso, push, tab, uline, beginBlock, tabbed, endBlock, beginLine, endLine, param, beginScreen, endScreen, exclude, beginVersion, endVersion));
16516
+ const ret = (0, combi_1.seq)("SELECTION-SCREEN", (0, combi_1.altPrio)(comment, func, skip, pos, incl, iso, push, tab, uline, beginBlock, tabbed, endBlock, beginLine, endLine, param, beginScreen, endScreen, exclude, beginVersion, endVersion, def));
16515
16517
  return (0, combi_1.verNot)(version_1.Version.Cloud, ret);
16516
16518
  }
16517
16519
  }
@@ -16541,7 +16543,7 @@ class SelectOption {
16541
16543
  const option = (0, combi_1.seq)("OPTION", (0, combi_1.alt)("CP", expressions_1.Field));
16542
16544
  const sign = (0, combi_1.seq)("SIGN", expressions_1.Field);
16543
16545
  const memory = (0, combi_1.seq)("MEMORY ID", expressions_1.SimpleSource1);
16544
- const match = (0, combi_1.seq)("MATCHCODE OBJECT", expressions_1.Field);
16546
+ const match = (0, combi_1.seq)("MATCHCODE OBJECT", expressions_1.SimpleFieldChain);
16545
16547
  const modif = (0, combi_1.seq)("MODIF ID", expressions_1.Modif);
16546
16548
  const visible = (0, combi_1.seq)("VISIBLE LENGTH", expressions_1.Source);
16547
16549
  const options = (0, combi_1.per)(def, option, sign, memory, match, visible, modif, "NO DATABASE SELECTION", "LOWER CASE", "NO-EXTENSION", "NO INTERVALS", "NO-DISPLAY", "OBLIGATORY");
@@ -17308,7 +17310,7 @@ const version_1 = __webpack_require__(/*! ../../../version */ "./node_modules/@a
17308
17310
  class Submit {
17309
17311
  getMatcher() {
17310
17312
  const sign = (0, combi_1.seq)("SIGN", expressions_1.Source);
17311
- const eq = (0, combi_1.alt)("=", "EQ", "IN", "NE", "CP", "GE", "LE", "INCL");
17313
+ const eq = (0, combi_1.alt)("=", "EQ", "IN", "NE", "CP", "GE", "LE", "INCL", "GT", "LT");
17312
17314
  const compare = (0, combi_1.seq)(eq, expressions_1.Source);
17313
17315
  const between = (0, combi_1.seq)("BETWEEN", expressions_1.Source, "AND", expressions_1.Source);
17314
17316
  const selectionTable = (0, combi_1.seq)("WITH SELECTION-TABLE", expressions_1.Source);
@@ -23222,6 +23224,9 @@ class TypeUtils {
23222
23224
  }
23223
23225
  return true;
23224
23226
  }
23227
+ else if (target instanceof basic_1.SimpleType) {
23228
+ return this.isCharLikeStrict(source);
23229
+ }
23225
23230
  else if (target instanceof basic_1.CLikeType) {
23226
23231
  return this.isCharLikeStrict(source);
23227
23232
  }
@@ -27718,9 +27723,10 @@ class Source {
27718
27723
  if (foundType === undefined && s) {
27719
27724
  return new basic_1.DataReference(s);
27720
27725
  }
27721
- else {
27722
- return foundType;
27726
+ else if (foundType) {
27727
+ return new basic_1.DataReference(foundType);
27723
27728
  }
27729
+ return undefined;
27724
27730
  }
27725
27731
  case "FILTER":
27726
27732
  {
@@ -53633,7 +53639,7 @@ class Registry {
53633
53639
  }
53634
53640
  static abaplintVersion() {
53635
53641
  // magic, see build script "version.sh"
53636
- return "2.113.86";
53642
+ return "2.113.87";
53637
53643
  }
53638
53644
  getDDICReferences() {
53639
53645
  return this.ddicReferences;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/cli",
3
- "version": "2.113.86",
3
+ "version": "2.113.87",
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.113.86",
41
+ "@abaplint/core": "^2.113.87",
42
42
  "@types/chai": "^4.3.20",
43
43
  "@types/glob": "^8.1.0",
44
44
  "@types/minimist": "^1.2.5",
@@ -47,14 +47,14 @@
47
47
  "@types/progress": "^2.0.7",
48
48
  "chai": "^4.5.0",
49
49
  "chalk": "^5.4.1",
50
- "eslint": "^9.17.0",
50
+ "eslint": "^9.18.0",
51
51
  "glob": "^7.2.3",
52
52
  "json5": "^2.2.3",
53
- "memfs": "^4.15.3",
53
+ "memfs": "^4.17.0",
54
54
  "minimist": "^1.2.8",
55
55
  "mocha": "^11.0.1",
56
56
  "progress": "^2.0.3",
57
- "typescript": "^5.7.2",
57
+ "typescript": "^5.7.3",
58
58
  "webpack": "^5.97.1",
59
59
  "webpack-cli": "^6.0.1",
60
60
  "xml-js": "^1.6.11"