@abaplint/cli 2.101.25 → 2.101.26
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 +10 -15
- package/package.json +3 -3
package/build/cli.js
CHANGED
|
@@ -48453,7 +48453,7 @@ class Registry {
|
|
|
48453
48453
|
}
|
|
48454
48454
|
static abaplintVersion() {
|
|
48455
48455
|
// magic, see build script "version.sh"
|
|
48456
|
-
return "2.101.
|
|
48456
|
+
return "2.101.26";
|
|
48457
48457
|
}
|
|
48458
48458
|
getDDICReferences() {
|
|
48459
48459
|
return this.ddicReferences;
|
|
@@ -54659,15 +54659,12 @@ ${indentation}${uniqueName}`;
|
|
|
54659
54659
|
if (!(low.get() instanceof _statement_1.Unknown)) {
|
|
54660
54660
|
return undefined;
|
|
54661
54661
|
}
|
|
54662
|
-
else if (!(high.get() instanceof Statements.Move)) {
|
|
54663
|
-
return undefined;
|
|
54664
|
-
}
|
|
54665
54662
|
for (const child of high.findAllExpressionsRecursive(Expressions.StringTemplate)) {
|
|
54666
54663
|
const templateTokens = child.getChildren();
|
|
54667
54664
|
if (templateTokens.length !== 3
|
|
54668
54665
|
|| templateTokens[0].getFirstToken().getStr() !== "|{"
|
|
54669
54666
|
|| templateTokens[2].getFirstToken().getStr() !== "}|") {
|
|
54670
|
-
|
|
54667
|
+
continue;
|
|
54671
54668
|
}
|
|
54672
54669
|
const templateSource = child.findDirectExpression(Expressions.StringTemplateSource);
|
|
54673
54670
|
const formatting = (_a = templateSource === null || templateSource === void 0 ? void 0 : templateSource.findDirectExpression(Expressions.StringTemplateFormatting)) === null || _a === void 0 ? void 0 : _a.concatTokens();
|
|
@@ -71013,7 +71010,9 @@ module.exports = toXml;
|
|
|
71013
71010
|
/*!*********************************************************************!*\
|
|
71014
71011
|
!*** ./node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js ***!
|
|
71015
71012
|
\*********************************************************************/
|
|
71016
|
-
/***/ ((module) => {
|
|
71013
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
71014
|
+
|
|
71015
|
+
const util = __webpack_require__(/*! ../util */ "./node_modules/fast-xml-parser/src/util.js");
|
|
71017
71016
|
|
|
71018
71017
|
//TODO: handle comments
|
|
71019
71018
|
function readDocType(xmlData, i){
|
|
@@ -71157,20 +71156,16 @@ function isNotation(xmlData, i){
|
|
|
71157
71156
|
return false
|
|
71158
71157
|
}
|
|
71159
71158
|
|
|
71160
|
-
//an entity name should not contains special characters that may be used in regex
|
|
71161
|
-
//Eg !?\\\/[]$%{}^&*()<>
|
|
71162
|
-
const specialChar = "!?\\\/[]$%{}^&*()<>|+";
|
|
71163
|
-
|
|
71164
71159
|
function validateEntityName(name){
|
|
71165
|
-
|
|
71166
|
-
|
|
71167
|
-
|
|
71168
|
-
|
|
71169
|
-
return name;
|
|
71160
|
+
if (util.isName(name))
|
|
71161
|
+
return name;
|
|
71162
|
+
else
|
|
71163
|
+
throw new Error(`Invalid entity name ${name}`);
|
|
71170
71164
|
}
|
|
71171
71165
|
|
|
71172
71166
|
module.exports = readDocType;
|
|
71173
71167
|
|
|
71168
|
+
|
|
71174
71169
|
/***/ }),
|
|
71175
71170
|
|
|
71176
71171
|
/***/ "./node_modules/fast-xml-parser/src/xmlparser/OptionsBuilder.js":
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abaplint/cli",
|
|
3
|
-
"version": "2.101.
|
|
3
|
+
"version": "2.101.26",
|
|
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.101.
|
|
41
|
+
"@abaplint/core": "^2.101.26",
|
|
42
42
|
"@types/chai": "^4.3.5",
|
|
43
43
|
"@types/glob": "^7.2.0",
|
|
44
44
|
"@types/minimist": "^1.2.2",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"eslint": "^8.43.0",
|
|
51
51
|
"glob": "^7.2.3",
|
|
52
52
|
"json5": "^2.2.3",
|
|
53
|
-
"memfs": "^
|
|
53
|
+
"memfs": "^4.2.0",
|
|
54
54
|
"minimist": "^1.2.8",
|
|
55
55
|
"mocha": "^10.2.0",
|
|
56
56
|
"progress": "^2.0.3",
|