@abaplint/transpiler-cli 2.10.29 → 2.10.30

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 +4 -2
  2. package/package.json +2 -2
package/build/bundle.js CHANGED
@@ -78276,7 +78276,8 @@ class MethodCallTranspiler {
78276
78276
  name = m.name.toLowerCase() + "(";
78277
78277
  }
78278
78278
  if (feature_flags_1.FEATURE_FLAGS.private === true
78279
- && m?.def.getVisibility() === core_1.Visibility.Private) {
78279
+ && m?.def.getVisibility() === core_1.Visibility.Private
78280
+ && m?.def.isStatic() === false) {
78280
78281
  name = "#" + name;
78281
78282
  }
78282
78283
  const step = node.findDirectExpression(core_1.Expressions.MethodCallParam);
@@ -84508,7 +84509,8 @@ class MethodImplementationTranspiler {
84508
84509
  // https://github.com/tc39/proposal-class-fields
84509
84510
  let isPrivate = "";
84510
84511
  if (feature_flags_1.FEATURE_FLAGS.private === true
84511
- && method?.getVisibility() === abaplint.Visibility.Private) {
84512
+ && method?.getVisibility() === abaplint.Visibility.Private
84513
+ && method.isStatic() === false) {
84512
84514
  isPrivate = "#";
84513
84515
  }
84514
84516
  if (method && method.isStatic()) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/transpiler-cli",
3
- "version": "2.10.29",
3
+ "version": "2.10.30",
4
4
  "description": "Transpiler - Command Line Interface",
5
5
  "funding": "https://github.com/sponsors/larshp",
6
6
  "bin": {
@@ -28,7 +28,7 @@
28
28
  "license": "MIT",
29
29
  "devDependencies": {
30
30
  "@abaplint/core": "^2.113.107",
31
- "@abaplint/transpiler": "^2.10.29",
31
+ "@abaplint/transpiler": "^2.10.30",
32
32
  "@types/glob": "^8.1.0",
33
33
  "@types/node": "^22.13.13",
34
34
  "@types/progress": "^2.0.7",