From d7ce4d386816e2ce0472f2c7117a08b4c558389c Mon Sep 17 00:00:00 2001 From: Lars Hvam Date: Tue, 14 Jun 2022 08:57:20 +0200 Subject: [PATCH 01/15] update to latest --- abaplint.jsonc | 49 ++++++++++++++++------------------------------- package-lock.json | 42 ++++++++++++++++++++-------------------- package.json | 6 +++--- 3 files changed, 41 insertions(+), 56 deletions(-) diff --git a/abaplint.jsonc b/abaplint.jsonc index 70597ea..10cce26 100644 --- a/abaplint.jsonc +++ b/abaplint.jsonc @@ -13,6 +13,17 @@ "errorNamespace": "." }, "rules": { + "cds_legacy_view": true, + "classic_exceptions_overlap": true, + "local_testclass_consistency": true, + "no_external_form_calls": true, + "no_inline_in_optional_branches": true, + "no_public_attributes": true, + "nrob_consistency": true, + "pragma_style": true, + "slow_parameter_passing": true, + "superfluous_value": true, + "unnecessary_pragma": true, "7bit_ascii": true, "abapdoc": false, "align_parameters": true, @@ -29,7 +40,6 @@ "check_comments": false, "check_ddic": true, "check_include": true, - "check_no_handler_pragma": true, "check_subrc": true, "check_syntax": true, "check_text_elements": true, @@ -49,16 +59,8 @@ "severity": "Error", "spaces": 1 }, - "cyclic_oo": { - "exclude": [], - "severity": "Error", - "skip": [] - }, - "cyclomatic_complexity": { - "exclude": [], - "severity": "Error", - "max": 20 - }, + "cyclic_oo": true, + "cyclomatic_complexity": true, "dangerous_statement": { "exclude": [], "severity": "Error", @@ -71,8 +73,8 @@ "generateSubroutine": true, "deleteReport": true, "deleteTextpool": true, + "exportDynpro": true, "deleteDynpro": true, - "importDynpro": true, "dynamicSQL": true }, "db_operation_in_loop": true, @@ -94,10 +96,9 @@ }, "empty_statement": true, "empty_structure": { - "exclude": [], - "severity": "Error", "loop": true, "if": true, + "when": true, "while": true, "case": true, "select": true, @@ -105,18 +106,9 @@ "at": true, "try": true }, - "exit_or_check": { - "exclude": [], - "severity": "Error", - "allowExit": false, - "allowCheck": false - }, + "exit_or_check": true, "exporting": true, - "forbidden_identifier": { - "exclude": [], - "severity": "Error", - "check": [] - }, + "forbidden_identifier": true, "forbidden_pseudo_and_pragma": { "exclude": [], "severity": "Error", @@ -210,7 +202,6 @@ "exception": "^LCX_.+$", "test": "^LTCL_.+$" }, - "local_testclass_location": true, "local_variable_names": { "exclude": [], "severity": "Error", @@ -245,11 +236,6 @@ "newline_between_methods": true, "no_aliases": true, "no_chained_assignment": true, - "no_public_attributes": { - "exclude": [], - "severity": "Error", - "allowReadOnly": false - }, "no_yoda_conditions": { "exclude": [], "severity": "Error", @@ -287,7 +273,6 @@ "parser_702_chaining": true, "parser_error": true, "parser_missing_space": true, - "pragma_placement": true, "prefer_corresponding": true, "prefer_inline": true, "prefer_is_not": true, diff --git a/package-lock.json b/package-lock.json index 8a998db..7d9d5f7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,15 +9,15 @@ "version": "1.0.0", "license": "MIT", "dependencies": { - "@abaplint/cli": "^2.89.0", - "@abaplint/runtime": "^2.0.9", - "@abaplint/transpiler-cli": "^2.0.9" + "@abaplint/cli": "^2.91.3", + "@abaplint/runtime": "^2.0.38", + "@abaplint/transpiler-cli": "^2.0.38" } }, "node_modules/@abaplint/cli": { - "version": "2.89.0", - "resolved": "https://registry.npmjs.org/@abaplint/cli/-/cli-2.89.0.tgz", - "integrity": "sha512-N+qpOa1BkHDglX4ibITrxpJvRN3JIesRumuePMDPkee2bqNfDfgq6xZedLoWI2kUsAj5DpiWdKbNY4nBme0WIg==", + "version": "2.91.3", + "resolved": "https://registry.npmjs.org/@abaplint/cli/-/cli-2.91.3.tgz", + "integrity": "sha512-A2IhcT8Q52wvwb7yRJtQrTN+yadoD8wKci8/EQf7NPxZ/x/FV6BrDsQKPMyIMbC9LEnRj5TNBytpGDVva9j3UQ==", "bin": { "abaplint": "abaplint" }, @@ -26,14 +26,14 @@ } }, "node_modules/@abaplint/runtime": { - "version": "2.0.9", - "resolved": "https://registry.npmjs.org/@abaplint/runtime/-/runtime-2.0.9.tgz", - "integrity": "sha512-z6jIDF/98+DAVDdM5LYeBNLIJrh4Mg/EIa3C+ESCokLevGMCTynuGomg3E8mv9/Cu+YxWA0SPMzcGof0i7jg7Q==" + "version": "2.0.38", + "resolved": "https://registry.npmjs.org/@abaplint/runtime/-/runtime-2.0.38.tgz", + "integrity": "sha512-+L6I3TrS3MnKZ3Jjib4hB7fW8qCJ+Vslaq2gFQ6CVTMOMnr9Ah7knkNVQiaN9ADRNACub5MxezcyYv0Lra0wCg==" }, "node_modules/@abaplint/transpiler-cli": { - "version": "2.0.9", - "resolved": "https://registry.npmjs.org/@abaplint/transpiler-cli/-/transpiler-cli-2.0.9.tgz", - "integrity": "sha512-1prLaF03TqQ5OAndGt1BhmUQXjw9Ip0HKVWftyjc7KvFq2P/QscLqB5EuLiOnzIOKnBFt6bb6CLJgFTNRJTdWw==", + "version": "2.0.38", + "resolved": "https://registry.npmjs.org/@abaplint/transpiler-cli/-/transpiler-cli-2.0.38.tgz", + "integrity": "sha512-TSLVbdnDjwlGlTN/iuDOUcdXO3MV6/VTCCLSyD4kkgrALnMhOItFuZIVJf4ldfxo2O1rlcn/s+OD0SLfC7MYUQ==", "bin": { "abap_transpile": "abap_transpile" } @@ -41,19 +41,19 @@ }, "dependencies": { "@abaplint/cli": { - "version": "2.89.0", - "resolved": "https://registry.npmjs.org/@abaplint/cli/-/cli-2.89.0.tgz", - "integrity": "sha512-N+qpOa1BkHDglX4ibITrxpJvRN3JIesRumuePMDPkee2bqNfDfgq6xZedLoWI2kUsAj5DpiWdKbNY4nBme0WIg==" + "version": "2.91.3", + "resolved": "https://registry.npmjs.org/@abaplint/cli/-/cli-2.91.3.tgz", + "integrity": "sha512-A2IhcT8Q52wvwb7yRJtQrTN+yadoD8wKci8/EQf7NPxZ/x/FV6BrDsQKPMyIMbC9LEnRj5TNBytpGDVva9j3UQ==" }, "@abaplint/runtime": { - "version": "2.0.9", - "resolved": "https://registry.npmjs.org/@abaplint/runtime/-/runtime-2.0.9.tgz", - "integrity": "sha512-z6jIDF/98+DAVDdM5LYeBNLIJrh4Mg/EIa3C+ESCokLevGMCTynuGomg3E8mv9/Cu+YxWA0SPMzcGof0i7jg7Q==" + "version": "2.0.38", + "resolved": "https://registry.npmjs.org/@abaplint/runtime/-/runtime-2.0.38.tgz", + "integrity": "sha512-+L6I3TrS3MnKZ3Jjib4hB7fW8qCJ+Vslaq2gFQ6CVTMOMnr9Ah7knkNVQiaN9ADRNACub5MxezcyYv0Lra0wCg==" }, "@abaplint/transpiler-cli": { - "version": "2.0.9", - "resolved": "https://registry.npmjs.org/@abaplint/transpiler-cli/-/transpiler-cli-2.0.9.tgz", - "integrity": "sha512-1prLaF03TqQ5OAndGt1BhmUQXjw9Ip0HKVWftyjc7KvFq2P/QscLqB5EuLiOnzIOKnBFt6bb6CLJgFTNRJTdWw==" + "version": "2.0.38", + "resolved": "https://registry.npmjs.org/@abaplint/transpiler-cli/-/transpiler-cli-2.0.38.tgz", + "integrity": "sha512-TSLVbdnDjwlGlTN/iuDOUcdXO3MV6/VTCCLSyD4kkgrALnMhOItFuZIVJf4ldfxo2O1rlcn/s+OD0SLfC7MYUQ==" } } } diff --git a/package.json b/package.json index 14f787a..e75da2b 100644 --- a/package.json +++ b/package.json @@ -18,8 +18,8 @@ }, "homepage": "https://github.com/open-abap/open-abap-ssh#readme", "dependencies": { - "@abaplint/cli": "^2.89.0", - "@abaplint/runtime": "^2.0.9", - "@abaplint/transpiler-cli": "^2.0.9" + "@abaplint/cli": "^2.91.3", + "@abaplint/runtime": "^2.0.38", + "@abaplint/transpiler-cli": "^2.0.38" } } From 1db38f066b3d745e9eb64a26a475a8a2e6d1cc85 Mon Sep 17 00:00:00 2001 From: Lars Hvam Date: Wed, 19 Oct 2022 17:26:22 +0200 Subject: [PATCH 02/15] update --- package-lock.json | 74 +++++++++++++++++++++++++++++++++-------------- package.json | 6 ++-- 2 files changed, 56 insertions(+), 24 deletions(-) diff --git a/package-lock.json b/package-lock.json index 7d9d5f7..f28daf9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,15 +9,15 @@ "version": "1.0.0", "license": "MIT", "dependencies": { - "@abaplint/cli": "^2.91.3", - "@abaplint/runtime": "^2.0.38", - "@abaplint/transpiler-cli": "^2.0.38" + "@abaplint/cli": "^2.93.47", + "@abaplint/runtime": "^2.3.12", + "@abaplint/transpiler-cli": "^2.3.12" } }, "node_modules/@abaplint/cli": { - "version": "2.91.3", - "resolved": "https://registry.npmjs.org/@abaplint/cli/-/cli-2.91.3.tgz", - "integrity": "sha512-A2IhcT8Q52wvwb7yRJtQrTN+yadoD8wKci8/EQf7NPxZ/x/FV6BrDsQKPMyIMbC9LEnRj5TNBytpGDVva9j3UQ==", + "version": "2.93.47", + "resolved": "https://registry.npmjs.org/@abaplint/cli/-/cli-2.93.47.tgz", + "integrity": "sha512-0p9qFZV2kSIA8D8RN6Q3Zrd4Jqelhyi94aEwr8VKxx5frqcz41Q4BujyVXkP0rS61g1I1tagmc7OHU1ShgPknw==", "bin": { "abaplint": "abaplint" }, @@ -26,34 +26,66 @@ } }, "node_modules/@abaplint/runtime": { - "version": "2.0.38", - "resolved": "https://registry.npmjs.org/@abaplint/runtime/-/runtime-2.0.38.tgz", - "integrity": "sha512-+L6I3TrS3MnKZ3Jjib4hB7fW8qCJ+Vslaq2gFQ6CVTMOMnr9Ah7knkNVQiaN9ADRNACub5MxezcyYv0Lra0wCg==" + "version": "2.3.12", + "resolved": "https://registry.npmjs.org/@abaplint/runtime/-/runtime-2.3.12.tgz", + "integrity": "sha512-KKBnufBO40mnx8OFyBq/qTL8T4i8xIymn7981S8vpO00w1C/gAzZWZdk2rUbrHdNe1ToYgq5I+mC1piXgd/pcg==", + "dependencies": { + "temporal-polyfill": "^0.0.8" + } }, "node_modules/@abaplint/transpiler-cli": { - "version": "2.0.38", - "resolved": "https://registry.npmjs.org/@abaplint/transpiler-cli/-/transpiler-cli-2.0.38.tgz", - "integrity": "sha512-TSLVbdnDjwlGlTN/iuDOUcdXO3MV6/VTCCLSyD4kkgrALnMhOItFuZIVJf4ldfxo2O1rlcn/s+OD0SLfC7MYUQ==", + "version": "2.3.12", + "resolved": "https://registry.npmjs.org/@abaplint/transpiler-cli/-/transpiler-cli-2.3.12.tgz", + "integrity": "sha512-J2Gnd6uXJL778IrmWcvswDuruvhl5ZyrwhViXZ9O5JqkW/q8IIXtQ5hFAUutC7flugd+Ctnfwk/cp285ShtPhA==", "bin": { "abap_transpile": "abap_transpile" } + }, + "node_modules/temporal-polyfill": { + "version": "0.0.8", + "resolved": "https://registry.npmjs.org/temporal-polyfill/-/temporal-polyfill-0.0.8.tgz", + "integrity": "sha512-IuA8GhS1PRC04H/zVNAIxJvCZQum6V5HjqFj7gz1a3SMUf/Kf1xIXILNYtxrWYnGqIU/RrDRxlCKCm/vmqnBvw==", + "dependencies": { + "temporal-spec": "0.0.3" + } + }, + "node_modules/temporal-spec": { + "version": "0.0.3", + "resolved": "https://registry.npmjs.org/temporal-spec/-/temporal-spec-0.0.3.tgz", + "integrity": "sha512-gJu7QRqn5c2vTSkYWGC4qz1i+FZ9C+Cz16UIBMRcjgXOsHfXeSIgaWUKeq/2rz1iNfFxvmF/ywqbfC6ggTpjkA==" } }, "dependencies": { "@abaplint/cli": { - "version": "2.91.3", - "resolved": "https://registry.npmjs.org/@abaplint/cli/-/cli-2.91.3.tgz", - "integrity": "sha512-A2IhcT8Q52wvwb7yRJtQrTN+yadoD8wKci8/EQf7NPxZ/x/FV6BrDsQKPMyIMbC9LEnRj5TNBytpGDVva9j3UQ==" + "version": "2.93.47", + "resolved": "https://registry.npmjs.org/@abaplint/cli/-/cli-2.93.47.tgz", + "integrity": "sha512-0p9qFZV2kSIA8D8RN6Q3Zrd4Jqelhyi94aEwr8VKxx5frqcz41Q4BujyVXkP0rS61g1I1tagmc7OHU1ShgPknw==" }, "@abaplint/runtime": { - "version": "2.0.38", - "resolved": "https://registry.npmjs.org/@abaplint/runtime/-/runtime-2.0.38.tgz", - "integrity": "sha512-+L6I3TrS3MnKZ3Jjib4hB7fW8qCJ+Vslaq2gFQ6CVTMOMnr9Ah7knkNVQiaN9ADRNACub5MxezcyYv0Lra0wCg==" + "version": "2.3.12", + "resolved": "https://registry.npmjs.org/@abaplint/runtime/-/runtime-2.3.12.tgz", + "integrity": "sha512-KKBnufBO40mnx8OFyBq/qTL8T4i8xIymn7981S8vpO00w1C/gAzZWZdk2rUbrHdNe1ToYgq5I+mC1piXgd/pcg==", + "requires": { + "temporal-polyfill": "^0.0.8" + } }, "@abaplint/transpiler-cli": { - "version": "2.0.38", - "resolved": "https://registry.npmjs.org/@abaplint/transpiler-cli/-/transpiler-cli-2.0.38.tgz", - "integrity": "sha512-TSLVbdnDjwlGlTN/iuDOUcdXO3MV6/VTCCLSyD4kkgrALnMhOItFuZIVJf4ldfxo2O1rlcn/s+OD0SLfC7MYUQ==" + "version": "2.3.12", + "resolved": "https://registry.npmjs.org/@abaplint/transpiler-cli/-/transpiler-cli-2.3.12.tgz", + "integrity": "sha512-J2Gnd6uXJL778IrmWcvswDuruvhl5ZyrwhViXZ9O5JqkW/q8IIXtQ5hFAUutC7flugd+Ctnfwk/cp285ShtPhA==" + }, + "temporal-polyfill": { + "version": "0.0.8", + "resolved": "https://registry.npmjs.org/temporal-polyfill/-/temporal-polyfill-0.0.8.tgz", + "integrity": "sha512-IuA8GhS1PRC04H/zVNAIxJvCZQum6V5HjqFj7gz1a3SMUf/Kf1xIXILNYtxrWYnGqIU/RrDRxlCKCm/vmqnBvw==", + "requires": { + "temporal-spec": "0.0.3" + } + }, + "temporal-spec": { + "version": "0.0.3", + "resolved": "https://registry.npmjs.org/temporal-spec/-/temporal-spec-0.0.3.tgz", + "integrity": "sha512-gJu7QRqn5c2vTSkYWGC4qz1i+FZ9C+Cz16UIBMRcjgXOsHfXeSIgaWUKeq/2rz1iNfFxvmF/ywqbfC6ggTpjkA==" } } } diff --git a/package.json b/package.json index e75da2b..4988d14 100644 --- a/package.json +++ b/package.json @@ -18,8 +18,8 @@ }, "homepage": "https://github.com/open-abap/open-abap-ssh#readme", "dependencies": { - "@abaplint/cli": "^2.91.3", - "@abaplint/runtime": "^2.0.38", - "@abaplint/transpiler-cli": "^2.0.38" + "@abaplint/cli": "^2.93.47", + "@abaplint/runtime": "^2.3.12", + "@abaplint/transpiler-cli": "^2.3.12" } } From 67cc68d40975ed417ee95aefdefb76e4ca3fe80d Mon Sep 17 00:00:00 2001 From: Lars Hvam Date: Thu, 27 Oct 2022 07:01:03 +0200 Subject: [PATCH 03/15] update --- package-lock.json | 42 +++++++++++++++++++++--------------------- package.json | 6 +++--- 2 files changed, 24 insertions(+), 24 deletions(-) diff --git a/package-lock.json b/package-lock.json index f28daf9..914aa0e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,15 +9,15 @@ "version": "1.0.0", "license": "MIT", "dependencies": { - "@abaplint/cli": "^2.93.47", - "@abaplint/runtime": "^2.3.12", - "@abaplint/transpiler-cli": "^2.3.12" + "@abaplint/cli": "^2.93.51", + "@abaplint/runtime": "^2.3.20", + "@abaplint/transpiler-cli": "^2.3.20" } }, "node_modules/@abaplint/cli": { - "version": "2.93.47", - "resolved": "https://registry.npmjs.org/@abaplint/cli/-/cli-2.93.47.tgz", - "integrity": "sha512-0p9qFZV2kSIA8D8RN6Q3Zrd4Jqelhyi94aEwr8VKxx5frqcz41Q4BujyVXkP0rS61g1I1tagmc7OHU1ShgPknw==", + "version": "2.93.51", + "resolved": "https://registry.npmjs.org/@abaplint/cli/-/cli-2.93.51.tgz", + "integrity": "sha512-O6acFT5iUkLl3L+XRklY4LwGkuGhL3xiUDQ73DCEqxmdnWxNBwkwx4T23/T4qJdYRMxv4xwp8Ay0euJdR3ayew==", "bin": { "abaplint": "abaplint" }, @@ -26,17 +26,17 @@ } }, "node_modules/@abaplint/runtime": { - "version": "2.3.12", - "resolved": "https://registry.npmjs.org/@abaplint/runtime/-/runtime-2.3.12.tgz", - "integrity": "sha512-KKBnufBO40mnx8OFyBq/qTL8T4i8xIymn7981S8vpO00w1C/gAzZWZdk2rUbrHdNe1ToYgq5I+mC1piXgd/pcg==", + "version": "2.3.20", + "resolved": "https://registry.npmjs.org/@abaplint/runtime/-/runtime-2.3.20.tgz", + "integrity": "sha512-xjtz53Kg4FK15m1DHkhaH3/ScVCcJi5fwZMmDTqyinlUv0UUqYJx712T6VITd8JMStEzx+49vaNY+ExW4HRVrA==", "dependencies": { "temporal-polyfill": "^0.0.8" } }, "node_modules/@abaplint/transpiler-cli": { - "version": "2.3.12", - "resolved": "https://registry.npmjs.org/@abaplint/transpiler-cli/-/transpiler-cli-2.3.12.tgz", - "integrity": "sha512-J2Gnd6uXJL778IrmWcvswDuruvhl5ZyrwhViXZ9O5JqkW/q8IIXtQ5hFAUutC7flugd+Ctnfwk/cp285ShtPhA==", + "version": "2.3.20", + "resolved": "https://registry.npmjs.org/@abaplint/transpiler-cli/-/transpiler-cli-2.3.20.tgz", + "integrity": "sha512-TU7nM7qf1dkajjvs7VKz9AzbFsqs8RtXnA9Z2nPpSUyBeZZRbswZsmH3zq85HYaW1Oy2Amu6WztmctkLgAGBsA==", "bin": { "abap_transpile": "abap_transpile" } @@ -57,22 +57,22 @@ }, "dependencies": { "@abaplint/cli": { - "version": "2.93.47", - "resolved": "https://registry.npmjs.org/@abaplint/cli/-/cli-2.93.47.tgz", - "integrity": "sha512-0p9qFZV2kSIA8D8RN6Q3Zrd4Jqelhyi94aEwr8VKxx5frqcz41Q4BujyVXkP0rS61g1I1tagmc7OHU1ShgPknw==" + "version": "2.93.51", + "resolved": "https://registry.npmjs.org/@abaplint/cli/-/cli-2.93.51.tgz", + "integrity": "sha512-O6acFT5iUkLl3L+XRklY4LwGkuGhL3xiUDQ73DCEqxmdnWxNBwkwx4T23/T4qJdYRMxv4xwp8Ay0euJdR3ayew==" }, "@abaplint/runtime": { - "version": "2.3.12", - "resolved": "https://registry.npmjs.org/@abaplint/runtime/-/runtime-2.3.12.tgz", - "integrity": "sha512-KKBnufBO40mnx8OFyBq/qTL8T4i8xIymn7981S8vpO00w1C/gAzZWZdk2rUbrHdNe1ToYgq5I+mC1piXgd/pcg==", + "version": "2.3.20", + "resolved": "https://registry.npmjs.org/@abaplint/runtime/-/runtime-2.3.20.tgz", + "integrity": "sha512-xjtz53Kg4FK15m1DHkhaH3/ScVCcJi5fwZMmDTqyinlUv0UUqYJx712T6VITd8JMStEzx+49vaNY+ExW4HRVrA==", "requires": { "temporal-polyfill": "^0.0.8" } }, "@abaplint/transpiler-cli": { - "version": "2.3.12", - "resolved": "https://registry.npmjs.org/@abaplint/transpiler-cli/-/transpiler-cli-2.3.12.tgz", - "integrity": "sha512-J2Gnd6uXJL778IrmWcvswDuruvhl5ZyrwhViXZ9O5JqkW/q8IIXtQ5hFAUutC7flugd+Ctnfwk/cp285ShtPhA==" + "version": "2.3.20", + "resolved": "https://registry.npmjs.org/@abaplint/transpiler-cli/-/transpiler-cli-2.3.20.tgz", + "integrity": "sha512-TU7nM7qf1dkajjvs7VKz9AzbFsqs8RtXnA9Z2nPpSUyBeZZRbswZsmH3zq85HYaW1Oy2Amu6WztmctkLgAGBsA==" }, "temporal-polyfill": { "version": "0.0.8", diff --git a/package.json b/package.json index 4988d14..2a2470c 100644 --- a/package.json +++ b/package.json @@ -18,8 +18,8 @@ }, "homepage": "https://github.com/open-abap/open-abap-ssh#readme", "dependencies": { - "@abaplint/cli": "^2.93.47", - "@abaplint/runtime": "^2.3.12", - "@abaplint/transpiler-cli": "^2.3.12" + "@abaplint/cli": "^2.93.51", + "@abaplint/runtime": "^2.3.20", + "@abaplint/transpiler-cli": "^2.3.20" } } From 8542756f7465f322219f777211a57f3e8e20fdc3 Mon Sep 17 00:00:00 2001 From: larshp Date: Thu, 27 Oct 2022 05:02:46 +0000 Subject: [PATCH 04/15] downport --- src/zcl_oassh.clas.abap | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/zcl_oassh.clas.abap b/src/zcl_oassh.clas.abap index b527908..fb721ad 100644 --- a/src/zcl_oassh.clas.abap +++ b/src/zcl_oassh.clas.abap @@ -112,12 +112,13 @@ CLASS ZCL_OASSH IMPLEMENTATION. METHOD if_apc_wsp_event_handler~on_message. DATA lv_message TYPE xstring. + DATA lx_error TYPE REF TO cx_root. TRY. lv_message = i_message->get_binary( ). mo_stream->append( lv_message ). handle( ). - CATCH cx_root INTO DATA(lx_error). + CATCH cx_root INTO lx_error. BREAK-POINT. ENDTRY. ENDMETHOD. From 05326a443d9029e095e2776cda41f8cd8ec79ed4 Mon Sep 17 00:00:00 2001 From: larshp Date: Thu, 27 Oct 2022 05:06:24 +0000 Subject: [PATCH 05/15] pp --- src/zcl_oassh.clas.abap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/zcl_oassh.clas.abap b/src/zcl_oassh.clas.abap index fb721ad..826fc22 100644 --- a/src/zcl_oassh.clas.abap +++ b/src/zcl_oassh.clas.abap @@ -112,7 +112,7 @@ CLASS ZCL_OASSH IMPLEMENTATION. METHOD if_apc_wsp_event_handler~on_message. DATA lv_message TYPE xstring. - DATA lx_error TYPE REF TO cx_root. + DATA lx_error TYPE REF TO cx_root. TRY. lv_message = i_message->get_binary( ). From 8c371e101e54a4529cc7a07b4ca534b78f33a490 Mon Sep 17 00:00:00 2001 From: larshp Date: Thu, 27 Oct 2022 05:23:00 +0000 Subject: [PATCH 06/15] serialize and parse 2 message types --- src/zcl_oassh_message_ecdh_30.clas.abap | 14 ++++++++++++-- src/zcl_oassh_message_ecdh_31.clas.abap | 18 ++++++++++++++++-- 2 files changed, 28 insertions(+), 4 deletions(-) diff --git a/src/zcl_oassh_message_ecdh_30.clas.abap b/src/zcl_oassh_message_ecdh_30.clas.abap index 6e633e7..efcf9ed 100644 --- a/src/zcl_oassh_message_ecdh_30.clas.abap +++ b/src/zcl_oassh_message_ecdh_30.clas.abap @@ -35,11 +35,21 @@ CLASS ZCL_OASSH_MESSAGE_ECDH_30 IMPLEMENTATION. METHOD parse. - BREAK-POINT. +* https://datatracker.ietf.org/doc/html/rfc5656#section-7.1 +* https://datatracker.ietf.org/doc/html/rfc5656#section-4 + + rs_data-message_id = io_stream->take( 1 ). + ASSERT rs_data-message_id = gc_message_id. + rs_data-q_c = io_stream->string_decode( ). + ENDMETHOD. METHOD serialize. - BREAK-POINT. + + CREATE OBJECT ro_stream. + ro_stream->append( gc_message_id ). + ro_stream->string_encode( is_data-q_c ). + ENDMETHOD. ENDCLASS. diff --git a/src/zcl_oassh_message_ecdh_31.clas.abap b/src/zcl_oassh_message_ecdh_31.clas.abap index c068aac..d6f0d5f 100644 --- a/src/zcl_oassh_message_ecdh_31.clas.abap +++ b/src/zcl_oassh_message_ecdh_31.clas.abap @@ -37,11 +37,25 @@ CLASS ZCL_OASSH_MESSAGE_ECDH_31 IMPLEMENTATION. METHOD parse. - BREAK-POINT. +* https://datatracker.ietf.org/doc/html/rfc5656#section-7.1 +* https://datatracker.ietf.org/doc/html/rfc5656#section-4 + + rs_data-message_id = io_stream->take( 1 ). + ASSERT rs_data-message_id = gc_message_id. + rs_data-k_s = io_stream->string_decode( ). + rs_data-q_s = io_stream->string_decode( ). + rs_data-signature = io_stream->string_decode( ). + ENDMETHOD. METHOD serialize. - BREAK-POINT. + + CREATE OBJECT ro_stream. + ro_stream->append( gc_message_id ). + ro_stream->string_encode( is_data-k_s ). + ro_stream->string_encode( is_data-q_s ). + ro_stream->string_encode( is_data-signature ). + ENDMETHOD. ENDCLASS. From 4f0c6c23f3903049a1e7b5a2ffd8186e9159d121 Mon Sep 17 00:00:00 2001 From: Lars Hvam Date: Thu, 27 Oct 2022 07:37:15 +0200 Subject: [PATCH 07/15] update --- abaplint.jsonc | 59 +++++++++++------------------------------------ package-lock.json | 28 +++++++++++----------- package.json | 4 ++-- 3 files changed, 29 insertions(+), 62 deletions(-) diff --git a/abaplint.jsonc b/abaplint.jsonc index 10cce26..bc17ab2 100644 --- a/abaplint.jsonc +++ b/abaplint.jsonc @@ -30,7 +30,14 @@ "allowed_object_naming": true, "allowed_object_types": false, "ambiguous_statement": true, - "avoid_use": true, + "avoid_use": { + "define": true, + "statics": true, + "defaultKey": true, + "break": false, // todo + "testSeams": true, + "describeLines": true + }, "begin_end_names": true, "begin_single_include": true, "call_transaction_authority_check": true, @@ -54,58 +61,18 @@ "mapping": [] }, "constructor_visibility_public": true, - "contains_tab": { - "exclude": [], - "severity": "Error", - "spaces": 1 - }, + "contains_tab": true, "cyclic_oo": true, "cyclomatic_complexity": true, - "dangerous_statement": { - "exclude": [], - "severity": "Error", - "execSQL": true, - "kernelCall": true, - "systemCall": true, - "insertReport": true, - "generateDynpro": true, - "generateReport": true, - "generateSubroutine": true, - "deleteReport": true, - "deleteTextpool": true, - "exportDynpro": true, - "deleteDynpro": true, - "dynamicSQL": true - }, + "dangerous_statement": true, "db_operation_in_loop": true, "definitions_top": true, "description_empty": true, - "double_space": { - "exclude": [], - "severity": "Error", - "keywords": true, - "startParen": true, - "endParen": true, - "afterColon": true - }, + "double_space": true, "downport": true, - "empty_line_in_statement": { - "exclude": [], - "severity": "Error", - "allowChained": false - }, + "empty_line_in_statement": true, "empty_statement": true, - "empty_structure": { - "loop": true, - "if": true, - "when": true, - "while": true, - "case": true, - "select": true, - "do": true, - "at": true, - "try": true - }, + "empty_structure": true, "exit_or_check": true, "exporting": true, "forbidden_identifier": true, diff --git a/package-lock.json b/package-lock.json index 914aa0e..8e61e3a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,8 +10,8 @@ "license": "MIT", "dependencies": { "@abaplint/cli": "^2.93.51", - "@abaplint/runtime": "^2.3.20", - "@abaplint/transpiler-cli": "^2.3.20" + "@abaplint/runtime": "^2.3.21", + "@abaplint/transpiler-cli": "^2.3.21" } }, "node_modules/@abaplint/cli": { @@ -26,17 +26,17 @@ } }, "node_modules/@abaplint/runtime": { - "version": "2.3.20", - "resolved": "https://registry.npmjs.org/@abaplint/runtime/-/runtime-2.3.20.tgz", - "integrity": "sha512-xjtz53Kg4FK15m1DHkhaH3/ScVCcJi5fwZMmDTqyinlUv0UUqYJx712T6VITd8JMStEzx+49vaNY+ExW4HRVrA==", + "version": "2.3.21", + "resolved": "https://registry.npmjs.org/@abaplint/runtime/-/runtime-2.3.21.tgz", + "integrity": "sha512-4J+CmoWIRO2+LZokfYspgUyZEgyw/TU+EVR7vADfn0E3csciIZySF6Du2AG0vlUKk/bKLAALSlY3NpZh9ixC7Q==", "dependencies": { "temporal-polyfill": "^0.0.8" } }, "node_modules/@abaplint/transpiler-cli": { - "version": "2.3.20", - "resolved": "https://registry.npmjs.org/@abaplint/transpiler-cli/-/transpiler-cli-2.3.20.tgz", - "integrity": "sha512-TU7nM7qf1dkajjvs7VKz9AzbFsqs8RtXnA9Z2nPpSUyBeZZRbswZsmH3zq85HYaW1Oy2Amu6WztmctkLgAGBsA==", + "version": "2.3.21", + "resolved": "https://registry.npmjs.org/@abaplint/transpiler-cli/-/transpiler-cli-2.3.21.tgz", + "integrity": "sha512-dTrN36WtYvLeCWqAxUh4piuk/joKYQ0L41Ac5iwtb7tm6azpO2agJxFzuVyS7jGlUXASZsD2XlYiP0AagE2MBQ==", "bin": { "abap_transpile": "abap_transpile" } @@ -62,17 +62,17 @@ "integrity": "sha512-O6acFT5iUkLl3L+XRklY4LwGkuGhL3xiUDQ73DCEqxmdnWxNBwkwx4T23/T4qJdYRMxv4xwp8Ay0euJdR3ayew==" }, "@abaplint/runtime": { - "version": "2.3.20", - "resolved": "https://registry.npmjs.org/@abaplint/runtime/-/runtime-2.3.20.tgz", - "integrity": "sha512-xjtz53Kg4FK15m1DHkhaH3/ScVCcJi5fwZMmDTqyinlUv0UUqYJx712T6VITd8JMStEzx+49vaNY+ExW4HRVrA==", + "version": "2.3.21", + "resolved": "https://registry.npmjs.org/@abaplint/runtime/-/runtime-2.3.21.tgz", + "integrity": "sha512-4J+CmoWIRO2+LZokfYspgUyZEgyw/TU+EVR7vADfn0E3csciIZySF6Du2AG0vlUKk/bKLAALSlY3NpZh9ixC7Q==", "requires": { "temporal-polyfill": "^0.0.8" } }, "@abaplint/transpiler-cli": { - "version": "2.3.20", - "resolved": "https://registry.npmjs.org/@abaplint/transpiler-cli/-/transpiler-cli-2.3.20.tgz", - "integrity": "sha512-TU7nM7qf1dkajjvs7VKz9AzbFsqs8RtXnA9Z2nPpSUyBeZZRbswZsmH3zq85HYaW1Oy2Amu6WztmctkLgAGBsA==" + "version": "2.3.21", + "resolved": "https://registry.npmjs.org/@abaplint/transpiler-cli/-/transpiler-cli-2.3.21.tgz", + "integrity": "sha512-dTrN36WtYvLeCWqAxUh4piuk/joKYQ0L41Ac5iwtb7tm6azpO2agJxFzuVyS7jGlUXASZsD2XlYiP0AagE2MBQ==" }, "temporal-polyfill": { "version": "0.0.8", diff --git a/package.json b/package.json index 2a2470c..f3854a9 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ "homepage": "https://github.com/open-abap/open-abap-ssh#readme", "dependencies": { "@abaplint/cli": "^2.93.51", - "@abaplint/runtime": "^2.3.20", - "@abaplint/transpiler-cli": "^2.3.20" + "@abaplint/runtime": "^2.3.21", + "@abaplint/transpiler-cli": "^2.3.21" } } From c26ca5d2414e49a00dcf854b7e3c3f111a4506df Mon Sep 17 00:00:00 2001 From: Lars Hvam Date: Thu, 27 Oct 2022 07:38:08 +0200 Subject: [PATCH 08/15] update --- abaplint.jsonc | 51 ++++++++------------------------------------------ 1 file changed, 8 insertions(+), 43 deletions(-) diff --git a/abaplint.jsonc b/abaplint.jsonc index bc17ab2..97595e8 100644 --- a/abaplint.jsonc +++ b/abaplint.jsonc @@ -13,6 +13,8 @@ "errorNamespace": "." }, "rules": { + "cds_comment_style": true, + "change_if_to_case": true, "cds_legacy_view": true, "classic_exceptions_overlap": true, "local_testclass_consistency": true, @@ -104,50 +106,13 @@ "identical_form_names": true, "if_in_if": true, "implement_methods": true, - "in_statement_indentation": { - "exclude": [], - "severity": "Error", - "blockStatements": 2, - "ignoreExceptions": true - }, - "indentation": { - "exclude": [], - "severity": "Error", - "ignoreExceptions": true, - "alignTryCatch": false, - "selectionScreenBlockIndentation": false, - "globalClassSkipFirst": false, - "ignoreGlobalClassDefinition": false, - "ignoreGlobalInterface": false - }, + "in_statement_indentation": true, + "indentation": true, "inline_data_old_versions": true, - "intf_referencing_clas": { - "exclude": [], - "severity": "Error", - "allow": [] - }, - "keep_single_parameter_on_one_line": { - "exclude": [], - "severity": "Error", - "length": 120 - }, - "keyword_case": { - "exclude": [], - "severity": "Error", - "style": "upper", - "ignoreExceptions": true, - "ignoreLowerClassImplmentationStatement": true, - "ignoreGlobalClassDefinition": false, - "ignoreGlobalInterface": false, - "ignoreFunctionModuleName": false, - "ignoreGlobalClassBoundaries": false, - "ignoreKeywords": [] - }, - "line_break_multiple_parameters": { - "exclude": [], - "severity": "Error", - "count": 1 - }, + "intf_referencing_clas": true, + "keep_single_parameter_on_one_line": true, + "keyword_case": true, + "line_break_multiple_parameters": true, "line_break_style": false, "line_length": { "exclude": [], From 7c2a6bf662cabac6ead2d227e65d5c87cd326c05 Mon Sep 17 00:00:00 2001 From: Lars Hvam Date: Thu, 27 Oct 2022 08:33:54 +0200 Subject: [PATCH 09/15] add extensions and launch config --- .vscode/extensions.json | 5 +++++ .vscode/launch.json | 19 +++++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 .vscode/extensions.json create mode 100644 .vscode/launch.json diff --git a/.vscode/extensions.json b/.vscode/extensions.json new file mode 100644 index 0000000..7cf378e --- /dev/null +++ b/.vscode/extensions.json @@ -0,0 +1,5 @@ +{ + "recommendations": [ + "larshp.vscode-abaplint" + ] +} \ No newline at end of file diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..8d462af --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,19 @@ +{ + "version": "0.2.0", + "configurations": [ + { + "name": "All Unit Tests", + "type": "node", + "request": "launch", + "pauseForSourceMap": true, + "trace": false, + "skipFiles": [ + "/**", + "${workspaceFolder}/output/cl_*", + "${workspaceFolder}/output/index.mjs", + "${workspaceFolder}/node_modules/@abaplint/runtime/**" + ], + "program": "${workspaceFolder}/output/index.mjs", + } + ] +} \ No newline at end of file From 459ab749491e0243c58c24486d44ab99e3f56822 Mon Sep 17 00:00:00 2001 From: Lars Hvam Date: Thu, 27 Oct 2022 08:49:27 +0200 Subject: [PATCH 10/15] update --- .vscode/launch.json | 1 + package.json | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.vscode/launch.json b/.vscode/launch.json index 8d462af..a55f4e9 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -13,6 +13,7 @@ "${workspaceFolder}/output/index.mjs", "${workspaceFolder}/node_modules/@abaplint/runtime/**" ], + "preLaunchTask": "npm: build", "program": "${workspaceFolder}/output/index.mjs", } ] diff --git a/package.json b/package.json index f3854a9..60cd286 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,8 @@ "description": "open-abap-ssh", "scripts": { "test": "npx abaplint && npm run unit", - "unit": "rm -rf output && abap_transpile test/abap_transpile.json && echo RUNNING && node output/index.mjs" + "build": "rm -rf output && abap_transpile test/abap_transpile.json", + "unit": "npm run build && echo RUNNING && node output/index.mjs" }, "repository": { "type": "git", From 48afcd6396b4ca198d598f827dfdb0961af94436 Mon Sep 17 00:00:00 2001 From: Lars Hvam Date: Thu, 27 Oct 2022 11:04:32 +0200 Subject: [PATCH 11/15] update --- package-lock.json | 28 ++++++++++++++-------------- package.json | 4 ++-- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/package-lock.json b/package-lock.json index 8e61e3a..da2ac70 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,8 +10,8 @@ "license": "MIT", "dependencies": { "@abaplint/cli": "^2.93.51", - "@abaplint/runtime": "^2.3.21", - "@abaplint/transpiler-cli": "^2.3.21" + "@abaplint/runtime": "^2.3.22", + "@abaplint/transpiler-cli": "^2.3.22" } }, "node_modules/@abaplint/cli": { @@ -26,17 +26,17 @@ } }, "node_modules/@abaplint/runtime": { - "version": "2.3.21", - "resolved": "https://registry.npmjs.org/@abaplint/runtime/-/runtime-2.3.21.tgz", - "integrity": "sha512-4J+CmoWIRO2+LZokfYspgUyZEgyw/TU+EVR7vADfn0E3csciIZySF6Du2AG0vlUKk/bKLAALSlY3NpZh9ixC7Q==", + "version": "2.3.22", + "resolved": "https://registry.npmjs.org/@abaplint/runtime/-/runtime-2.3.22.tgz", + "integrity": "sha512-kJ/+k61PubV2MR7rE/O1QlDMHCrkZuhPrAfQYWA6VGDEdVRC0Ti0PQOXBdzFql1j+YzdrNnn61AD1S2tOLEZOg==", "dependencies": { "temporal-polyfill": "^0.0.8" } }, "node_modules/@abaplint/transpiler-cli": { - "version": "2.3.21", - "resolved": "https://registry.npmjs.org/@abaplint/transpiler-cli/-/transpiler-cli-2.3.21.tgz", - "integrity": "sha512-dTrN36WtYvLeCWqAxUh4piuk/joKYQ0L41Ac5iwtb7tm6azpO2agJxFzuVyS7jGlUXASZsD2XlYiP0AagE2MBQ==", + "version": "2.3.22", + "resolved": "https://registry.npmjs.org/@abaplint/transpiler-cli/-/transpiler-cli-2.3.22.tgz", + "integrity": "sha512-lHc/QZmEE07bO3JLWhVhV4saS18S1BPS5sdsLrxaRAWFW+SUnbpC9wiNRVx18wVRjOyLYyaQlL7/C/OmbJOHgg==", "bin": { "abap_transpile": "abap_transpile" } @@ -62,17 +62,17 @@ "integrity": "sha512-O6acFT5iUkLl3L+XRklY4LwGkuGhL3xiUDQ73DCEqxmdnWxNBwkwx4T23/T4qJdYRMxv4xwp8Ay0euJdR3ayew==" }, "@abaplint/runtime": { - "version": "2.3.21", - "resolved": "https://registry.npmjs.org/@abaplint/runtime/-/runtime-2.3.21.tgz", - "integrity": "sha512-4J+CmoWIRO2+LZokfYspgUyZEgyw/TU+EVR7vADfn0E3csciIZySF6Du2AG0vlUKk/bKLAALSlY3NpZh9ixC7Q==", + "version": "2.3.22", + "resolved": "https://registry.npmjs.org/@abaplint/runtime/-/runtime-2.3.22.tgz", + "integrity": "sha512-kJ/+k61PubV2MR7rE/O1QlDMHCrkZuhPrAfQYWA6VGDEdVRC0Ti0PQOXBdzFql1j+YzdrNnn61AD1S2tOLEZOg==", "requires": { "temporal-polyfill": "^0.0.8" } }, "@abaplint/transpiler-cli": { - "version": "2.3.21", - "resolved": "https://registry.npmjs.org/@abaplint/transpiler-cli/-/transpiler-cli-2.3.21.tgz", - "integrity": "sha512-dTrN36WtYvLeCWqAxUh4piuk/joKYQ0L41Ac5iwtb7tm6azpO2agJxFzuVyS7jGlUXASZsD2XlYiP0AagE2MBQ==" + "version": "2.3.22", + "resolved": "https://registry.npmjs.org/@abaplint/transpiler-cli/-/transpiler-cli-2.3.22.tgz", + "integrity": "sha512-lHc/QZmEE07bO3JLWhVhV4saS18S1BPS5sdsLrxaRAWFW+SUnbpC9wiNRVx18wVRjOyLYyaQlL7/C/OmbJOHgg==" }, "temporal-polyfill": { "version": "0.0.8", diff --git a/package.json b/package.json index 60cd286..96f72db 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ "homepage": "https://github.com/open-abap/open-abap-ssh#readme", "dependencies": { "@abaplint/cli": "^2.93.51", - "@abaplint/runtime": "^2.3.21", - "@abaplint/transpiler-cli": "^2.3.21" + "@abaplint/runtime": "^2.3.22", + "@abaplint/transpiler-cli": "^2.3.22" } } From d2d4bece1bb3f9dfded25da4966472582f3cdd83 Mon Sep 17 00:00:00 2001 From: Lars Hvam Date: Tue, 1 Nov 2022 09:57:37 +0100 Subject: [PATCH 12/15] Update README.md --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b9e8d59..a109bcc 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,13 @@ # open-abap-ssh + +Run on: Node.js & ECC + +Run on Steampunk if/when it supports TCP/IP + +## Protocol SSH client implemented in ABAP, over TCP/IP with 1 byte frame sizes = slow. https://datatracker.ietf.org/doc/html/rfc4251 - The Secure Shell (SSH) Protocol Architecture https://datatracker.ietf.org/doc/html/rfc4252 - The Secure Shell (SSH) Authentication Protocol https://datatracker.ietf.org/doc/html/rfc4253 - The Secure Shell (SSH) Transport Layer Protocol -https://datatracker.ietf.org/doc/html/rfc4254 - The Secure Shell (SSH) Connection Protocol \ No newline at end of file +https://datatracker.ietf.org/doc/html/rfc4254 - The Secure Shell (SSH) Connection Protocol From 2ac98ad429d74f4e9b9187838ee72f20c267ec5e Mon Sep 17 00:00:00 2001 From: Lars Hvam Date: Sun, 13 Apr 2025 15:00:17 +0200 Subject: [PATCH 13/15] update --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a109bcc..90fd4b5 100644 --- a/README.md +++ b/README.md @@ -10,4 +10,4 @@ SSH client implemented in ABAP, over TCP/IP with 1 byte frame sizes = slow. https://datatracker.ietf.org/doc/html/rfc4251 - The Secure Shell (SSH) Protocol Architecture https://datatracker.ietf.org/doc/html/rfc4252 - The Secure Shell (SSH) Authentication Protocol https://datatracker.ietf.org/doc/html/rfc4253 - The Secure Shell (SSH) Transport Layer Protocol -https://datatracker.ietf.org/doc/html/rfc4254 - The Secure Shell (SSH) Connection Protocol +https://datatracker.ietf.org/doc/html/rfc4254 - The Secure Shell (SSH) Connection Protocol \ No newline at end of file From e1c132f0c70632a127e67c7ffca7a9c3d431b6f5 Mon Sep 17 00:00:00 2001 From: Lars Hvam Date: Sun, 13 Apr 2025 15:02:21 +0200 Subject: [PATCH 14/15] update --- package-lock.json | 88 +++++++++++++++++++++++++++-------------------- package.json | 6 ++-- 2 files changed, 54 insertions(+), 40 deletions(-) diff --git a/package-lock.json b/package-lock.json index da2ac70..87c8c0a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,83 +9,97 @@ "version": "1.0.0", "license": "MIT", "dependencies": { - "@abaplint/cli": "^2.93.51", - "@abaplint/runtime": "^2.3.22", - "@abaplint/transpiler-cli": "^2.3.22" + "@abaplint/cli": "^2.113.108", + "@abaplint/runtime": "^2.10.42", + "@abaplint/transpiler-cli": "^2.10.42" } }, "node_modules/@abaplint/cli": { - "version": "2.93.51", - "resolved": "https://registry.npmjs.org/@abaplint/cli/-/cli-2.93.51.tgz", - "integrity": "sha512-O6acFT5iUkLl3L+XRklY4LwGkuGhL3xiUDQ73DCEqxmdnWxNBwkwx4T23/T4qJdYRMxv4xwp8Ay0euJdR3ayew==", + "version": "2.113.108", + "resolved": "https://registry.npmjs.org/@abaplint/cli/-/cli-2.113.108.tgz", + "integrity": "sha512-Qigo5UBwb0a2yskWJwYGgRfj7hx9rZ45sUb6kxQuMG/ZUT4xAIKIXxYf/hWQMqM+xSP4p85uIjDAs64rNzDQ9A==", + "license": "MIT", "bin": { "abaplint": "abaplint" }, "engines": { "node": ">=12.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/larshp" } }, "node_modules/@abaplint/runtime": { - "version": "2.3.22", - "resolved": "https://registry.npmjs.org/@abaplint/runtime/-/runtime-2.3.22.tgz", - "integrity": "sha512-kJ/+k61PubV2MR7rE/O1QlDMHCrkZuhPrAfQYWA6VGDEdVRC0Ti0PQOXBdzFql1j+YzdrNnn61AD1S2tOLEZOg==", + "version": "2.10.42", + "resolved": "https://registry.npmjs.org/@abaplint/runtime/-/runtime-2.10.42.tgz", + "integrity": "sha512-dXjCY4DSfd5NKPe3mt7wXJsi/MTHUsRppDfX4f/dypRueQTkxdX8J2GbUl+hKwF+xE841g1LzxZQmkzNRt/odw==", + "license": "MIT", "dependencies": { - "temporal-polyfill": "^0.0.8" + "temporal-polyfill": "^0.2.5" + }, + "funding": { + "url": "https://github.com/sponsors/larshp" } }, "node_modules/@abaplint/transpiler-cli": { - "version": "2.3.22", - "resolved": "https://registry.npmjs.org/@abaplint/transpiler-cli/-/transpiler-cli-2.3.22.tgz", - "integrity": "sha512-lHc/QZmEE07bO3JLWhVhV4saS18S1BPS5sdsLrxaRAWFW+SUnbpC9wiNRVx18wVRjOyLYyaQlL7/C/OmbJOHgg==", + "version": "2.10.42", + "resolved": "https://registry.npmjs.org/@abaplint/transpiler-cli/-/transpiler-cli-2.10.42.tgz", + "integrity": "sha512-gdgzYfN4uCX6XUX0XfR6p67TQilqghLJ/sU6JBzzn3EIx2cbi2orC3/xsV4xtoFnV9F0jDx+RCCzYcYGHzwSyg==", + "license": "MIT", "bin": { "abap_transpile": "abap_transpile" + }, + "funding": { + "url": "https://github.com/sponsors/larshp" } }, "node_modules/temporal-polyfill": { - "version": "0.0.8", - "resolved": "https://registry.npmjs.org/temporal-polyfill/-/temporal-polyfill-0.0.8.tgz", - "integrity": "sha512-IuA8GhS1PRC04H/zVNAIxJvCZQum6V5HjqFj7gz1a3SMUf/Kf1xIXILNYtxrWYnGqIU/RrDRxlCKCm/vmqnBvw==", + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/temporal-polyfill/-/temporal-polyfill-0.2.5.tgz", + "integrity": "sha512-ye47xp8Cb0nDguAhrrDS1JT1SzwEV9e26sSsrWzVu+yPZ7LzceEcH0i2gci9jWfOfSCCgM3Qv5nOYShVUUFUXA==", + "license": "MIT", "dependencies": { - "temporal-spec": "0.0.3" + "temporal-spec": "^0.2.4" } }, "node_modules/temporal-spec": { - "version": "0.0.3", - "resolved": "https://registry.npmjs.org/temporal-spec/-/temporal-spec-0.0.3.tgz", - "integrity": "sha512-gJu7QRqn5c2vTSkYWGC4qz1i+FZ9C+Cz16UIBMRcjgXOsHfXeSIgaWUKeq/2rz1iNfFxvmF/ywqbfC6ggTpjkA==" + "version": "0.2.4", + "resolved": "https://registry.npmjs.org/temporal-spec/-/temporal-spec-0.2.4.tgz", + "integrity": "sha512-lDMFv4nKQrSjlkHKAlHVqKrBG4DyFfa9F74cmBZ3Iy3ed8yvWnlWSIdi4IKfSqwmazAohBNwiN64qGx4y5Q3IQ==", + "license": "ISC" } }, "dependencies": { "@abaplint/cli": { - "version": "2.93.51", - "resolved": "https://registry.npmjs.org/@abaplint/cli/-/cli-2.93.51.tgz", - "integrity": "sha512-O6acFT5iUkLl3L+XRklY4LwGkuGhL3xiUDQ73DCEqxmdnWxNBwkwx4T23/T4qJdYRMxv4xwp8Ay0euJdR3ayew==" + "version": "2.113.108", + "resolved": "https://registry.npmjs.org/@abaplint/cli/-/cli-2.113.108.tgz", + "integrity": "sha512-Qigo5UBwb0a2yskWJwYGgRfj7hx9rZ45sUb6kxQuMG/ZUT4xAIKIXxYf/hWQMqM+xSP4p85uIjDAs64rNzDQ9A==" }, "@abaplint/runtime": { - "version": "2.3.22", - "resolved": "https://registry.npmjs.org/@abaplint/runtime/-/runtime-2.3.22.tgz", - "integrity": "sha512-kJ/+k61PubV2MR7rE/O1QlDMHCrkZuhPrAfQYWA6VGDEdVRC0Ti0PQOXBdzFql1j+YzdrNnn61AD1S2tOLEZOg==", + "version": "2.10.42", + "resolved": "https://registry.npmjs.org/@abaplint/runtime/-/runtime-2.10.42.tgz", + "integrity": "sha512-dXjCY4DSfd5NKPe3mt7wXJsi/MTHUsRppDfX4f/dypRueQTkxdX8J2GbUl+hKwF+xE841g1LzxZQmkzNRt/odw==", "requires": { - "temporal-polyfill": "^0.0.8" + "temporal-polyfill": "^0.2.5" } }, "@abaplint/transpiler-cli": { - "version": "2.3.22", - "resolved": "https://registry.npmjs.org/@abaplint/transpiler-cli/-/transpiler-cli-2.3.22.tgz", - "integrity": "sha512-lHc/QZmEE07bO3JLWhVhV4saS18S1BPS5sdsLrxaRAWFW+SUnbpC9wiNRVx18wVRjOyLYyaQlL7/C/OmbJOHgg==" + "version": "2.10.42", + "resolved": "https://registry.npmjs.org/@abaplint/transpiler-cli/-/transpiler-cli-2.10.42.tgz", + "integrity": "sha512-gdgzYfN4uCX6XUX0XfR6p67TQilqghLJ/sU6JBzzn3EIx2cbi2orC3/xsV4xtoFnV9F0jDx+RCCzYcYGHzwSyg==" }, "temporal-polyfill": { - "version": "0.0.8", - "resolved": "https://registry.npmjs.org/temporal-polyfill/-/temporal-polyfill-0.0.8.tgz", - "integrity": "sha512-IuA8GhS1PRC04H/zVNAIxJvCZQum6V5HjqFj7gz1a3SMUf/Kf1xIXILNYtxrWYnGqIU/RrDRxlCKCm/vmqnBvw==", + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/temporal-polyfill/-/temporal-polyfill-0.2.5.tgz", + "integrity": "sha512-ye47xp8Cb0nDguAhrrDS1JT1SzwEV9e26sSsrWzVu+yPZ7LzceEcH0i2gci9jWfOfSCCgM3Qv5nOYShVUUFUXA==", "requires": { - "temporal-spec": "0.0.3" + "temporal-spec": "^0.2.4" } }, "temporal-spec": { - "version": "0.0.3", - "resolved": "https://registry.npmjs.org/temporal-spec/-/temporal-spec-0.0.3.tgz", - "integrity": "sha512-gJu7QRqn5c2vTSkYWGC4qz1i+FZ9C+Cz16UIBMRcjgXOsHfXeSIgaWUKeq/2rz1iNfFxvmF/ywqbfC6ggTpjkA==" + "version": "0.2.4", + "resolved": "https://registry.npmjs.org/temporal-spec/-/temporal-spec-0.2.4.tgz", + "integrity": "sha512-lDMFv4nKQrSjlkHKAlHVqKrBG4DyFfa9F74cmBZ3Iy3ed8yvWnlWSIdi4IKfSqwmazAohBNwiN64qGx4y5Q3IQ==" } } } diff --git a/package.json b/package.json index 96f72db..2b8b02f 100644 --- a/package.json +++ b/package.json @@ -19,8 +19,8 @@ }, "homepage": "https://github.com/open-abap/open-abap-ssh#readme", "dependencies": { - "@abaplint/cli": "^2.93.51", - "@abaplint/runtime": "^2.3.22", - "@abaplint/transpiler-cli": "^2.3.22" + "@abaplint/cli": "^2.113.108", + "@abaplint/runtime": "^2.10.42", + "@abaplint/transpiler-cli": "^2.10.42" } } From 9a95ab435a7abf32add0c936cd638605101cef7c Mon Sep 17 00:00:00 2001 From: Lars Hvam Date: Sun, 13 Apr 2025 15:04:45 +0200 Subject: [PATCH 15/15] update actions --- .github/workflows/test.yml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 823791d..52337e9 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -8,11 +8,7 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 10 steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 - with: - node-version: '16' - - name: npm install - run: npm ci - - name: npm test - run: npm test \ No newline at end of file + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + - run: npm ci + - run: npm test \ No newline at end of file