@abaplint/transpiler-cli 2.7.113 → 2.7.115

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/bundle.js +6 -0
  2. package/package.json +2 -2
package/build/bundle.js CHANGED
@@ -71286,6 +71286,9 @@ class ConstantTranspiler {
71286
71286
  if (parsed > 2147483647 || parsed < -2147483648) {
71287
71287
  code = `new abap.types.Integer8().set(${concat})`;
71288
71288
  }
71289
+ else if (parsed >= -10 && parsed <= 200) {
71290
+ code = `abap.IntegerFactory.get(${concat})`;
71291
+ }
71289
71292
  else {
71290
71293
  code = `new abap.types.Integer().set(${concat})`;
71291
71294
  }
@@ -77882,6 +77885,9 @@ class MethodImplementationTranspiler {
77882
77885
  else if (parameterDefault.getFirstToken().getStr().toLowerCase() === "abap_false") {
77883
77886
  val = "abap.builtin.abap_false";
77884
77887
  }
77888
+ else if (parameterDefault.getFirstToken().getStr().toLowerCase() === "abap_undefined") {
77889
+ val = "abap.builtin.abap_undefined";
77890
+ }
77885
77891
  else if (parameterDefault.getFirstToken().getStr().toLowerCase() === "space") {
77886
77892
  val = "abap.builtin.space";
77887
77893
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/transpiler-cli",
3
- "version": "2.7.113",
3
+ "version": "2.7.115",
4
4
  "description": "Transpiler - Command Line Interface",
5
5
  "funding": "https://github.com/sponsors/larshp",
6
6
  "bin": {
@@ -26,7 +26,7 @@
26
26
  "author": "abaplint",
27
27
  "license": "MIT",
28
28
  "devDependencies": {
29
- "@abaplint/transpiler": "^2.7.113",
29
+ "@abaplint/transpiler": "^2.7.115",
30
30
  "@types/glob": "^7.2.0",
31
31
  "glob": "=7.2.0",
32
32
  "@types/progress": "^2.0.5",