@abaplint/cli 2.120.93 → 2.120.95
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 +23 -7
- package/package.json +2 -2
package/build/cli.js
CHANGED
|
@@ -8782,7 +8782,7 @@ class SQLFromSource extends combi_1.Expression {
|
|
|
8782
8782
|
const privileged = (0, combi_1.ver)(version_1.Release.v752, (0, combi_1.seq)("WITH", _1.SQLPrivilegedAccess));
|
|
8783
8783
|
const providedBy = (0, combi_1.optPrio)((0, combi_1.ver)(version_1.Release.v796, _1.SQLProvidedBy));
|
|
8784
8784
|
const exposeClient = (0, combi_1.optPrio)((0, combi_1.ver)(version_1.Release.v913, _1.SQLExposeClientAs));
|
|
8785
|
-
const pathForEntity = (0, combi_1.optPrio)((0, combi_1.verNotLang)(version_1.LanguageVersion.KeyUser, new sql_path_for_entity_1.SQLPathForEntity()));
|
|
8785
|
+
const pathForEntity = (0, combi_1.optPrio)((0, combi_1.verNotLang)(version_1.LanguageVersion.KeyUser, new sql_path_for_entity_1.SQLPathForEntity(false)));
|
|
8786
8786
|
return (0, combi_1.seq)((0, combi_1.altPrio)(new sql_hierarchy_aggregate_1.SQLHierarchyAggregate(), new sql_hierarchy_accessor_1.SQLHierarchyAccessor(), new sql_hierarchy_source_1.SQLHierarchySource(), (0, combi_1.seq)(with_name_1.WithName, pathForEntity), (0, combi_1.seq)(new _1.DatabaseTable(true), (0, combi_1.optPrio)(_1.SQLCDSParameters), pathForEntity), tab), providedBy, (0, combi_1.optPrio)(privileged), (0, combi_1.optPrio)(aas), exposeClient);
|
|
8787
8787
|
}
|
|
8788
8788
|
}
|
|
@@ -9928,9 +9928,19 @@ const database_table_1 = __webpack_require__(/*! ./database_table */ "../core/bu
|
|
|
9928
9928
|
const sql_cte_path_prefix_1 = __webpack_require__(/*! ./sql_cte_path_prefix */ "../core/build/src/abap/2_statements/expressions/sql_cte_path_prefix.js");
|
|
9929
9929
|
const version_1 = __webpack_require__(/*! ../../../version */ "../core/build/src/version.js");
|
|
9930
9930
|
class SQLPathForEntity extends combi_1.Expression {
|
|
9931
|
+
/** withPrefix = false when the entity name is already parsed by the caller, eg. in SQLFromSource,
|
|
9932
|
+
* otherwise the prefix would match a following keyword */
|
|
9933
|
+
constructor(withPrefix = true) {
|
|
9934
|
+
super();
|
|
9935
|
+
this.withPrefix = withPrefix;
|
|
9936
|
+
}
|
|
9931
9937
|
getRunnable() {
|
|
9938
|
+
const segments = (0, combi_1.plus)(new sql_path_segment_1.SQLPathSegment());
|
|
9939
|
+
if (this.withPrefix === false) {
|
|
9940
|
+
return (0, combi_1.ver)(version_1.Release.v740sp05, segments);
|
|
9941
|
+
}
|
|
9932
9942
|
const prefix = (0, combi_1.altPrio)(new sql_cte_path_prefix_1.SQLCTEPathPrefix(), new database_table_1.DatabaseTable());
|
|
9933
|
-
return (0, combi_1.ver)(version_1.Release.v740sp05, (0, combi_1.seq)((0, combi_1.optPrio)(prefix),
|
|
9943
|
+
return (0, combi_1.ver)(version_1.Release.v740sp05, (0, combi_1.seq)((0, combi_1.optPrio)(prefix), segments));
|
|
9934
9944
|
}
|
|
9935
9945
|
}
|
|
9936
9946
|
exports.SQLPathForEntity = SQLPathForEntity;
|
|
@@ -11018,7 +11028,7 @@ const _derived_types_1 = __webpack_require__(/*! ./_derived_types */ "../core/bu
|
|
|
11018
11028
|
class TypeStructure extends combi_1.Expression {
|
|
11019
11029
|
getRunnable() {
|
|
11020
11030
|
const entity = (0, combi_1.alt)(_1.TypeName, _1.EntityAssociation);
|
|
11021
|
-
const derivedTypes = (0, _derived_types_1.derivedTypesAlt)((0, combi_1.ver)(version_1.Release.v779, (0, combi_1.seq)("FUNCTION REQUEST", entity), { also: combi_1.AlsoIn.OpenABAP }), (0, combi_1.ver)(version_1.Release.v779, (0, combi_1.seq)("ACTION REQUEST", entity), { also: combi_1.AlsoIn.OpenABAP }), (0, combi_1.seq)("ACTION IMPORT", _1.Source), (0, combi_1.ver)(version_1.Release.v781, (0, combi_1.seq)("GLOBAL AUTHORIZATION REQUEST", entity), { also: combi_1.AlsoIn.OpenABAP }), (0, combi_1.ver)(version_1.Release.v781, (0, combi_1.seq)("GLOBAL AUTHORIZATION RESULT", entity), { also: combi_1.AlsoIn.OpenABAP }), (0, combi_1.ver)(version_1.Release.v781, (0, combi_1.seq)("GLOBAL FEATURES REQUEST", entity), { also: combi_1.AlsoIn.OpenABAP }), (0, combi_1.ver)(version_1.Release.v781, (0, combi_1.seq)("GLOBAL FEATURES RESULT", entity), { also: combi_1.AlsoIn.OpenABAP }), (0, combi_1.ver)(version_1.Release.v780, (0, combi_1.seq)("AUTHORIZATION REQUEST", entity), { also: combi_1.AlsoIn.OpenABAP }), (0, combi_1.ver)(version_1.Release.v776, (0, combi_1.seq)("FEATURES REQUEST", entity), { also: combi_1.AlsoIn.OpenABAP }), (0, combi_1.seq)("PERMISSIONS REQUEST",
|
|
11031
|
+
const derivedTypes = (0, _derived_types_1.derivedTypesAlt)((0, combi_1.ver)(version_1.Release.v779, (0, combi_1.seq)("FUNCTION REQUEST", entity), { also: combi_1.AlsoIn.OpenABAP }), (0, combi_1.ver)(version_1.Release.v779, (0, combi_1.seq)("ACTION REQUEST", entity), { also: combi_1.AlsoIn.OpenABAP }), (0, combi_1.seq)("ACTION IMPORT", _1.Source), (0, combi_1.ver)(version_1.Release.v781, (0, combi_1.seq)("GLOBAL AUTHORIZATION REQUEST", entity), { also: combi_1.AlsoIn.OpenABAP }), (0, combi_1.ver)(version_1.Release.v781, (0, combi_1.seq)("GLOBAL AUTHORIZATION RESULT", entity), { also: combi_1.AlsoIn.OpenABAP }), (0, combi_1.ver)(version_1.Release.v781, (0, combi_1.seq)("GLOBAL FEATURES REQUEST", entity), { also: combi_1.AlsoIn.OpenABAP }), (0, combi_1.ver)(version_1.Release.v781, (0, combi_1.seq)("GLOBAL FEATURES RESULT", entity), { also: combi_1.AlsoIn.OpenABAP }), (0, combi_1.ver)(version_1.Release.v780, (0, combi_1.seq)("AUTHORIZATION REQUEST", entity), { also: combi_1.AlsoIn.OpenABAP }), (0, combi_1.ver)(version_1.Release.v776, (0, combi_1.seq)("FEATURES REQUEST", entity), { also: combi_1.AlsoIn.OpenABAP }), (0, combi_1.seq)("PERMISSIONS REQUEST", entity), (0, combi_1.ver)(version_1.Release.v780, (0, combi_1.seq)("PERMISSIONS RESULT", entity), { also: combi_1.AlsoIn.OpenABAP }), (0, combi_1.seq)("READ LINK", _1.EntityAssociation), (0, combi_1.seq)("HIERARCHY", _1.NamespaceSimpleName), (0, combi_1.seq)("EVENT", _1.EventName));
|
|
11022
11032
|
const structure = (0, combi_1.ver)(version_1.Release.v774, (0, combi_1.seq)("STRUCTURE FOR", derivedTypes), { also: combi_1.AlsoIn.OpenABAP });
|
|
11023
11033
|
const response = (0, combi_1.ver)(version_1.Release.v776, (0, combi_1.seq)("RESPONSE FOR", (0, combi_1.altPrio)((0, combi_1.seq)("FAILED EARLY", _1.NamespaceSimpleName), (0, combi_1.seq)("FAILED LATE", _1.NamespaceSimpleName), (0, combi_1.seq)("FAILED", _1.NamespaceSimpleName), (0, combi_1.seq)("MAPPED EARLY", _1.NamespaceSimpleName), (0, combi_1.seq)("MAPPED LATE", _1.NamespaceSimpleName), (0, combi_1.seq)("MAPPED", _1.NamespaceSimpleName), (0, combi_1.seq)("REPORTED EARLY", _1.NamespaceSimpleName), (0, combi_1.seq)("REPORTED LATE", _1.NamespaceSimpleName), (0, combi_1.seq)("REPORTED", _1.NamespaceSimpleName))), { also: combi_1.AlsoIn.OpenABAP });
|
|
11024
11034
|
const request = (0, combi_1.ver)(version_1.Release.v778, (0, combi_1.seq)("REQUEST FOR", (0, combi_1.alt)("CHANGE", "DELETE"), _1.NamespaceSimpleName), { also: combi_1.AlsoIn.OpenABAP });
|
|
@@ -15547,9 +15557,13 @@ const expressions_1 = __webpack_require__(/*! ../expressions */ "../core/build/s
|
|
|
15547
15557
|
const version_1 = __webpack_require__(/*! ../../../version */ "../core/build/src/version.js");
|
|
15548
15558
|
class GetPermissions {
|
|
15549
15559
|
getMatcher() {
|
|
15550
|
-
const
|
|
15551
|
-
const
|
|
15552
|
-
const
|
|
15560
|
+
const aspect = (0, combi_1.altPrio)("FEATURES", "AUTHORIZATION");
|
|
15561
|
+
const only = (0, combi_1.seq)("ONLY", (0, combi_1.altPrio)((0, combi_1.seq)("GLOBAL", (0, combi_1.optPrio)(aspect)), (0, combi_1.seq)("INSTANCE", (0, combi_1.optPrio)(aspect)), aspect, expressions_1.Dynamic));
|
|
15562
|
+
const query = (0, combi_1.seq)("ENTITY", (0, combi_1.alt)(expressions_1.NamespaceSimpleName, expressions_1.EntityAssociation), (0, combi_1.optPrio)((0, combi_1.seq)("FROM", expressions_1.Source)), "REQUEST", expressions_1.Source, "RESULT", expressions_1.Target);
|
|
15563
|
+
const long = (0, combi_1.seq)("OF", expressions_1.NamespaceSimpleName, (0, combi_1.plus)(query));
|
|
15564
|
+
const operations = (0, combi_1.seq)("OPERATIONS", expressions_1.Source);
|
|
15565
|
+
const response = (0, combi_1.optPrio)((0, combi_1.per)((0, combi_1.seq)("FAILED", expressions_1.Target), (0, combi_1.seq)("REPORTED", expressions_1.Target)));
|
|
15566
|
+
const s = (0, combi_1.seq)("GET PERMISSIONS", (0, combi_1.optPrio)((0, combi_1.seq)((0, combi_1.opt)("FORWARDING"), "PRIVILEGED")), (0, combi_1.optPrio)(only), (0, combi_1.altPrio)(long, operations, query), response);
|
|
15553
15567
|
return (0, combi_1.ver)(version_1.Release.v754, s, { also: combi_1.AlsoIn.OpenABAP });
|
|
15554
15568
|
}
|
|
15555
15569
|
}
|
|
@@ -55861,6 +55875,8 @@ class MethodParameters {
|
|
|
55861
55875
|
|| concat.includes(" FOR FEATURES ")
|
|
55862
55876
|
|| concat.includes(" FOR INSTANCE FEATURES ")
|
|
55863
55877
|
|| concat.includes(" FOR GLOBAL AUTHORIZATION ")
|
|
55878
|
+
|| concat.includes(" FOR INSTANCE AUTHORIZATION ")
|
|
55879
|
+
|| concat.includes(" FOR AUTHORIZATION ")
|
|
55864
55880
|
|| concat.includes(" FOR PRECHECK ")
|
|
55865
55881
|
|| concat.includes(" FOR NUMBERING ")
|
|
55866
55882
|
|| concat.includes(" FOR READ ")
|
|
@@ -73079,7 +73095,7 @@ class Registry {
|
|
|
73079
73095
|
}
|
|
73080
73096
|
static abaplintVersion() {
|
|
73081
73097
|
// magic, see build script "version.js"
|
|
73082
|
-
return "2.120.
|
|
73098
|
+
return "2.120.95";
|
|
73083
73099
|
}
|
|
73084
73100
|
getDDICReferences() {
|
|
73085
73101
|
return this.ddicReferences;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abaplint/cli",
|
|
3
|
-
"version": "2.120.
|
|
3
|
+
"version": "2.120.95",
|
|
4
4
|
"description": "abaplint - Command Line Interface",
|
|
5
5
|
"funding": "https://github.com/sponsors/larshp",
|
|
6
6
|
"bin": {
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
},
|
|
40
40
|
"homepage": "https://abaplint.org",
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"@abaplint/core": "^2.120.
|
|
42
|
+
"@abaplint/core": "^2.120.95",
|
|
43
43
|
"@types/chai": "^4.3.20",
|
|
44
44
|
"@types/minimist": "^1.2.5",
|
|
45
45
|
"@types/mocha": "^10.0.10",
|