From 5a5630c19885429ce3156dc5c3313d128c9e712d Mon Sep 17 00:00:00 2001 From: Lars Hvam Date: Fri, 6 May 2022 09:10:03 +0200 Subject: [PATCH] update to latest npm packages (#5501) * update to latest npm packages * update * update abaplint config to latest --- abaplint.json | 11 ++++++++--- package.json | 6 +++--- src/objects/zcl_abapgit_object_udmo.clas.abap | 5 ++--- 3 files changed, 13 insertions(+), 9 deletions(-) diff --git a/abaplint.json b/abaplint.json index 4be5c023d..dcb6c086a 100644 --- a/abaplint.json +++ b/abaplint.json @@ -64,6 +64,13 @@ "globalMacros": [] }, "rules": { + "classic_exceptions_overlap": true, + "local_testclass_consistency": true, + "no_external_form_calls": false, + "no_inline_in_optional_branches": true, + "pragma_style": false, + "slow_parameter_passing": false, + "unnecessary_pragma": false, "align_parameters": false, "cds_parser_error": true, "constant_classes": true, @@ -73,7 +80,6 @@ "prefer_corresponding": true, "static_call_via_instance": false, "unnecessary_chaining": false, - "pragma_placement": true, "unsecure_fae": false, "identical_descriptions": false, "modify_only_own_db_tables": false, @@ -155,7 +161,6 @@ "sicf_consistency": true, "sql_escape_host_variables": true, "xml_consistency": true, - "check_no_handler_pragma": true, "newline_between_methods": false, "chain_mainly_declarations": { "definitions": true, @@ -199,6 +204,7 @@ "ambiguous_statement": true, "avoid_use": { "define": true, + "testSeams": true, "defaultKey": false, "describeLines": true, "break": true, @@ -287,7 +293,6 @@ "local": "^LCL_.*$", "test": "^LT.+$" }, - "local_testclass_location": true, "local_variable_names": { "expectedData": "^L._.*$", "expectedConstant": "^LC_.*$", diff --git a/package.json b/package.json index 4429042eb..31a3dde25 100644 --- a/package.json +++ b/package.json @@ -25,9 +25,9 @@ ] }, "devDependencies": { - "@abaplint/cli": "^2.89.14", - "@abaplint/runtime": "^2.0.18", - "@abaplint/transpiler-cli": "^2.0.18", + "@abaplint/cli": "^2.90.0", + "@abaplint/runtime": "^2.0.22", + "@abaplint/transpiler-cli": "^2.0.22", "@abaplint/database-sqlite": "^2.0.11", "abapmerge": "^0.14.3", "c8": "^7.11.2", diff --git a/src/objects/zcl_abapgit_object_udmo.clas.abap b/src/objects/zcl_abapgit_object_udmo.clas.abap index acd8b605d..bc1254355 100644 --- a/src/objects/zcl_abapgit_object_udmo.clas.abap +++ b/src/objects/zcl_abapgit_object_udmo.clas.abap @@ -233,10 +233,9 @@ CLASS zcl_abapgit_object_udmo IMPLEMENTATION. CALL FUNCTION 'SDU_DMO_ENT_PUT' EXPORTING - object = ls_udmo_entity + object = ls_udmo_entity EXCEPTIONS - ret_code = 0 - OTHERS = 0. + OTHERS = 0. ENDLOOP.