@abaplint/transpiler-cli 2.14.7 → 2.14.8

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 CHANGED
@@ -112572,6 +112572,10 @@ class MethodCallChainTranspiler {
112572
112572
  else if (c instanceof core_1.Nodes.ExpressionNode && c.get() instanceof core_1.Expressions.Cast) {
112573
112573
  ret.appendChunk(traversal.traverse(c));
112574
112574
  }
112575
+ else if (c instanceof core_1.Nodes.ExpressionNode && c.get() instanceof core_1.Expressions.AttributeName) {
112576
+ // an attribute between two calls, eg. "doc->get_workbook( )->worksheet->at_position( 1 )"
112577
+ ret.appendChunk(traversal.traverse(c));
112578
+ }
112575
112579
  else {
112576
112580
  ret.append("MethodCallChainTranspilerTodo$" + c.get().constructor.name, c, traversal);
112577
112581
  }
@@ -132362,6 +132366,9 @@ const defaultAllowedObjectTypes = [
132362
132366
  "APLO",
132363
132367
  "AUTH",
132364
132368
  "BDEF",
132369
+ "CHKC",
132370
+ "CHKO",
132371
+ "CHKV",
132365
132372
  "CLAS",
132366
132373
  "DDLS",
132367
132374
  "DDLX",
package/build/types.d.ts CHANGED
@@ -18,6 +18,10 @@ export interface ITranspilerConfig {
18
18
  converter?: {
19
19
  /** @uniqueItems true */
20
20
  input_folder: string | string[];
21
+ /** list of regex, case insensitive
22
+ * @uniqueItems true
23
+ */
24
+ exclude_filter?: string[];
21
25
  /** @minLength 1 */
22
26
  output_folder: string;
23
27
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/transpiler-cli",
3
- "version": "2.14.7",
3
+ "version": "2.14.8",
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.120.80",
31
- "@abaplint/transpiler": "^2.14.7",
31
+ "@abaplint/transpiler": "^2.14.8",
32
32
  "@types/glob": "^9.0.0",
33
33
  "@types/node": "^26.6.2",
34
34
  "@types/progress": "^2.0.7",
package/schema.json CHANGED
@@ -9,6 +9,14 @@
9
9
  "additionalProperties": false,
10
10
  "description": "experimental",
11
11
  "properties": {
12
+ "exclude_filter": {
13
+ "description": "list of regex, case insensitive",
14
+ "items": {
15
+ "type": "string"
16
+ },
17
+ "type": "array",
18
+ "uniqueItems": true
19
+ },
12
20
  "input_folder": {
13
21
  "anyOf": [
14
22
  {
@@ -42,6 +50,10 @@
42
50
  "type": "array",
43
51
  "uniqueItems": true
44
52
  },
53
+ "incremental_output": {
54
+ "description": "Skip unchanged generated files and remove tracked obsolete output",
55
+ "type": "boolean"
56
+ },
45
57
  "input_filter": {
46
58
  "description": "list of regex, case insensitive, empty gives all files, positive list",
47
59
  "items": {
@@ -113,6 +125,10 @@
113
125
  "minLength": 1,
114
126
  "type": "string"
115
127
  },
128
+ "skip_duplicate_dependencies": {
129
+ "description": "skip duplicate dependency objects after the first library in libs, with a warning; defaults to false",
130
+ "type": "boolean"
131
+ },
116
132
  "write_source_map": {
117
133
  "type": "boolean"
118
134
  },