@abaplint/transpiler 2.10.23 → 2.10.25
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.
|
@@ -22,7 +22,7 @@ class DeleteInternalTranspiler {
|
|
|
22
22
|
if (node.findDirectTokenByText("ADJACENT")) {
|
|
23
23
|
extra.push("adjacent: true");
|
|
24
24
|
if (node.findDirectTokenByText("COMPARING") && !concat.includes("COMPARING ALL FIELDS")) {
|
|
25
|
-
const comparing = node.findAllExpressions(abaplint.Expressions.
|
|
25
|
+
const comparing = node.findAllExpressions(abaplint.Expressions.SimpleFieldChain2);
|
|
26
26
|
if (comparing) {
|
|
27
27
|
const compareFields = comparing.map(i => "'" + i.getFirstToken().getStr() + "'").join(",");
|
|
28
28
|
extra.push("comparing: [" + compareFields + "]");
|
package/build/src/traversal.js
CHANGED
|
@@ -382,8 +382,9 @@ class Traversal {
|
|
|
382
382
|
ret += "super();\n";
|
|
383
383
|
}
|
|
384
384
|
const cName = Traversal.escapeNamespace(def.getName().toLowerCase());
|
|
385
|
-
ret +=
|
|
386
|
-
|
|
385
|
+
ret += `this.me = new abap.types.ABAPObject();
|
|
386
|
+
this.me.set(this);
|
|
387
|
+
this.INTERNAL_ID = abap.internalIdCounter++;\n`;
|
|
387
388
|
for (const a of def.getAttributes()?.getAll() || []) {
|
|
388
389
|
const escaped = Traversal.escapeNamespace(a.getName().toLowerCase());
|
|
389
390
|
if (a.getMeta().includes("static" /* abaplint.IdentifierMeta.Static */) === true) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abaplint/transpiler",
|
|
3
|
-
"version": "2.10.
|
|
3
|
+
"version": "2.10.25",
|
|
4
4
|
"description": "Transpiler",
|
|
5
5
|
"main": "build/src/index.js",
|
|
6
6
|
"typings": "build/src/index.d.ts",
|
|
@@ -29,15 +29,15 @@
|
|
|
29
29
|
"author": "abaplint",
|
|
30
30
|
"license": "MIT",
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@abaplint/core": "^2.113.
|
|
32
|
+
"@abaplint/core": "^2.113.104",
|
|
33
33
|
"source-map": "^0.7.4"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@types/chai": "^4.3.20",
|
|
37
37
|
"@types/mocha": "^10.0.10",
|
|
38
38
|
"chai": "^4.5.0",
|
|
39
|
-
"mocha": "^11.0
|
|
39
|
+
"mocha": "^11.1.0",
|
|
40
40
|
"source-map-support": "^0.5.21",
|
|
41
|
-
"typescript": "^5.7.
|
|
41
|
+
"typescript": "^5.7.3"
|
|
42
42
|
}
|
|
43
43
|
}
|