@abaplint/cli 2.113.35 → 2.113.36

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 +6 -3
  2. package/package.json +2 -2
package/build/cli.js CHANGED
@@ -40540,7 +40540,9 @@ class CDSFunction extends combi_1.Expression {
40540
40540
  const abap_system_timezone = (0, combi_1.seq)("ABAP_SYSTEM_TIMEZONE", "(", input, ",", input, ")");
40541
40541
  const abap_user_timezone = (0, combi_1.seq)("ABAP_USER_TIMEZONE", "(", input, ",", input, ",", input, ")");
40542
40542
  const mod = (0, combi_1.seq)("MOD", "(", input, ",", input, ")");
40543
- return (0, combi_1.altPrio)(substring, coalesce, tstmp_to_dats, concat, tstmp_to_tims, concat_with_space, dats_is_valid, dats_days_between, tstmp_add_seconds, tstmp_seconds_between, tstmp_current_utctimestamp, tstmp_is_valid, abap_system_timezone, abap_user_timezone, bintohex, hextobin, dats_add_days, dats_add_months, tstmp_to_dst, dats_tims_to_tstmp, mod);
40543
+ const left = (0, combi_1.seq)("LEFT", "(", input, ",", input, ")");
40544
+ const right = (0, combi_1.seq)("RIGHT", "(", input, ",", input, ")");
40545
+ return (0, combi_1.altPrio)(substring, coalesce, tstmp_to_dats, concat, tstmp_to_tims, concat_with_space, dats_is_valid, dats_days_between, tstmp_add_seconds, tstmp_seconds_between, tstmp_current_utctimestamp, tstmp_is_valid, abap_system_timezone, abap_user_timezone, bintohex, hextobin, dats_add_days, dats_add_months, tstmp_to_dst, dats_tims_to_tstmp, mod, left, right);
40544
40546
  }
40545
40547
  }
40546
40548
  exports.CDSFunction = CDSFunction;
@@ -40837,7 +40839,8 @@ exports.CDSString = void 0;
40837
40839
  const combi_1 = __webpack_require__(/*! ../../abap/2_statements/combi */ "./node_modules/@abaplint/core/build/src/abap/2_statements/combi.js");
40838
40840
  class CDSString extends combi_1.Expression {
40839
40841
  getRunnable() {
40840
- return (0, combi_1.regex)(/^'[\w: -_]*'$/);
40842
+ // https://stackoverflow.com/a/57754227
40843
+ return (0, combi_1.regex)(/^'[A-Za-zÀ-ž\u0370-\u03FF\u0400-\u04FF: -_]*'$/);
40841
40844
  }
40842
40845
  }
40843
40846
  exports.CDSString = CDSString;
@@ -52957,7 +52960,7 @@ class Registry {
52957
52960
  }
52958
52961
  static abaplintVersion() {
52959
52962
  // magic, see build script "version.sh"
52960
- return "2.113.35";
52963
+ return "2.113.36";
52961
52964
  }
52962
52965
  getDDICReferences() {
52963
52966
  return this.ddicReferences;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/cli",
3
- "version": "2.113.35",
3
+ "version": "2.113.36",
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.35",
41
+ "@abaplint/core": "^2.113.36",
42
42
  "@types/chai": "^4.3.20",
43
43
  "@types/glob": "^8.1.0",
44
44
  "@types/minimist": "^1.2.5",