@abaplint/transpiler 2.13.50 → 2.13.51
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.
|
@@ -115,6 +115,9 @@ class SourceTranspiler {
|
|
|
115
115
|
const context = new _1.TypeNameOrInfer().findType(typ, traversal);
|
|
116
116
|
ret.appendString(new SourceTranspiler().transpile(c.getFirstChild(), traversal, context).getCode());
|
|
117
117
|
ret.appendString(")");
|
|
118
|
+
if (this.addGet) {
|
|
119
|
+
ret.appendString(".get()");
|
|
120
|
+
}
|
|
118
121
|
}
|
|
119
122
|
else if (c.get() instanceof core_1.Expressions.ValueBody) {
|
|
120
123
|
continue;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abaplint/transpiler",
|
|
3
|
-
"version": "2.13.
|
|
3
|
+
"version": "2.13.51",
|
|
4
4
|
"description": "Transpiler",
|
|
5
5
|
"main": "build/src/index.js",
|
|
6
6
|
"typings": "build/src/index.d.ts",
|
|
@@ -11,9 +11,9 @@
|
|
|
11
11
|
},
|
|
12
12
|
"scripts": {
|
|
13
13
|
"compile": "tsc",
|
|
14
|
-
"publish:major": "npm --no-git-tag-version version major &&
|
|
15
|
-
"publish:minor": "npm --no-git-tag-version version minor &&
|
|
16
|
-
"publish:patch": "npm --no-git-tag-version version patch &&
|
|
14
|
+
"publish:major": "npm --no-git-tag-version version major && rimraf build && npm install && npm run test && npm publish --access public",
|
|
15
|
+
"publish:minor": "npm --no-git-tag-version version minor && rimraf build && npm install && npm run test && npm publish --access public",
|
|
16
|
+
"publish:patch": "npm --no-git-tag-version version patch && rimraf build && npm install && npm run test && npm publish --access public",
|
|
17
17
|
"test": "npm run compile && mocha"
|
|
18
18
|
},
|
|
19
19
|
"mocha": {
|
|
@@ -29,14 +29,14 @@
|
|
|
29
29
|
"author": "abaplint",
|
|
30
30
|
"license": "MIT",
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@abaplint/core": "^2.120.
|
|
32
|
+
"@abaplint/core": "^2.120.20",
|
|
33
33
|
"source-map": "^0.7.6"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@types/chai": "^4.3.20",
|
|
37
37
|
"@types/mocha": "^10.0.10",
|
|
38
38
|
"chai": "^4.5.0",
|
|
39
|
-
"mocha": "^11.
|
|
39
|
+
"mocha": "^11.8.0",
|
|
40
40
|
"source-map-support": "^0.5.21",
|
|
41
41
|
"typescript": "^6.0.3"
|
|
42
42
|
}
|