@abaplint/cli 2.113.231 → 2.113.232
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 +8 -7
- package/package.json +2 -2
package/build/cli.js
CHANGED
|
@@ -4550,7 +4550,7 @@ const component_chain_simple_1 = __webpack_require__(/*! ./component_chain_simpl
|
|
|
4550
4550
|
const version_1 = __webpack_require__(/*! ../../../version */ "./node_modules/@abaplint/core/build/src/version.js");
|
|
4551
4551
|
class ComponentCompareSimple extends combi_1.Expression {
|
|
4552
4552
|
getRunnable() {
|
|
4553
|
-
const source = (0, combi_1.
|
|
4553
|
+
const source = (0, combi_1.altPrio)((0, combi_1.ver)(version_1.Version.v740sp02, _1.Source, version_1.Version.OpenABAP), _1.SimpleSource4);
|
|
4554
4554
|
const ret = (0, combi_1.seq)((0, combi_1.altPrio)(component_chain_simple_1.ComponentChainSimple, _1.Dynamic), "=", source);
|
|
4555
4555
|
return (0, combi_1.plus)(ret);
|
|
4556
4556
|
}
|
|
@@ -16309,12 +16309,11 @@ class ReadTable {
|
|
|
16309
16309
|
const comparing = (0, combi_1.seq)("COMPARING", (0, combi_1.alt)((0, combi_1.plus)(expressions_1.FieldSub), (0, combi_1.plus)(expressions_1.Dynamic)));
|
|
16310
16310
|
const index = (0, combi_1.seq)("INDEX", expressions_1.Source);
|
|
16311
16311
|
const components = (0, combi_1.seq)((0, combi_1.alt)(expressions_1.Field, expressions_1.Dynamic), "COMPONENTS", expressions_1.ComponentCompareSimple);
|
|
16312
|
-
const
|
|
16313
|
-
const key = (0, combi_1.seq)((0, combi_1.altPrio)("WITH KEY", "WITH TABLE KEY"), (0, combi_1.alt)(expressions_1.ComponentCompareSimple, components, (0, combi_1.seq)((0, combi_1.optPrio)("="), source)));
|
|
16312
|
+
const key = (0, combi_1.seq)((0, combi_1.altPrio)("WITH KEY", "WITH TABLE KEY"), (0, combi_1.alt)(expressions_1.ComponentCompareSimple, components, (0, combi_1.seq)((0, combi_1.optPrio)("="), expressions_1.Source)));
|
|
16314
16313
|
const using = (0, combi_1.seq)("USING KEY", (0, combi_1.alt)(expressions_1.Field, expressions_1.Dynamic));
|
|
16315
|
-
const from = (0, combi_1.seq)("FROM",
|
|
16314
|
+
const from = (0, combi_1.seq)("FROM", expressions_1.Source);
|
|
16316
16315
|
const perm = (0, combi_1.per)((0, combi_1.alt)(index, key, from), expressions_1.ReadTableTarget, using, comparing, "CASTING", (0, combi_1.seq)("TRANSPORTING", (0, combi_1.altPrio)("ALL FIELDS", "NO FIELDS", transporting_fields_1.TransportingFields)), "BINARY SEARCH");
|
|
16317
|
-
return (0, combi_1.seq)("READ TABLE",
|
|
16316
|
+
return (0, combi_1.seq)("READ TABLE", (0, combi_1.alt)(expressions_1.SimpleSource2, (0, combi_1.ver)(version_1.Version.v740sp02, expressions_1.Source, version_1.Version.OpenABAP)), (0, combi_1.opt)(perm));
|
|
16318
16317
|
}
|
|
16319
16318
|
}
|
|
16320
16319
|
exports.ReadTable = ReadTable;
|
|
@@ -25458,7 +25457,9 @@ class ComponentCompareSimple {
|
|
|
25458
25457
|
else if (c.get() instanceof Expressions.Dynamic) {
|
|
25459
25458
|
targetType = undefined;
|
|
25460
25459
|
}
|
|
25461
|
-
else if (c.get() instanceof Expressions.Source
|
|
25460
|
+
else if (c.get() instanceof Expressions.Source
|
|
25461
|
+
|| c.get() instanceof Expressions.SimpleSource4
|
|
25462
|
+
|| c.get() instanceof Expressions.SimpleSource2) {
|
|
25462
25463
|
const sourceType = source_1.Source.runSyntax(c, input, targetType);
|
|
25463
25464
|
if (targetType && new _type_utils_1.TypeUtils(input.scope).isAssignable(sourceType, targetType) === false) {
|
|
25464
25465
|
const message = "ComponentCompareSimple, incompatible types";
|
|
@@ -54736,7 +54737,7 @@ class Registry {
|
|
|
54736
54737
|
}
|
|
54737
54738
|
static abaplintVersion() {
|
|
54738
54739
|
// magic, see build script "version.sh"
|
|
54739
|
-
return "2.113.
|
|
54740
|
+
return "2.113.232";
|
|
54740
54741
|
}
|
|
54741
54742
|
getDDICReferences() {
|
|
54742
54743
|
return this.ddicReferences;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abaplint/cli",
|
|
3
|
-
"version": "2.113.
|
|
3
|
+
"version": "2.113.232",
|
|
4
4
|
"description": "abaplint - Command Line Interface",
|
|
5
5
|
"funding": "https://github.com/sponsors/larshp",
|
|
6
6
|
"bin": {
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
},
|
|
39
39
|
"homepage": "https://abaplint.org",
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@abaplint/core": "^2.113.
|
|
41
|
+
"@abaplint/core": "^2.113.232",
|
|
42
42
|
"@types/chai": "^4.3.20",
|
|
43
43
|
"@types/minimist": "^1.2.5",
|
|
44
44
|
"@types/mocha": "^10.0.10",
|