@abaplint/transpiler-cli 2.12.20 → 2.12.21

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.
Files changed (2) hide show
  1. package/build/bundle.js +4 -0
  2. 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) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/transpiler-cli",
3
- "version": "2.12.20",
3
+ "version": "2.12.21",
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.20",
31
+ "@abaplint/transpiler": "^2.12.21",
32
32
  "@types/glob": "^8.1.0",
33
33
  "@types/node": "^24.10.3",
34
34
  "@types/progress": "^2.0.7",