diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..4120e63 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,11 @@ +# Normalize line endings to LF for all text files (abapGit + tooling expect LF) +* text=auto eol=lf +*.abap text eol=lf +*.xml text eol=lf +*.json text eol=lf +*.jsonc text eol=lf +*.md text eol=lf +*.mjs text eol=lf +*.js text eol=lf +*.yaml text eol=lf +*.yml text eol=lf diff --git a/.github/abaplint/abap_cloud.jsonc b/.github/abaplint/abap_cloud.jsonc index 8f73235..b64c0d1 100644 --- a/.github/abaplint/abap_cloud.jsonc +++ b/.github/abaplint/abap_cloud.jsonc @@ -1,8 +1,8 @@ { - "global": { - "files": "/../../src/**/*.*" - }, - "dependencies": [ + "global": { + "files": "/../../src/**/*.*" + }, + "dependencies": [ { "url": "https://github.com/abapedia/steampunk-2305-api-intersect-702", "folder": "/deps", @@ -13,29 +13,34 @@ "folder": "/abap2UI5", "files": "/src/**/*.*" }, + { + "url": "https://github.com/abap2UI5-addons/popups", + "folder": "/popups", + "files": "/src/**/*.*" + }, { "url": "https://github.com/abap2UI5-addons/custom-controls", "folder": "/customcontrols", "files": "/src/**/*.*" } - ], - "syntax": { - "version": "Cloud", - "errorNamespace": "." - }, - "rules": { - "downport": true, - "begin_end_names": true, - "check_ddic": true, - "check_include": true, - "check_syntax": true, - "global_class": true, - "definitions_top": false, - "implement_methods": true, - "method_implemented_twice": true, - "parser_error": true, - "superclass_final": true, - "unknown_types": true, - "xml_consistency": true - } + ], + "syntax": { + "version": "Cloud", + "errorNamespace": "." + }, + "rules": { + "downport": true, + "begin_end_names": true, + "check_ddic": true, + "check_include": true, + "check_syntax": true, + "global_class": true, + "definitions_top": false, + "implement_methods": true, + "method_implemented_twice": true, + "parser_error": true, + "superclass_final": true, + "unknown_types": true, + "xml_consistency": true } +} diff --git a/.github/abaplint/rename.json b/.github/abaplint/rename.json index 46e6de1..a314faa 100644 --- a/.github/abaplint/rename.json +++ b/.github/abaplint/rename.json @@ -12,6 +12,16 @@ "url": "https://github.com/abap2UI5/abap2UI5", "folder": "/abap2UI5", "files": "/src/**/*.*" + }, + { + "url": "https://github.com/abap2UI5-addons/popups", + "folder": "/popups", + "files": "/src/**/*.*" + }, + { + "url": "https://github.com/abap2UI5-addons/custom-controls", + "folder": "/customcontrols", + "files": "/src/**/*.*" } ], "rename": { diff --git a/.github/workflows/ABAP_CLOUD.yaml b/.github/workflows/ABAP_CLOUD.yaml index 2cf95d6..b5bdebd 100644 --- a/.github/workflows/ABAP_CLOUD.yaml +++ b/.github/workflows/ABAP_CLOUD.yaml @@ -3,18 +3,24 @@ name: ABAP_CLOUD on: push: branches: [main] + pull_request: permissions: contents: read +concurrency: + group: ABAP_CLOUD-${{ github.ref }} + cancel-in-progress: true + jobs: ABAP_CLOUD: runs-on: ubuntu-latest timeout-minutes: 10 steps: - - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 + - uses: actions/checkout@v5 + - uses: actions/setup-node@v5 with: - node-version: 22 + node-version: '22' + cache: 'npm' - run: npm ci - run: npx abaplint .github/abaplint/abap_cloud.jsonc diff --git a/.github/workflows/ABAP_STANDARD.yaml b/.github/workflows/ABAP_STANDARD.yaml index c6386ff..68dec42 100644 --- a/.github/workflows/ABAP_STANDARD.yaml +++ b/.github/workflows/ABAP_STANDARD.yaml @@ -3,18 +3,24 @@ name: ABAP_STANDARD on: push: branches: [main] + pull_request: permissions: contents: read +concurrency: + group: ABAP_STANDARD-${{ github.ref }} + cancel-in-progress: true + jobs: ABAP_STANDARD: runs-on: ubuntu-latest timeout-minutes: 10 steps: - - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 + - uses: actions/checkout@v5 + - uses: actions/setup-node@v5 with: - node-version: 22 + node-version: '22' + cache: 'npm' - run: npm ci - run: npx abaplint ./abaplint.jsonc diff --git a/.github/workflows/build_rename.yaml b/.github/workflows/build_rename.yaml new file mode 100644 index 0000000..ad80cf3 --- /dev/null +++ b/.github/workflows/build_rename.yaml @@ -0,0 +1,101 @@ +name: build_rename + +# Renames all artifacts to a chosen namespace and pushes the result to +# the branch rename_, e.g. rename_zmyui5 - ready to pull with +# abapGit for a parallel installation in the same SAP system. The +# renaming itself is the plain abaplint rename with the checked-in +# config .github/abaplint/rename.json (placeholder "zabap2ui5"); this +# workflow only sets the chosen name in the config and stores the +# result. Re-running with the same name updates the branch to the +# current main state; without content changes nothing is pushed. The +# main commit is carried as second parent so GitHub shows the branch as +# "ahead" instead of "behind" main. + +on: + workflow_dispatch: + inputs: + namespace: + description: "New namespace (max. 9 characters), e.g. ZMYUI5" + required: true + type: string + default: zabap2ui5 + +permissions: + contents: write + +concurrency: + group: build_rename-${{ inputs.namespace }} + cancel-in-progress: false + +jobs: + build_rename: + runs-on: ubuntu-latest + timeout-minutes: 15 + env: + NAMESPACE: ${{ inputs.namespace }} + steps: + # validate the input and derive the branch name before building + - name: Derive branch name + run: | + if ! printf '%s' "$NAMESPACE" | grep -Eq '^[A-Za-z][A-Za-z0-9_]{0,8}$'; then + echo "::error::Invalid namespace '$NAMESPACE' (letter + letters/digits/underscore, max. 9 characters)" + exit 1 + fi + ns=$(printf '%s' "$NAMESPACE" | tr '[:upper:]' '[:lower:]') + if [ "$ns" = "z2ui5" ]; then + echo "::error::Namespace '$NAMESPACE' is the original namespace - nothing to rename" + exit 1 + fi + echo "NS=$ns" >> "$GITHUB_ENV" + echo "BRANCH=rename_$ns" >> "$GITHUB_ENV" + echo "Building branch: rename_$ns" + + - uses: actions/checkout@v5 + - uses: actions/setup-node@v5 + with: + node-version: '22' + cache: 'npm' + - run: npm ci + + # set the chosen name in the rename config and run the abaplint + # rename; it writes the renamed sources to + # .github/abaplint/output//src + - name: Rename to ${{ inputs.namespace }} + run: | + sed "s/zabap2ui5/$NS/g" .github/abaplint/rename.json > .github/abaplint/rename_run.json + npx abaplint .github/abaplint/rename_run.json --rename + + # branch content: the renamed src tree plus the abapGit descriptor + # and the license + - name: Assemble branch content + run: | + src=$(find .github/abaplint/output -type d -name src | head -n 1) + if [ -z "$src" ]; then + echo "::error::no renamed src folder found under .github/abaplint/output" + exit 1 + fi + out=".github/out/$BRANCH" + rm -rf "$out" + mkdir -p "$out" + cp -r "$src" "$out/src" + cp LICENSE "$out/" + cp .abapgit.xml "$out/" + + - name: Push renamed branch + run: | + b="$BRANCH" + git config user.name 'github-actions[bot]' + git config user.email 'github-actions[bot]@users.noreply.github.com' + git fetch origin "$b" --depth 1 2>/dev/null || true + parent=$(git rev-parse -q --verify "refs/remotes/origin/$b" || true) + index="$RUNNER_TEMP/index-$b" + rm -f "$index" + (cd ".github/out/$b" && GIT_DIR="$GITHUB_WORKSPACE/.git" GIT_WORK_TREE=. GIT_INDEX_FILE="$index" git add -A) + tree=$(GIT_INDEX_FILE="$index" git write-tree) + if [ -n "$parent" ] && [ "$(git rev-parse "$parent^{tree}")" = "$tree" ]; then + echo "$b: no changes" + exit 0 + fi + commit=$(git commit-tree "$tree" ${parent:+-p "$parent"} -p "$GITHUB_SHA" -m "build: $b from $GITHUB_SHA") + git push origin "$commit:refs/heads/$b" + echo "$b: pushed $commit" diff --git a/.github/workflows/rename_test.yaml b/.github/workflows/rename_test.yaml index e65a583..d063063 100644 --- a/.github/workflows/rename_test.yaml +++ b/.github/workflows/rename_test.yaml @@ -1,20 +1,26 @@ -name: rename_test +name: renaming on: push: branches: [main] + pull_request: permissions: contents: read +concurrency: + group: rename_test-${{ github.ref }} + cancel-in-progress: true + jobs: rename_test: runs-on: ubuntu-latest timeout-minutes: 10 steps: - - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 + - uses: actions/checkout@v5 + - uses: actions/setup-node@v5 with: - node-version: 22 + node-version: '22' + cache: 'npm' - run: npm ci - run: npm run rename diff --git a/.gitignore b/.gitignore index 3c3629e..970868c 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,5 @@ node_modules +output +.github/out/ +.github/abaplint/output/ +.github/abaplint/rename_run.json diff --git a/AGENTS.md b/AGENTS.md new file mode 100644 index 0000000..ed29feb --- /dev/null +++ b/AGENTS.md @@ -0,0 +1,61 @@ +# AGENTS.md — AI Assistant Guide for abap2UI5 sql-console + +> This file follows the cross-tool AGENTS.md convention and is the single +> agent instruction file of this repository — Claude Code reads `AGENTS.md` +> natively, there is no separate `CLAUDE.md`. + +## Project Overview + +An SQL console in the browser, built with +[abap2UI5](https://github.com/abap2UI5/abap2UI5) — no Eclipse or SAP GUI needed. + +**Language:** English — all code, comments, commit messages, PRs, issues and +documentation must be in English. + +## Package Structure + +| Package | Content | +|---|---| +| `src/abap/` | The app (`z2ui5_sql_cl_*`), Open-SQL query path | +| `src/native/` | Native-SQL/ADBC path (`zcl_2ui5_native_*`, `zcl_association_processor`), derived from [ZTOAD](https://github.com/marianfoo/ztoad) | + +## Dependencies + +Installed alongside via abapGit; declared in the abaplint configs: + +* [abap2UI5](https://github.com/abap2UI5/abap2UI5) +* [popups](https://github.com/abap2UI5-addons/popups) +* [custom-controls](https://github.com/abap2UI5-addons/custom-controls) — `z2ui5_cl_cc_spreadsheet` + +## Security + +This is a developer tool. It runs the SQL the user enters, without an +authorization check of its own; the native path uses ADBC and therefore +bypasses ABAP authorizations and client separation. Before using it beyond a +development system, add your own authorization checks and restrict who may run +the app. See the README Todo — authorization checks and full ABAP Cloud +readiness are still open. + +## Coding Style + +Follows the abap2UI5 core conventions (see its +[AGENTS.md](https://github.com/abap2UI5/abap2UI5/blob/main/AGENTS.md)): Clean +ABAP with backtick string literals and string templates (`|…{ }…|`). The +`src/native/` classes are ZTOAD-derived and keep their own style +(`errorNamespace` in `abaplint.jsonc` is loosened for them, with `check_syntax` +excludes for their test doubles). + +## Validation + +Run `npx abaplint` before considering changes complete (config `abaplint.jsonc`, +0 issues expected on the standard config). CI: + +* `ABAP_STANDARD` — lint against Standard ABAP +* `ABAP_CLOUD` — lint against ABAP Cloud; the `src/native/` ADBC/DDIC code is + **not** ABAP-Cloud-ready, so this check has known findings there +* `renaming` (`rename_test.yaml`) — namespace-rename check +* `build_rename` — manual workflow that pushes a namespace-renamed branch + `rename_` for a parallel install + +There is no 702 downport (the native code uses APIs unavailable at 7.02). +All `.abap`/`.xml`/config files are LF-only (`.gitattributes` enforces it). diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md new file mode 100644 index 0000000..07432e1 --- /dev/null +++ b/CODE_OF_CONDUCT.md @@ -0,0 +1,128 @@ +# Contributor Covenant Code of Conduct + +## Our Pledge + +We as members, contributors, and leaders pledge to make participation in our +community a harassment-free experience for everyone, regardless of age, body +size, visible or invisible disability, ethnicity, sex characteristics, gender +identity and expression, level of experience, education, socio-economic status, +nationality, personal appearance, race, religion, or sexual identity +and orientation. + +We pledge to act and interact in ways that contribute to an open, welcoming, +diverse, inclusive, and healthy community. + +## Our Standards + +Examples of behavior that contributes to a positive environment for our +community include: + +* Demonstrating empathy and kindness toward other people +* Being respectful of differing opinions, viewpoints, and experiences +* Giving and gracefully accepting constructive feedback +* Accepting responsibility and apologizing to those affected by our mistakes, + and learning from the experience +* Focusing on what is best not just for us as individuals, but for the + overall community + +Examples of unacceptable behavior include: + +* The use of sexualized language or imagery, and sexual attention or + advances of any kind +* Trolling, insulting or derogatory comments, and personal or political attacks +* Public or private harassment +* Publishing others' private information, such as a physical or email + address, without their explicit permission +* Other conduct which could reasonably be considered inappropriate in a + professional setting + +## Enforcement Responsibilities + +Community leaders are responsible for clarifying and enforcing our standards of +acceptable behavior and will take appropriate and fair corrective action in +response to any behavior that they deem inappropriate, threatening, offensive, +or harmful. + +Community leaders have the right and responsibility to remove, edit, or reject +comments, commits, code, wiki edits, issues, and other contributions that are +not aligned to this Code of Conduct, and will communicate reasons for moderation +decisions when appropriate. + +## Scope + +This Code of Conduct applies within all community spaces, and also applies when +an individual is officially representing the community in public spaces. +Examples of representing our community include using an official e-mail address, +posting via an official social media account, or acting as an appointed +representative at an online or offline event. + +## Enforcement + +Instances of abusive, harassing, or otherwise unacceptable behavior may be +reported to the community leaders responsible for enforcement by opening a +private report via the repository's [Security Advisory form](https://github.com/abap2UI5-addons/sql-console/security/advisories/new). +All complaints will be reviewed and investigated promptly and fairly. + +All community leaders are obligated to respect the privacy and security of the +reporter of any incident. + +## Enforcement Guidelines + +Community leaders will follow these Community Impact Guidelines in determining +the consequences for any action they deem in violation of this Code of Conduct: + +### 1. Correction + +**Community Impact**: Use of inappropriate language or other behavior deemed +unprofessional or unwelcome in the community. + +**Consequence**: A private, written warning from community leaders, providing +clarity around the nature of the violation and an explanation of why the +behavior was inappropriate. A public apology may be requested. + +### 2. Warning + +**Community Impact**: A violation through a single incident or series +of actions. + +**Consequence**: A warning with consequences for continued behavior. No +interaction with the people involved, including unsolicited interaction with +those enforcing the Code of Conduct, for a specified period of time. This +includes avoiding interactions in community spaces as well as external channels +like social media. Violating these terms may lead to a temporary or +permanent ban. + +### 3. Temporary Ban + +**Community Impact**: A serious violation of community standards, including +sustained inappropriate behavior. + +**Consequence**: A temporary ban from any sort of interaction or public +communication with the community for a specified period of time. No public or +private interaction with the people involved, including unsolicited interaction +with those enforcing the Code of Conduct, is allowed during this period. +Violating these terms may lead to a permanent ban. + +### 4. Permanent Ban + +**Community Impact**: Demonstrating a pattern of violation of community +standards, including sustained inappropriate behavior, harassment of an +individual, or aggression toward or disparagement of classes of individuals. + +**Consequence**: A permanent ban from any sort of public interaction within +the community. + +## Attribution + +This Code of Conduct is adapted from the [Contributor Covenant][homepage], +version 2.0, available at +https://www.contributor-covenant.org/version/2/0/code_of_conduct.html. + +Community Impact Guidelines were inspired by [Mozilla's code of conduct +enforcement ladder](https://github.com/mozilla/diversity). + +[homepage]: https://www.contributor-covenant.org + +For answers to common questions about this code of conduct, see the FAQ at +https://www.contributor-covenant.org/faq. Translations are available at +https://www.contributor-covenant.org/translations. diff --git a/LICENSE b/LICENSE index fd08f21..2a60ede 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2024 oblomov +Copyright (c) 2024 abap2UI5 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index c986d61..9640686 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,12 @@ +[![ABAP_STANDARD](https://github.com/abap2UI5-addons/sql-console/actions/workflows/ABAP_STANDARD.yaml/badge.svg)](https://github.com/abap2UI5-addons/sql-console/actions/workflows/ABAP_STANDARD.yaml) +[![ABAP_CLOUD](https://github.com/abap2UI5-addons/sql-console/actions/workflows/ABAP_CLOUD.yaml/badge.svg)](https://github.com/abap2UI5-addons/sql-console/actions/workflows/ABAP_CLOUD.yaml) +[![ABAP_702](https://github.com/abap2UI5-addons/sql-console/actions/workflows/ABAP_702.yaml/badge.svg)](https://github.com/abap2UI5-addons/sql-console/actions/workflows/ABAP_702.yaml) +
+[![auto_cloud](https://github.com/abap2UI5-addons/sql-console/actions/workflows/auto_cloud.yaml/badge.svg)](https://github.com/abap2UI5-addons/sql-console/actions/workflows/auto_cloud.yaml) +[![auto_downport](https://github.com/abap2UI5-addons/sql-console/actions/workflows/auto_downport.yaml/badge.svg)](https://github.com/abap2UI5-addons/sql-console/actions/workflows/auto_downport.yaml) +
+[![renaming](https://github.com/abap2UI5-addons/sql-console/actions/workflows/rename_test.yaml/badge.svg)](https://github.com/abap2UI5-addons/sql-console/actions/workflows/rename_test.yaml) + # sql-console SQL Console in Your Browser – No Need for Eclipse or SAP GUI Installation @@ -11,9 +20,13 @@ SQL Console in Your Browser – No Need for Eclipse or SAP GUI Installation * S/4 Private Cloud or On-Premise (ABAP for Cloud, Standard ABAP) * SAP NetWeaver AS ABAP 7.50 or higher (Standard ABAP) +#### Security +This is a developer tool. It runs the SQL the user enters, without an authorization check of its own; the native path additionally uses ADBC and therefore bypasses ABAP authorizations and client separation. Before using it beyond a development system, add your own authorization checks and restrict who may run the app (see the Todo below). + #### Dependencies * [abap2UI5](https://github.com/abap2UI5/abap2UI5) * [popups](https://github.com/abap2UI5-addons/popups) +* [custom-controls](https://github.com/abap2UI5-addons/custom-controls) #### Credits * Logic for Query to ABAP SQL Translation used from [ZTOAD](https://github.com/marianfoo/ztoad), integrated by [choper725](https://github.com/choper725) @@ -25,7 +38,7 @@ SQL Console in Your Browser – No Need for Eclipse or SAP GUI Installation * Fix ABAP Cloud Readiness #### Demo -image +image #### Contribution & Support -Pull Requests are welcome! Whether you're fixing a bug, adding new functionality, or improving the documentation, your contributions are always appreciated. If you run into problems, feel free to open an issue. +Pull requests are welcome! Whether you're fixing bugs, adding new functionality, or improving documentation, your contributions are highly appreciated. If you encounter any issues, feel free to open an issue. diff --git a/abaplint.jsonc b/abaplint.jsonc index d45050d..e94c56a 100644 --- a/abaplint.jsonc +++ b/abaplint.jsonc @@ -3,56 +3,56 @@ "files": "/src/**/*.*" }, "dependencies": [ - { - "url": "https://github.com/abapedia/steampunk-2305-api-intersect-702", - "folder": "/deps", - "files": "/src/**/*.*" - }, - { - "url": "https://github.com/abap2UI5/abap2UI5", - "folder": "/abap2UI5", - "files": "/src/**/*.*" - }, - { - "url": "https://github.com/abap2UI5-addons/popups", - "folder": "/popups", - "files": "/src/**/*.*" + { + "url": "https://github.com/abapedia/steampunk-2305-api-intersect-702", + "folder": "/deps", + "files": "/src/**/*.*" + }, + { + "url": "https://github.com/abap2UI5/abap2UI5", + "folder": "/abap2UI5", + "files": "/src/**/*.*" + }, + { + "url": "https://github.com/abap2UI5-addons/popups", + "folder": "/popups", + "files": "/src/**/*.*" + }, + { + "url": "https://github.com/abap2UI5-addons/custom-controls", + "folder": "/customcontrols", + "files": "/src/**/*.*" + } + ], + "syntax": { + "version": "v750", + "errorNamespace": "^(Z|Y|LCL_|TY_|LIF_)" }, - { - "url": "https://github.com/abap2UI5-addons/custom-controls", - "folder": "/customcontrols", - "files": "/src/**/*.*" + "rules": { + "downport": true, + "begin_end_names": true, + "check_ddic": true, + "check_include": true, + // the two excluded test class includes contain test doubles for standard + // APIs (cl_sql_statement, if_dd_sobject, if_dd_sobject_util) that are not + // part of the dependency stubs, so syntax resolution fails only there + "check_syntax": { + "exclude": [ + "zcl_2ui5_native_sql_console\\.clas\\.testclasses\\.abap", + "zcl_association_processor\\.clas\\.testclasses\\.abap" + ] + }, + "global_class": true, + "definitions_top": false, + "implement_methods": true, + "method_implemented_twice": true, + "parser_error": true, + "superclass_final": { + "exclude": [ + "zcl_2ui5_native_sql_console\\.clas\\.testclasses\\.abap" + ] + }, + "unknown_types": true, + "xml_consistency": true } -], -"syntax": { - "version": "v750", - "errorNamespace": "^(Z|Y|LCL_|TY_|LIF_)" -}, -"rules": { - "downport": true, - "begin_end_names": true, - "check_ddic": true, - "check_include": true, - // the two excluded test class includes contain test doubles for standard - // APIs (cl_sql_statement, if_dd_sobject, if_dd_sobject_util) that are not - // part of the dependency stubs, so syntax resolution fails only there - "check_syntax": { - "exclude": [ - "zcl_2ui5_native_sql_console\\.clas\\.testclasses\\.abap", - "zcl_association_processor\\.clas\\.testclasses\\.abap" - ] - }, - "global_class": true, - "definitions_top": false, - "implement_methods": true, - "method_implemented_twice": true, - "parser_error": true, - "superclass_final": { - "exclude": [ - "zcl_2ui5_native_sql_console\\.clas\\.testclasses\\.abap" - ] - }, - "unknown_types": true, - "xml_consistency": true -} } diff --git a/package-lock.json b/package-lock.json index 5668a97..7e1cd73 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,18 +9,16 @@ "version": "1.0.0", "license": "MIT", "devDependencies": { - "@abaplint/cli": "^2.119.14", - "@abaplint/database-sqlite": "^2.11.78", - "@abaplint/runtime": "^2.13.22", - "@abaplint/transpiler-cli": "^2.13.22", - "@types/node": "^22.10.5", - "npm-check-updates": "^17.1.18" + "@abaplint/cli": "^2.119.66" + }, + "engines": { + "node": ">=22" } }, "node_modules/@abaplint/cli": { - "version": "2.119.14", - "resolved": "https://registry.npmjs.org/@abaplint/cli/-/cli-2.119.14.tgz", - "integrity": "sha512-rLCPYSR+G7kO0ILe6j6//ONle083KqCO+OD/M1FerKTTbmvwxlA+CIa9nWX1ayGMPQ1DQfGeqda4WEt88KUVdQ==", + "version": "2.119.66", + "resolved": "https://registry.npmjs.org/@abaplint/cli/-/cli-2.119.66.tgz", + "integrity": "sha512-Anjsm5G0jUnWwEAZrk2Ckm0we+VCrwjc/MOMSSk+774VJ6ka1ovkj981Y8BJdbxcKgKzIvn+D/ddap/tdxMFbw==", "dev": true, "license": "MIT", "bin": { @@ -32,98 +30,6 @@ "funding": { "url": "https://github.com/sponsors/larshp" } - }, - "node_modules/@abaplint/database-sqlite": { - "version": "2.11.78", - "resolved": "https://registry.npmjs.org/@abaplint/database-sqlite/-/database-sqlite-2.11.78.tgz", - "integrity": "sha512-1s5GhhwzcupKQhK2lZW7GKIvsz/WukgjuLk2oHmlSXWGFtapLYO9wJCtUSmSNTMNuXXaVt8ks2t2RH8SVj6hCg==", - "dev": true, - "license": "MIT", - "dependencies": { - "sql.js": "^1.11.0" - } - }, - "node_modules/@abaplint/runtime": { - "version": "2.13.22", - "resolved": "https://registry.npmjs.org/@abaplint/runtime/-/runtime-2.13.22.tgz", - "integrity": "sha512-4/evgMO3RqY0oz0ZYW7jaGYYuJKK0QwUiIMBTeyANVMd12Kzz8g0CdZIEPs4QkKiyPlwa3Gsz503mrZJJ49/EA==", - "dev": true, - "license": "MIT", - "dependencies": { - "temporal-polyfill": "^0.3.2" - }, - "funding": { - "url": "https://github.com/sponsors/larshp" - } - }, - "node_modules/@abaplint/transpiler-cli": { - "version": "2.13.22", - "resolved": "https://registry.npmjs.org/@abaplint/transpiler-cli/-/transpiler-cli-2.13.22.tgz", - "integrity": "sha512-++7h7dmDGXuwghbm/81qwrXGYUT+j4npWQpw/M96/HdTyGL45AJpOMlIFsea7ZthvJM/QZ2Whf2VG00+iZN/BQ==", - "dev": true, - "license": "MIT", - "bin": { - "abap_transpile": "abap_transpile" - }, - "funding": { - "url": "https://github.com/sponsors/larshp" - } - }, - "node_modules/@types/node": { - "version": "22.19.18", - "resolved": "https://registry.npmjs.org/@types/node/-/node-22.19.18.tgz", - "integrity": "sha512-9v00a+dn2yWVsYDEunWC4g/TcRKVq3r8N5FuZp7u0SGrPvdN9c2yXI9bBuf5Fl0hNCb+QTIePTn5pJs2pwBOQQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "undici-types": "~6.21.0" - } - }, - "node_modules/npm-check-updates": { - "version": "17.1.18", - "resolved": "https://registry.npmjs.org/npm-check-updates/-/npm-check-updates-17.1.18.tgz", - "integrity": "sha512-bkUy2g4v1i+3FeUf5fXMLbxmV95eG4/sS7lYE32GrUeVgQRfQEk39gpskksFunyaxQgTIdrvYbnuNbO/pSUSqw==", - "dev": true, - "license": "Apache-2.0", - "bin": { - "ncu": "build/cli.js", - "npm-check-updates": "build/cli.js" - }, - "engines": { - "node": "^18.18.0 || >=20.0.0", - "npm": ">=8.12.1" - } - }, - "node_modules/sql.js": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/sql.js/-/sql.js-1.14.1.tgz", - "integrity": "sha512-gcj8zBWU5cFsi9WUP+4bFNXAyF1iRpA3LLyS/DP5xlrNzGmPIizUeBggKa8DbDwdqaKwUcTEnChtd2grWo/x/A==", - "dev": true, - "license": "MIT" - }, - "node_modules/temporal-polyfill": { - "version": "0.3.2", - "resolved": "https://registry.npmjs.org/temporal-polyfill/-/temporal-polyfill-0.3.2.tgz", - "integrity": "sha512-TzHthD/heRK947GNiSu3Y5gSPpeUDH34+LESnfsq8bqpFhsB79HFBX8+Z834IVX68P3EUyRPZK5bL/1fh437Eg==", - "dev": true, - "license": "MIT", - "dependencies": { - "temporal-spec": "0.3.1" - } - }, - "node_modules/temporal-spec": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/temporal-spec/-/temporal-spec-0.3.1.tgz", - "integrity": "sha512-B4TUhezh9knfSIMwt7RVggApDRJZo73uZdj8AacL2mZ8RP5KtLianh2MXxL06GN9ESYiIsiuoLQhgVfwe55Yhw==", - "dev": true, - "license": "ISC" - }, - "node_modules/undici-types": { - "version": "6.21.0", - "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.21.0.tgz", - "integrity": "sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==", - "dev": true, - "license": "MIT" } } } diff --git a/package.json b/package.json index d8f251b..26a49fc 100644 --- a/package.json +++ b/package.json @@ -16,11 +16,9 @@ }, "homepage": "https://github.com/abap2UI5-addons/sql-console#readme", "devDependencies": { - "@abaplint/cli": "^2.119.14", - "@abaplint/database-sqlite": "^2.11.78", - "@abaplint/runtime": "^2.13.22", - "@abaplint/transpiler-cli": "^2.13.22", - "@types/node": "^22.10.5", - "npm-check-updates": "^17.1.18" + "@abaplint/cli": "^2.119.66" + }, + "engines": { + "node": ">=22" } }