@abaplint/transpiler-cli 2.7.76 → 2.7.77
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.
- package/build/bundle.js +5 -2
- package/package.json +2 -2
package/build/bundle.js
CHANGED
|
@@ -70171,10 +70171,13 @@ class CompareTranspiler {
|
|
|
70171
70171
|
return new chunk_1.Chunk().appendString(pre + "INPUT && INPUT." + concat.replace(" IS NOT SUPPLIED", "").toLowerCase() + " === undefined");
|
|
70172
70172
|
}
|
|
70173
70173
|
if (concat.endsWith(" IS REQUESTED")) {
|
|
70174
|
-
|
|
70174
|
+
const field = concat.replace(" IS REQUESTED", "").toLowerCase();
|
|
70175
|
+
// yea, for function modules the naming is revereed, using "importing"
|
|
70176
|
+
return new chunk_1.Chunk().appendString(pre + "INPUT && (INPUT." + field + " || INPUT.importing." + field + ")");
|
|
70175
70177
|
}
|
|
70176
70178
|
else if (concat.endsWith(" IS NOT REQUESTED")) {
|
|
70177
|
-
|
|
70179
|
+
const field = concat.replace(" IS NOT REQUESTED", "").toLowerCase();
|
|
70180
|
+
return new chunk_1.Chunk().appendString(pre + "INPUT && INPUT." + field + " === undefined && INPUT.importing." + field + " === undefined");
|
|
70178
70181
|
}
|
|
70179
70182
|
if (concat.startsWith("NOT ") || concat.includes(" IS NOT INSTANCE OF ")) {
|
|
70180
70183
|
const cname = (_a = node.findDirectExpression(core_1.Expressions.ClassName)) === null || _a === void 0 ? void 0 : _a.concatTokens();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abaplint/transpiler-cli",
|
|
3
|
-
"version": "2.7.
|
|
3
|
+
"version": "2.7.77",
|
|
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.
|
|
29
|
+
"@abaplint/transpiler": "^2.7.77",
|
|
30
30
|
"@types/glob": "^7.2.0",
|
|
31
31
|
"glob": "=7.2.0",
|
|
32
32
|
"@types/progress": "^2.0.5",
|