@abaplint/cli 2.113.42 → 2.113.44
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 +32 -8
- package/package.json +2 -2
package/build/cli.js
CHANGED
|
@@ -5942,12 +5942,13 @@ __exportStar(__webpack_require__(/*! ./sql_field_list_loop */ "./node_modules/@a
|
|
|
5942
5942
|
__exportStar(__webpack_require__(/*! ./sql_field_list */ "./node_modules/@abaplint/core/build/src/abap/2_statements/expressions/sql_field_list.js"), exports);
|
|
5943
5943
|
__exportStar(__webpack_require__(/*! ./sql_field_name */ "./node_modules/@abaplint/core/build/src/abap/2_statements/expressions/sql_field_name.js"), exports);
|
|
5944
5944
|
__exportStar(__webpack_require__(/*! ./sql_field */ "./node_modules/@abaplint/core/build/src/abap/2_statements/expressions/sql_field.js"), exports);
|
|
5945
|
+
__exportStar(__webpack_require__(/*! ./sql_fields_loop */ "./node_modules/@abaplint/core/build/src/abap/2_statements/expressions/sql_fields_loop.js"), exports);
|
|
5945
5946
|
__exportStar(__webpack_require__(/*! ./sql_fields */ "./node_modules/@abaplint/core/build/src/abap/2_statements/expressions/sql_fields.js"), exports);
|
|
5946
5947
|
__exportStar(__webpack_require__(/*! ./sql_for_all_entries */ "./node_modules/@abaplint/core/build/src/abap/2_statements/expressions/sql_for_all_entries.js"), exports);
|
|
5947
5948
|
__exportStar(__webpack_require__(/*! ./sql_from_source */ "./node_modules/@abaplint/core/build/src/abap/2_statements/expressions/sql_from_source.js"), exports);
|
|
5948
5949
|
__exportStar(__webpack_require__(/*! ./sql_from */ "./node_modules/@abaplint/core/build/src/abap/2_statements/expressions/sql_from.js"), exports);
|
|
5949
|
-
__exportStar(__webpack_require__(/*! ./sql_function */ "./node_modules/@abaplint/core/build/src/abap/2_statements/expressions/sql_function.js"), exports);
|
|
5950
5950
|
__exportStar(__webpack_require__(/*! ./sql_function_input */ "./node_modules/@abaplint/core/build/src/abap/2_statements/expressions/sql_function_input.js"), exports);
|
|
5951
|
+
__exportStar(__webpack_require__(/*! ./sql_function */ "./node_modules/@abaplint/core/build/src/abap/2_statements/expressions/sql_function.js"), exports);
|
|
5951
5952
|
__exportStar(__webpack_require__(/*! ./sql_group_by */ "./node_modules/@abaplint/core/build/src/abap/2_statements/expressions/sql_group_by.js"), exports);
|
|
5952
5953
|
__exportStar(__webpack_require__(/*! ./sql_having */ "./node_modules/@abaplint/core/build/src/abap/2_statements/expressions/sql_having.js"), exports);
|
|
5953
5954
|
__exportStar(__webpack_require__(/*! ./sql_hints */ "./node_modules/@abaplint/core/build/src/abap/2_statements/expressions/sql_hints.js"), exports);
|
|
@@ -7502,6 +7503,7 @@ const sql_hints_1 = __webpack_require__(/*! ./sql_hints */ "./node_modules/@abap
|
|
|
7502
7503
|
const sql_field_list_loop_1 = __webpack_require__(/*! ./sql_field_list_loop */ "./node_modules/@abaplint/core/build/src/abap/2_statements/expressions/sql_field_list_loop.js");
|
|
7503
7504
|
const sql_up_to_1 = __webpack_require__(/*! ./sql_up_to */ "./node_modules/@abaplint/core/build/src/abap/2_statements/expressions/sql_up_to.js");
|
|
7504
7505
|
const version_1 = __webpack_require__(/*! ../../../version */ "./node_modules/@abaplint/core/build/src/version.js");
|
|
7506
|
+
const sql_fields_loop_1 = __webpack_require__(/*! ./sql_fields_loop */ "./node_modules/@abaplint/core/build/src/abap/2_statements/expressions/sql_fields_loop.js");
|
|
7505
7507
|
// note: SELECT loops are matched before single statement SELECTs
|
|
7506
7508
|
class SelectLoop extends combi_1.Expression {
|
|
7507
7509
|
getRunnable() {
|
|
@@ -7512,7 +7514,7 @@ class SelectLoop extends combi_1.Expression {
|
|
|
7512
7514
|
const packTab = (0, combi_1.seq)(pack, _1.SQLIntoTable);
|
|
7513
7515
|
const into = (0, combi_1.altPrio)(sql_into_structure_1.SQLIntoStructure, _1.SQLIntoList);
|
|
7514
7516
|
const perm = (0, combi_1.per)(_1.SQLFrom, where, sql_up_to_1.SQLUpTo, sql_order_by_1.SQLOrderBy, sql_having_1.SQLHaving, _1.SQLClient, bypass, _1.SQLGroupBy, _1.SQLForAllEntries, (0, combi_1.alt)(tab, into, packTab));
|
|
7515
|
-
const strict = (0, combi_1.seq)(_1.SQLFrom, (0, combi_1.ver)(version_1.Version.v750,
|
|
7517
|
+
const strict = (0, combi_1.seq)(_1.SQLFrom, (0, combi_1.ver)(version_1.Version.v750, sql_fields_loop_1.SQLFieldsLoop), (0, combi_1.optPrio)((0, combi_1.seq)(where, (0, combi_1.optPrio)(sql_order_by_1.SQLOrderBy), into, (0, combi_1.optPrio)(sql_up_to_1.SQLUpTo))));
|
|
7516
7518
|
const ret = (0, combi_1.seq)("SELECT", (0, combi_1.altPrio)((0, combi_1.seq)((0, combi_1.optPrio)("DISTINCT"), sql_field_list_loop_1.SQLFieldListLoop, perm), strict), (0, combi_1.optPrio)(sql_hints_1.SQLHints));
|
|
7517
7519
|
return ret;
|
|
7518
7520
|
}
|
|
@@ -8298,6 +8300,28 @@ exports.SQLFields = SQLFields;
|
|
|
8298
8300
|
|
|
8299
8301
|
/***/ }),
|
|
8300
8302
|
|
|
8303
|
+
/***/ "./node_modules/@abaplint/core/build/src/abap/2_statements/expressions/sql_fields_loop.js":
|
|
8304
|
+
/*!************************************************************************************************!*\
|
|
8305
|
+
!*** ./node_modules/@abaplint/core/build/src/abap/2_statements/expressions/sql_fields_loop.js ***!
|
|
8306
|
+
\************************************************************************************************/
|
|
8307
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
8308
|
+
|
|
8309
|
+
"use strict";
|
|
8310
|
+
|
|
8311
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
8312
|
+
exports.SQLFieldsLoop = void 0;
|
|
8313
|
+
const combi_1 = __webpack_require__(/*! ../combi */ "./node_modules/@abaplint/core/build/src/abap/2_statements/combi.js");
|
|
8314
|
+
const _1 = __webpack_require__(/*! . */ "./node_modules/@abaplint/core/build/src/abap/2_statements/expressions/index.js");
|
|
8315
|
+
class SQLFieldsLoop extends combi_1.Expression {
|
|
8316
|
+
getRunnable() {
|
|
8317
|
+
return (0, combi_1.seq)("FIELDS", (0, combi_1.opt)("DISTINCT"), _1.SQLFieldListLoop);
|
|
8318
|
+
}
|
|
8319
|
+
}
|
|
8320
|
+
exports.SQLFieldsLoop = SQLFieldsLoop;
|
|
8321
|
+
//# sourceMappingURL=sql_fields_loop.js.map
|
|
8322
|
+
|
|
8323
|
+
/***/ }),
|
|
8324
|
+
|
|
8301
8325
|
/***/ "./node_modules/@abaplint/core/build/src/abap/2_statements/expressions/sql_for_all_entries.js":
|
|
8302
8326
|
/*!****************************************************************************************************!*\
|
|
8303
8327
|
!*** ./node_modules/@abaplint/core/build/src/abap/2_statements/expressions/sql_for_all_entries.js ***!
|
|
@@ -40397,13 +40421,13 @@ const combi_1 = __webpack_require__(/*! ../../abap/2_statements/combi */ "./node
|
|
|
40397
40421
|
const cds_integer_1 = __webpack_require__(/*! ./cds_integer */ "./node_modules/@abaplint/core/build/src/cds/expressions/cds_integer.js");
|
|
40398
40422
|
class CDSCondition extends combi_1.Expression {
|
|
40399
40423
|
getRunnable() {
|
|
40400
|
-
const name = (0, combi_1.seq)(_1.CDSName, (0, combi_1.
|
|
40424
|
+
const name = (0, combi_1.seq)(_1.CDSName, (0, combi_1.optPrio)((0, combi_1.seq)(".", (0, combi_1.alt)(_1.CDSName, _1.CDSString))));
|
|
40401
40425
|
const left = (0, combi_1.alt)(name, _1.CDSFunction, _1.CDSString);
|
|
40402
40426
|
const compare = (0, combi_1.seq)(left, (0, combi_1.alt)("=", (0, combi_1.seq)("!", "="), (0, combi_1.seq)("<", ">"), "<", ">", (0, combi_1.seq)(">", "="), (0, combi_1.seq)("<", "="), "LIKE", "NOT LIKE"), (0, combi_1.alt)(left, cds_integer_1.CDSInteger, _1.CDSFunction, _1.CDSString));
|
|
40403
40427
|
const is = (0, combi_1.seq)(left, "IS", (0, combi_1.optPrio)("NOT"), (0, combi_1.altPrio)("INITIAL", "NULL"));
|
|
40404
40428
|
const condition = (0, combi_1.seq)((0, combi_1.optPrio)("NOT"), (0, combi_1.alt)(compare, is));
|
|
40405
40429
|
const paren = (0, combi_1.seq)("(", CDSCondition, ")");
|
|
40406
|
-
return (0, combi_1.seq)((0, combi_1.alt)(condition, paren), (0, combi_1.
|
|
40430
|
+
return (0, combi_1.seq)((0, combi_1.alt)(condition, paren), (0, combi_1.starPrio)((0, combi_1.seq)((0, combi_1.altPrio)("AND", "OR"), (0, combi_1.altPrio)(condition, paren))));
|
|
40407
40431
|
}
|
|
40408
40432
|
}
|
|
40409
40433
|
exports.CDSCondition = CDSCondition;
|
|
@@ -40856,10 +40880,10 @@ const cds_association_1 = __webpack_require__(/*! ./cds_association */ "./node_m
|
|
|
40856
40880
|
const cds_join_1 = __webpack_require__(/*! ./cds_join */ "./node_modules/@abaplint/core/build/src/cds/expressions/cds_join.js");
|
|
40857
40881
|
class CDSSelect extends combi_1.Expression {
|
|
40858
40882
|
getRunnable() {
|
|
40859
|
-
const fields = (0, combi_1.
|
|
40883
|
+
const fields = (0, combi_1.seq)((0, combi_1.star)((0, combi_1.seq)(_1.CDSElement, ",")), _1.CDSElement);
|
|
40860
40884
|
const distinct = (0, combi_1.str)("DISTINCT");
|
|
40861
|
-
const elements = (0, combi_1.seq)((0, combi_1.str)("{"),
|
|
40862
|
-
return (0, combi_1.seq)("SELECT", (0, combi_1.
|
|
40885
|
+
const elements = (0, combi_1.seq)((0, combi_1.str)("{"), _1.CDSElement, (0, combi_1.starPrio)((0, combi_1.seq)(",", _1.CDSElement)), (0, combi_1.str)("}"));
|
|
40886
|
+
return (0, combi_1.seq)("SELECT", (0, combi_1.optPrio)(distinct), (0, combi_1.opt)(fields), "FROM", _1.CDSSource, (0, combi_1.star)(cds_join_1.CDSJoin), (0, combi_1.star)(_1.CDSComposition), (0, combi_1.star)(cds_association_1.CDSAssociation), (0, combi_1.star)(_1.CDSComposition), (0, combi_1.opt)(elements), (0, combi_1.optPrio)(_1.CDSWhere), (0, combi_1.optPrio)(_1.CDSGroupBy), (0, combi_1.optPrio)(_1.CDSHaving), (0, combi_1.optPrio)((0, combi_1.seq)("UNION", (0, combi_1.optPrio)("ALL"), CDSSelect)));
|
|
40863
40887
|
}
|
|
40864
40888
|
}
|
|
40865
40889
|
exports.CDSSelect = CDSSelect;
|
|
@@ -53035,7 +53059,7 @@ class Registry {
|
|
|
53035
53059
|
}
|
|
53036
53060
|
static abaplintVersion() {
|
|
53037
53061
|
// magic, see build script "version.sh"
|
|
53038
|
-
return "2.113.
|
|
53062
|
+
return "2.113.44";
|
|
53039
53063
|
}
|
|
53040
53064
|
getDDICReferences() {
|
|
53041
53065
|
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.44",
|
|
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.44",
|
|
42
42
|
"@types/chai": "^4.3.20",
|
|
43
43
|
"@types/glob": "^8.1.0",
|
|
44
44
|
"@types/minimist": "^1.2.5",
|