@abaplint/cli 2.101.30 → 2.101.32
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 -4
- package/package.json +3 -3
package/build/cli.js
CHANGED
|
@@ -48465,7 +48465,7 @@ class Registry {
|
|
|
48465
48465
|
}
|
|
48466
48466
|
static abaplintVersion() {
|
|
48467
48467
|
// magic, see build script "version.sh"
|
|
48468
|
-
return "2.101.
|
|
48468
|
+
return "2.101.32";
|
|
48469
48469
|
}
|
|
48470
48470
|
getDDICReferences() {
|
|
48471
48471
|
return this.ddicReferences;
|
|
@@ -57105,7 +57105,9 @@ class FunctionModuleRecommendationsConf extends _basic_rule_config_1.BasicRuleCo
|
|
|
57105
57105
|
constructor() {
|
|
57106
57106
|
super(...arguments);
|
|
57107
57107
|
/** Tuple of Function Module Name to be replaced, the recommended alternative and
|
|
57108
|
-
* the version from which the recommendation is valid
|
|
57108
|
+
* the version from which the recommendation is valid.
|
|
57109
|
+
* @uniqueItems true
|
|
57110
|
+
*/
|
|
57109
57111
|
this.recommendations = [
|
|
57110
57112
|
{ name: "CALCULATE_HASH_FOR_RAW", replace: "use CL_ABAP_HMAC or CL_ABAP_MESSAGE_DIGEST" },
|
|
57111
57113
|
{ name: "ECATT_CONV_XSTRING_TO_STRING", replace: "use CL_BINARY_CONVERT" },
|
|
@@ -57116,7 +57118,7 @@ class FunctionModuleRecommendationsConf extends _basic_rule_config_1.BasicRuleCo
|
|
|
57116
57118
|
{ name: "GUID_CREATE", replace: "use CL_SYSTEM_UUID" },
|
|
57117
57119
|
{ name: "IGN_TIMESTAMP_DIFFERENCE", replace: "use CL_ABAP_TSTMP" },
|
|
57118
57120
|
{ name: "IGN_TIMESTAMP_PLUSMINUS", replace: "use CL_ABAP_TSTMP" },
|
|
57119
|
-
{ name: "
|
|
57121
|
+
{ name: "ISM_SD_GET_PRICING_CONDITIONS", replace: "use CL_PRC_RESULT_FACTORY as per note 2220005" },
|
|
57120
57122
|
{ name: "JOB_CREATE", replace: "use CL_BP_ABAP_JOB" },
|
|
57121
57123
|
{ name: "JOB_SUBMIT", replace: "use CL_BP_ABAP_JOB" },
|
|
57122
57124
|
{ name: "POPUP_TO_CONFIRM_STEP", replace: "use POPUP_TO_CONFIRM" },
|
|
@@ -64874,7 +64876,9 @@ class SelectSingleFullKey {
|
|
|
64874
64876
|
key: "select_single_full_key",
|
|
64875
64877
|
title: "Detect SELECT SINGLE which are possibily not unique",
|
|
64876
64878
|
shortDescription: `Detect SELECT SINGLE which are possibily not unique`,
|
|
64877
|
-
extendedInformation: `Table definitions must be known, ie. inside the errorNamespace
|
|
64879
|
+
extendedInformation: `Table definitions must be known, ie. inside the errorNamespace
|
|
64880
|
+
|
|
64881
|
+
If the statement contains a JOIN it is not checked`,
|
|
64878
64882
|
pseudoComment: "EC CI_NOORDER",
|
|
64879
64883
|
tags: [],
|
|
64880
64884
|
};
|
|
@@ -64915,6 +64919,9 @@ class SelectSingleFullKey {
|
|
|
64915
64919
|
if (!(s.get() instanceof __1.Statements.Select)) {
|
|
64916
64920
|
continue;
|
|
64917
64921
|
}
|
|
64922
|
+
else if (s.findFirstExpression(__1.Expressions.SQLJoin)) {
|
|
64923
|
+
continue;
|
|
64924
|
+
}
|
|
64918
64925
|
else if (s.findTokenSequencePosition("SELECT", "SINGLE") === undefined) {
|
|
64919
64926
|
continue;
|
|
64920
64927
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abaplint/cli",
|
|
3
|
-
"version": "2.101.
|
|
3
|
+
"version": "2.101.32",
|
|
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.101.
|
|
41
|
+
"@abaplint/core": "^2.101.32",
|
|
42
42
|
"@types/chai": "^4.3.5",
|
|
43
43
|
"@types/glob": "^7.2.0",
|
|
44
44
|
"@types/minimist": "^1.2.2",
|
|
45
45
|
"@types/mocha": "^10.0.1",
|
|
46
|
-
"@types/node": "^20.
|
|
46
|
+
"@types/node": "^20.4.0",
|
|
47
47
|
"@types/progress": "^2.0.5",
|
|
48
48
|
"chai": "^4.3.7",
|
|
49
49
|
"chalk": "^5.3.0",
|