@abaplint/cli 2.102.60 → 2.102.61
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 +4 -2
- package/package.json +4 -4
package/build/cli.js
CHANGED
|
@@ -50095,7 +50095,7 @@ class Registry {
|
|
|
50095
50095
|
}
|
|
50096
50096
|
static abaplintVersion() {
|
|
50097
50097
|
// magic, see build script "version.sh"
|
|
50098
|
-
return "2.102.
|
|
50098
|
+
return "2.102.61";
|
|
50099
50099
|
}
|
|
50100
50100
|
getDDICReferences() {
|
|
50101
50101
|
return this.ddicReferences;
|
|
@@ -52659,7 +52659,7 @@ class CheckSubrc extends _abap_rule_1.ABAPRule {
|
|
|
52659
52659
|
|
|
52660
52660
|
If sy-dbcnt is checked after database statements, it is considered okay.
|
|
52661
52661
|
|
|
52662
|
-
"SELECT SINGLE @abap_true FROM " is considered as an existence check
|
|
52662
|
+
"SELECT SINGLE @abap_true FROM " is considered as an existence check, also "SELECT COUNT( * )" is considered okay
|
|
52663
52663
|
|
|
52664
52664
|
If IS ASSIGNED is checked after assigning, it is considered okay.
|
|
52665
52665
|
|
|
@@ -52710,6 +52710,8 @@ FIND statement with MATCH COUNT is considered okay if subrc is not checked`,
|
|
|
52710
52710
|
else if (config.selectTable === true
|
|
52711
52711
|
&& statement.get() instanceof Statements.Select
|
|
52712
52712
|
&& statement.concatTokens().toUpperCase().startsWith("SELECT SINGLE ") === false
|
|
52713
|
+
&& statement.concatTokens().toUpperCase().startsWith("SELECT COUNT( * ) ") === false
|
|
52714
|
+
&& statement.concatTokens().toUpperCase().startsWith("SELECT COUNT(*) ") === false
|
|
52713
52715
|
&& this.isChecked(i, statements) === false
|
|
52714
52716
|
&& this.checksDbcnt(i, statements) === false) {
|
|
52715
52717
|
issues.push(issue_1.Issue.atStatement(file, statement, message, this.getMetadata().key, this.conf.severity));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abaplint/cli",
|
|
3
|
-
"version": "2.102.
|
|
3
|
+
"version": "2.102.61",
|
|
4
4
|
"description": "abaplint - Command Line Interface",
|
|
5
5
|
"funding": "https://github.com/sponsors/larshp",
|
|
6
6
|
"bin": {
|
|
@@ -38,16 +38,16 @@
|
|
|
38
38
|
},
|
|
39
39
|
"homepage": "https://abaplint.org",
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@abaplint/core": "^2.102.
|
|
41
|
+
"@abaplint/core": "^2.102.61",
|
|
42
42
|
"@types/chai": "^4.3.9",
|
|
43
43
|
"@types/glob": "^7.2.0",
|
|
44
44
|
"@types/minimist": "^1.2.4",
|
|
45
45
|
"@types/mocha": "^10.0.3",
|
|
46
|
-
"@types/node": "^20.8.
|
|
46
|
+
"@types/node": "^20.8.8",
|
|
47
47
|
"@types/progress": "^2.0.6",
|
|
48
48
|
"chai": "^4.3.10",
|
|
49
49
|
"chalk": "^5.3.0",
|
|
50
|
-
"eslint": "^8.
|
|
50
|
+
"eslint": "^8.52.0",
|
|
51
51
|
"glob": "^7.2.3",
|
|
52
52
|
"json5": "^2.2.3",
|
|
53
53
|
"memfs": "^4.6.0",
|