@abaplint/cli 2.105.15 → 2.105.16
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 +11 -7
- package/package.json +4 -4
package/build/cli.js
CHANGED
|
@@ -26009,7 +26009,7 @@ class MethodSource {
|
|
|
26009
26009
|
&& first.get() instanceof Expressions.Dynamic
|
|
26010
26010
|
&& first instanceof nodes_1.ExpressionNode
|
|
26011
26011
|
&& ((_b = children[0]) === null || _b === void 0 ? void 0 : _b.concatTokens()) === "=>") {
|
|
26012
|
-
const name = (_c = first.findDirectExpression(Expressions.Constant)) === null || _c === void 0 ? void 0 : _c.concatTokens().replace(/'/g, "");
|
|
26012
|
+
const name = (_c = first.findDirectExpression(Expressions.Constant)) === null || _c === void 0 ? void 0 : _c.concatTokens().replace(/'/g, "").replace(/`/g, "");
|
|
26013
26013
|
if (name !== undefined && scope.findClassDefinition(name) === undefined) {
|
|
26014
26014
|
throw new Error(`Class "${name}" not found/released`);
|
|
26015
26015
|
}
|
|
@@ -39747,7 +39747,12 @@ class Config {
|
|
|
39747
39747
|
return this.config;
|
|
39748
39748
|
}
|
|
39749
39749
|
readByKey(rule, key) {
|
|
39750
|
-
|
|
39750
|
+
if (this.config["rules"]) {
|
|
39751
|
+
return this.config["rules"][rule] ? this.config["rules"][rule][key] : undefined;
|
|
39752
|
+
}
|
|
39753
|
+
else {
|
|
39754
|
+
return undefined;
|
|
39755
|
+
}
|
|
39751
39756
|
}
|
|
39752
39757
|
readByRule(rule) {
|
|
39753
39758
|
return this.config["rules"][rule];
|
|
@@ -51162,7 +51167,7 @@ class Registry {
|
|
|
51162
51167
|
}
|
|
51163
51168
|
static abaplintVersion() {
|
|
51164
51169
|
// magic, see build script "version.sh"
|
|
51165
|
-
return "2.105.
|
|
51170
|
+
return "2.105.16";
|
|
51166
51171
|
}
|
|
51167
51172
|
getDDICReferences() {
|
|
51168
51173
|
return this.ddicReferences;
|
|
@@ -75117,14 +75122,13 @@ const parseXml = function(xmlData) {
|
|
|
75117
75122
|
|
|
75118
75123
|
textData = this.saveTextToParentTag(textData, currentNode, jPath);
|
|
75119
75124
|
|
|
75125
|
+
let val = this.parseTextData(tagExp, currentNode.tagname, jPath, true, false, true, true);
|
|
75126
|
+
if(val == undefined) val = "";
|
|
75127
|
+
|
|
75120
75128
|
//cdata should be set even if it is 0 length string
|
|
75121
75129
|
if(this.options.cdataPropName){
|
|
75122
|
-
// let val = this.parseTextData(tagExp, this.options.cdataPropName, jPath + "." + this.options.cdataPropName, true, false, true);
|
|
75123
|
-
// if(!val) val = "";
|
|
75124
75130
|
currentNode.add(this.options.cdataPropName, [ { [this.options.textNodeName] : tagExp } ]);
|
|
75125
75131
|
}else{
|
|
75126
|
-
let val = this.parseTextData(tagExp, currentNode.tagname, jPath, true, false, true);
|
|
75127
|
-
if(val == undefined) val = "";
|
|
75128
75132
|
currentNode.add(this.options.textNodeName, val);
|
|
75129
75133
|
}
|
|
75130
75134
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abaplint/cli",
|
|
3
|
-
"version": "2.105.
|
|
3
|
+
"version": "2.105.16",
|
|
4
4
|
"description": "abaplint - Command Line Interface",
|
|
5
5
|
"funding": "https://github.com/sponsors/larshp",
|
|
6
6
|
"bin": {
|
|
@@ -38,12 +38,12 @@
|
|
|
38
38
|
},
|
|
39
39
|
"homepage": "https://abaplint.org",
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@abaplint/core": "^2.105.
|
|
41
|
+
"@abaplint/core": "^2.105.16",
|
|
42
42
|
"@types/chai": "^4.3.11",
|
|
43
43
|
"@types/glob": "^8.1.0",
|
|
44
44
|
"@types/minimist": "^1.2.5",
|
|
45
45
|
"@types/mocha": "^10.0.6",
|
|
46
|
-
"@types/node": "^20.11.
|
|
46
|
+
"@types/node": "^20.11.16",
|
|
47
47
|
"@types/progress": "^2.0.7",
|
|
48
48
|
"chai": "^4.4.1",
|
|
49
49
|
"chalk": "^5.3.0",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"mocha": "^10.2.0",
|
|
56
56
|
"progress": "^2.0.3",
|
|
57
57
|
"typescript": "^5.3.3",
|
|
58
|
-
"webpack": "^5.90.
|
|
58
|
+
"webpack": "^5.90.1",
|
|
59
59
|
"webpack-cli": "^5.1.4",
|
|
60
60
|
"xml-js": "^1.6.11"
|
|
61
61
|
},
|