@abaplint/transpiler-cli 2.5.9 → 2.5.11
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 -1
- package/package.json +2 -2
package/build/bundle.js
CHANGED
|
@@ -73300,6 +73300,7 @@ class MethodImplementationTranspiler {
|
|
|
73300
73300
|
const varName = n.toLowerCase();
|
|
73301
73301
|
if (identifier.getMeta().includes("importing" /* abaplint.IdentifierMeta.MethodImporting */)
|
|
73302
73302
|
|| identifier.getMeta().includes("changing" /* abaplint.IdentifierMeta.MethodChanging */)
|
|
73303
|
+
|| identifier.getMeta().includes("event_parameter" /* abaplint.IdentifierMeta.EventParameter */)
|
|
73303
73304
|
|| identifier.getMeta().includes("exporting" /* abaplint.IdentifierMeta.MethodExporting */)) {
|
|
73304
73305
|
if (unique === "") {
|
|
73305
73306
|
unique = "INPUT";
|
|
@@ -90253,7 +90254,12 @@ function loadLib(config) {
|
|
|
90253
90254
|
if (filename.endsWith(".clas.testclasses.abap")) {
|
|
90254
90255
|
continue;
|
|
90255
90256
|
}
|
|
90256
|
-
|
|
90257
|
+
let encoding = "utf8";
|
|
90258
|
+
if (filename.endsWith(".woff")) {
|
|
90259
|
+
// hmm, this is a test, https://www.npmjs.com/package/isbinaryfile ??
|
|
90260
|
+
encoding = "binary";
|
|
90261
|
+
}
|
|
90262
|
+
const contents = fs.readFileSync(filename, { encoding });
|
|
90257
90263
|
filename = path.basename(filename);
|
|
90258
90264
|
files.push({ filename, contents });
|
|
90259
90265
|
count++;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abaplint/transpiler-cli",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.11",
|
|
4
4
|
"description": "Transpiler - Command Line Interface",
|
|
5
5
|
"bin": {
|
|
6
6
|
"abap_transpile": "./abap_transpile"
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"author": "abaplint",
|
|
26
26
|
"license": "MIT",
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"@abaplint/transpiler": "^2.5.
|
|
28
|
+
"@abaplint/transpiler": "^2.5.11",
|
|
29
29
|
"@types/glob": "^7.2.0",
|
|
30
30
|
"glob": "=7.2.0",
|
|
31
31
|
"@types/progress": "^2.0.5",
|