@abaplint/transpiler-cli 2.7.134 → 2.7.135
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 +7 -2
- package/package.json +2 -2
package/build/bundle.js
CHANGED
|
@@ -80534,8 +80534,13 @@ class ReplaceTranspiler {
|
|
|
80534
80534
|
extra.push("of: " + new expressions_1.SourceTranspiler().transpile(o, traversal).getCode());
|
|
80535
80535
|
}
|
|
80536
80536
|
const length = node.findExpressionAfterToken("LENGTH");
|
|
80537
|
-
if (length
|
|
80538
|
-
|
|
80537
|
+
if (length) {
|
|
80538
|
+
if (length.get() instanceof abaplint.Expressions.Source) {
|
|
80539
|
+
extra.push("sectionLength: " + new expressions_1.SourceTranspiler().transpile(length, traversal).getCode());
|
|
80540
|
+
}
|
|
80541
|
+
else if (length.get() instanceof abaplint.Expressions.Target) {
|
|
80542
|
+
extra.push("replacementLength: " + new expressions_1.TargetTranspiler().transpile(length, traversal).getCode());
|
|
80543
|
+
}
|
|
80539
80544
|
}
|
|
80540
80545
|
const offset = node.findExpressionAfterToken("OFFSET");
|
|
80541
80546
|
if (offset && offset.get() instanceof abaplint.Expressions.Source) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abaplint/transpiler-cli",
|
|
3
|
-
"version": "2.7.
|
|
3
|
+
"version": "2.7.135",
|
|
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.135",
|
|
30
30
|
"@types/glob": "^7.2.0",
|
|
31
31
|
"glob": "=7.2.0",
|
|
32
32
|
"@types/progress": "^2.0.7",
|