@abaplint/cli 2.108.5 → 2.108.7
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/cli.js +33 -5
- package/package.json +2 -2
package/build/cli.js
CHANGED
|
@@ -45902,15 +45902,42 @@ class EnhancementImplementation extends _abstract_object_1.AbstractObject {
|
|
|
45902
45902
|
getType() {
|
|
45903
45903
|
return "ENHO";
|
|
45904
45904
|
}
|
|
45905
|
+
setDirty() {
|
|
45906
|
+
this.parsedXML = undefined;
|
|
45907
|
+
super.setDirty();
|
|
45908
|
+
}
|
|
45905
45909
|
getAllowedNaming() {
|
|
45906
45910
|
return {
|
|
45907
45911
|
maxLength: 30,
|
|
45908
45912
|
allowNamespace: true,
|
|
45909
45913
|
};
|
|
45910
45914
|
}
|
|
45915
|
+
getClassName() {
|
|
45916
|
+
var _a;
|
|
45917
|
+
this.parse();
|
|
45918
|
+
return (_a = this.parsedXML) === null || _a === void 0 ? void 0 : _a.className;
|
|
45919
|
+
}
|
|
45911
45920
|
getDescription() {
|
|
45912
|
-
|
|
45913
|
-
|
|
45921
|
+
var _a;
|
|
45922
|
+
this.parse();
|
|
45923
|
+
return (_a = this.parsedXML) === null || _a === void 0 ? void 0 : _a.description;
|
|
45924
|
+
}
|
|
45925
|
+
parse() {
|
|
45926
|
+
if (this.parsedXML) {
|
|
45927
|
+
return { updated: false, runtime: 0 };
|
|
45928
|
+
}
|
|
45929
|
+
const start = Date.now();
|
|
45930
|
+
this.parsedXML = {};
|
|
45931
|
+
const parsed = super.parseRaw2();
|
|
45932
|
+
if (parsed === undefined
|
|
45933
|
+
|| parsed.abapGit === undefined
|
|
45934
|
+
|| parsed.abapGit["asx:abap"]["asx:values"] === undefined) {
|
|
45935
|
+
return { updated: false, runtime: 0 };
|
|
45936
|
+
}
|
|
45937
|
+
this.parsedXML.className = parsed.abapGit["asx:abap"]["asx:values"].CLASS;
|
|
45938
|
+
this.parsedXML.description = parsed.abapGit["asx:abap"]["asx:values"].SHORTTEXT;
|
|
45939
|
+
const end = Date.now();
|
|
45940
|
+
return { updated: true, runtime: end - start };
|
|
45914
45941
|
}
|
|
45915
45942
|
}
|
|
45916
45943
|
exports.EnhancementImplementation = EnhancementImplementation;
|
|
@@ -50559,6 +50586,7 @@ class Transaction extends _abstract_object_1.AbstractObject {
|
|
|
50559
50586
|
return (_a = this.parsedXML) === null || _a === void 0 ? void 0 : _a.description;
|
|
50560
50587
|
}
|
|
50561
50588
|
parse() {
|
|
50589
|
+
var _a, _b;
|
|
50562
50590
|
if (this.parsedXML) {
|
|
50563
50591
|
return { updated: false, runtime: 0 };
|
|
50564
50592
|
}
|
|
@@ -50570,8 +50598,8 @@ class Transaction extends _abstract_object_1.AbstractObject {
|
|
|
50570
50598
|
|| parsed.abapGit["asx:abap"]["asx:values"] === undefined) {
|
|
50571
50599
|
return { updated: false, runtime: 0 };
|
|
50572
50600
|
}
|
|
50573
|
-
this.parsedXML.description = parsed.abapGit["asx:abap"]["asx:values"].TSTCT.TTEXT;
|
|
50574
|
-
this.parsedXML.programName = parsed.abapGit["asx:abap"]["asx:values"].TSTC.PGMNA;
|
|
50601
|
+
this.parsedXML.description = (_a = parsed.abapGit["asx:abap"]["asx:values"].TSTCT) === null || _a === void 0 ? void 0 : _a.TTEXT;
|
|
50602
|
+
this.parsedXML.programName = (_b = parsed.abapGit["asx:abap"]["asx:values"].TSTC) === null || _b === void 0 ? void 0 : _b.PGMNA;
|
|
50575
50603
|
const end = Date.now();
|
|
50576
50604
|
return { updated: true, runtime: end - start };
|
|
50577
50605
|
}
|
|
@@ -51521,7 +51549,7 @@ class Registry {
|
|
|
51521
51549
|
}
|
|
51522
51550
|
static abaplintVersion() {
|
|
51523
51551
|
// magic, see build script "version.sh"
|
|
51524
|
-
return "2.108.
|
|
51552
|
+
return "2.108.7";
|
|
51525
51553
|
}
|
|
51526
51554
|
getDDICReferences() {
|
|
51527
51555
|
return this.ddicReferences;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abaplint/cli",
|
|
3
|
-
"version": "2.108.
|
|
3
|
+
"version": "2.108.7",
|
|
4
4
|
"description": "abaplint - Command Line Interface",
|
|
5
5
|
"funding": "https://github.com/sponsors/larshp",
|
|
6
6
|
"bin": {
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
},
|
|
39
39
|
"homepage": "https://abaplint.org",
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@abaplint/core": "^2.108.
|
|
41
|
+
"@abaplint/core": "^2.108.7",
|
|
42
42
|
"@types/chai": "^4.3.16",
|
|
43
43
|
"@types/glob": "^8.1.0",
|
|
44
44
|
"@types/minimist": "^1.2.5",
|