@abaplint/core 2.95.14 → 2.95.15
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.
|
@@ -6,8 +6,9 @@ const _1 = require(".");
|
|
|
6
6
|
const version_1 = require("../../../version");
|
|
7
7
|
class SQLFieldList extends combi_1.Expression {
|
|
8
8
|
getRunnable() {
|
|
9
|
-
const
|
|
10
|
-
|
|
9
|
+
const nev = (0, combi_1.ver)(version_1.Version.v740sp05, (0, combi_1.starPrio)((0, combi_1.seq)(",", _1.SQLField)));
|
|
10
|
+
const old = (0, combi_1.starPrio)(_1.SQLField);
|
|
11
|
+
return (0, combi_1.altPrio)("*", _1.Dynamic, (0, combi_1.seq)(_1.SQLField, (0, combi_1.alt)(nev, old)));
|
|
11
12
|
}
|
|
12
13
|
}
|
|
13
14
|
exports.SQLFieldList = SQLFieldList;
|
|
@@ -43,10 +43,13 @@ class CreateObject {
|
|
|
43
43
|
if (found instanceof basic_1.VoidType) {
|
|
44
44
|
continue;
|
|
45
45
|
}
|
|
46
|
+
else if (found instanceof basic_1.UnknownType) {
|
|
47
|
+
throw new Error("Target type unknown, " + t.concatTokens());
|
|
48
|
+
}
|
|
46
49
|
else if (!(found instanceof basic_1.ObjectReferenceType)
|
|
47
50
|
&& !(found instanceof basic_1.AnyType)
|
|
48
51
|
&& !(found instanceof basic_1.GenericObjectReferenceType)) {
|
|
49
|
-
throw new Error("Target must be an object reference");
|
|
52
|
+
throw new Error("Target must be an object reference, " + t.concatTokens());
|
|
50
53
|
}
|
|
51
54
|
else if (found instanceof basic_1.GenericObjectReferenceType && type === undefined) {
|
|
52
55
|
throw new Error("Generic type, cannot be instantiated");
|
package/build/src/registry.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abaplint/core",
|
|
3
|
-
"version": "2.95.
|
|
3
|
+
"version": "2.95.15",
|
|
4
4
|
"description": "abaplint - Core API",
|
|
5
5
|
"main": "build/src/index.js",
|
|
6
6
|
"typings": "build/abaplint.d.ts",
|
|
@@ -47,12 +47,12 @@
|
|
|
47
47
|
},
|
|
48
48
|
"homepage": "https://abaplint.org",
|
|
49
49
|
"devDependencies": {
|
|
50
|
-
"@microsoft/api-extractor": "^7.34.
|
|
50
|
+
"@microsoft/api-extractor": "^7.34.4",
|
|
51
51
|
"@types/chai": "^4.3.4",
|
|
52
52
|
"@types/mocha": "^10.0.1",
|
|
53
53
|
"@types/node": "^18.13.0",
|
|
54
54
|
"chai": "^4.3.7",
|
|
55
|
-
"eslint": "^8.
|
|
55
|
+
"eslint": "^8.34.0",
|
|
56
56
|
"mocha": "^10.2.0",
|
|
57
57
|
"c8": "^7.12.0",
|
|
58
58
|
"source-map-support": "^0.5.21",
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"typescript": "^4.9.5"
|
|
61
61
|
},
|
|
62
62
|
"dependencies": {
|
|
63
|
-
"fast-xml-parser": "^4.1.
|
|
63
|
+
"fast-xml-parser": "^4.1.2",
|
|
64
64
|
"json5": "^2.2.3",
|
|
65
65
|
"vscode-languageserver-types": "^3.17.2"
|
|
66
66
|
}
|