@abaplint/cli 2.108.6 → 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 +30 -3
- 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;
|
|
@@ -51522,7 +51549,7 @@ class Registry {
|
|
|
51522
51549
|
}
|
|
51523
51550
|
static abaplintVersion() {
|
|
51524
51551
|
// magic, see build script "version.sh"
|
|
51525
|
-
return "2.108.
|
|
51552
|
+
return "2.108.7";
|
|
51526
51553
|
}
|
|
51527
51554
|
getDDICReferences() {
|
|
51528
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",
|