@abaplint/core 2.101.31 → 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
|
@@ -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",
|