@abaplint/transpiler-cli 2.5.70 → 2.5.71
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/bundle.js +6 -3
- package/package.json +4 -4
package/build/bundle.js
CHANGED
|
@@ -6611,9 +6611,10 @@ class SQLFunction extends combi_1.Expression {
|
|
|
6611
6611
|
const lower = (0, combi_1.ver)(version_1.Version.v751, (0, combi_1.seq)("lower", (0, combi_1.tok)(tokens_1.ParenLeftW), param, (0, combi_1.tok)(tokens_1.WParenRightW)));
|
|
6612
6612
|
const mod = (0, combi_1.ver)(version_1.Version.v740sp05, (0, combi_1.seq)("mod", (0, combi_1.tok)(tokens_1.ParenLeftW), param, ",", param, (0, combi_1.tok)(tokens_1.WParenRightW)));
|
|
6613
6613
|
const replace = (0, combi_1.ver)(version_1.Version.v750, (0, combi_1.seq)("replace", (0, combi_1.tok)(tokens_1.ParenLeftW), param, ",", param, ",", param, (0, combi_1.tok)(tokens_1.WParenRightW)));
|
|
6614
|
+
const round = (0, combi_1.ver)(version_1.Version.v750, (0, combi_1.seq)("round", (0, combi_1.tok)(tokens_1.ParenLeftW), param, ",", param, (0, combi_1.tok)(tokens_1.WParenRightW)));
|
|
6614
6615
|
const upper = (0, combi_1.ver)(version_1.Version.v751, (0, combi_1.seq)("upper", (0, combi_1.tok)(tokens_1.ParenLeftW), param, (0, combi_1.tok)(tokens_1.WParenRightW)));
|
|
6615
6616
|
const uuid = (0, combi_1.ver)(version_1.Version.v754, (0, combi_1.seq)("uuid", (0, combi_1.tok)(tokens_1.ParenLeftW), (0, combi_1.tok)(tokens_1.WParenRightW)));
|
|
6616
|
-
return (0, combi_1.altPrio)(uuid, abs, ceil, floor, cast, div, mod, coalesce, concat, replace, length, lower, upper);
|
|
6617
|
+
return (0, combi_1.altPrio)(uuid, abs, ceil, floor, cast, div, mod, coalesce, concat, replace, length, lower, upper, round);
|
|
6617
6618
|
}
|
|
6618
6619
|
}
|
|
6619
6620
|
exports.SQLFunction = SQLFunction;
|
|
@@ -34995,6 +34996,7 @@ class MethodParameters {
|
|
|
34995
34996
|
}
|
|
34996
34997
|
if (node.concatTokens().toUpperCase().includes(" FOR VALIDATE ")
|
|
34997
34998
|
|| node.concatTokens().toUpperCase().includes(" FOR BEHAVIOR ")
|
|
34999
|
+
|| node.concatTokens().toUpperCase().includes(" FOR FEATURES ")
|
|
34998
35000
|
|| node.concatTokens().toUpperCase().includes(" FOR MODIFY ")) {
|
|
34999
35001
|
const token = isRap.getFirstToken();
|
|
35000
35002
|
this.exporting.push(new _typed_identifier_1.TypedIdentifier(new identifier_1.Identifier(token.getStart(), "failed"), filename, new basic_1.VoidType("RapMethodParameter"), ["exporting" /* IdentifierMeta.MethodExporting */]));
|
|
@@ -35908,7 +35910,8 @@ class CDSFunction extends combi_1.Expression {
|
|
|
35908
35910
|
const tstmp_add_seconds = (0, combi_1.seq)("TSTMP_ADD_SECONDS", "(", input, ",", input, ",", input, ")");
|
|
35909
35911
|
const abap_system_timezone = (0, combi_1.seq)("ABAP_SYSTEM_TIMEZONE", "(", input, ",", input, ")");
|
|
35910
35912
|
const abap_user_timezone = (0, combi_1.seq)("ABAP_USER_TIMEZONE", "(", input, ",", input, ",", input, ")");
|
|
35911
|
-
|
|
35913
|
+
const mod = (0, combi_1.seq)("MOD", "(", input, ",", input, ")");
|
|
35914
|
+
return (0, combi_1.altPrio)(substring, coalesce, tstmp_to_dats, concat, tstmp_to_tims, concat_with_space, dats_is_valid, dats_days_between, tstmp_add_seconds, tstmp_seconds_between, tstmp_current_utctimestamp, tstmp_is_valid, abap_system_timezone, abap_user_timezone, bintohex, hextobin, dats_add_days, dats_add_months, tstmp_to_dst, dats_tims_to_tstmp, mod);
|
|
35912
35915
|
}
|
|
35913
35916
|
}
|
|
35914
35917
|
exports.CDSFunction = CDSFunction;
|
|
@@ -46210,7 +46213,7 @@ class Registry {
|
|
|
46210
46213
|
}
|
|
46211
46214
|
static abaplintVersion() {
|
|
46212
46215
|
// magic, see build script "version.sh"
|
|
46213
|
-
return "2.95.
|
|
46216
|
+
return "2.95.51";
|
|
46214
46217
|
}
|
|
46215
46218
|
getDDICReferences() {
|
|
46216
46219
|
return this.references;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abaplint/transpiler-cli",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.71",
|
|
4
4
|
"description": "Transpiler - Command Line Interface",
|
|
5
5
|
"bin": {
|
|
6
6
|
"abap_transpile": "./abap_transpile"
|
|
@@ -25,15 +25,15 @@
|
|
|
25
25
|
"author": "abaplint",
|
|
26
26
|
"license": "MIT",
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"@abaplint/transpiler": "^2.5.
|
|
28
|
+
"@abaplint/transpiler": "^2.5.71",
|
|
29
29
|
"@types/glob": "^7.2.0",
|
|
30
30
|
"glob": "=7.2.0",
|
|
31
31
|
"@types/progress": "^2.0.5",
|
|
32
32
|
"@types/node": "^18.15.11",
|
|
33
|
-
"@abaplint/core": "^2.95.
|
|
33
|
+
"@abaplint/core": "^2.95.51",
|
|
34
34
|
"progress": "^2.0.3",
|
|
35
35
|
"webpack": "^5.77.0",
|
|
36
36
|
"webpack-cli": "^5.0.1",
|
|
37
|
-
"typescript": "^5.0.
|
|
37
|
+
"typescript": "^5.0.3"
|
|
38
38
|
}
|
|
39
39
|
}
|