@abaplint/transpiler-cli 2.12.20 → 2.12.22
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 -1
- package/package.json +2 -2
package/build/bundle.js
CHANGED
|
@@ -78442,6 +78442,10 @@ class PopulateTables {
|
|
|
78442
78442
|
for (const [key, value] of Object.entries(obj.getParameters())) {
|
|
78443
78443
|
ret.push(`INSERT INTO "wwwparams" ("relid", "objid", "name", "value") VALUES ('MI', '${name}', '${this.escape(key)}', '${this.escape(value)}');`);
|
|
78444
78444
|
}
|
|
78445
|
+
const value = obj.getDataFile()?.getRaw().length.toString() || "0";
|
|
78446
|
+
ret.push(`INSERT INTO "wwwparams" ("relid", "objid", "name", "value") VALUES ('MI', '${name}', 'filesize', '${this.escape(value)}');`);
|
|
78447
|
+
const desc = obj.getDescription() || "";
|
|
78448
|
+
ret.push(`INSERT INTO "wwwparams" ("relid", "objid", "name", "value") VALUES ('MI', '${name}', 'description', '${this.escape(desc)}');`);
|
|
78445
78449
|
return ret;
|
|
78446
78450
|
}
|
|
78447
78451
|
escape(value) {
|
|
@@ -83950,7 +83954,7 @@ const handle_fugr_1 = __webpack_require__(/*! ./handlers/handle_fugr */ "./node_
|
|
|
83950
83954
|
function escapeNamespaceFilename(filename) {
|
|
83951
83955
|
// ES modules are resolved and cached as URLs. This means that special characters must be
|
|
83952
83956
|
// percent-encoded, such as # with %23 and ? with %3F.
|
|
83953
|
-
return filename.replace(/\//g, "%23");
|
|
83957
|
+
return filename.replace(/\//g, "%23").replace(/\./g, "%2e");
|
|
83954
83958
|
}
|
|
83955
83959
|
class Initialization {
|
|
83956
83960
|
script(reg, dbSetup, options, useImport) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abaplint/transpiler-cli",
|
|
3
|
-
"version": "2.12.
|
|
3
|
+
"version": "2.12.22",
|
|
4
4
|
"description": "Transpiler - Command Line Interface",
|
|
5
5
|
"funding": "https://github.com/sponsors/larshp",
|
|
6
6
|
"bin": {
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"license": "MIT",
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@abaplint/core": "^2.114.10",
|
|
31
|
-
"@abaplint/transpiler": "^2.12.
|
|
31
|
+
"@abaplint/transpiler": "^2.12.22",
|
|
32
32
|
"@types/glob": "^8.1.0",
|
|
33
33
|
"@types/node": "^24.10.3",
|
|
34
34
|
"@types/progress": "^2.0.7",
|