update npm dependencies + update url (#226)

This commit is contained in:
Lars Hvam
2025-04-22 13:12:22 +02:00
committed by GitHub
parent 00dd715a14
commit 0feaba47ac
4 changed files with 81 additions and 80 deletions

1
.gitignore vendored
View File

@@ -1,6 +1,7 @@
dist dist
node_modules node_modules
open-abap/ open-abap/
open-abap-core/
output output
tests/*/_compile_result.txt tests/*/_compile_result.txt
tests/*/_run_result.txt tests/*/_run_result.txt

118
package-lock.json generated
View File

@@ -9,10 +9,10 @@
"version": "0.1.0", "version": "0.1.0",
"license": "AGPL-3.0-or-later", "license": "AGPL-3.0-or-later",
"dependencies": { "dependencies": {
"@abaplint/cli": "^2.113.108", "@abaplint/cli": "^2.113.110",
"@abaplint/runtime": "^2.10.34", "@abaplint/runtime": "^2.10.44",
"@abaplint/transpiler": "^2.10.34", "@abaplint/transpiler": "^2.10.44",
"@abaplint/transpiler-cli": "^2.10.34" "@abaplint/transpiler-cli": "^2.10.44"
}, },
"bin": { "bin": {
"abap-test-runner": "bin/run.sh" "abap-test-runner": "bin/run.sh"
@@ -20,7 +20,7 @@
"devDependencies": { "devDependencies": {
"@types/chai": "^4.3.20", "@types/chai": "^4.3.20",
"@types/mocha": "^10.0.10", "@types/mocha": "^10.0.10",
"@types/node": "^22.13.17", "@types/node": "^22.14.1",
"chai": "^4.5.0", "chai": "^4.5.0",
"mocha": "^11.1.0", "mocha": "^11.1.0",
"source-map-support": "^0.5.21", "source-map-support": "^0.5.21",
@@ -28,9 +28,9 @@
} }
}, },
"node_modules/@abaplint/cli": { "node_modules/@abaplint/cli": {
"version": "2.113.108", "version": "2.113.110",
"resolved": "https://registry.npmjs.org/@abaplint/cli/-/cli-2.113.108.tgz", "resolved": "https://registry.npmjs.org/@abaplint/cli/-/cli-2.113.110.tgz",
"integrity": "sha512-Qigo5UBwb0a2yskWJwYGgRfj7hx9rZ45sUb6kxQuMG/ZUT4xAIKIXxYf/hWQMqM+xSP4p85uIjDAs64rNzDQ9A==", "integrity": "sha512-EY5mP6dE/kv0FGcTMT3QhwWrcs4v3JXv9ZvjpTDJu6ncA0Z4v+nMJy0f66Ug+LHPmcUZHjevH+UTRuSYFlYYXQ==",
"license": "MIT", "license": "MIT",
"bin": { "bin": {
"abaplint": "abaplint" "abaplint": "abaplint"
@@ -43,12 +43,12 @@
} }
}, },
"node_modules/@abaplint/core": { "node_modules/@abaplint/core": {
"version": "2.113.108", "version": "2.113.110",
"resolved": "https://registry.npmjs.org/@abaplint/core/-/core-2.113.108.tgz", "resolved": "https://registry.npmjs.org/@abaplint/core/-/core-2.113.110.tgz",
"integrity": "sha512-Ny/hEDh7tKSaX9kO3y84rY2BRuYVNJljiKQQCrfamzVoDYb5Dr0R6aglQbe/SIg+x5bdTrnhEHAdtW3Ha+zlCw==", "integrity": "sha512-x8eZlfpeBQkbHrFw2DWk1IIRFnYwGdrizoJSFgtCCBBci8pzInjmLN16l0zFRT0gxtOCU3mMmts2MPdJfRIR9g==",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"fast-xml-parser": "^5.0.9", "fast-xml-parser": "^5.2.0",
"json5": "^2.2.3", "json5": "^2.2.3",
"vscode-languageserver-types": "^3.17.5" "vscode-languageserver-types": "^3.17.5"
}, },
@@ -60,9 +60,9 @@
} }
}, },
"node_modules/@abaplint/runtime": { "node_modules/@abaplint/runtime": {
"version": "2.10.34", "version": "2.10.44",
"resolved": "https://registry.npmjs.org/@abaplint/runtime/-/runtime-2.10.34.tgz", "resolved": "https://registry.npmjs.org/@abaplint/runtime/-/runtime-2.10.44.tgz",
"integrity": "sha512-KmPLEWpM/MeZbkixV+a4deC3L7Fc0/2jpIpWyb/o5N0FbA7B9pbrZGD1MlYuGZFlfUB1goNIt+TB6RCfKvoxMA==", "integrity": "sha512-D3z0+tiz5llaJwzFgt05HQLQAd6k/5PBY883TRkU+39t/DCHXtvSQ7cd03Myr19tSSAwmsPkEPrM7kVkToIdsg==",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"temporal-polyfill": "^0.2.5" "temporal-polyfill": "^0.2.5"
@@ -72,12 +72,12 @@
} }
}, },
"node_modules/@abaplint/transpiler": { "node_modules/@abaplint/transpiler": {
"version": "2.10.34", "version": "2.10.44",
"resolved": "https://registry.npmjs.org/@abaplint/transpiler/-/transpiler-2.10.34.tgz", "resolved": "https://registry.npmjs.org/@abaplint/transpiler/-/transpiler-2.10.44.tgz",
"integrity": "sha512-VBmtbh020dTJ4B+P4WkWSKgHcnzlYwttzAudT/4jqy+FyLgFzS2y0Fa0tRA1OLkHL1/fDPUxKZOxVKg0Akj/qA==", "integrity": "sha512-FRIP1JIY12qAplmp0vTGaSeYNbc/DmS/P55mnyy3aE/Vju7rgvQ7VslmgV0EwOoRmGAhkPhAeY9bvS8hA2oflQ==",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@abaplint/core": "^2.113.108", "@abaplint/core": "^2.113.109",
"source-map": "^0.7.4" "source-map": "^0.7.4"
}, },
"funding": { "funding": {
@@ -85,9 +85,9 @@
} }
}, },
"node_modules/@abaplint/transpiler-cli": { "node_modules/@abaplint/transpiler-cli": {
"version": "2.10.34", "version": "2.10.44",
"resolved": "https://registry.npmjs.org/@abaplint/transpiler-cli/-/transpiler-cli-2.10.34.tgz", "resolved": "https://registry.npmjs.org/@abaplint/transpiler-cli/-/transpiler-cli-2.10.44.tgz",
"integrity": "sha512-MeE5kWMWfjJN6Aj8VCQiXf5ocU5hIdrJfMEK6uSGjN2u9gaVsDF8VXU392LG+ivrWFxB3861fgVdy0GN4i+F5g==", "integrity": "sha512-DsJOQ3CLwP8o1LPyT19q8AUbqJxc2bqFlDAX4W57JLVqew4z9HsQf06lTxgN0Wo+khuJBfVEARePBzXJQl/pjQ==",
"license": "MIT", "license": "MIT",
"bin": { "bin": {
"abap_transpile": "abap_transpile" "abap_transpile": "abap_transpile"
@@ -148,13 +148,13 @@
"license": "MIT" "license": "MIT"
}, },
"node_modules/@types/node": { "node_modules/@types/node": {
"version": "22.13.17", "version": "22.14.1",
"resolved": "https://registry.npmjs.org/@types/node/-/node-22.13.17.tgz", "resolved": "https://registry.npmjs.org/@types/node/-/node-22.14.1.tgz",
"integrity": "sha512-nAJuQXoyPj04uLgu+obZcSmsfOenUg6DxPKogeUy6yNCFwWaj5sBF8/G/pNo8EtBJjAfSVgfIlugR/BCOleO+g==", "integrity": "sha512-u0HuPQwe/dHrItgHHpmw3N2fYCR6x4ivMNbPHRkBVP4CvN+kiRrKHWk3i8tXiO/joPwXLMYvF9TTF0eqgHIuOw==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"undici-types": "~6.20.0" "undici-types": "~6.21.0"
} }
}, },
"node_modules/ansi-colors": { "node_modules/ansi-colors": {
@@ -573,9 +573,9 @@
} }
}, },
"node_modules/fast-xml-parser": { "node_modules/fast-xml-parser": {
"version": "5.0.9", "version": "5.2.0",
"resolved": "https://registry.npmjs.org/fast-xml-parser/-/fast-xml-parser-5.0.9.tgz", "resolved": "https://registry.npmjs.org/fast-xml-parser/-/fast-xml-parser-5.2.0.tgz",
"integrity": "sha512-2mBwCiuW3ycKQQ6SOesSB8WeF+fIGb6I/GG5vU5/XEptwFFhp9PE8b9O7fbs2dpq9fXn4ULR3UsfydNUCntf5A==", "integrity": "sha512-Uw9+Mjt4SBRud1IcaYuW/O0lW8SKKdMl5g7g24HiIuyH5fQSD+AVLybSlJtqLYEbytVFjWQa5DMGcNgeksdRBg==",
"funding": [ "funding": [
{ {
"type": "github", "type": "github",
@@ -1386,9 +1386,9 @@
} }
}, },
"node_modules/undici-types": { "node_modules/undici-types": {
"version": "6.20.0", "version": "6.21.0",
"resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.20.0.tgz", "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.21.0.tgz",
"integrity": "sha512-Ny6QZ2Nju20vw1SRHe3d9jVu6gJ+4e3+MMpqu7pqE5HT6WsTSlce++GQmK5UXS8mzV8DSYHrQH+Xrf2jVcuKNg==", "integrity": "sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==",
"dev": true, "dev": true,
"license": "MIT" "license": "MIT"
}, },
@@ -1629,34 +1629,34 @@
}, },
"dependencies": { "dependencies": {
"@abaplint/cli": { "@abaplint/cli": {
"version": "2.113.108", "version": "2.113.110",
"resolved": "https://registry.npmjs.org/@abaplint/cli/-/cli-2.113.108.tgz", "resolved": "https://registry.npmjs.org/@abaplint/cli/-/cli-2.113.110.tgz",
"integrity": "sha512-Qigo5UBwb0a2yskWJwYGgRfj7hx9rZ45sUb6kxQuMG/ZUT4xAIKIXxYf/hWQMqM+xSP4p85uIjDAs64rNzDQ9A==" "integrity": "sha512-EY5mP6dE/kv0FGcTMT3QhwWrcs4v3JXv9ZvjpTDJu6ncA0Z4v+nMJy0f66Ug+LHPmcUZHjevH+UTRuSYFlYYXQ=="
}, },
"@abaplint/core": { "@abaplint/core": {
"version": "2.113.108", "version": "2.113.110",
"resolved": "https://registry.npmjs.org/@abaplint/core/-/core-2.113.108.tgz", "resolved": "https://registry.npmjs.org/@abaplint/core/-/core-2.113.110.tgz",
"integrity": "sha512-Ny/hEDh7tKSaX9kO3y84rY2BRuYVNJljiKQQCrfamzVoDYb5Dr0R6aglQbe/SIg+x5bdTrnhEHAdtW3Ha+zlCw==", "integrity": "sha512-x8eZlfpeBQkbHrFw2DWk1IIRFnYwGdrizoJSFgtCCBBci8pzInjmLN16l0zFRT0gxtOCU3mMmts2MPdJfRIR9g==",
"requires": { "requires": {
"fast-xml-parser": "^5.0.9", "fast-xml-parser": "^5.2.0",
"json5": "^2.2.3", "json5": "^2.2.3",
"vscode-languageserver-types": "^3.17.5" "vscode-languageserver-types": "^3.17.5"
} }
}, },
"@abaplint/runtime": { "@abaplint/runtime": {
"version": "2.10.34", "version": "2.10.44",
"resolved": "https://registry.npmjs.org/@abaplint/runtime/-/runtime-2.10.34.tgz", "resolved": "https://registry.npmjs.org/@abaplint/runtime/-/runtime-2.10.44.tgz",
"integrity": "sha512-KmPLEWpM/MeZbkixV+a4deC3L7Fc0/2jpIpWyb/o5N0FbA7B9pbrZGD1MlYuGZFlfUB1goNIt+TB6RCfKvoxMA==", "integrity": "sha512-D3z0+tiz5llaJwzFgt05HQLQAd6k/5PBY883TRkU+39t/DCHXtvSQ7cd03Myr19tSSAwmsPkEPrM7kVkToIdsg==",
"requires": { "requires": {
"temporal-polyfill": "^0.2.5" "temporal-polyfill": "^0.2.5"
} }
}, },
"@abaplint/transpiler": { "@abaplint/transpiler": {
"version": "2.10.34", "version": "2.10.44",
"resolved": "https://registry.npmjs.org/@abaplint/transpiler/-/transpiler-2.10.34.tgz", "resolved": "https://registry.npmjs.org/@abaplint/transpiler/-/transpiler-2.10.44.tgz",
"integrity": "sha512-VBmtbh020dTJ4B+P4WkWSKgHcnzlYwttzAudT/4jqy+FyLgFzS2y0Fa0tRA1OLkHL1/fDPUxKZOxVKg0Akj/qA==", "integrity": "sha512-FRIP1JIY12qAplmp0vTGaSeYNbc/DmS/P55mnyy3aE/Vju7rgvQ7VslmgV0EwOoRmGAhkPhAeY9bvS8hA2oflQ==",
"requires": { "requires": {
"@abaplint/core": "^2.113.108", "@abaplint/core": "^2.113.109",
"source-map": "^0.7.4" "source-map": "^0.7.4"
}, },
"dependencies": { "dependencies": {
@@ -1668,9 +1668,9 @@
} }
}, },
"@abaplint/transpiler-cli": { "@abaplint/transpiler-cli": {
"version": "2.10.34", "version": "2.10.44",
"resolved": "https://registry.npmjs.org/@abaplint/transpiler-cli/-/transpiler-cli-2.10.34.tgz", "resolved": "https://registry.npmjs.org/@abaplint/transpiler-cli/-/transpiler-cli-2.10.44.tgz",
"integrity": "sha512-MeE5kWMWfjJN6Aj8VCQiXf5ocU5hIdrJfMEK6uSGjN2u9gaVsDF8VXU392LG+ivrWFxB3861fgVdy0GN4i+F5g==" "integrity": "sha512-DsJOQ3CLwP8o1LPyT19q8AUbqJxc2bqFlDAX4W57JLVqew4z9HsQf06lTxgN0Wo+khuJBfVEARePBzXJQl/pjQ=="
}, },
"@isaacs/cliui": { "@isaacs/cliui": {
"version": "8.0.2", "version": "8.0.2",
@@ -1706,12 +1706,12 @@
"dev": true "dev": true
}, },
"@types/node": { "@types/node": {
"version": "22.13.17", "version": "22.14.1",
"resolved": "https://registry.npmjs.org/@types/node/-/node-22.13.17.tgz", "resolved": "https://registry.npmjs.org/@types/node/-/node-22.14.1.tgz",
"integrity": "sha512-nAJuQXoyPj04uLgu+obZcSmsfOenUg6DxPKogeUy6yNCFwWaj5sBF8/G/pNo8EtBJjAfSVgfIlugR/BCOleO+g==", "integrity": "sha512-u0HuPQwe/dHrItgHHpmw3N2fYCR6x4ivMNbPHRkBVP4CvN+kiRrKHWk3i8tXiO/joPwXLMYvF9TTF0eqgHIuOw==",
"dev": true, "dev": true,
"requires": { "requires": {
"undici-types": "~6.20.0" "undici-types": "~6.21.0"
} }
}, },
"ansi-colors": { "ansi-colors": {
@@ -2011,9 +2011,9 @@
"dev": true "dev": true
}, },
"fast-xml-parser": { "fast-xml-parser": {
"version": "5.0.9", "version": "5.2.0",
"resolved": "https://registry.npmjs.org/fast-xml-parser/-/fast-xml-parser-5.0.9.tgz", "resolved": "https://registry.npmjs.org/fast-xml-parser/-/fast-xml-parser-5.2.0.tgz",
"integrity": "sha512-2mBwCiuW3ycKQQ6SOesSB8WeF+fIGb6I/GG5vU5/XEptwFFhp9PE8b9O7fbs2dpq9fXn4ULR3UsfydNUCntf5A==", "integrity": "sha512-Uw9+Mjt4SBRud1IcaYuW/O0lW8SKKdMl5g7g24HiIuyH5fQSD+AVLybSlJtqLYEbytVFjWQa5DMGcNgeksdRBg==",
"requires": { "requires": {
"strnum": "^2.0.5" "strnum": "^2.0.5"
} }
@@ -2545,9 +2545,9 @@
"dev": true "dev": true
}, },
"undici-types": { "undici-types": {
"version": "6.20.0", "version": "6.21.0",
"resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.20.0.tgz", "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.21.0.tgz",
"integrity": "sha512-Ny6QZ2Nju20vw1SRHe3d9jVu6gJ+4e3+MMpqu7pqE5HT6WsTSlce++GQmK5UXS8mzV8DSYHrQH+Xrf2jVcuKNg==", "integrity": "sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==",
"dev": true "dev": true
}, },
"vscode-languageserver-types": { "vscode-languageserver-types": {

View File

@@ -16,7 +16,7 @@
"abap-test-runner": "bin/run.sh" "abap-test-runner": "bin/run.sh"
}, },
"scripts": { "scripts": {
"build": "tsc --outDir ./dist && git clone --depth=1 https://github.com/open-abap/open-abap || true", "build": "tsc --outDir ./dist && git clone --depth=1 https://github.com/open-abap/open-abap-core || true",
"test": "npm run build && mocha" "test": "npm run build && mocha"
}, },
"mocha": { "mocha": {
@@ -26,10 +26,10 @@
"require": "source-map-support/register" "require": "source-map-support/register"
}, },
"dependencies": { "dependencies": {
"@abaplint/transpiler-cli": "^2.10.34", "@abaplint/transpiler-cli": "^2.10.44",
"@abaplint/transpiler": "^2.10.34", "@abaplint/transpiler": "^2.10.44",
"@abaplint/cli": "^2.113.108", "@abaplint/cli": "^2.113.110",
"@abaplint/runtime": "^2.10.34" "@abaplint/runtime": "^2.10.44"
}, },
"devDependencies": { "devDependencies": {
"@types/chai": "^4.3.20", "@types/chai": "^4.3.20",
@@ -38,6 +38,6 @@
"mocha": "^11.1.0", "mocha": "^11.1.0",
"source-map-support": "^0.5.21", "source-map-support": "^0.5.21",
"typescript": "^5.8.2", "typescript": "^5.8.2",
"@types/node": "^22.13.17" "@types/node": "^22.14.1"
} }
} }

View File

@@ -124,24 +124,24 @@ class Runner {
execSync(`cp extra/* ${this.tmpDir}/deps/`, {stdio: 'pipe'}); execSync(`cp extra/* ${this.tmpDir}/deps/`, {stdio: 'pipe'});
execSync(`cp open-abap/src/unit/*.clas*.abap ${this.tmpDir}/deps/`, {stdio: 'pipe'}); execSync(`cp open-abap-core/src/unit/*.clas*.abap ${this.tmpDir}/deps/`, {stdio: 'pipe'});
execSync(`cp open-abap/src/exceptions/* ${this.tmpDir}/deps/`, {stdio: 'pipe'}); execSync(`cp open-abap-core/src/exceptions/* ${this.tmpDir}/deps/`, {stdio: 'pipe'});
execSync(`cp open-abap/src/rtti/* ${this.tmpDir}/deps/`, {stdio: 'pipe'}); execSync(`cp open-abap-core/src/rtti/* ${this.tmpDir}/deps/`, {stdio: 'pipe'});
execSync(`cp open-abap/src/abap/abap.type.abap ${this.tmpDir}/deps/`, {stdio: 'pipe'}); execSync(`cp open-abap-core/src/abap/abap.type.abap ${this.tmpDir}/deps/`, {stdio: 'pipe'});
execSync(`cp open-abap/src/abap/cl_abap_char_utilities.clas.abap ${this.tmpDir}/deps/`, {stdio: 'pipe'}); execSync(`cp open-abap-core/src/abap/cl_abap_char_utilities.clas.abap ${this.tmpDir}/deps/`, {stdio: 'pipe'});
execSync(`cp open-abap/src/cl_message_helper.clas.abap ${this.tmpDir}/deps/`, {stdio: 'pipe'}); execSync(`cp open-abap-core/src/cl_message_helper.clas.abap ${this.tmpDir}/deps/`, {stdio: 'pipe'});
execSync(`cp open-abap/src/abap/math/cl_abap_math.clas.abap ${this.tmpDir}/deps/`, {stdio: 'pipe'}); execSync(`cp open-abap-core/src/abap/math/cl_abap_math.clas.abap ${this.tmpDir}/deps/`, {stdio: 'pipe'});
execSync(`cp open-abap/src/kernel/kernel_internal_name.clas.abap ${this.tmpDir}/deps/`, {stdio: 'pipe'}); execSync(`cp open-abap-core/src/kernel/kernel_internal_name.clas.abap ${this.tmpDir}/deps/`, {stdio: 'pipe'});
// DDIC, avoid copying transparent database table artifacts // DDIC, avoid copying transparent database table artifacts
execSync(`cp -r open-abap/src/ddic/dtel/timestamp* ${this.tmpDir}/deps/`, {stdio: 'pipe'}); execSync(`cp -r open-abap-core/src/ddic/dtel/timestamp* ${this.tmpDir}/deps/`, {stdio: 'pipe'});
execSync(`cp -r open-abap/src/ddic/dtel/sy* ${this.tmpDir}/deps/`, {stdio: 'pipe'}); execSync(`cp -r open-abap-core/src/ddic/dtel/sy* ${this.tmpDir}/deps/`, {stdio: 'pipe'});
execSync(`cp -r open-abap/src/ddic/dtel/int1* ${this.tmpDir}/deps/`, {stdio: 'pipe'}); execSync(`cp -r open-abap-core/src/ddic/dtel/int1* ${this.tmpDir}/deps/`, {stdio: 'pipe'});
execSync(`cp -r open-abap/src/ddic/dtel/sotr_conc* ${this.tmpDir}/deps/`, {stdio: 'pipe'}); execSync(`cp -r open-abap-core/src/ddic/dtel/sotr_conc* ${this.tmpDir}/deps/`, {stdio: 'pipe'});
execSync(`cp -r open-abap/src/ddic/ttyp/string_table* ${this.tmpDir}/deps/`, {stdio: 'pipe'}); execSync(`cp -r open-abap-core/src/ddic/ttyp/string_table* ${this.tmpDir}/deps/`, {stdio: 'pipe'});
execSync(`cp -r open-abap/src/ddic/structures/scx* ${this.tmpDir}/deps/`, {stdio: 'pipe'}); execSync(`cp -r open-abap-core/src/ddic/structures/scx* ${this.tmpDir}/deps/`, {stdio: 'pipe'});
execSync(`cp open-abap/src/classrun/*.intf.abap ${this.tmpDir}/deps/`, {stdio: 'pipe'}); execSync(`cp open-abap-core/src/classrun/*.intf.abap ${this.tmpDir}/deps/`, {stdio: 'pipe'});
execSync(`rm ${this.tmpDir}/deps/*.testclasses.*`, {stdio: 'pipe'}); execSync(`rm ${this.tmpDir}/deps/*.testclasses.*`, {stdio: 'pipe'});
const end = Date.now(); const end = Date.now();
console.log("initialize: " + (end - start) + "ms"); console.log("initialize: " + (end - start) + "ms");