From 9933725f5a5c81fe749d96fd5b63f3c6c984b038 Mon Sep 17 00:00:00 2001 From: Lars HVam Date: Fri, 18 Apr 2025 16:35:20 +0200 Subject: [PATCH] update npm dependencies --- package.json | 2 +- test/abap_transpile_int.json | 200 +++++++++++++++++++++++++++++++++++ 2 files changed, 201 insertions(+), 1 deletion(-) create mode 100644 test/abap_transpile_int.json diff --git a/package.json b/package.json index 14a7c2bb5..c14bc4af6 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ ] }, "devDependencies": { - "@abaplint/cli": "^2.113.109", + "@abaplint/cli": "^2.113.110", "@abaplint/database-sqlite": "^2.10.24", "@abaplint/runtime": "^2.10.44", "express": "^4.21.2", diff --git a/test/abap_transpile_int.json b/test/abap_transpile_int.json new file mode 100644 index 000000000..816da65b2 --- /dev/null +++ b/test/abap_transpile_int.json @@ -0,0 +1,200 @@ +{ + "input_folder": "{test/src,src,deps}", + "input_filter": [ + "\\.w3mi.", + "deps/", + "src/ui/zcl_abapgit_e", + "src/ui/lib/zcl_abapgit_e", + "src/utils/*", + "src/zcl_abapgit_e", + "zag1", + "src/env/*", + "zcl_abapgit_adt_link", + "zcl_abapgit_aff_registry", + "zcl_abapgit_apack_helper", + "zcl_abapgit_apack_writer", + "zcl_abapgit_ajson*", + "zcl_abapgit_apack_reader", + "zcl_abapgit_auth", + "zcl_abapgit_b", + "zcl_abapgit_c", + "zcl_abapgit_d", + "zcl_abapgit_exit", + "zcl_abapgit_f", + "zcl_abapgit_g", + "zcl_abapgit_h", + "zcl_abapgit_i", + "zcl_abapgit_j", + "zcl_abapgit_l", + "zcl_abapgit_n", + "zcl_abapgit_object_devc", + "zcl_abapgit_object_intf", + "zcl_abapgit_object_zag", + "zcl_abapgit_objects_bridge", + "zcl_abapgit_objects_files", + "zcl_abapgit_objects_program", + "zcl_abapgit_objects_super", + "zcl_abapgit_objects.clas.abap", + "zcl_abapgit_objects.clas.testclasses.abap", + "zcl_abapgit_oo_base", + "zcl_abapgit_oo_factory", + "zcl_abapgit_oo_interface", + "zcl_abapgit_p", + "zcl_abapgit_r", + "zcl_abapgit_s", + "zcl_abapgit_t", + "zcl_abapgit_u", + "zcl_abapgit_v", + "zcl_abapgit_web", + "zcl_abapgit_x", + "zcl_abapgit_z", + "zcx_abapgit", + "zif_abapgit_a", + "zif_abapgit_b", + "zif_abapgit_c", + "zif_abapgit_d", + "zif_abapgit_e", + "zif_abapgit_f", + "zif_abapgit_g", + "zif_abapgit_h", + "zif_abapgit_l", + "zif_abapgit_m", + "zif_abapgit_object", + "zcl_abapgit_object_tabl_ddl", + "zif_abapgit_oo_object_fnc", + "zif_abapgit_p", + "zif_abapgit_r", + "zif_abapgit_s", + "zif_abapgit_t", + "zif_abapgit_v", + "zif_abapgit_w", + "zif_abapgit_x", + "zif_abapgit_i18n_file" + ], + "output_folder": "output", + "libs": [ + { + "url": "https://github.com/open-abap/open-abap-core" + }, + { + "url": "https://github.com/open-abap/open-abap-gui" + }, + { + "url": "https://github.com/open-abap/express-icf-shim" + } + ], + "write_unit_tests": true, + "write_source_map": true, + "options": { + "ignoreSyntaxCheck": false, + "addFilenames": true, + "addCommonJS": true, + "unknownTypes": "runtimeError", + "extraSetup": "../test/setup.mjs", + "skip": [ + {"object": "ZCX_ABAPGIT_EXCEPTION", "class": "ltcl_get_t100_longtext", "method": "test01", "note": "uses MSAG from database"}, + + {"object": "ZCL_ABAPGIT_XML_PRETTY", "class": "ltcl_test", "method": "pretty1", "note": "open-abap does not add the byte order mark"}, + {"object": "ZCL_ABAPGIT_XML_PRETTY", "class": "ltcl_test", "method": "pretty2", "note": "open-abap does not add the byte order mark"}, + {"object": "ZCL_ABAPGIT_XML_PRETTY", "class": "ltcl_test", "method": "pretty3", "note": "open-abap does not add the byte order mark"}, + {"object": "ZCL_ABAPGIT_XML_PRETTY", "class": "ltcl_test", "method": "unpretty", "note": "open-abap does not add the byte order mark"}, + {"object": "ZCL_ABAPGIT_XML_PRETTY", "class": "ltcl_test", "method": "malformatted", "note": "infinite loop"}, + {"object": "ZCL_ABAPGIT_XML_PRETTY", "class": "ltcl_test", "method": "dont_ignore_error", "note": "infinite loop"}, + + {"object": "ZCL_ABAPGIT_SERIALIZE", "class": "ltcl_serialize", "method": "test", "note": "call to TR_OBJECT_TABLE fails"}, + {"object": "ZCL_ABAPGIT_SERIALIZE", "class": "ltcl_serialize", "method": "unsupported", "note": "call to TR_OBJECT_TABLE fails"}, + {"object": "ZCL_ABAPGIT_SERIALIZE", "class": "ltcl_serialize", "method": "ignored", "note": "call to TR_OBJECT_TABLE fails"}, + {"object": "ZCL_ABAPGIT_SERIALIZE", "class": "ltcl_i18n", "method": "test", "note": "Void type: DD02V"}, + + {"object": "ZCL_ABAPGIT_REPO_STATUS", "class": "ltcl_calculate_status", "method": "deleted_remote", "note": "READ TABLE subrc 4 vs subrc 8"}, + {"object": "ZCL_ABAPGIT_REPO_STATUS", "class": "ltcl_calculate_status", "method": "complete", "note": "READ TABLE subrc 4 vs subrc 8"}, + + {"object": "ZCL_ABAPGIT_PERSIST_PACKAGES", "class": "ltcl_packages", "method": "test_package", "note": "call to ENQUEUE_EZABAPGIT fails"}, + + {"object": "ZCL_ABAPGIT_XML", "class": "ltcl_xml", "method": "space_leading_trailing", "note": "??"}, + {"object": "ZCL_ABAPGIT_XML", "class": "ltcl_xml", "method": "bad_xml_raises_exc", "note": "handling of xml parser errors, cl_ixml, test method parse_negative"}, + {"object": "ZCL_ABAPGIT_XML_OUTPUT", "class": "ltcl_xml_output", "method": "render_xml_string", "note": "condensing values not working"}, + {"object": "ZCL_ABAPGIT_XML_INPUT", "class": "ltcl_xml", "method": "up"}, + {"object": "ZCL_ABAPGIT_XML_INPUT", "class": "ltcl_xml", "method": "empty", "note": "missing implementation of if_ixml_document$create_attribute_ns in open abap"}, + {"object": "ZCL_ABAPGIT_XML_INPUT", "class": "ltcl_xml", "method": "down"}, + + {"object": "ZCL_ABAPGIT_SOTR_HANDLER", "class": "ltcl_sotr_handler", "method": "sotr_wda_0001", "note": "Void type: SOTR_HEAD"}, + {"object": "ZCL_ABAPGIT_SOTR_HANDLER", "class": "ltcl_sotr_handler", "method": "sotr_wda_0003_not_exist", "note": "Void type: SOTR_HEAD"}, + {"object": "ZCL_ABAPGIT_SOTR_HANDLER", "class": "ltcl_sotr_handler", "method": "sotr_wda_0004", "note": "Void type: SOTR_HEAD"}, + {"object": "ZCL_ABAPGIT_SOTR_HANDLER", "class": "ltcl_sotr_handler", "method": "sotr_cx_0002", "note": "Void type: SOTR_HEAD"}, + + {"object": "ZCL_ABAPGIT_UI_INJECTOR", "class": "ltcl_no_dependency_injection", "method": "no_injection", "note": "RTTI? class absolute_name"}, + {"object": "ZCL_ABAPGIT_UI_INJECTOR", "class": "ltcl_simple_dependency_inject", "method": "simple_injection", "note": "RTTI?"}, + {"object": "ZCL_ABAPGIT_INJECTOR", "class": "ltcl_no_dependency_injection", "method": "no_injection"}, + {"object": "ZCL_ABAPGIT_INJECTOR", "class": "ltcl_simple_dependency_inject", "method": "simple_injection"}, + + {"object": "ZCL_ABAPGIT_ENVIRONMENT", "class": "ltcl_test", "method": "is_repo_object_changes_allowed", "note": "Void type: UVERS"}, + + {"object": "ZCL_ABAPGIT_DOT_ABAPGIT", "class": "ltcl_dot_abapgit", "method": "identity", "note": " https://github.com/open-abap/open-abap/issues/471 "}, + + {"object": "ZCL_ABAPGIT_AJSON", "class": "ltcl_parser_test", "method": "parse_error", "note": "NodeJS 20 does not set position of parsing error"}, + + {"object": "ZCL_ABAPGIT_VERSION", "class": "ltcl_version_parse", "method": "abapgit_version", "note": "Error: ReadReport, transpiler todo"}, + {"object": "ZCL_ABAPGIT_VERSION", "class": "ltcl_version_parse", "method": "interface1", "note": "SCAN-ABAP-SOURCE, wrong value"}, + {"object": "ZCL_ABAPGIT_VERSION", "class": "ltcl_version_parse", "method": "interface2", "note": "SCAN-ABAP-SOURCE, wrong value"}, + {"object": "ZCL_ABAPGIT_VERSION", "class": "ltcl_version_parse", "method": "class1", "note": "SCAN-ABAP-SOURCE, wrong value"}, + {"object": "ZCL_ABAPGIT_VERSION", "class": "ltcl_version_parse", "method": "class_private", "note": "SCAN-ABAP-SOURCE, wrong value"}, + {"object": "ZCL_ABAPGIT_VERSION", "class": "ltcl_version_parse", "method": "int4", "note": "SCAN-ABAP-SOURCE, wrong value"}, + {"object": "ZCL_ABAPGIT_VERSION", "class": "ltcl_version_parse", "method": "decfloat34", "note": "SCAN-ABAP-SOURCE, wrong value"}, + {"object": "ZCL_ABAPGIT_VERSION", "class": "ltcl_version_parse", "method": "ampersand", "note": "SCAN-ABAP-SOURCE, wrong value"}, + + {"object": "ZCL_ABAPGIT_PERSISTENCE_USER", "class": "ltcl_user", "method": "set_get_git_user", "note": "skip, this changes database"}, + {"object": "ZCL_ABAPGIT_PERSISTENCE_USER", "class": "ltcl_user", "method": "set_get_repo_show", "note": "skip, this changes database"}, + {"object": "ZCL_ABAPGIT_PERSISTENCE_USER", "class": "ltcl_user", "method": "set_get_settings", "note": "skip, this changes database"}, + {"object": "ZCL_ABAPGIT_PERSISTENCE_USER", "class": "ltcl_user", "method": "set_get_repo_login", "note": "skip, this changes database"}, + + {"object": "ZCL_ABAPGIT_DIFF", "class": "ltcl_diff", "method": "diff01", "note": "fm RS_CMP_COMPUTE_DELTA + Void type: RSWSOURCET"}, + {"object": "ZCL_ABAPGIT_DIFF", "class": "ltcl_diff", "method": "diff02", "note": "fm RS_CMP_COMPUTE_DELTA + Void type: RSWSOURCET"}, + {"object": "ZCL_ABAPGIT_DIFF", "class": "ltcl_diff", "method": "diff03", "note": "fm RS_CMP_COMPUTE_DELTA + Void type: RSWSOURCET"}, + {"object": "ZCL_ABAPGIT_DIFF", "class": "ltcl_diff", "method": "diff04", "note": "fm RS_CMP_COMPUTE_DELTA + Void type: RSWSOURCET"}, + {"object": "ZCL_ABAPGIT_DIFF", "class": "ltcl_diff", "method": "diff05", "note": "fm RS_CMP_COMPUTE_DELTA + Void type: RSWSOURCET"}, + {"object": "ZCL_ABAPGIT_DIFF", "class": "ltcl_diff", "method": "diff06", "note": "fm RS_CMP_COMPUTE_DELTA + Void type: RSWSOURCET"}, + {"object": "ZCL_ABAPGIT_DIFF", "class": "ltcl_diff", "method": "diff07", "note": "fm RS_CMP_COMPUTE_DELTA + Void type: RSWSOURCET"}, + {"object": "ZCL_ABAPGIT_DIFF", "class": "ltcl_diff", "method": "diff08", "note": "fm RS_CMP_COMPUTE_DELTA + Void type: RSWSOURCET"}, + {"object": "ZCL_ABAPGIT_DIFF", "class": "ltcl_diff", "method": "diff09", "note": "fm RS_CMP_COMPUTE_DELTA + Void type: RSWSOURCET"}, + {"object": "ZCL_ABAPGIT_DIFF", "class": "ltcl_diff", "method": "diff10", "note": "fm RS_CMP_COMPUTE_DELTA + Void type: RSWSOURCET"}, + {"object": "ZCL_ABAPGIT_DIFF", "class": "ltcl_diff", "method": "diff11", "note": "fm RS_CMP_COMPUTE_DELTA + Void type: RSWSOURCET"}, + {"object": "ZCL_ABAPGIT_DIFF", "class": "ltcl_diff", "method": "diff12", "note": "fm RS_CMP_COMPUTE_DELTA + Void type: RSWSOURCET"}, + {"object": "ZCL_ABAPGIT_DIFF", "class": "ltcl_diff", "method": "diff13", "note": "fm RS_CMP_COMPUTE_DELTA + Void type: RSWSOURCET"}, + {"object": "ZCL_ABAPGIT_DIFF", "class": "ltcl_diff", "method": "diff14", "note": "fm RS_CMP_COMPUTE_DELTA + Void type: RSWSOURCET"}, + {"object": "ZCL_ABAPGIT_DIFF", "class": "ltcl_diff", "method": "diff15", "note": "fm RS_CMP_COMPUTE_DELTA + Void type: RSWSOURCET"}, + {"object": "ZCL_ABAPGIT_DIFF", "class": "ltcl_diff", "method": "diff16", "note": "fm RS_CMP_COMPUTE_DELTA + Void type: RSWSOURCET"}, + {"object": "ZCL_ABAPGIT_DIFF", "class": "ltcl_diff", "method": "diff17", "note": "fm RS_CMP_COMPUTE_DELTA + Void type: RSWSOURCET"}, + {"object": "ZCL_ABAPGIT_DIFF", "class": "ltcl_diff", "method": "diff18", "note": "fm RS_CMP_COMPUTE_DELTA + Void type: RSWSOURCET"}, + {"object": "ZCL_ABAPGIT_DIFF", "class": "ltcl_diff", "method": "map_beacons", "note": "fm RS_CMP_COMPUTE_DELTA + Void type: RSWSOURCET"}, + + {"object": "ZCL_ABAPGIT_USER_RECORD", "class": "ltcl_user_record", "method": "test_invalid_user", "note": "Void type: BAPIADDR3"}, + + {"object": "ZCL_ABAPGIT_OBJECTS", "class": "ltcl_object_types", "method": "type_supported", "note": "no such table: seometarel, https://github.com/abapGit/abapGit/issues/1449#issuecomment-1653011315 "}, + {"object": "ZCL_ABAPGIT_OBJECTS", "class": "ltcl_object_types", "method": "not_exist", "note": "call to TR_OBJECT_TABLE fails"}, + {"object": "ZCL_ABAPGIT_OBJECTS", "class": "ltcl_serialize", "method": "serialize_tabl", "note": "no such table: seometarel"}, + {"object": "ZCL_ABAPGIT_OBJECTS", "class": "ltcl_serialize", "method": "serialize_shlp", "note": "no such table: seometarel"}, + {"object": "ZCL_ABAPGIT_OBJECTS", "class": "ltcl_serialize", "method": "serialize_view", "note": "no such table: seometarel"}, + {"object": "ZCL_ABAPGIT_OBJECTS", "class": "ltcl_serialize", "method": "serialize_auth", "note": "no such table: seometarel"}, + {"object": "ZCL_ABAPGIT_OBJECTS", "class": "ltcl_serialize", "method": "serialize_clas", "note": "no such table: seometarel"}, + {"object": "ZCL_ABAPGIT_OBJECTS", "class": "ltcl_serialize", "method": "serialize_intf", "note": "no such table: seometarel"}, + {"object": "ZCL_ABAPGIT_OBJECTS", "class": "ltcl_serialize", "method": "serialize_doma", "note": "no such table: seometarel"}, + {"object": "ZCL_ABAPGIT_OBJECTS", "class": "ltcl_serialize", "method": "serialize_dtel", "note": "no such table: seometarel"}, + {"object": "ZCL_ABAPGIT_OBJECTS", "class": "ltcl_serialize", "method": "serialize_fugr", "note": "no such table: seometarel"}, + {"object": "ZCL_ABAPGIT_OBJECTS", "class": "ltcl_serialize", "method": "serialize_msag", "note": "no such table: seometarel"}, + {"object": "ZCL_ABAPGIT_OBJECTS", "class": "ltcl_serialize", "method": "serialize_prog", "note": "no such table: seometarel"}, + {"object": "ZCL_ABAPGIT_OBJECTS", "class": "ltcl_serialize", "method": "serialize_tran", "note": "no such table: seometarel"}, + {"object": "ZCL_ABAPGIT_OBJECTS", "class": "ltcl_serialize", "method": "serialize_ttyp", "note": "no such table: seometarel"}, + {"object": "ZCL_ABAPGIT_OBJECTS", "class": "ltcl_serialize", "method": "serialize_intf_aff_translate", "note": "Void type: SEOCLASSDF"}, + {"object": "ZCL_ABAPGIT_OBJECTS", "class": "ltcl_check_objects_locked", "method": "throw_excp_if_object_is_locked", "note": "no such table: seometarel"}, + {"object": "ZCL_ABAPGIT_OBJECTS", "class": "ltcl_check_objects_locked", "method": "no_excp_if_obj_is_not_locked", "note": "no such table: seometarel"}, + + {"object": "ZCL_ABAPGIT_ABAP_LANGUAGE_VERS", "class": "ltcl_abap_language_version", "method": "is_import_allowed", "note": "CL_ABAP_LANGUAGE_VERSION/_CFG"}, + + {"object": "ZCL_ABAPGIT_SERVICES_BASIS", "class": "ltcl_create_package", "method": "raise_error_if_package_exists", "note": "Void type: SCOMPKDTLN"}, + {"object": "ZCL_ABAPGIT_SERVICES_BASIS", "class": "ltcl_create_package", "method": "package_given_in_popup", "note": "Void type: SCOMPKDTLN"}, + {"object": "ZCL_ABAPGIT_SERVICES_BASIS", "class": "ltcl_create_package", "method": "package_not_created_when_canc", "note": "Void type: SCOMPKDTLN"}, + {"object": "ZCL_ABAPGIT_SERVICES_BASIS", "class": "ltcl_create_package", "method": "package_created_when_confirm", "note": "Void type: SCOMPKDTLN"} + ] + } +}