@abaplint/transpiler 2.11.4 → 2.11.5
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.
|
@@ -10,7 +10,7 @@ class SetHandlerTranspiler {
|
|
|
10
10
|
let eventClass = undefined;
|
|
11
11
|
let eventName = undefined;
|
|
12
12
|
for (const m of node.findDirectExpressions(abaplint.Expressions.MethodSource)) {
|
|
13
|
-
methods.push(new expressions_1.MethodSourceTranspiler().transpile(m, traversal).getCode().replace("await ", ""));
|
|
13
|
+
methods.push(new expressions_1.MethodSourceTranspiler().transpile(m, traversal).getCode().replace("await ", "") + ".bind(this)");
|
|
14
14
|
if (eventClass === undefined) {
|
|
15
15
|
const nameToken = m.getFirstToken();
|
|
16
16
|
const scope = traversal.findCurrentScopeByToken(nameToken);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abaplint/transpiler",
|
|
3
|
-
"version": "2.11.
|
|
3
|
+
"version": "2.11.5",
|
|
4
4
|
"description": "Transpiler",
|
|
5
5
|
"main": "build/src/index.js",
|
|
6
6
|
"typings": "build/src/index.d.ts",
|
|
@@ -38,6 +38,6 @@
|
|
|
38
38
|
"chai": "^4.5.0",
|
|
39
39
|
"mocha": "^11.7.1",
|
|
40
40
|
"source-map-support": "^0.5.21",
|
|
41
|
-
"typescript": "^5.
|
|
41
|
+
"typescript": "^5.9.2"
|
|
42
42
|
}
|
|
43
43
|
}
|