@abaplint/core 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/src/registry.js
CHANGED
|
@@ -10,7 +10,9 @@ class FunctionModuleRecommendationsConf extends _basic_rule_config_1.BasicRuleCo
|
|
|
10
10
|
constructor() {
|
|
11
11
|
super(...arguments);
|
|
12
12
|
/** Tuple of Function Module Name to be replaced, the recommended alternative and
|
|
13
|
-
* the version from which the recommendation is valid
|
|
13
|
+
* the version from which the recommendation is valid.
|
|
14
|
+
* @uniqueItems true
|
|
15
|
+
*/
|
|
14
16
|
this.recommendations = [
|
|
15
17
|
{ name: "CALCULATE_HASH_FOR_RAW", replace: "use CL_ABAP_HMAC or CL_ABAP_MESSAGE_DIGEST" },
|
|
16
18
|
{ name: "ECATT_CONV_XSTRING_TO_STRING", replace: "use CL_BINARY_CONVERT" },
|
|
@@ -21,7 +23,7 @@ class FunctionModuleRecommendationsConf extends _basic_rule_config_1.BasicRuleCo
|
|
|
21
23
|
{ name: "GUID_CREATE", replace: "use CL_SYSTEM_UUID" },
|
|
22
24
|
{ name: "IGN_TIMESTAMP_DIFFERENCE", replace: "use CL_ABAP_TSTMP" },
|
|
23
25
|
{ name: "IGN_TIMESTAMP_PLUSMINUS", replace: "use CL_ABAP_TSTMP" },
|
|
24
|
-
{ name: "
|
|
26
|
+
{ name: "ISM_SD_GET_PRICING_CONDITIONS", replace: "use CL_PRC_RESULT_FACTORY as per note 2220005" },
|
|
25
27
|
{ name: "JOB_CREATE", replace: "use CL_BP_ABAP_JOB" },
|
|
26
28
|
{ name: "JOB_SUBMIT", replace: "use CL_BP_ABAP_JOB" },
|
|
27
29
|
{ name: "POPUP_TO_CONFIRM_STEP", replace: "use POPUP_TO_CONFIRM" },
|
|
@@ -20,7 +20,9 @@ class SelectSingleFullKey {
|
|
|
20
20
|
key: "select_single_full_key",
|
|
21
21
|
title: "Detect SELECT SINGLE which are possibily not unique",
|
|
22
22
|
shortDescription: `Detect SELECT SINGLE which are possibily not unique`,
|
|
23
|
-
extendedInformation: `Table definitions must be known, ie. inside the errorNamespace
|
|
23
|
+
extendedInformation: `Table definitions must be known, ie. inside the errorNamespace
|
|
24
|
+
|
|
25
|
+
If the statement contains a JOIN it is not checked`,
|
|
24
26
|
pseudoComment: "EC CI_NOORDER",
|
|
25
27
|
tags: [],
|
|
26
28
|
};
|
|
@@ -61,6 +63,9 @@ class SelectSingleFullKey {
|
|
|
61
63
|
if (!(s.get() instanceof __1.Statements.Select)) {
|
|
62
64
|
continue;
|
|
63
65
|
}
|
|
66
|
+
else if (s.findFirstExpression(__1.Expressions.SQLJoin)) {
|
|
67
|
+
continue;
|
|
68
|
+
}
|
|
64
69
|
else if (s.findTokenSequencePosition("SELECT", "SINGLE") === undefined) {
|
|
65
70
|
continue;
|
|
66
71
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abaplint/core",
|
|
3
|
-
"version": "2.101.
|
|
3
|
+
"version": "2.101.32",
|
|
4
4
|
"description": "abaplint - Core API",
|
|
5
5
|
"main": "build/src/index.js",
|
|
6
6
|
"typings": "build/abaplint.d.ts",
|
|
@@ -50,10 +50,10 @@
|
|
|
50
50
|
},
|
|
51
51
|
"homepage": "https://abaplint.org",
|
|
52
52
|
"devDependencies": {
|
|
53
|
-
"@microsoft/api-extractor": "^7.36.
|
|
53
|
+
"@microsoft/api-extractor": "^7.36.1",
|
|
54
54
|
"@types/chai": "^4.3.5",
|
|
55
55
|
"@types/mocha": "^10.0.1",
|
|
56
|
-
"@types/node": "^20.
|
|
56
|
+
"@types/node": "^20.4.0",
|
|
57
57
|
"chai": "^4.3.7",
|
|
58
58
|
"eslint": "^8.44.0",
|
|
59
59
|
"mocha": "^10.2.0",
|