update to latest (#140)

This commit is contained in:
Lars Hvam
2022-09-25 11:39:30 +02:00
committed by GitHub
parent 2937f9b972
commit f5b2b03984
8 changed files with 52 additions and 51 deletions

86
package-lock.json generated
View File

@@ -9,10 +9,10 @@
"version": "0.1.0",
"license": "AGPL-3.0-or-later",
"dependencies": {
"@abaplint/cli": "^2.93.28",
"@abaplint/runtime": "^2.1.72",
"@abaplint/transpiler": "^2.1.72",
"@abaplint/transpiler-cli": "^2.1.72"
"@abaplint/cli": "^2.93.29",
"@abaplint/runtime": "^2.1.76",
"@abaplint/transpiler": "^2.1.76",
"@abaplint/transpiler-cli": "^2.1.76"
},
"bin": {
"abap-test-runner": "bin/run.sh"
@@ -20,7 +20,7 @@
"devDependencies": {
"@types/chai": "^4.3.3",
"@types/mocha": "^9.1.1",
"@types/node": "^18.7.18",
"@types/node": "^18.7.20",
"chai": "^4.3.6",
"mocha": "^10.0.0",
"source-map-support": "^0.5.21",
@@ -28,9 +28,9 @@
}
},
"node_modules/@abaplint/cli": {
"version": "2.93.28",
"resolved": "https://registry.npmjs.org/@abaplint/cli/-/cli-2.93.28.tgz",
"integrity": "sha512-kPeLsacYPxswdcmQmOXyumJNbATpHxV4bV71X3Q5VPsPoILfay4Rwc7W34zAR5w/7BoZ7Wwyzi9tnNOWVU8HMw==",
"version": "2.93.29",
"resolved": "https://registry.npmjs.org/@abaplint/cli/-/cli-2.93.29.tgz",
"integrity": "sha512-ymudBmhXw1gNZaMLpujBttwNvVwfymKgZn0bweAPxOj8VsahM8n26y3JUvxS964c3DK9J6pgdzfh/97GbGbbUg==",
"bin": {
"abaplint": "abaplint"
},
@@ -39,9 +39,9 @@
}
},
"node_modules/@abaplint/core": {
"version": "2.93.26",
"resolved": "https://registry.npmjs.org/@abaplint/core/-/core-2.93.26.tgz",
"integrity": "sha512-h/9uKo5t0+rJDXIYiTgHu8JvVU1XTtRBdQqLfQEzg1Firasy4pKsrLs0QL+7pVqYOt0FT5X1W8RPk3w55GnOmA==",
"version": "2.93.29",
"resolved": "https://registry.npmjs.org/@abaplint/core/-/core-2.93.29.tgz",
"integrity": "sha512-lZSXc7FFlo/O58q7sWYOJDlnPEiXZWr6kJ3jOgZEf6yG+9TF9xya7M4ogwBOAOEROPzpb9PM6zHND6CZ4OYXeg==",
"dependencies": {
"fast-xml-parser": "^4.0.10",
"json5": "^2.2.1",
@@ -52,26 +52,26 @@
}
},
"node_modules/@abaplint/runtime": {
"version": "2.1.72",
"resolved": "https://registry.npmjs.org/@abaplint/runtime/-/runtime-2.1.72.tgz",
"integrity": "sha512-uXvK505sgseCoajaiw3GrslXKOHlAEEO6Y1mXmeWFdDPth2XmNJSpnreqOoS70bWbbb0eWd0eZ1AjHnqLYkkfg==",
"version": "2.1.76",
"resolved": "https://registry.npmjs.org/@abaplint/runtime/-/runtime-2.1.76.tgz",
"integrity": "sha512-UqP1wCfcMitPXVmz1fOFHjbihsjwGWBGKh64hb7AQXy9RH8hZYjqirkiI5IajcxOzJzAQtdJc8Otd48Ahyj2tA==",
"dependencies": {
"temporal-polyfill": "^0.0.8"
}
},
"node_modules/@abaplint/transpiler": {
"version": "2.1.72",
"resolved": "https://registry.npmjs.org/@abaplint/transpiler/-/transpiler-2.1.72.tgz",
"integrity": "sha512-vKrIkhse/Ce8wLuU2JNDlzHFmxHKbb5YgBKYLV4nNB8qa8L+QVNZDizMRbcPyAQ1abWduf+oBo4zFBpV0fFbfA==",
"version": "2.1.76",
"resolved": "https://registry.npmjs.org/@abaplint/transpiler/-/transpiler-2.1.76.tgz",
"integrity": "sha512-1SBIaiT2ZHpSCaMX08kPbP3jWPsV2RLHPOfaKkr+k+vr95R82tDi+AJ+BRV0b5lxabZhaFjRMhEBDEINOlRhtQ==",
"dependencies": {
"@abaplint/core": "^2.93.26",
"@abaplint/core": "^2.93.29",
"source-map": "^0.7.4"
}
},
"node_modules/@abaplint/transpiler-cli": {
"version": "2.1.72",
"resolved": "https://registry.npmjs.org/@abaplint/transpiler-cli/-/transpiler-cli-2.1.72.tgz",
"integrity": "sha512-1rQaXTC9EHdaxHdzrhvGNRHT01K5jehs1ktT8y8gGz8aDXMsiOBtV6qhgwceY881Tme3qyesDQB5x4VwjDVSaA==",
"version": "2.1.76",
"resolved": "https://registry.npmjs.org/@abaplint/transpiler-cli/-/transpiler-cli-2.1.76.tgz",
"integrity": "sha512-E7uUM/JNXhmpUTHnXN5Hs1Zvl+bt17jxlZPTmAeVRfeql4FBJ8qjW/Hxq9eVY9uqp7XM/VIqNj/kcHEsyKGAvg==",
"bin": {
"abap_transpile": "abap_transpile"
}
@@ -97,9 +97,9 @@
"dev": true
},
"node_modules/@types/node": {
"version": "18.7.18",
"resolved": "https://registry.npmjs.org/@types/node/-/node-18.7.18.tgz",
"integrity": "sha512-m+6nTEOadJZuTPkKR/SYK3A2d7FZrgElol9UP1Kae90VVU4a6mxnPuLiIW1m4Cq4gZ/nWb9GrdVXJCoCazDAbg==",
"version": "18.7.20",
"resolved": "https://registry.npmjs.org/@types/node/-/node-18.7.20.tgz",
"integrity": "sha512-adzY4vLLr5Uivmx8+zfSJ5fbdgKxX8UMtjtl+17n0B1q1Nz8JEmE151vefMdpD+1gyh+77weN4qEhej/O7budQ==",
"dev": true
},
"node_modules/@ungap/promise-all-settled": {
@@ -1183,14 +1183,14 @@
},
"dependencies": {
"@abaplint/cli": {
"version": "2.93.28",
"resolved": "https://registry.npmjs.org/@abaplint/cli/-/cli-2.93.28.tgz",
"integrity": "sha512-kPeLsacYPxswdcmQmOXyumJNbATpHxV4bV71X3Q5VPsPoILfay4Rwc7W34zAR5w/7BoZ7Wwyzi9tnNOWVU8HMw=="
"version": "2.93.29",
"resolved": "https://registry.npmjs.org/@abaplint/cli/-/cli-2.93.29.tgz",
"integrity": "sha512-ymudBmhXw1gNZaMLpujBttwNvVwfymKgZn0bweAPxOj8VsahM8n26y3JUvxS964c3DK9J6pgdzfh/97GbGbbUg=="
},
"@abaplint/core": {
"version": "2.93.26",
"resolved": "https://registry.npmjs.org/@abaplint/core/-/core-2.93.26.tgz",
"integrity": "sha512-h/9uKo5t0+rJDXIYiTgHu8JvVU1XTtRBdQqLfQEzg1Firasy4pKsrLs0QL+7pVqYOt0FT5X1W8RPk3w55GnOmA==",
"version": "2.93.29",
"resolved": "https://registry.npmjs.org/@abaplint/core/-/core-2.93.29.tgz",
"integrity": "sha512-lZSXc7FFlo/O58q7sWYOJDlnPEiXZWr6kJ3jOgZEf6yG+9TF9xya7M4ogwBOAOEROPzpb9PM6zHND6CZ4OYXeg==",
"requires": {
"fast-xml-parser": "^4.0.10",
"json5": "^2.2.1",
@@ -1198,19 +1198,19 @@
}
},
"@abaplint/runtime": {
"version": "2.1.72",
"resolved": "https://registry.npmjs.org/@abaplint/runtime/-/runtime-2.1.72.tgz",
"integrity": "sha512-uXvK505sgseCoajaiw3GrslXKOHlAEEO6Y1mXmeWFdDPth2XmNJSpnreqOoS70bWbbb0eWd0eZ1AjHnqLYkkfg==",
"version": "2.1.76",
"resolved": "https://registry.npmjs.org/@abaplint/runtime/-/runtime-2.1.76.tgz",
"integrity": "sha512-UqP1wCfcMitPXVmz1fOFHjbihsjwGWBGKh64hb7AQXy9RH8hZYjqirkiI5IajcxOzJzAQtdJc8Otd48Ahyj2tA==",
"requires": {
"temporal-polyfill": "^0.0.8"
}
},
"@abaplint/transpiler": {
"version": "2.1.72",
"resolved": "https://registry.npmjs.org/@abaplint/transpiler/-/transpiler-2.1.72.tgz",
"integrity": "sha512-vKrIkhse/Ce8wLuU2JNDlzHFmxHKbb5YgBKYLV4nNB8qa8L+QVNZDizMRbcPyAQ1abWduf+oBo4zFBpV0fFbfA==",
"version": "2.1.76",
"resolved": "https://registry.npmjs.org/@abaplint/transpiler/-/transpiler-2.1.76.tgz",
"integrity": "sha512-1SBIaiT2ZHpSCaMX08kPbP3jWPsV2RLHPOfaKkr+k+vr95R82tDi+AJ+BRV0b5lxabZhaFjRMhEBDEINOlRhtQ==",
"requires": {
"@abaplint/core": "^2.93.26",
"@abaplint/core": "^2.93.29",
"source-map": "^0.7.4"
},
"dependencies": {
@@ -1222,9 +1222,9 @@
}
},
"@abaplint/transpiler-cli": {
"version": "2.1.72",
"resolved": "https://registry.npmjs.org/@abaplint/transpiler-cli/-/transpiler-cli-2.1.72.tgz",
"integrity": "sha512-1rQaXTC9EHdaxHdzrhvGNRHT01K5jehs1ktT8y8gGz8aDXMsiOBtV6qhgwceY881Tme3qyesDQB5x4VwjDVSaA=="
"version": "2.1.76",
"resolved": "https://registry.npmjs.org/@abaplint/transpiler-cli/-/transpiler-cli-2.1.76.tgz",
"integrity": "sha512-E7uUM/JNXhmpUTHnXN5Hs1Zvl+bt17jxlZPTmAeVRfeql4FBJ8qjW/Hxq9eVY9uqp7XM/VIqNj/kcHEsyKGAvg=="
},
"@types/chai": {
"version": "4.3.3",
@@ -1239,9 +1239,9 @@
"dev": true
},
"@types/node": {
"version": "18.7.18",
"resolved": "https://registry.npmjs.org/@types/node/-/node-18.7.18.tgz",
"integrity": "sha512-m+6nTEOadJZuTPkKR/SYK3A2d7FZrgElol9UP1Kae90VVU4a6mxnPuLiIW1m4Cq4gZ/nWb9GrdVXJCoCazDAbg==",
"version": "18.7.20",
"resolved": "https://registry.npmjs.org/@types/node/-/node-18.7.20.tgz",
"integrity": "sha512-adzY4vLLr5Uivmx8+zfSJ5fbdgKxX8UMtjtl+17n0B1q1Nz8JEmE151vefMdpD+1gyh+77weN4qEhej/O7budQ==",
"dev": true
},
"@ungap/promise-all-settled": {

View File

@@ -26,10 +26,10 @@
"require": "source-map-support/register"
},
"dependencies": {
"@abaplint/transpiler-cli": "^2.1.72",
"@abaplint/transpiler": "^2.1.72",
"@abaplint/cli": "^2.93.28",
"@abaplint/runtime": "^2.1.72"
"@abaplint/transpiler-cli": "^2.1.76",
"@abaplint/transpiler": "^2.1.76",
"@abaplint/cli": "^2.93.29",
"@abaplint/runtime": "^2.1.76"
},
"devDependencies": {
"@types/chai": "^4.3.3",
@@ -38,6 +38,6 @@
"mocha": "^10.0.0",
"source-map-support": "^0.5.21",
"typescript": "^4.8.3",
"@types/node": "^18.7.18"
"@types/node": "^18.7.20"
}
}

View File

@@ -117,6 +117,7 @@ class Runner {
// 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/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/src/ddic/ttyp/string_table* ${this.tmpDir}/deps/`, {stdio: 'pipe'});
execSync(`cp -r open-abap/src/ddic/structures/scx* ${this.tmpDir}/deps/`, {stdio: 'pipe'});

View File

@@ -73,8 +73,8 @@ describe('abap-test-runner', async () => {
test("escape-new-line", "fail");
});
it('no-chained-assignment', async () => {
test("no-chained-assignment", "error");
it('chained-assignment', async () => {
test("chained-assignment", "fail");
});
it('structure-fail', async () => {

View File

@@ -0,0 +1 @@
{"version":2,"status":"fail","tests":[{"name":"TEST","status":"fail","message":"Expected '3', got '2'"}]}

View File

@@ -1 +0,0 @@
{"version":2,"status":"error","tests":[],"message":"./zcl_simple.clas.abap[10, 5] - No chained assignment (no_chained_assignment) [E]\nabaplint: 1 issue(s) found"}