diff --git a/README.md b/README.md new file mode 100644 index 0000000..448c9dd --- /dev/null +++ b/README.md @@ -0,0 +1,35 @@ +## Izmir Science High School - Computer Lab Setup Script +> Install prerequisites, applications, tools; set up configs etc. + +### Download & Install +```bash +curl https://raw.githubusercontent.com/asandikci/iflbot-setup/main/install.sh | bash +``` + +### Features +- MEB Certificate Installation +- Auto Configurations + +### Compatibility +- Pardus 23.0 XFCE + +### LICENSE +- GNU GPLv3+ + +### IFLBOT Apps Collection +- IFLBOT Setup (this file) +- IFLBOT Config (for configuring) +- IFLBOT Freeze (Lock & Unlock Device Status) + +### TODO +- [ ] Firefox Auto Configurations +- [ ] Sublime Auto Configurations +- [ ] VSCodium Auto Configurations +- [ ] XFCE General Configurations + - [ ] Auto Sleep 2H + - [ ] Auto Dimming 2H + - [ ] Dark Theme +- [ ] XFCE Panel Configurations + - [ ] Panel Size: 28px +- [ ] Ability to change Display Name / Username / Computer Name +- [ ] Disable annoying bell sound (in each restart) \ No newline at end of file diff --git a/install.sh b/install.sh index eff8c5d..e1c1c62 100755 --- a/install.sh +++ b/install.sh @@ -1,26 +1,45 @@ #!/bin/bash -########################################################### -# Install prerequisites, necessary applications/tools and # -# set up configs for end user in iflbot computers # -# # -# Author: Aliberk Sandıkçı # -# School: Izmir Science High School # -########################################################### +# Izmir Science High School - Computer Lab Setup Script +# Install prerequisites, applications, tools; set up configs etc. +# 2022 - 2023 © Aliberk Sandıkçı + +# run quickly: +# curl https://raw.githubusercontent.com/asandikci/iflbot-setup/main/install.sh | bash # Error Handling set -e -trap _cleanup EXIT HUP INT TERM +trap _interrupt HUP INT TERM +trap _cleanup EXIT -# Variables -VERSION="0.0.3" -# user=$([ -n "$SUDO_USER" ] && echo "$SUDO_USER" || echo "$USER") -# home="/home/${user}" +# # +### VARIABLES ### +# # + +VERSION="23.10.21-0" +AUTHOR="asandikci" temp_file="$(mktemp -u)" temp_dir="$(mktemp -d)" -repo_tag="main" -repo_dest="https://github.com/asandikci/iflbot-setup" -repo_name="iflbot-setup" -src_dir="$temp_dir/$repo_name-$repo_tag/src/" +git_provider_name="GitHub" +git_provider_url="https://github.com" +git_repo_name="iflbot-setup" +git_repo_dest="$git_provider_url/$AUTHOR/$git_repo_name" +git_repo_tag="main" + +src_dir="$temp_dir/$git_repo_name-$git_repo_tag/src/" + +# user=$([ -n "$SUDO_USER" ] && echo "$SUDO_USER" || echo "$USER") +# home="/home/${user}" + +# # +### COLOR CODES ### +# # +RED='\033[0;31m' +GREEN='\033[0;32m' +ORANGE='\033[0;33m' +CYAN='\033[0;36m' +GRAY='\033[0;37m \e[3m' +NC='\033[0m \e[0m' # No Color, No Effect +BOLD='\033[1;97m' cat <<-EOF /\$\$\$\$\$\$ /\$\$\$\$\$\$\$\$ /\$\$ /\$\$\$\$\$\$\$ /\$\$\$\$\$\$ /\$\$\$\$\$\$\$\$ @@ -34,7 +53,9 @@ cat <<-EOF LAB COMPUTER SETUP SCRIPT - VERSION $VERSION EOF -# FUNCTIONS +# # +### FUNCTIONS ### +# # #run with sudo if $2 is not executable _sudo() { @@ -45,60 +66,155 @@ _sudo() { fi } -#download and install certificate -_certificate() { - echo "Dowloading MEB certificate ..." - timeout 10 wget -qO "$temp_file" "http://sertifika.meb.gov.tr/MEB_SERTIFIKASI.cer" || (echo -e "There was an error with the dowloading certificate\nAborting..." && return 1) - - echo "Converting .cer file to .crt file ..." - openssl x509 -inform DER -in "$temp_file" -out "$temp_file" - - echo "Moving certificate to /usr/local/share/ca-certificates/" - sudo mv "$temp_file" "/usr/local/share/ca-certificates/MEB_SERTIFIKASI.crt" - - echo "Giving necessary file permission" - sudo chmod 644 /usr/local/share/ca-certificates/MEB_SERTIFIKASI.crt - - echo "Updating certificate configs ..." - sudo update-ca-certificates +#feature rich logs with color support +_log() { + case "$2" in + fatal | panic) + echo -e "${RED}[ ⚠⚠⚠ ]${NC} $1 ${RED}ABORTING...${NC}" + exit + ;; + error | err) echo -e "${RED}[ !!! ]${NC} $1" ;; + warning | warn) echo -e "${ORANGE}[ ⚠ ]${NC} $1" ;; + ok | okey | done | success) echo -e "${GREEN}[ ✔ ]${NC} $1" ;; + DONE | OK) echo -e "${GREEN}[ ✔ ]$ $1 {NC}" ;; + info | inf | status) echo -e "${CYAN}[ i ]${NC} $1" ;; + verbose | v | verb) echo -e "${GRAY}$1${NC}" ;; + *) echo -e "$1" ;; + esac } -#download from GitHub -_download() { - echo "Getting the latest version from GitHub ..." - wget -O "$temp_file" "${repo_dest}/archive/${repo_tag}.tar.gz" +#check input and return boolean value +_checkinput() { + case "$1" in + y | Y | e | E | [yY][eE][sS]) return 1 ;; + [eE][vV]][eE][tT]) return 1 ;; + [Yy]*) return 1 ;; + [Ee]*) return 1 ;; + n | N | H | h | *) return 0 ;; + esac +} + +#auto ask question, check answer and return boolean value +_checkanswer() { + read -p "(E/H)? " -r choice + if _checkinput "$choice" -eq 1; then + return 1 + else + return 0 + fi + +} + +#check input and exit if user not confirm progress +_continue_confirmation() { + read -p "(E/H)? " -r choice + if _checkinput "$choice" -eq 0; then + _log "Betik İptal Edildi" info + exit + fi +} + +#temporasy development playground +_TMP_DEV() { + echo -e "\n\nGELIŞTIRICI FONKSIYONU CALISTIRILDI\n" + + echo -e "\nGELIŞTIRICI FONKSIYONU BITTI!!!\n\n" +} + +#prechecks for starting script +_prechecks() { + if [ "$(awk -F'^ID=' '{print $2}' /etc/os-release | awk 'NF')" != "pardus" ]; then + _log "Bu betik sadece GNU/Linux Pardus Dağıtımında (23.0 sürümü) test edilmiştir, farklı bir sistem için devam etmek betiğin çalışmaması ile sonuçlanabilir!" err + echo "Devam Etmek İstiyor Musunuz" + _continue_confirmation + + else + if [ "$(awk -F'^VERSION_ID=' '{print $2}' /etc/os-release | awk 'NF')" != '"23.0"' ]; then + _log "Bu betik Pardus Dağıtımının sadece 23.0 sürümü ile test edilmiştir. Kodun belirli kısımları çalışmayabilir" warn + echo "Devam Etmek İstiyor Musunuz" + _continue_confirmation + else + _log "Pardus 23.0 sürümü saptandı" info + sleep 0.1 + _log "Kurulum için gereksinimler sağlanmakta" ok + fi + fi + + sleep 0.2 + + _log "Eğer Fatih/MEB internetine ethernet ile bağlı iseniz Sertifika kurmanız gerekebilir. Sertifikayı kurmak istiyor musunuz?" warn + if _checkanswer -eq 1; then + _log "MEB sertifikası indiriliyor..." verbose + timeout 10 wget -qO "$temp_file" "http://sertifika.meb.gov.tr/MEB_SERTIFIKASI.cer" || (_log "Sertifikayı yüklemeye çalışırken bir hata oluştu" fatal) + + echo ".cer uzantılı sertifika dosyası .crt uzantılı sertifika dosyasına dönüştürülüyor..." verbose + openssl x509 -inform DER -in "$temp_file" -out "$temp_file" + + echo "Sertifika /usr/local/share/ca-certificates/ dizinine taşınıyor" verbose + sudo mv "$temp_file" "/usr/local/share/ca-certificates/MEB_SERTIFIKASI.crt" + + echo "Sertifika dosyasına gerekli izinler veriliyor" verbose + sudo chmod 644 /usr/local/share/ca-certificates/MEB_SERTIFIKASI.crt + + echo "Sertifikalar yenileniyor..." verbose + sudo update-ca-certificates + + _log "MEB Sertifikası başarılı bir şekilde kuruldu, Tarayıcılara manuel olarak eklemeniz gerekebilir" "done" + fi +} + +#download other configs from git provider +_download() { + wget -O "$temp_file" "${git_repo_dest}/archive/${git_repo_tag}.tar.gz" + _log "Yapılandırma dosyalarının son sürümleri $git_provider_name üzerinden indirildi" ok - echo "Unpacking archive to $temp_dir ..." tar -xzf "$temp_file" -C "$temp_dir" + _log "Arşiv, $temp_dir dizinine ayıklandı" verbose } #install packages _install() { if [ -f "$src_dir/prerequisites.sh" ]; then - echo "Installing prerequisites ..." + _log "Öngereklilikler Yükleniyor..." info _sudo bash "$src_dir/prerequisites.sh" fi if [ -f "$src_dir/applications.sh" ]; then - echo "Installing applications ..." + _log "Uygulamalar Yükleniyor..." info _sudo bash "$src_dir/applications.sh" fi if [ -f "$src_dir/config.sh" ]; then - echo "Configuring settings ..." + _log "Ayarlar yapılandırılıyor" info _sudo bash "$src_dir/config.sh" fi + + sleep 1 + _log "Yükleme İşlemi Tamamlandı" "DONE" + _log "gerekli ayarları yapmak için ${BOLD}iflbot-config${NC} programını çalıştırabilirsiniz" info } #clear cache, delete temporary files _cleanup() { - echo "Clearing cache ..." + _log "Geçici Dosyalar Temizleniyor ..." info rm -rf "$temp_file" "$temp_dir" - echo "Done!" + _log "Dosyalar Temizlendi!" "done" + exit } -# Main -if [[ "$1" == "cert" ]]; then - _certificate +#interrupted by user +_interrupt() { + _log "Betik kullanıcı tarafından erken sonlandırılıyor" err + _cleanup +} + +# # +### MAIN ### +# # + +if [[ "$1" == "dev" ]]; then + _TMP_DEV + exit fi + +_prechecks _download -_install -_reboot \ No newline at end of file +_install \ No newline at end of file diff --git a/src/applications.sh b/src/applications.sh index d81ec77..6d4da7c 100644 --- a/src/applications.sh +++ b/src/applications.sh @@ -1,38 +1,16 @@ #!/bin/bash # setup script for applications - -#Sublime Text https://www.sublimetext.com/docs/linux_repositories.html -wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/sublimehq-archive.gpg -echo "deb https://download.sublimetext.com/ apt/stable/" | sudo tee /etc/apt/sources.list.d/sublime-text.list -sudo apt-get update -y -sudo apt-get install sublime-text -y - -#File-roller -sudo apt install file-roller -y - -#VLC -sudo apt-get install vlc -y - -#Xournal++ sudo apt update -y + + +#Sublime Text | https://www.sublimetext.com/ +sudo apt install sublime-text -y + +#Xournal++ | https://github.com/xournalpp/xournalpp sudo apt install xournalpp -y -#VS Code https://linuxize.com/post/how-to-install-visual-studio-code-on-ubuntu-20-04/ -wget -q https://packages.microsoft.com/keys/microsoft.asc -O- | sudo apt-key add - -sudo add-apt-repository "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main" -y -sudo apt install code -y -sudo apt update -y +#VS Codium https://github.com/VSCodium/vscodium/ +sudo apt install codium -y -#Chrome https://askubuntu.com/questions/510056/how-to-install-google-chrome -wget https://dl-ssl.google.com/linux/linux_signing_key.pub -O /tmp/google.pub -gpg --no-default-keyring --keyring /etc/apt/keyrings/google-chrome.gpg --import /tmp/google.pub -echo 'deb [arch=amd64 signed-by=/etc/apt/keyrings/google-chrome.gpg] http://dl.google.com/linux/chrome/deb/ stable main' | sudo tee /etc/apt/sources.list.d/google-chrome.list -sudo apt-get update -y -sudo apt-get install google-chrome-stable -y - -#gedit -sudo apt-get install gedit -y - -#gnome-disk-utility -sudo apt-get install gnome-disk-utility -y +### Upgrade sudo apt upgrade -y diff --git a/src/config.sh b/src/config.sh index 939c4f0..d38df5c 100644 --- a/src/config.sh +++ b/src/config.sh @@ -1,4 +1,4 @@ #!/bin/bash # general configs -# TODO: remove snap applications ant install firefox apt version +# NOT IPLEMENTED YET, see ./../README.md \ No newline at end of file diff --git a/src/danielpinto8zz6.c-cpp-compile-run-1.0.18/.github/FUNDING.yml b/src/danielpinto8zz6.c-cpp-compile-run-1.0.18/.github/FUNDING.yml deleted file mode 100644 index 8f8336c..0000000 --- a/src/danielpinto8zz6.c-cpp-compile-run-1.0.18/.github/FUNDING.yml +++ /dev/null @@ -1,3 +0,0 @@ -# These are supported funding model platforms - - custom: ['paypal.me/danielpinto8zz6'] diff --git a/src/danielpinto8zz6.c-cpp-compile-run-1.0.18/.github/ISSUE_TEMPLATE/bug_report.md b/src/danielpinto8zz6.c-cpp-compile-run-1.0.18/.github/ISSUE_TEMPLATE/bug_report.md deleted file mode 100644 index baa10b7..0000000 --- a/src/danielpinto8zz6.c-cpp-compile-run-1.0.18/.github/ISSUE_TEMPLATE/bug_report.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -name: Bug report -about: Create a report to help us improve - ---- - -**Describe the bug** -A clear and concise description of what the bug is. - -**To Reproduce** -Steps to reproduce the behavior: -1. Go to '...' -2. Click on '....' -3. Scroll down to '....' -4. See error - -**Expected behavior** -A clear and concise description of what you expected to happen. - -**Screenshots** -If applicable, add screenshots to help explain your problem. - -**Environment** - - VSCode Version: [e.g. 1.28.2] - - OS Version: [e.g. Windows_NT x64 10.0.17134] - -**Additional context** -Add any other context about the problem here. diff --git a/src/danielpinto8zz6.c-cpp-compile-run-1.0.18/.github/ISSUE_TEMPLATE/feature_request.md b/src/danielpinto8zz6.c-cpp-compile-run-1.0.18/.github/ISSUE_TEMPLATE/feature_request.md deleted file mode 100644 index 066b2d9..0000000 --- a/src/danielpinto8zz6.c-cpp-compile-run-1.0.18/.github/ISSUE_TEMPLATE/feature_request.md +++ /dev/null @@ -1,17 +0,0 @@ ---- -name: Feature request -about: Suggest an idea for this project - ---- - -**Is your feature request related to a problem? Please describe.** -A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] - -**Describe the solution you'd like** -A clear and concise description of what you want to happen. - -**Describe alternatives you've considered** -A clear and concise description of any alternative solutions or features you've considered. - -**Additional context** -Add any other context or screenshots about the feature request here. diff --git a/src/danielpinto8zz6.c-cpp-compile-run-1.0.18/.github/workflows/ci.yml b/src/danielpinto8zz6.c-cpp-compile-run-1.0.18/.github/workflows/ci.yml deleted file mode 100644 index b471469..0000000 --- a/src/danielpinto8zz6.c-cpp-compile-run-1.0.18/.github/workflows/ci.yml +++ /dev/null @@ -1,27 +0,0 @@ -name: CI - -on: - push: - branches: [master, development] - pull_request: - branches: [master, development] - -jobs: - build: - runs-on: ubuntu-latest - - strategy: - matrix: - node-version: [12.x] - - steps: - - uses: actions/checkout@v2 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1 - with: - node-version: ${{ matrix.node-version }} - - run: npm ci - - run: npm run compile --if-present - - run: npm run lint - env: - CI: true diff --git a/src/danielpinto8zz6.c-cpp-compile-run-1.0.18/.release-it.json b/src/danielpinto8zz6.c-cpp-compile-run-1.0.18/.release-it.json deleted file mode 100644 index ddb492c..0000000 --- a/src/danielpinto8zz6.c-cpp-compile-run-1.0.18/.release-it.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "git": { - "commitMessage": "chore: 🤖 release v${version}", - "tagName": "v${version}", - "changelog": "npx auto-changelog --stdout -l false -u -p -t changelog-template.hbs" - }, - "github": { - "release": true, - "releaseName": "v${version}", - "assets": [ - "c-cpp-compile-run-*.vsix" - ], - "requireBranch": "master" - }, - "npm": { - "publish": false - }, - "hooks": { - "after:bump": "npx auto-changelog -p", - "before:github:release": "npx vsce package", - "after:github:release": "npx vsce publish" - } -} \ No newline at end of file diff --git a/src/danielpinto8zz6.c-cpp-compile-run-1.0.18/CHANGELOG.md b/src/danielpinto8zz6.c-cpp-compile-run-1.0.18/CHANGELOG.md deleted file mode 100644 index 110b625..0000000 --- a/src/danielpinto8zz6.c-cpp-compile-run-1.0.18/CHANGELOG.md +++ /dev/null @@ -1,250 +0,0 @@ -### Changelog - -All notable changes to this project will be documented in this file. Dates are displayed in UTC. - -Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog). - -#### [v1.0.18](https://github.com/danielpinto8zz6/c-cpp-compile-run/compare/v1.0.17...v1.0.18) - -#### [v1.0.17](https://github.com/danielpinto8zz6/c-cpp-compile-run/compare/v1.0.16...v1.0.17) - -> 15 October 2022 - -- chore: 🤖 release v1.0.17 [`885f292`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/885f292f9bc2adf672ca636e01ac6282e9984ea6) - -#### [v1.0.16](https://github.com/danielpinto8zz6/c-cpp-compile-run/compare/v1.0.15...v1.0.16) - -> 15 October 2022 - -- chore(deps): bump terser from 5.8.0 to 5.14.2 [`#278`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/278) -- chore(deps): bump parse-url from 6.0.0 to 6.0.2 [`#276`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/276) -- feat: 🎸 Add run icon in editor title menu [`#277`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/277) -- chore(deps): bump node-fetch from 2.6.6 to 2.6.7 [`#271`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/271) -- chore(deps): bump minimist from 1.2.5 to 1.2.6 [`#270`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/270) -- chore: 🤖 update deps [`86d5dc2`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/86d5dc25baebf21e5eca11c4cef2776ec09f0dd6) -- feat: 🎸 update deps [`9bbf1f2`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/9bbf1f2c9a41e41801554a88b77d56410c670ddd) -- Fix bad indent [`7c15b71`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/7c15b711d2e6ce6c613f2dccfb9375086d896adb) - -#### [v1.0.15](https://github.com/danielpinto8zz6/c-cpp-compile-run/compare/v1.0.14...v1.0.15) - -> 24 October 2021 - -- feat: 🎸 Add support for custom output location [`#265`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/265) -- Fix typos in README [`#255`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/255) -- feat: 🎸 update deps [`fb09f16`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/fb09f168b812ed7847932de863ef4b936a4b7a01) -- feat: 🎸 update deps [`a24ff1f`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/a24ff1fcc94e387cbf23b5dcf00b70751f28e2ad) -- chore: 🤖 release v1.0.15 [`077e172`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/077e17247207c6c6e64df5602dea9b661c2c9127) - -#### [v1.0.14](https://github.com/danielpinto8zz6/c-cpp-compile-run/compare/v1.0.13...v1.0.14) - -> 14 April 2021 - -- Development [`#249`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/249) -- chore(deps): bump yargs-parser from 5.0.0 to 5.0.1 [`#248`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/248) -- chore: 🤖 migrate to tslint [`a6d333a`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/a6d333a4dfcb34b8162d2dddecb2ee9096b4cd21) -- chore: 🤖 migrate to tslint [`2849b00`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/2849b00292cdd900a3ca08fc0f2761d872f3fd91) -- chore: 🤖 update deps [`4a8b706`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/4a8b706437f66ffc54bcabda52c3e64db98fd5dd) - -#### [v1.0.13](https://github.com/danielpinto8zz6/c-cpp-compile-run/compare/v1.0.12...v1.0.13) - -> 29 October 2020 - -- feat: 🎸 add keybinding to run in external terminal [`c904f11`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/c904f11696ee6007029b1a47c59e98ae1efb335b) -- feat: 🎸 allow to disable notifications [`46f1977`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/46f19770c5ceed37b3966e2010acec8bb042ef7a) -- chore: 🤖 release v1.0.13 [`f52044f`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/f52044f832253dbc42d02cc87c71f8fcf46d5799) - -#### [v1.0.12](https://github.com/danielpinto8zz6/c-cpp-compile-run/compare/v1.0.11...v1.0.12) - -> 17 October 2020 - -- feat: 🎸 update terminal [`e7eb02f`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/e7eb02fb40af1f43b1f5d32fd4b3d94c1180fee9) -- feat: 🎸 extension improvements [`bf12a4e`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/bf12a4e89252eaadcfc39835736b0437220c779c) -- chore: 🤖 update deps [`642887e`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/642887ea7ea19c2542dd9dd2f0fb1bd6e0abf171) - -#### [v1.0.11](https://github.com/danielpinto8zz6/c-cpp-compile-run/compare/v1.0.10...v1.0.11) - -> 25 May 2020 - -- fix: 🐛 run [`7890f8b`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/7890f8bbfdc723b7c855cef864f2c8fbf251dd2f) -- chore: 🤖 release v1.0.11 [`e31afc4`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/e31afc4f95810166e14d492ed07a0103d6fdc569) - -#### [v1.0.10](https://github.com/danielpinto8zz6/c-cpp-compile-run/compare/v1.0.9...v1.0.10) - -> 24 May 2020 - -- fix: 🐛 terminal [`5026dba`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/5026dba1e0cb9043844d800971af97ed60604373) -- chore: 🤖 release v1.0.10 [`01819db`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/01819dbba22e14f11525b7745cba87a4e68f7ee0) - -#### [v1.0.9](https://github.com/danielpinto8zz6/c-cpp-compile-run/compare/v1.0.8...v1.0.9) - -> 24 May 2020 - -- chore(deps-dev): bump @types/node from 13.11.1 to 13.13.0 [`#179`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/179) -- chore(deps-dev): bump release-it from 13.5.2 to 13.5.4 [`#178`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/178) -- chore: 🤖 update deps [`3e4baf9`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/3e4baf9aa9b5de60eab5c354b12e1ee5699050ae) -- chore: 🤖 LICENSE [`15789fe`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/15789feb976d47029291beb104618b72b0d457ec) -- chore: 🤖 release v1.0.9 [`85043e5`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/85043e59754b4d23cac918a9db624f4fae4b2739) - -#### [v1.0.8](https://github.com/danielpinto8zz6/c-cpp-compile-run/compare/v1.0.7...v1.0.8) - -> 10 April 2020 - -- 📦 NEW: vscode.pro icon [`#176`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/176) -- chore(deps-dev): bump @types/vscode from 1.43.0 to 1.44.0 [`#175`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/175) -- chore(deps-dev): bump @types/node from 13.11.0 to 13.11.1 [`#174`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/174) -- chore(deps-dev): bump release-it from 13.5.1 to 13.5.2 [`#173`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/173) -- chore(deps-dev): bump @types/node from 13.9.8 to 13.11.0 [`#171`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/171) -- chore(deps-dev): bump tslint from 6.1.0 to 6.1.1 [`#170`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/170) -- chore(deps-dev): bump release-it from 13.3.2 to 13.5.1 [`#169`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/169) -- chore(deps-dev): bump @types/node from 13.9.4 to 13.9.8 [`#168`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/168) -- chore(deps-dev): bump release-it from 13.1.2 to 13.3.2 [`#164`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/164) -- chore(deps-dev): bump @types/node from 13.9.2 to 13.9.4 [`#162`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/162) -- chore: 🤖 release v1.0.8 [`dfe98b4`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/dfe98b4a81839264622c3f96a135831cf25f674b) -- chore: 🤖 vscode [`3e0b5f0`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/3e0b5f0fb8bd5a103814281cbf048150239de68c) -- chore(badge): Update build status badge [`7e40eb7`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/7e40eb7313d3e383095e51950da4b11ee21b9ae4) - -#### [v1.0.7](https://github.com/danielpinto8zz6/c-cpp-compile-run/compare/v1.0.6...v1.0.7) - -> 22 March 2020 - -- fix: 🐛 runner [`#124`](https://github.com/danielpinto8zz6/c-cpp-compile-run/issues/124) -- chore: 🤖 release v1.0.7 [`c4c02ec`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/c4c02ecdc24268dbfc7d77ab6d5dd06c6f5ebc3c) - -#### [v1.0.6](https://github.com/danielpinto8zz6/c-cpp-compile-run/compare/v1.0.5...v1.0.6) - -> 22 March 2020 - -- fix(terminal): fix vscode terminal errors [`#156`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/156) -- chore(deps-dev): bump mocha from 7.1.0 to 7.1.1 [`#155`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/155) -- chore(deps-dev): bump tslint from 6.0.0 to 6.1.0 [`#152`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/152) -- chore(deps-dev): bump @types/vscode from 1.42.0 to 1.43.0 [`#151`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/151) -- chore(deps-dev): bump @types/mocha from 7.0.1 to 7.0.2 [`#149`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/149) -- chore(deps-dev): bump @types/node from 13.7.6 to 13.7.7 [`#148`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/148) -- chore(deps-dev): bump typescript from 3.8.2 to 3.8.3 [`#147`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/147) -- chore(deps-dev): bump mocha from 7.0.1 to 7.1.0 [`#146`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/146) -- chore(deps-dev): bump @types/node from 13.7.4 to 13.7.6 [`#145`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/145) -- chore(deps-dev): bump typescript from 3.7.5 to 3.8.2 [`#144`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/144) -- chore(deps): bump lookpath from 1.0.4 to 1.0.5 [`#138`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/138) -- chore(deps-dev): bump @types/node from 13.7.2 to 13.7.4 [`#143`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/143) -- chore(deps-dev): bump @types/node from 13.7.0 to 13.7.2 [`#142`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/142) -- chore(deps-dev): bump semantic-release from 17.0.3 to 17.0.4 [`#141`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/141) -- chore(deps-dev): bump semantic-release, @semantic-release/git and semantic-release-vsce [`#140`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/140) -- chore(deps-dev): bump @types/vscode from 1.41.0 to 1.42.0 [`#137`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/137) -- chore(deps-dev): bump @types/node from 13.5.2 to 13.7.0 [`#136`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/136) -- chore(deps-dev): bump @types/mocha from 5.2.7 to 7.0.1 [`#134`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/134) -- chore(deps-dev): bump @types/node from 13.5.1 to 13.5.2 [`#133`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/133) -- chore(deps-dev): bump @semantic-release/changelog from 3.0.6 to 5.0.0 [`#131`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/131) -- chore(deps-dev): bump mocha from 7.0.0 to 7.0.1 [`#130`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/130) -- chore(deps-dev): bump @types/node from 13.5.0 to 13.5.1 [`#132`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/132) -- chore(deps-dev): bump @types/node from 13.1.7 to 13.5.0 [`#129`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/129) -- chore(deps-dev): bump tslint from 5.20.1 to 6.0.0 [`#128`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/128) -- chore(deps-dev): bump typescript from 3.7.4 to 3.7.5 [`#126`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/126) -- chore(deps-dev): bump @types/node from 13.1.5 to 13.1.7 [`#125`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/125) -- chore(deps-dev): bump @types/node from 13.1.4 to 13.1.5 [`#122`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/122) -- chore(deps-dev): bump @types/node from 13.1.2 to 13.1.4 [`#120`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/120) -- chore(deps-dev): bump mocha from 6.2.2 to 7.0.0 [`#121`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/121) -- chore(deps-dev): bump @types/node from 13.1.1 to 13.1.2 [`#119`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/119) -- chore(deps-dev): bump @types/node from 13.1.0 to 13.1.1 [`#118`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/118) -- chore(deps-dev): bump @types/node from 12.12.21 to 13.1.0 [`#117`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/117) -- chore(deps-dev): bump typescript from 3.7.3 to 3.7.4 [`#116`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/116) -- chore(deps-dev): bump semantic-release from 15.13.31 to 15.14.0 [`#115`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/115) -- chore(deps-dev): bump @types/node from 12.12.20 to 12.12.21 [`#113`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/113) -- chore(deps-dev): bump @types/node from 12.12.17 to 12.12.20 [`#112`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/112) -- chore(deps): bump lookpath from 1.0.3 to 1.0.4 [`#110`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/110) -- chore(deps): [security] bump npm from 6.13.0 to 6.13.4 [`#109`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/109) -- chore(deps-dev): bump @types/vscode from 1.40.0 to 1.41.0 [`#108`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/108) -- chore(deps-dev): bump vscode-test from 1.2.3 to 1.3.0 [`#107`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/107) -- chore(deps-dev): bump @types/node from 12.12.16 to 12.12.17 [`#105`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/105) -- chore(deps-dev): bump @types/node from 12.12.14 to 12.12.16 [`#104`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/104) -- chore(deps-dev): bump typescript from 3.7.2 to 3.7.3 [`#102`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/102) -- chore(deps-dev): bump @types/node from 12.12.12 to 12.12.14 [`#101`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/101) -- Bump find-process from 1.4.2 to 1.4.3 [`#93`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/93) -- Bump @types/node from 12.12.9 to 12.12.12 [`#100`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/100) -- Bump @semantic-release/changelog from 3.0.5 to 3.0.6 [`#99`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/99) -- Bump @types/node from 12.12.8 to 12.12.9 [`#97`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/97) -- [Security] Bump https-proxy-agent from 2.2.2 to 2.2.4 [`#96`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/96) -- Bump semantic-release from 15.13.30 to 15.13.31 [`#95`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/95) -- Bump @types/node from 12.12.7 to 12.12.8 [`#94`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/94) -- Bump @types/node from 12.12.6 to 12.12.7 [`#92`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/92) -- Bump vscode-test from 1.2.2 to 1.2.3 [`#91`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/91) -- Bump glob from 7.1.5 to 7.1.6 [`#89`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/89) -- Bump @types/vscode from 1.39.0 to 1.40.0 [`#90`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/90) -- Bump tslint from 5.20.0 to 5.20.1 [`#88`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/88) -- Bump @types/node from 12.12.5 to 12.12.6 [`#87`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/87) -- Bump typescript from 3.6.4 to 3.7.2 [`#86`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/86) -- Bump @semantic-release/git from 7.0.17 to 7.0.18 [`#85`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/85) -- Bump semantic-release from 15.13.28 to 15.13.30 [`#83`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/83) -- Bump @types/node from 12.12.0 to 12.12.5 [`#84`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/84) -- Bump vscode-test from 1.2.0 to 1.2.2 [`#82`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/82) -- Bump @types/node from 12.11.7 to 12.12.0 [`#81`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/81) -- Bump @semantic-release/git from 7.0.16 to 7.0.17 [`#80`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/80) -- Bump semantic-release from 15.13.27 to 15.13.28 [`#79`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/79) -- Bump @semantic-release/changelog from 3.0.4 to 3.0.5 [`#78`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/78) -- Bump @types/node from 12.11.6 to 12.11.7 [`#77`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/77) -- Bump @types/node from 12.11.5 to 12.11.6 [`#76`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/76) -- Bump @types/node from 12.11.1 to 12.11.5 [`#75`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/75) -- Bump glob from 7.1.4 to 7.1.5 [`#73`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/73) -- chore: 🤖 release [`409b7c5`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/409b7c5e7d954605e18f6cf5d3df84285ee00224) -- chore: 🤖 release v1.0.5 [skip ci] [`c10b5e6`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/c10b5e6c80f950de6d11d75eb55c5c03cd60adcc) -- chore: 🤖 release v1.0.6 [`c8511db`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/c8511db46ac03b4ee94549c9a31effff4a5edd70) - -#### [v1.0.5](https://github.com/danielpinto8zz6/c-cpp-compile-run/compare/v1.0.4...v1.0.5) - -> 19 October 2019 - -- chore: 🤖 Bump @types/node from 12.7.12 to 12.11.1 [`#72`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/72) -- chore: 🤖 release [`a52231c`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/a52231c9383ce8e21608c429cafb8355a08d0b44) -- Bump @types/node from 12.7.12 to 12.11.1 [`f43543b`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/f43543bd77e203c57b85b2ef042e039646b4dbbd) -- fix: 🐛 run executable with spaces [`aae05a5`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/aae05a58307ca87687430c96703a1d4ed41cc8b2) - -#### [v1.0.4](https://github.com/danielpinto8zz6/c-cpp-compile-run/compare/v1.0.3...v1.0.4) - -> 14 October 2019 - -- style: 💄 rules [`8cdde31`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/8cdde31beaee80c894c315c1b6e3e8843b416e05) -- chore: 🤖 release [`7e47ca5`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/7e47ca5b5b2ce90ae8e2938bdc0f1962910ea2bb) -- chore: 🤖 pipeline [`0e95391`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/0e953914ca4f3567bf7c3f2b6a5b0028656d2fb0) - -#### [v1.0.3](https://github.com/danielpinto8zz6/c-cpp-compile-run/compare/v1.0.2...v1.0.3) - -> 13 October 2019 - -- test: 💍 configure [`19e4eed`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/19e4eedb9aa0c747e22423cd9d06bf2e57b91b0b) -- chore: 🤖 pipeline [`d8cad58`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/d8cad589aa99b1a73a8f4e40fd50c75c429a573b) -- fix: 🐛 compile [`f922876`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/f922876f580363ccdb0ebbe4237fcf64b87722a3) - -#### [v1.0.2](https://github.com/danielpinto8zz6/c-cpp-compile-run/compare/v1.0.1...v1.0.2) - -> 9 October 2019 - -- Configure automatic release [`5889f59`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/5889f5976024c993c40bb9861a9ea0829aa76d75) -- Update changelog [`0868cb9`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/0868cb901c5602ec0762f17460fd796be627fff2) -- fix(file): Get file every time a command is run [`6587738`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/658773847d1e030380cec4f9b6c4566e84c5aa90) - -#### v1.0.1 - -> 8 October 2019 - -- Bump mixin-deep from 1.3.1 to 1.3.2 [`#65`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/65) -- Bump js-yaml from 3.13.0 to 3.13.1 [`#58`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/58) -- fix external terminal launching on mac(darwin) [`#54`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/54) -- Resolve [#44](https://github.com/danielpinto8zz6/c-cpp-compile-run/issues/44). Update dependencies. [`#45`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/45) -- Closes [#16](https://github.com/danielpinto8zz6/c-cpp-compile-run/issues/16). Add "CostumeCompileRun" and shortcut. Simplify the logic. [`#43`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/43) -- Add support for .cc suffix [`#11`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/11) -- Change invalid argument call `'` to `"`. [`#7`](https://github.com/danielpinto8zz6/c-cpp-compile-run/pull/7) -- fix https://github.com/danielpinto8zz6/c-cpp-compile-run/issues/57 [`#57`](https://github.com/danielpinto8zz6/c-cpp-compile-run/issues/57) -- remove clear, fixes https://github.com/danielpinto8zz6/c-cpp-compile-run/issues/30 [`#30`](https://github.com/danielpinto8zz6/c-cpp-compile-run/issues/30) -- clear output channel at begining, fixes https://github.com/danielpinto8zz6/c-cpp-compile-run/issues/42 [`#42`](https://github.com/danielpinto8zz6/c-cpp-compile-run/issues/42) -- add quotes to executable, fixes https://github.com/danielpinto8zz6/c-cpp-compile-run/issues/39 [`#39`](https://github.com/danielpinto8zz6/c-cpp-compile-run/issues/39) -- Show error when compiling while running, fixes https://github.com/danielpinto8zz6/c-cpp-compile-run/issues/40 [`#40`](https://github.com/danielpinto8zz6/c-cpp-compile-run/issues/40) -- Merge pull request [#45](https://github.com/danielpinto8zz6/c-cpp-compile-run/issues/45) from Anti-Li/master [`#44`](https://github.com/danielpinto8zz6/c-cpp-compile-run/issues/44) -- Resolve [#44](https://github.com/danielpinto8zz6/c-cpp-compile-run/issues/44). [`#44`](https://github.com/danielpinto8zz6/c-cpp-compile-run/issues/44) -- Merge pull request [#43](https://github.com/danielpinto8zz6/c-cpp-compile-run/issues/43) from Anti-Li/simplify [`#16`](https://github.com/danielpinto8zz6/c-cpp-compile-run/issues/16) -- Closes [#16](https://github.com/danielpinto8zz6/c-cpp-compile-run/issues/16). Add the "CostumeCompileRun" command and shortcut. Simplify the logic. [`#16`](https://github.com/danielpinto8zz6/c-cpp-compile-run/issues/16) -- Fix https://github.com/danielpinto8zz6/c-cpp-compile-run/issues/34 [`#34`](https://github.com/danielpinto8zz6/c-cpp-compile-run/issues/34) -- clear terminal is not async. fixes https://github.com/danielpinto8zz6/c-cpp-compile-run/issues/30 [`#30`](https://github.com/danielpinto8zz6/c-cpp-compile-run/issues/30) -- change settings correctly. fixes https://github.com/danielpinto8zz6/c-cpp-compile-run/issues/31 [`#31`](https://github.com/danielpinto8zz6/c-cpp-compile-run/issues/31) -- Resolve [#12](https://github.com/danielpinto8zz6/c-cpp-compile-run/issues/12) temporarily [`#12`](https://github.com/danielpinto8zz6/c-cpp-compile-run/issues/12) -- First commit [`9777202`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/97772024204eb84cba00e49273392932f6b1c79d) -- Refactor code [`2cdf2c4`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/2cdf2c4dd1e2e960db24fe9b4bdc8f9bc458b783) -- Fix vulnerabilities [`1d9c91f`](https://github.com/danielpinto8zz6/c-cpp-compile-run/commit/1d9c91f8c4a9fc36d144ec77772511d9f8c5f878) diff --git a/src/danielpinto8zz6.c-cpp-compile-run-1.0.18/LICENSE.txt b/src/danielpinto8zz6.c-cpp-compile-run-1.0.18/LICENSE.txt deleted file mode 100644 index f288702..0000000 --- a/src/danielpinto8zz6.c-cpp-compile-run-1.0.18/LICENSE.txt +++ /dev/null @@ -1,674 +0,0 @@ - GNU GENERAL PUBLIC LICENSE - Version 3, 29 June 2007 - - Copyright (C) 2007 Free Software Foundation, Inc. - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The GNU General Public License is a free, copyleft license for -software and other kinds of works. - - The licenses for most software and other practical works are designed -to take away your freedom to share and change the works. By contrast, -the GNU General Public License is intended to guarantee your freedom to -share and change all versions of a program--to make sure it remains free -software for all its users. We, the Free Software Foundation, use the -GNU General Public License for most of our software; it applies also to -any other work released this way by its authors. You can apply it to -your programs, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -them if you wish), that you receive source code or can get it if you -want it, that you can change the software or use pieces of it in new -free programs, and that you know you can do these things. - - To protect your rights, we need to prevent others from denying you -these rights or asking you to surrender the rights. Therefore, you have -certain responsibilities if you distribute copies of the software, or if -you modify it: responsibilities to respect the freedom of others. - - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must pass on to the recipients the same -freedoms that you received. You must make sure that they, too, receive -or can get the source code. And you must show them these terms so they -know their rights. - - Developers that use the GNU GPL protect your rights with two steps: -(1) assert copyright on the software, and (2) offer you this License -giving you legal permission to copy, distribute and/or modify it. - - For the developers' and authors' protection, the GPL clearly explains -that there is no warranty for this free software. For both users' and -authors' sake, the GPL requires that modified versions be marked as -changed, so that their problems will not be attributed erroneously to -authors of previous versions. - - Some devices are designed to deny users access to install or run -modified versions of the software inside them, although the manufacturer -can do so. This is fundamentally incompatible with the aim of -protecting users' freedom to change the software. The systematic -pattern of such abuse occurs in the area of products for individuals to -use, which is precisely where it is most unacceptable. Therefore, we -have designed this version of the GPL to prohibit the practice for those -products. If such problems arise substantially in other domains, we -stand ready to extend this provision to those domains in future versions -of the GPL, as needed to protect the freedom of users. - - Finally, every program is threatened constantly by software patents. -States should not allow patents to restrict development and use of -software on general-purpose computers, but in those that do, we wish to -avoid the special danger that patents applied to a free program could -make it effectively proprietary. To prevent this, the GPL assures that -patents cannot be used to render the program non-free. - - The precise terms and conditions for copying, distribution and -modification follow. - - TERMS AND CONDITIONS - - 0. Definitions. - - "This License" refers to version 3 of the GNU General Public License. - - "Copyright" also means copyright-like laws that apply to other kinds of -works, such as semiconductor masks. - - "The Program" refers to any copyrightable work licensed under this -License. Each licensee is addressed as "you". "Licensees" and -"recipients" may be individuals or organizations. - - To "modify" a work means to copy from or adapt all or part of the work -in a fashion requiring copyright permission, other than the making of an -exact copy. The resulting work is called a "modified version" of the -earlier work or a work "based on" the earlier work. - - A "covered work" means either the unmodified Program or a work based -on the Program. - - To "propagate" a work means to do anything with it that, without -permission, would make you directly or secondarily liable for -infringement under applicable copyright law, except executing it on a -computer or modifying a private copy. Propagation includes copying, -distribution (with or without modification), making available to the -public, and in some countries other activities as well. - - To "convey" a work means any kind of propagation that enables other -parties to make or receive copies. Mere interaction with a user through -a computer network, with no transfer of a copy, is not conveying. - - An interactive user interface displays "Appropriate Legal Notices" -to the extent that it includes a convenient and prominently visible -feature that (1) displays an appropriate copyright notice, and (2) -tells the user that there is no warranty for the work (except to the -extent that warranties are provided), that licensees may convey the -work under this License, and how to view a copy of this License. If -the interface presents a list of user commands or options, such as a -menu, a prominent item in the list meets this criterion. - - 1. Source Code. - - The "source code" for a work means the preferred form of the work -for making modifications to it. "Object code" means any non-source -form of a work. - - A "Standard Interface" means an interface that either is an official -standard defined by a recognized standards body, or, in the case of -interfaces specified for a particular programming language, one that -is widely used among developers working in that language. - - The "System Libraries" of an executable work include anything, other -than the work as a whole, that (a) is included in the normal form of -packaging a Major Component, but which is not part of that Major -Component, and (b) serves only to enable use of the work with that -Major Component, or to implement a Standard Interface for which an -implementation is available to the public in source code form. A -"Major Component", in this context, means a major essential component -(kernel, window system, and so on) of the specific operating system -(if any) on which the executable work runs, or a compiler used to -produce the work, or an object code interpreter used to run it. - - The "Corresponding Source" for a work in object code form means all -the source code needed to generate, install, and (for an executable -work) run the object code and to modify the work, including scripts to -control those activities. However, it does not include the work's -System Libraries, or general-purpose tools or generally available free -programs which are used unmodified in performing those activities but -which are not part of the work. For example, Corresponding Source -includes interface definition files associated with source files for -the work, and the source code for shared libraries and dynamically -linked subprograms that the work is specifically designed to require, -such as by intimate data communication or control flow between those -subprograms and other parts of the work. - - The Corresponding Source need not include anything that users -can regenerate automatically from other parts of the Corresponding -Source. - - The Corresponding Source for a work in source code form is that -same work. - - 2. Basic Permissions. - - All rights granted under this License are granted for the term of -copyright on the Program, and are irrevocable provided the stated -conditions are met. This License explicitly affirms your unlimited -permission to run the unmodified Program. The output from running a -covered work is covered by this License only if the output, given its -content, constitutes a covered work. This License acknowledges your -rights of fair use or other equivalent, as provided by copyright law. - - You may make, run and propagate covered works that you do not -convey, without conditions so long as your license otherwise remains -in force. You may convey covered works to others for the sole purpose -of having them make modifications exclusively for you, or provide you -with facilities for running those works, provided that you comply with -the terms of this License in conveying all material for which you do -not control copyright. Those thus making or running the covered works -for you must do so exclusively on your behalf, under your direction -and control, on terms that prohibit them from making any copies of -your copyrighted material outside their relationship with you. - - Conveying under any other circumstances is permitted solely under -the conditions stated below. Sublicensing is not allowed; section 10 -makes it unnecessary. - - 3. Protecting Users' Legal Rights From Anti-Circumvention Law. - - No covered work shall be deemed part of an effective technological -measure under any applicable law fulfilling obligations under article -11 of the WIPO copyright treaty adopted on 20 December 1996, or -similar laws prohibiting or restricting circumvention of such -measures. - - When you convey a covered work, you waive any legal power to forbid -circumvention of technological measures to the extent such circumvention -is effected by exercising rights under this License with respect to -the covered work, and you disclaim any intention to limit operation or -modification of the work as a means of enforcing, against the work's -users, your or third parties' legal rights to forbid circumvention of -technological measures. - - 4. Conveying Verbatim Copies. - - You may convey verbatim copies of the Program's source code as you -receive it, in any medium, provided that you conspicuously and -appropriately publish on each copy an appropriate copyright notice; -keep intact all notices stating that this License and any -non-permissive terms added in accord with section 7 apply to the code; -keep intact all notices of the absence of any warranty; and give all -recipients a copy of this License along with the Program. - - You may charge any price or no price for each copy that you convey, -and you may offer support or warranty protection for a fee. - - 5. Conveying Modified Source Versions. - - You may convey a work based on the Program, or the modifications to -produce it from the Program, in the form of source code under the -terms of section 4, provided that you also meet all of these conditions: - - a) The work must carry prominent notices stating that you modified - it, and giving a relevant date. - - b) The work must carry prominent notices stating that it is - released under this License and any conditions added under section - 7. This requirement modifies the requirement in section 4 to - "keep intact all notices". - - c) You must license the entire work, as a whole, under this - License to anyone who comes into possession of a copy. This - License will therefore apply, along with any applicable section 7 - additional terms, to the whole of the work, and all its parts, - regardless of how they are packaged. This License gives no - permission to license the work in any other way, but it does not - invalidate such permission if you have separately received it. - - d) If the work has interactive user interfaces, each must display - Appropriate Legal Notices; however, if the Program has interactive - interfaces that do not display Appropriate Legal Notices, your - work need not make them do so. - - A compilation of a covered work with other separate and independent -works, which are not by their nature extensions of the covered work, -and which are not combined with it such as to form a larger program, -in or on a volume of a storage or distribution medium, is called an -"aggregate" if the compilation and its resulting copyright are not -used to limit the access or legal rights of the compilation's users -beyond what the individual works permit. Inclusion of a covered work -in an aggregate does not cause this License to apply to the other -parts of the aggregate. - - 6. Conveying Non-Source Forms. - - You may convey a covered work in object code form under the terms -of sections 4 and 5, provided that you also convey the -machine-readable Corresponding Source under the terms of this License, -in one of these ways: - - a) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by the - Corresponding Source fixed on a durable physical medium - customarily used for software interchange. - - b) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by a - written offer, valid for at least three years and valid for as - long as you offer spare parts or customer support for that product - model, to give anyone who possesses the object code either (1) a - copy of the Corresponding Source for all the software in the - product that is covered by this License, on a durable physical - medium customarily used for software interchange, for a price no - more than your reasonable cost of physically performing this - conveying of source, or (2) access to copy the - Corresponding Source from a network server at no charge. - - c) Convey individual copies of the object code with a copy of the - written offer to provide the Corresponding Source. This - alternative is allowed only occasionally and noncommercially, and - only if you received the object code with such an offer, in accord - with subsection 6b. - - d) Convey the object code by offering access from a designated - place (gratis or for a charge), and offer equivalent access to the - Corresponding Source in the same way through the same place at no - further charge. You need not require recipients to copy the - Corresponding Source along with the object code. If the place to - copy the object code is a network server, the Corresponding Source - may be on a different server (operated by you or a third party) - that supports equivalent copying facilities, provided you maintain - clear directions next to the object code saying where to find the - Corresponding Source. Regardless of what server hosts the - Corresponding Source, you remain obligated to ensure that it is - available for as long as needed to satisfy these requirements. - - e) Convey the object code using peer-to-peer transmission, provided - you inform other peers where the object code and Corresponding - Source of the work are being offered to the general public at no - charge under subsection 6d. - - A separable portion of the object code, whose source code is excluded -from the Corresponding Source as a System Library, need not be -included in conveying the object code work. - - A "User Product" is either (1) a "consumer product", which means any -tangible personal property which is normally used for personal, family, -or household purposes, or (2) anything designed or sold for incorporation -into a dwelling. In determining whether a product is a consumer product, -doubtful cases shall be resolved in favor of coverage. For a particular -product received by a particular user, "normally used" refers to a -typical or common use of that class of product, regardless of the status -of the particular user or of the way in which the particular user -actually uses, or expects or is expected to use, the product. A product -is a consumer product regardless of whether the product has substantial -commercial, industrial or non-consumer uses, unless such uses represent -the only significant mode of use of the product. - - "Installation Information" for a User Product means any methods, -procedures, authorization keys, or other information required to install -and execute modified versions of a covered work in that User Product from -a modified version of its Corresponding Source. The information must -suffice to ensure that the continued functioning of the modified object -code is in no case prevented or interfered with solely because -modification has been made. - - If you convey an object code work under this section in, or with, or -specifically for use in, a User Product, and the conveying occurs as -part of a transaction in which the right of possession and use of the -User Product is transferred to the recipient in perpetuity or for a -fixed term (regardless of how the transaction is characterized), the -Corresponding Source conveyed under this section must be accompanied -by the Installation Information. But this requirement does not apply -if neither you nor any third party retains the ability to install -modified object code on the User Product (for example, the work has -been installed in ROM). - - The requirement to provide Installation Information does not include a -requirement to continue to provide support service, warranty, or updates -for a work that has been modified or installed by the recipient, or for -the User Product in which it has been modified or installed. Access to a -network may be denied when the modification itself materially and -adversely affects the operation of the network or violates the rules and -protocols for communication across the network. - - Corresponding Source conveyed, and Installation Information provided, -in accord with this section must be in a format that is publicly -documented (and with an implementation available to the public in -source code form), and must require no special password or key for -unpacking, reading or copying. - - 7. Additional Terms. - - "Additional permissions" are terms that supplement the terms of this -License by making exceptions from one or more of its conditions. -Additional permissions that are applicable to the entire Program shall -be treated as though they were included in this License, to the extent -that they are valid under applicable law. If additional permissions -apply only to part of the Program, that part may be used separately -under those permissions, but the entire Program remains governed by -this License without regard to the additional permissions. - - When you convey a copy of a covered work, you may at your option -remove any additional permissions from that copy, or from any part of -it. (Additional permissions may be written to require their own -removal in certain cases when you modify the work.) You may place -additional permissions on material, added by you to a covered work, -for which you have or can give appropriate copyright permission. - - Notwithstanding any other provision of this License, for material you -add to a covered work, you may (if authorized by the copyright holders of -that material) supplement the terms of this License with terms: - - a) Disclaiming warranty or limiting liability differently from the - terms of sections 15 and 16 of this License; or - - b) Requiring preservation of specified reasonable legal notices or - author attributions in that material or in the Appropriate Legal - Notices displayed by works containing it; or - - c) Prohibiting misrepresentation of the origin of that material, or - requiring that modified versions of such material be marked in - reasonable ways as different from the original version; or - - d) Limiting the use for publicity purposes of names of licensors or - authors of the material; or - - e) Declining to grant rights under trademark law for use of some - trade names, trademarks, or service marks; or - - f) Requiring indemnification of licensors and authors of that - material by anyone who conveys the material (or modified versions of - it) with contractual assumptions of liability to the recipient, for - any liability that these contractual assumptions directly impose on - those licensors and authors. - - All other non-permissive additional terms are considered "further -restrictions" within the meaning of section 10. If the Program as you -received it, or any part of it, contains a notice stating that it is -governed by this License along with a term that is a further -restriction, you may remove that term. If a license document contains -a further restriction but permits relicensing or conveying under this -License, you may add to a covered work material governed by the terms -of that license document, provided that the further restriction does -not survive such relicensing or conveying. - - If you add terms to a covered work in accord with this section, you -must place, in the relevant source files, a statement of the -additional terms that apply to those files, or a notice indicating -where to find the applicable terms. - - Additional terms, permissive or non-permissive, may be stated in the -form of a separately written license, or stated as exceptions; -the above requirements apply either way. - - 8. Termination. - - You may not propagate or modify a covered work except as expressly -provided under this License. Any attempt otherwise to propagate or -modify it is void, and will automatically terminate your rights under -this License (including any patent licenses granted under the third -paragraph of section 11). - - However, if you cease all violation of this License, then your -license from a particular copyright holder is reinstated (a) -provisionally, unless and until the copyright holder explicitly and -finally terminates your license, and (b) permanently, if the copyright -holder fails to notify you of the violation by some reasonable means -prior to 60 days after the cessation. - - Moreover, your license from a particular copyright holder is -reinstated permanently if the copyright holder notifies you of the -violation by some reasonable means, this is the first time you have -received notice of violation of this License (for any work) from that -copyright holder, and you cure the violation prior to 30 days after -your receipt of the notice. - - Termination of your rights under this section does not terminate the -licenses of parties who have received copies or rights from you under -this License. If your rights have been terminated and not permanently -reinstated, you do not qualify to receive new licenses for the same -material under section 10. - - 9. Acceptance Not Required for Having Copies. - - You are not required to accept this License in order to receive or -run a copy of the Program. Ancillary propagation of a covered work -occurring solely as a consequence of using peer-to-peer transmission -to receive a copy likewise does not require acceptance. However, -nothing other than this License grants you permission to propagate or -modify any covered work. These actions infringe copyright if you do -not accept this License. Therefore, by modifying or propagating a -covered work, you indicate your acceptance of this License to do so. - - 10. Automatic Licensing of Downstream Recipients. - - Each time you convey a covered work, the recipient automatically -receives a license from the original licensors, to run, modify and -propagate that work, subject to this License. You are not responsible -for enforcing compliance by third parties with this License. - - An "entity transaction" is a transaction transferring control of an -organization, or substantially all assets of one, or subdividing an -organization, or merging organizations. If propagation of a covered -work results from an entity transaction, each party to that -transaction who receives a copy of the work also receives whatever -licenses to the work the party's predecessor in interest had or could -give under the previous paragraph, plus a right to possession of the -Corresponding Source of the work from the predecessor in interest, if -the predecessor has it or can get it with reasonable efforts. - - You may not impose any further restrictions on the exercise of the -rights granted or affirmed under this License. For example, you may -not impose a license fee, royalty, or other charge for exercise of -rights granted under this License, and you may not initiate litigation -(including a cross-claim or counterclaim in a lawsuit) alleging that -any patent claim is infringed by making, using, selling, offering for -sale, or importing the Program or any portion of it. - - 11. Patents. - - A "contributor" is a copyright holder who authorizes use under this -License of the Program or a work on which the Program is based. The -work thus licensed is called the contributor's "contributor version". - - A contributor's "essential patent claims" are all patent claims -owned or controlled by the contributor, whether already acquired or -hereafter acquired, that would be infringed by some manner, permitted -by this License, of making, using, or selling its contributor version, -but do not include claims that would be infringed only as a -consequence of further modification of the contributor version. For -purposes of this definition, "control" includes the right to grant -patent sublicenses in a manner consistent with the requirements of -this License. - - Each contributor grants you a non-exclusive, worldwide, royalty-free -patent license under the contributor's essential patent claims, to -make, use, sell, offer for sale, import and otherwise run, modify and -propagate the contents of its contributor version. - - In the following three paragraphs, a "patent license" is any express -agreement or commitment, however denominated, not to enforce a patent -(such as an express permission to practice a patent or covenant not to -sue for patent infringement). To "grant" such a patent license to a -party means to make such an agreement or commitment not to enforce a -patent against the party. - - If you convey a covered work, knowingly relying on a patent license, -and the Corresponding Source of the work is not available for anyone -to copy, free of charge and under the terms of this License, through a -publicly available network server or other readily accessible means, -then you must either (1) cause the Corresponding Source to be so -available, or (2) arrange to deprive yourself of the benefit of the -patent license for this particular work, or (3) arrange, in a manner -consistent with the requirements of this License, to extend the patent -license to downstream recipients. "Knowingly relying" means you have -actual knowledge that, but for the patent license, your conveying the -covered work in a country, or your recipient's use of the covered work -in a country, would infringe one or more identifiable patents in that -country that you have reason to believe are valid. - - If, pursuant to or in connection with a single transaction or -arrangement, you convey, or propagate by procuring conveyance of, a -covered work, and grant a patent license to some of the parties -receiving the covered work authorizing them to use, propagate, modify -or convey a specific copy of the covered work, then the patent license -you grant is automatically extended to all recipients of the covered -work and works based on it. - - A patent license is "discriminatory" if it does not include within -the scope of its coverage, prohibits the exercise of, or is -conditioned on the non-exercise of one or more of the rights that are -specifically granted under this License. You may not convey a covered -work if you are a party to an arrangement with a third party that is -in the business of distributing software, under which you make payment -to the third party based on the extent of your activity of conveying -the work, and under which the third party grants, to any of the -parties who would receive the covered work from you, a discriminatory -patent license (a) in connection with copies of the covered work -conveyed by you (or copies made from those copies), or (b) primarily -for and in connection with specific products or compilations that -contain the covered work, unless you entered into that arrangement, -or that patent license was granted, prior to 28 March 2007. - - Nothing in this License shall be construed as excluding or limiting -any implied license or other defenses to infringement that may -otherwise be available to you under applicable patent law. - - 12. No Surrender of Others' Freedom. - - If conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot convey a -covered work so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you may -not convey it at all. For example, if you agree to terms that obligate you -to collect a royalty for further conveying from those to whom you convey -the Program, the only way you could satisfy both those terms and this -License would be to refrain entirely from conveying the Program. - - 13. Use with the GNU Affero General Public License. - - Notwithstanding any other provision of this License, you have -permission to link or combine any covered work with a work licensed -under version 3 of the GNU Affero General Public License into a single -combined work, and to convey the resulting work. The terms of this -License will continue to apply to the part which is the covered work, -but the special requirements of the GNU Affero General Public License, -section 13, concerning interaction through a network will apply to the -combination as such. - - 14. Revised Versions of this License. - - The Free Software Foundation may publish revised and/or new versions of -the GNU General Public License from time to time. Such new versions will -be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. - - Each version is given a distinguishing version number. If the -Program specifies that a certain numbered version of the GNU General -Public License "or any later version" applies to it, you have the -option of following the terms and conditions either of that numbered -version or of any later version published by the Free Software -Foundation. If the Program does not specify a version number of the -GNU General Public License, you may choose any version ever published -by the Free Software Foundation. - - If the Program specifies that a proxy can decide which future -versions of the GNU General Public License can be used, that proxy's -public statement of acceptance of a version permanently authorizes you -to choose that version for the Program. - - Later license versions may give you additional or different -permissions. However, no additional obligations are imposed on any -author or copyright holder as a result of your choosing to follow a -later version. - - 15. Disclaimer of Warranty. - - THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY -APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT -HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY -OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, -THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM -IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF -ALL NECESSARY SERVICING, REPAIR OR CORRECTION. - - 16. Limitation of Liability. - - IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS -THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY -GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE -USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF -DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD -PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), -EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF -SUCH DAMAGES. - - 17. Interpretation of Sections 15 and 16. - - If the disclaimer of warranty and limitation of liability provided -above cannot be given local legal effect according to their terms, -reviewing courts shall apply local law that most closely approximates -an absolute waiver of all civil liability in connection with the -Program, unless a warranty or assumption of liability accompanies a -copy of the Program in return for a fee. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Programs - - If you develop a new program, and you want it to be of the greatest -possible use to the public, the best way to achieve this is to make it -free software which everyone can redistribute and change under these terms. - - To do so, attach the following notices to the program. It is safest -to attach them to the start of each source file to most effectively -state the exclusion of warranty; and each file should have at least -the "copyright" line and a pointer to where the full notice is found. - - - Copyright (C) - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see . - -Also add information on how to contact you by electronic and paper mail. - - If the program does terminal interaction, make it output a short -notice like this when it starts in an interactive mode: - - Copyright (C) - This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. - This is free software, and you are welcome to redistribute it - under certain conditions; type `show c' for details. - -The hypothetical commands `show w' and `show c' should show the appropriate -parts of the General Public License. Of course, your program's commands -might be different; for a GUI interface, you would use an "about box". - - You should also get your employer (if you work as a programmer) or school, -if any, to sign a "copyright disclaimer" for the program, if necessary. -For more information on this, and how to apply and follow the GNU GPL, see -. - - The GNU General Public License does not permit incorporating your program -into proprietary programs. If your program is a subroutine library, you -may consider it more useful to permit linking proprietary applications with -the library. If this is what you want to do, use the GNU Lesser General -Public License instead of this License. But first, please read -. diff --git a/src/danielpinto8zz6.c-cpp-compile-run-1.0.18/README.md b/src/danielpinto8zz6.c-cpp-compile-run-1.0.18/README.md deleted file mode 100644 index f1de016..0000000 --- a/src/danielpinto8zz6.c-cpp-compile-run-1.0.18/README.md +++ /dev/null @@ -1,56 +0,0 @@ -![Logo](https://github.com/danielpinto8zz6/c-cpp-compile-run/raw/HEAD/resources/logo.png) - -# C/C++ Compile Run extension - -![Github CI](https://github.com/danielpinto8zz6/c-cpp-compile-run/actions/workflows/ci.yml/badge.svg) -[![Marketplace Version](https://vsmarketplacebadges.dev/version-short/danielpinto8zz6.c-cpp-compile-run.png)](https://marketplace.visualstudio.com/items?itemName=danielpinto8zz6.c-cpp-compile-run) -[![Downloads](https://vsmarketplacebadges.dev/downloads-short/danielpinto8zz6.c-cpp-compile-run.png)](https://marketplace.visualstudio.com/items?itemName=danielpinto8zz6.c-cpp-compile-run) -[![Rating](https://vsmarketplacebadges.dev/rating-short/danielpinto8zz6.c-cpp-compile-run.png)](https://marketplace.visualstudio.com/items?itemName=danielpinto8zz6.c-cpp-compile-run) - - -An extension running on [Visual Studio Code](https://code.visualstudio.com) to **Compile & Run** single c/c++ files easily - -## Features - -Compile & Run C/C++ opened file directly from the command palette or by pressing 'f6' or 'f7' - -## Requirements - -* If you are on linux you must install gcc ([see instructions](https://github.com/danielpinto8zz6/c-cpp-compile-run/blob/HEAD/docs/COMPILER_SETUP.md#Linux)) -* If you are on window you must install tdm-gcc ([see instructions](https://github.com/danielpinto8zz6/c-cpp-compile-run/blob/HEAD/docs/COMPILER_SETUP.md#Windows)) -* If you are on mac os you must install clang ([see instructions](https://github.com/danielpinto8zz6/c-cpp-compile-run/blob/HEAD/docs/COMPILER_SETUP.md#MacOS)) -## How to use -Make sure you have .c or .cpp file open. -Press "F6", this will compile and run the file using default arguments in settings. -Or press "F7", this will use the arguments you specify for the program. -If you want to register gcc/g++ path manually, you can set it under settings. -You can also set to save file before compiling. - -## Configurations -| Key | Description | -| ------------ | ------------ | -| c-cpp-compile-run.c-compiler | The C compiler path (e.g: /usr/bin/gcc or C:\\TDM-GCC-64\\bin\\gcc.exe) | -| c-cpp-compile-run.cpp-compiler | The Cpp compiler path (e.g: /usr/bin/g++ C:\\TDM-GCC-64\\bin\\gcc.exe) | -| c-cpp-compile-run.save-before-compile | Whether should save the file before compiling | -| c-cpp-compile-run.c-flags | The C flags: e.g. -Wall. default: -Wall -Wextra | -| c-cpp-compile-run.cpp-flags | The Cpp flags: e.g. -Wall. default: -Wall -Wextra | -| c-cpp-compile-run.run-args | The run arguments | -| c-cpp-compile-run.run-in-external-terminal | Whether should run in an external terminal | -| c-cpp-compile-run.should-show-notifications | Whether should show notifications | -| c-cpp-compile-run.output-location | Custom output location for the compiled file | - -## Keybindings -| Linux | Windows | Mac | Description | -| ------------ | ------------ | ------------ | ------------ | -| f6 | f6 | cmd+r | Compiles and runs the file | -| crtl+6 | ctrl+6 | cmd+6 | Compiles and runs the file | -| f8 | f8 | cmd+y | Compiles and run the file in external console | -| f7 | f7 | cmd+t | Compiles and run the file specifying custom arguments and flags | - -## Release Notes - -Refer to [CHANGELOG](https://github.com/danielpinto8zz6/c-cpp-compile-run/blob/HEAD/CHANGELOG.md) - -## Donation - -If you like this extension, you can donate via **[PayPal](https://www.paypal.me/danielpinto8zz6)**. It will help me to spend more time improving this! diff --git a/src/danielpinto8zz6.c-cpp-compile-run-1.0.18/changelog-template.hbs b/src/danielpinto8zz6.c-cpp-compile-run-1.0.18/changelog-template.hbs deleted file mode 100644 index b989d90..0000000 --- a/src/danielpinto8zz6.c-cpp-compile-run-1.0.18/changelog-template.hbs +++ /dev/null @@ -1,36 +0,0 @@ -# Changelog - -All notable changes to this project will be documented in this file. - -{{#each releases}} - {{#if href}} - ## [{{title}}]({{href}}){{#if tag}} - {{isoDate}}{{/if}} - {{else}} - ## {{title}}{{#if tag}} - {{isoDate}}{{/if}} - {{/if}} - - {{#if summary}} - {{summary}} - {{/if}} - - {{#if merges}} - ### Merged - - {{#each merges}} - - {{{message}}} {{#if href}}[`#{{id}}`]({{href}}){{/if}} - {{/each}} - {{/if}} - - {{#if fixes}} - ### Fixed - - {{#each fixes}} - - {{{commit.subject}}}{{#each fixes}} {{#if href}}[`#{{id}}`]({{href}}){{/if}}{{/each}} - {{/each}} - {{/if}} - - {{#commit-list commits heading='### Commits'}} - - {{#if breaking}}**Breaking change:** {{/if}}{{{subject}}} {{#if href}}[`{{shorthash}}`]({{href}}){{/if}} - {{/commit-list}} - -{{/each}} \ No newline at end of file diff --git a/src/danielpinto8zz6.c-cpp-compile-run-1.0.18/dist/extension.js b/src/danielpinto8zz6.c-cpp-compile-run-1.0.18/dist/extension.js deleted file mode 100644 index 719da9f..0000000 --- a/src/danielpinto8zz6.c-cpp-compile-run-1.0.18/dist/extension.js +++ /dev/null @@ -1 +0,0 @@ -(()=>{var t={8529:(t,e,n)=>{"use strict";t.exports=n(7077)},7077:(t,e,n)=>{"use strict";const r=n(2821),i=n(3330),o={port:(t,e)=>r(t,e).then((t=>o.pid(t,e)),(()=>[])),pid:(t,e)=>i({pid:t,strict:e}),name:(t,e)=>i({name:t,strict:e})};t.exports=function(t,e,n){return new Promise(((r,i)=>{if(t in o){const s=/^\d+$/.test(e);"pid"!==t||s?"port"!==t||s?o[t](e,n).then(r,i):i(new Error("port must be a number")):i(new Error("pid must be a number"))}else i(new Error(`do not support find by "${t}"`))}))}},2821:(t,e,n)=>{"use strict";const r=n(2037),i=n(7147),o=n(95),s={darwin:t=>new Promise(((e,n)=>{o.exec("netstat -anv -p TCP && netstat -anv -p UDP",(function(r,i,s){if(r)n(r);else{if(r=s.toString().trim())return void n(r);const c=o.stripLine(i.toString(),2),a=o.extractColumns(c,[0,3,8],10).filter((t=>!!String(t[0]).match(/^(udp|tcp)/))).find((e=>{const n=String(e[1]).match(/\.(\d+)$/);if(n&&n[1]===String(t))return!0}));a&&a[2].length?e(parseInt(a[2],10)):n(new Error(`pid of port (${t}) not found`))}}))})),freebsd:"darwin",sunos:"darwin",linux:t=>new Promise(((e,n)=>{o.exec("netstat -tunlp",(function(r,i,s){if(r)n(r);else{const r=s.toString().trim();r&&console.warn(r);const c=o.stripLine(i.toString(),2),a=o.extractColumns(c,[3,6],7).find((e=>{const n=String(e[0]).match(/:(\d+)$/);if(n&&n[1]===String(t))return!0}));if(a&&a[1]){const r=a[1].split("/",1)[0];r.length?e(parseInt(r,10)):n(new Error(`pid of port (${t}) not found`))}else n(new Error(`pid of port (${t}) not found`))}}))})),win32:t=>new Promise(((e,n)=>{o.exec("netstat -ano",(function(r,i,s){if(r)n(r);else{if(r=s.toString().trim())return void n(r);const c=o.stripLine(i.toString(),4),a=o.extractColumns(c,[1,4],5).find((e=>{const n=String(e[0]).match(/:(\d+)$/);if(n&&n[1]===String(t))return!0}));a&&a[1].length&&parseInt(a[1],10)>0?e(parseInt(a[1],10)):n(new Error(`pid of port (${t}) not found`))}}))})),android:t=>new Promise(((e,n)=>{const s=r.tmpdir()+"/.find-process",c=s+"/"+process.pid,a='netstat -tunp >> "'+c+'"';var u;(u=s,new Promise(((t,e)=>{i.existsSync(u)?t():i.mkdir(u,(n=>{n?e(n):t()}))}))).then((()=>{o.exec(a,(()=>{i.readFile(c,"utf8",((r,s)=>{if(i.unlink(c,(()=>{})),r)n(r);else{s=o.stripLine(s,2);const r=o.extractColumns(s,[3,6],7).find((e=>{const n=String(e[0]).match(/:(\d+)$/);if(n&&n[1]===String(t))return!0}));if(r&&r[1]){const i=r[1].split("/",1)[0];i.length?e(parseInt(i,10)):n(new Error(`pid of port (${t}) not found`))}else n(new Error(`pid of port (${t}) not found`))}}))}))}))}))};t.exports=function(t){const e=process.platform;return new Promise(((n,r)=>{if(!(e in s))return r(new Error(`platform ${e} is unsupported`));let i=s[e];"string"==typeof i&&(i=s[i]),i(t).then(n,r)}))}},3330:(t,e,n)=>{"use strict";const r=n(1017),i=n(95);function o(t,e){return!e||!(!t||!t.match)&&t.match(e)}function s(t){const e=t.split(r.sep),n=e[e.length-1];n&&(e[e.length-1]=n.split(" ")[0]);const i=[];for(const t of e){const e=t.indexOf(" -");if(e>=0){i.push(t.substring(0,e).trim());break}if(t.endsWith(" ")){i.push(t.trim());break}i.push(t)}return i.join(r.sep)}function c(t){if("darwin"===process.platform){const e=t.indexOf(".app/");if(e>=0)return r.basename(t.substring(0,e))}return r.basename(t)}const a={darwin:t=>new Promise(((e,n)=>{let r;r="pid"in t?`ps -p ${t.pid} -ww -o pid,ppid,uid,gid,args`:"ps ax -ww -o pid,ppid,uid,gid,args",i.exec(r,(function(r,a,u){if(r)"pid"in t?e([]):n(r);else{if(r=u.toString().trim())return void n(r);const l=i.stripLine(a.toString(),1);let f=i.extractColumns(l,[0,1,2,3,4],5).filter((e=>e[0]&&t.pid?e[0]===String(t.pid):e[4]&&t.name?o(e[4],t.name):!!e[0])).map((t=>{const e=s(String(t[4]));return{pid:parseInt(t[0],10),ppid:parseInt(t[1],10),uid:parseInt(t[2],10),gid:parseInt(t[3],10),name:c(e),bin:e,cmd:t[4]}}));t.strict&&t.name&&(f=f.filter((e=>e.name===t.name))),e(f)}}))})),linux:"darwin",sunos:"darwin",freebsd:"darwin",win32:t=>new Promise(((e,n)=>{const r="Get-CimInstance -className win32_process | select Name,ProcessId,ParentProcessId,CommandLine,ExecutablePath",s=[],c=i.spawn("powershell.exe",["/c",r],{detached:!1,windowsHide:!0});c.stdout.on("data",(t=>{s.push(t.toString())})),c.on("close",(c=>{if(0!==c)return n(new Error("Command '"+r+"' terminated with code: "+c));const a=i.parseTable(s.join("")).filter((e=>{if("pid"in t)return e.ProcessId===String(t.pid);if(t.name){const n=e.Name||"";return t.strict?n===t.name||n.endsWith(".exe")&&n.slice(0,-4)===t.name:o(e.CommandLine||n,t.name)}return!0})).map((t=>({pid:parseInt(t.ProcessId,10),ppid:parseInt(t.ParentProcessId,10),bin:t.ExecutablePath,name:t.Name||"",cmd:t.CommandLine})));e(a)}))})),android:t=>new Promise(((e,n)=>{i.exec("ps",(function(r,a,u){if(r)"pid"in t?e([]):n(r);else{if(r=u.toString().trim())return void n(r);const l=i.stripLine(a.toString(),1);let f=i.extractColumns(l,[0,3],4).filter((e=>e[0]&&t.pid?e[0]===String(t.pid):e[1]&&t.name?o(e[1],t.name):!!e[0])).map((t=>{const e=String(t[1]),n=s(e);return{pid:parseInt(t[0],10),name:c(n),bin:n,cmd:e}}));t.strict&&t.name&&(f=f.filter((e=>e.name===t.name))),e(f)}}))}))};t.exports=function(t){const e=process.platform;return new Promise(((n,r)=>{if(!(e in a))return r(new Error(`platform ${e} is unsupported`));let i=a[e];"string"==typeof i&&(i=a[i]),i(t).then(n,r)}))}},95:(t,e,n)=>{"use strict";const r=n(2081),i={exec(t,e){r.exec(t,{maxBuffer:2097152,windowsHide:!0},e)},spawn:(t,e,n)=>r.spawn(t,e,n),stripLine(t,e){let n=0;for(;e-- >0;){const e=t.indexOf("\n",n);e>=0&&(n=e+1)}return n>0?t.substring(n):t},split(t,e){const n=t.trim().split(/\s+/);return n.length>e&&(n[e-1]=n.slice(e-1).join(" ")),n},extractColumns(t,e,n){const r=t.split(/(\r\n|\n|\r)/),o=[];return n||(n=Math.max.apply(null,e)+1),r.forEach((t=>{const r=i.split(t,n),s=[];e.forEach((t=>{s.push(r[t]||"")})),o.push(s)})),o},parseTable(t){const e=t.split(/(\r\n\r\n|\r\n\n|\n\r\n)|\n\n/).filter((t=>t.trim().length>0)).map((t=>t.split(/(\r\n|\n|\r)/).filter((t=>t.trim().length>0))));return e.forEach((t=>{for(let e=0;t[e];){const n=t[e];n.startsWith(" ")?(t[e-1]+=n.trimLeft(),t.splice(e,1)):e+=1}})),e.map((t=>{const e={};return t.forEach((t=>{const n=t.indexOf(":"),r=t.slice(0,n).trim();e[r]=t.slice(n+1).trim()})),e}))}};t.exports=i},3873:(t,e,n)=>{"use strict";const r=n(77),i=n(1017),o=n(1381).mkdirsSync,s=n(318).utimesMillisSync,c=n(2733);function a(t,e,n,o){const s=(o.dereference?r.statSync:r.lstatSync)(e);if(s.isDirectory())return function(t,e,n,i,o){return e?f(n,i,o):function(t,e,n,i){return r.mkdirSync(n),f(e,n,i),l(n,t)}(t.mode,n,i,o)}(s,t,e,n,o);if(s.isFile()||s.isCharacterDevice()||s.isBlockDevice())return function(t,e,n,i,o){return e?function(t,e,n,i){if(i.overwrite)return r.unlinkSync(n),u(t,e,n,i);if(i.errorOnExist)throw new Error(`'${n}' already exists`)}(t,n,i,o):u(t,n,i,o)}(s,t,e,n,o);if(s.isSymbolicLink())return function(t,e,n,o){let s=r.readlinkSync(e);if(o.dereference&&(s=i.resolve(process.cwd(),s)),t){let t;try{t=r.readlinkSync(n)}catch(t){if("EINVAL"===t.code||"UNKNOWN"===t.code)return r.symlinkSync(s,n);throw t}if(o.dereference&&(t=i.resolve(process.cwd(),t)),c.isSrcSubdir(s,t))throw new Error(`Cannot copy '${s}' to a subdirectory of itself, '${t}'.`);if(r.statSync(n).isDirectory()&&c.isSrcSubdir(t,s))throw new Error(`Cannot overwrite '${t}' with '${s}'.`);return function(t,e){return r.unlinkSync(e),r.symlinkSync(t,e)}(s,n)}return r.symlinkSync(s,n)}(t,e,n,o);if(s.isSocket())throw new Error(`Cannot copy a socket file: ${e}`);if(s.isFIFO())throw new Error(`Cannot copy a FIFO pipe: ${e}`);throw new Error(`Unknown file: ${e}`)}function u(t,e,n,i){return r.copyFileSync(e,n),i.preserveTimestamps&&function(t,e,n){(function(t){return 0==(128&t)})(t)&&function(t,e){l(t,128|e)}(n,t),function(t,e){const n=r.statSync(t);s(e,n.atime,n.mtime)}(e,n)}(t.mode,e,n),l(n,t.mode)}function l(t,e){return r.chmodSync(t,e)}function f(t,e,n){r.readdirSync(t).forEach((r=>function(t,e,n,r){const o=i.join(e,t),s=i.join(n,t),{destStat:u}=c.checkPathsSync(o,s,"copy",r);return function(t,e,n,r){if(!r.filter||r.filter(e,n))return a(t,e,n,r)}(u,o,s,r)}(r,t,e,n)))}t.exports=function(t,e,n){"function"==typeof n&&(n={filter:n}),(n=n||{}).clobber=!("clobber"in n)||!!n.clobber,n.overwrite="overwrite"in n?!!n.overwrite:n.clobber,n.preserveTimestamps&&"ia32"===process.arch&&process.emitWarning("Using the preserveTimestamps option in 32-bit node is not recommended;\n\n\tsee https://github.com/jprichardson/node-fs-extra/issues/269","Warning","fs-extra-WARN0002");const{srcStat:s,destStat:u}=c.checkPathsSync(t,e,"copy",n);return c.checkParentPathsSync(t,s,e,"copy"),function(t,e,n,s){if(s.filter&&!s.filter(e,n))return;const c=i.dirname(n);return r.existsSync(c)||o(c),a(t,e,n,s)}(u,t,e,n)}},7189:(t,e,n)=>{"use strict";const r=n(77),i=n(1017),o=n(1381).mkdirs,s=n(9257).pathExists,c=n(318).utimesMillis,a=n(2733);function u(t,e,n,r,c){const a=i.dirname(n);s(a,((i,s)=>i?c(i):s?f(t,e,n,r,c):void o(a,(i=>i?c(i):f(t,e,n,r,c)))))}function l(t,e,n,r,i,o){Promise.resolve(i.filter(n,r)).then((s=>s?t(e,n,r,i,o):o()),(t=>o(t)))}function f(t,e,n,o,s){(o.dereference?r.stat:r.lstat)(e,((c,u)=>c?s(c):u.isDirectory()?function(t,e,n,i,o,s){return e?h(n,i,o,s):function(t,e,n,i,o){r.mkdir(n,(r=>{if(r)return o(r);h(e,n,i,(e=>e?o(e):m(n,t,o)))}))}(t.mode,n,i,o,s)}(u,t,e,n,o,s):u.isFile()||u.isCharacterDevice()||u.isBlockDevice()?function(t,e,n,i,o,s){return e?function(t,e,n,i,o){if(!i.overwrite)return i.errorOnExist?o(new Error(`'${n}' already exists`)):o();r.unlink(n,(r=>r?o(r):d(t,e,n,i,o)))}(t,n,i,o,s):d(t,n,i,o,s)}(u,t,e,n,o,s):u.isSymbolicLink()?function(t,e,n,o,s){r.readlink(e,((e,c)=>e?s(e):(o.dereference&&(c=i.resolve(process.cwd(),c)),t?void r.readlink(n,((e,u)=>e?"EINVAL"===e.code||"UNKNOWN"===e.code?r.symlink(c,n,s):s(e):(o.dereference&&(u=i.resolve(process.cwd(),u)),a.isSrcSubdir(c,u)?s(new Error(`Cannot copy '${c}' to a subdirectory of itself, '${u}'.`)):t.isDirectory()&&a.isSrcSubdir(u,c)?s(new Error(`Cannot overwrite '${u}' with '${c}'.`)):function(t,e,n){r.unlink(e,(i=>i?n(i):r.symlink(t,e,n)))}(c,n,s)))):r.symlink(c,n,s))))}(t,e,n,o,s):u.isSocket()?s(new Error(`Cannot copy a socket file: ${e}`)):u.isFIFO()?s(new Error(`Cannot copy a FIFO pipe: ${e}`)):s(new Error(`Unknown file: ${e}`))))}function d(t,e,n,i,o){r.copyFile(e,n,(r=>r?o(r):i.preserveTimestamps?function(t,e,n,r){return function(t){return 0==(128&t)}(t)?function(t,e,n){return m(t,128|e,n)}(n,t,(i=>i?r(i):p(t,e,n,r))):p(t,e,n,r)}(t.mode,e,n,o):m(n,t.mode,o)))}function p(t,e,n,i){!function(t,e,n){r.stat(t,((t,r)=>t?n(t):c(e,r.atime,r.mtime,n)))}(e,n,(e=>e?i(e):m(n,t,i)))}function m(t,e,n){return r.chmod(t,e,n)}function h(t,e,n,i){r.readdir(t,((r,o)=>r?i(r):y(o,t,e,n,i)))}function y(t,e,n,r,o){const s=t.pop();return s?function(t,e,n,r,o,s){const c=i.join(n,e),u=i.join(r,e);a.checkPaths(c,u,"copy",o,((e,i)=>{if(e)return s(e);const{destStat:a}=i;!function(t,e,n,r,i){r.filter?l(f,t,e,n,r,i):f(t,e,n,r,i)}(a,c,u,o,(e=>e?s(e):y(t,n,r,o,s)))}))}(t,s,e,n,r,o):o()}t.exports=function(t,e,n,r){"function"!=typeof n||r?"function"==typeof n&&(n={filter:n}):(r=n,n={}),r=r||function(){},(n=n||{}).clobber=!("clobber"in n)||!!n.clobber,n.overwrite="overwrite"in n?!!n.overwrite:n.clobber,n.preserveTimestamps&&"ia32"===process.arch&&process.emitWarning("Using the preserveTimestamps option in 32-bit node is not recommended;\n\n\tsee https://github.com/jprichardson/node-fs-extra/issues/269","Warning","fs-extra-WARN0001"),a.checkPaths(t,e,"copy",n,((i,o)=>{if(i)return r(i);const{srcStat:s,destStat:c}=o;a.checkParentPaths(t,s,e,"copy",(i=>i?r(i):n.filter?l(u,c,t,e,n,r):u(c,t,e,n,r)))}))}},6464:(t,e,n)=>{"use strict";const r=n(8981).fromCallback;t.exports={copy:r(n(7189)),copySync:n(3873)}},5590:(t,e,n)=>{"use strict";const r=n(8981).fromPromise,i=n(7749),o=n(1017),s=n(1381),c=n(4542),a=r((async function(t){let e;try{e=await i.readdir(t)}catch{return s.mkdirs(t)}return Promise.all(e.map((e=>c.remove(o.join(t,e)))))}));function u(t){let e;try{e=i.readdirSync(t)}catch{return s.mkdirsSync(t)}e.forEach((e=>{e=o.join(t,e),c.removeSync(e)}))}t.exports={emptyDirSync:u,emptydirSync:u,emptyDir:a,emptydir:a}},6530:(t,e,n)=>{"use strict";const r=n(8981).fromCallback,i=n(1017),o=n(77),s=n(1381);t.exports={createFile:r((function(t,e){function n(){o.writeFile(t,"",(t=>{if(t)return e(t);e()}))}o.stat(t,((r,c)=>{if(!r&&c.isFile())return e();const a=i.dirname(t);o.stat(a,((t,r)=>{if(t)return"ENOENT"===t.code?s.mkdirs(a,(t=>{if(t)return e(t);n()})):e(t);r.isDirectory()?n():o.readdir(a,(t=>{if(t)return e(t)}))}))}))})),createFileSync:function(t){let e;try{e=o.statSync(t)}catch{}if(e&&e.isFile())return;const n=i.dirname(t);try{o.statSync(n).isDirectory()||o.readdirSync(n)}catch(t){if(!t||"ENOENT"!==t.code)throw t;s.mkdirsSync(n)}o.writeFileSync(t,"")}}},1720:(t,e,n)=>{"use strict";const{createFile:r,createFileSync:i}=n(6530),{createLink:o,createLinkSync:s}=n(4147),{createSymlink:c,createSymlinkSync:a}=n(3635);t.exports={createFile:r,createFileSync:i,ensureFile:r,ensureFileSync:i,createLink:o,createLinkSync:s,ensureLink:o,ensureLinkSync:s,createSymlink:c,createSymlinkSync:a,ensureSymlink:c,ensureSymlinkSync:a}},4147:(t,e,n)=>{"use strict";const r=n(8981).fromCallback,i=n(1017),o=n(77),s=n(1381),c=n(9257).pathExists,{areIdentical:a}=n(2733);t.exports={createLink:r((function(t,e,n){function r(t,e){o.link(t,e,(t=>{if(t)return n(t);n(null)}))}o.lstat(e,((u,l)=>{o.lstat(t,((o,u)=>{if(o)return o.message=o.message.replace("lstat","ensureLink"),n(o);if(l&&a(u,l))return n(null);const f=i.dirname(e);c(f,((i,o)=>i?n(i):o?r(t,e):void s.mkdirs(f,(i=>{if(i)return n(i);r(t,e)}))))}))}))})),createLinkSync:function(t,e){let n;try{n=o.lstatSync(e)}catch{}try{const e=o.lstatSync(t);if(n&&a(e,n))return}catch(t){throw t.message=t.message.replace("lstat","ensureLink"),t}const r=i.dirname(e);return o.existsSync(r)||s.mkdirsSync(r),o.linkSync(t,e)}}},6072:(t,e,n)=>{"use strict";const r=n(1017),i=n(77),o=n(9257).pathExists;t.exports={symlinkPaths:function(t,e,n){if(r.isAbsolute(t))return i.lstat(t,(e=>e?(e.message=e.message.replace("lstat","ensureSymlink"),n(e)):n(null,{toCwd:t,toDst:t})));{const s=r.dirname(e),c=r.join(s,t);return o(c,((e,o)=>e?n(e):o?n(null,{toCwd:c,toDst:t}):i.lstat(t,(e=>e?(e.message=e.message.replace("lstat","ensureSymlink"),n(e)):n(null,{toCwd:t,toDst:r.relative(s,t)})))))}},symlinkPathsSync:function(t,e){let n;if(r.isAbsolute(t)){if(n=i.existsSync(t),!n)throw new Error("absolute srcpath does not exist");return{toCwd:t,toDst:t}}{const o=r.dirname(e),s=r.join(o,t);if(n=i.existsSync(s),n)return{toCwd:s,toDst:t};if(n=i.existsSync(t),!n)throw new Error("relative srcpath does not exist");return{toCwd:t,toDst:r.relative(o,t)}}}}},9259:(t,e,n)=>{"use strict";const r=n(77);t.exports={symlinkType:function(t,e,n){if(n="function"==typeof e?e:n,e="function"!=typeof e&&e)return n(null,e);r.lstat(t,((t,r)=>{if(t)return n(null,"file");e=r&&r.isDirectory()?"dir":"file",n(null,e)}))},symlinkTypeSync:function(t,e){let n;if(e)return e;try{n=r.lstatSync(t)}catch{return"file"}return n&&n.isDirectory()?"dir":"file"}}},3635:(t,e,n)=>{"use strict";const r=n(8981).fromCallback,i=n(1017),o=n(7749),s=n(1381),c=s.mkdirs,a=s.mkdirsSync,u=n(6072),l=u.symlinkPaths,f=u.symlinkPathsSync,d=n(9259),p=d.symlinkType,m=d.symlinkTypeSync,h=n(9257).pathExists,{areIdentical:y}=n(2733);function w(t,e,n,r){l(t,e,((s,a)=>{if(s)return r(s);t=a.toDst,p(a.toCwd,n,((n,s)=>{if(n)return r(n);const a=i.dirname(e);h(a,((n,i)=>n?r(n):i?o.symlink(t,e,s,r):void c(a,(n=>{if(n)return r(n);o.symlink(t,e,s,r)}))))}))}))}t.exports={createSymlink:r((function(t,e,n,r){r="function"==typeof n?n:r,n="function"!=typeof n&&n,o.lstat(e,((i,s)=>{!i&&s.isSymbolicLink()?Promise.all([o.stat(t),o.stat(e)]).then((([i,o])=>{if(y(i,o))return r(null);w(t,e,n,r)})):w(t,e,n,r)}))})),createSymlinkSync:function(t,e,n){let r;try{r=o.lstatSync(e)}catch{}if(r&&r.isSymbolicLink()){const n=o.statSync(t),r=o.statSync(e);if(y(n,r))return}const s=f(t,e);t=s.toDst,n=m(s.toCwd,n);const c=i.dirname(e);return o.existsSync(c)||a(c),o.symlinkSync(t,e,n)}}},7749:(t,e,n)=>{"use strict";const r=n(8981).fromCallback,i=n(77),o=["access","appendFile","chmod","chown","close","copyFile","fchmod","fchown","fdatasync","fstat","fsync","ftruncate","futimes","lchmod","lchown","link","lstat","mkdir","mkdtemp","open","opendir","readdir","readFile","readlink","realpath","rename","rm","rmdir","stat","symlink","truncate","unlink","utimes","writeFile"].filter((t=>"function"==typeof i[t]));Object.assign(e,i),o.forEach((t=>{e[t]=r(i[t])})),e.exists=function(t,e){return"function"==typeof e?i.exists(t,e):new Promise((e=>i.exists(t,e)))},e.read=function(t,e,n,r,o,s){return"function"==typeof s?i.read(t,e,n,r,o,s):new Promise(((s,c)=>{i.read(t,e,n,r,o,((t,e,n)=>{if(t)return c(t);s({bytesRead:e,buffer:n})}))}))},e.write=function(t,e,...n){return"function"==typeof n[n.length-1]?i.write(t,e,...n):new Promise(((r,o)=>{i.write(t,e,...n,((t,e,n)=>{if(t)return o(t);r({bytesWritten:e,buffer:n})}))}))},"function"==typeof i.writev&&(e.writev=function(t,e,...n){return"function"==typeof n[n.length-1]?i.writev(t,e,...n):new Promise(((r,o)=>{i.writev(t,e,...n,((t,e,n)=>{if(t)return o(t);r({bytesWritten:e,buffers:n})}))}))}),"function"==typeof i.realpath.native?e.realpath.native=r(i.realpath.native):process.emitWarning("fs.realpath.native is not a function. Is fs being monkey-patched?","Warning","fs-extra-WARN0003")},5674:(t,e,n)=>{"use strict";t.exports={...n(7749),...n(6464),...n(5590),...n(1720),...n(6573),...n(1381),...n(530),...n(4670),...n(9257),...n(4542)}},6573:(t,e,n)=>{"use strict";const r=n(8981).fromPromise,i=n(7183);i.outputJson=r(n(3508)),i.outputJsonSync=n(9578),i.outputJSON=i.outputJson,i.outputJSONSync=i.outputJsonSync,i.writeJSON=i.writeJson,i.writeJSONSync=i.writeJsonSync,i.readJSON=i.readJson,i.readJSONSync=i.readJsonSync,t.exports=i},7183:(t,e,n)=>{"use strict";const r=n(6813);t.exports={readJson:r.readFile,readJsonSync:r.readFileSync,writeJson:r.writeFile,writeJsonSync:r.writeFileSync}},9578:(t,e,n)=>{"use strict";const{stringify:r}=n(6780),{outputFileSync:i}=n(4670);t.exports=function(t,e,n){const o=r(e,n);i(t,o,n)}},3508:(t,e,n)=>{"use strict";const{stringify:r}=n(6780),{outputFile:i}=n(4670);t.exports=async function(t,e,n={}){const o=r(e,n);await i(t,o,n)}},1381:(t,e,n)=>{"use strict";const r=n(8981).fromPromise,{makeDir:i,makeDirSync:o}=n(8233),s=r(i);t.exports={mkdirs:s,mkdirsSync:o,mkdirp:s,mkdirpSync:o,ensureDir:s,ensureDirSync:o}},8233:(t,e,n)=>{"use strict";const r=n(7749),{checkPath:i}=n(3468),o=t=>"number"==typeof t?t:{mode:511,...t}.mode;t.exports.makeDir=async(t,e)=>(i(t),r.mkdir(t,{mode:o(e),recursive:!0})),t.exports.makeDirSync=(t,e)=>(i(t),r.mkdirSync(t,{mode:o(e),recursive:!0}))},3468:(t,e,n)=>{"use strict";const r=n(1017);t.exports.checkPath=function(t){if("win32"===process.platform&&/[<>:"|?*]/.test(t.replace(r.parse(t).root,""))){const e=new Error(`Path contains invalid characters: ${t}`);throw e.code="EINVAL",e}}},530:(t,e,n)=>{"use strict";const r=n(8981).fromCallback;t.exports={move:r(n(436)),moveSync:n(3736)}},3736:(t,e,n)=>{"use strict";const r=n(77),i=n(1017),o=n(6464).copySync,s=n(4542).removeSync,c=n(1381).mkdirpSync,a=n(2733);function u(t,e,n){try{r.renameSync(t,e)}catch(r){if("EXDEV"!==r.code)throw r;return function(t,e,n){return o(t,e,{overwrite:n,errorOnExist:!0}),s(t)}(t,e,n)}}t.exports=function(t,e,n){const o=(n=n||{}).overwrite||n.clobber||!1,{srcStat:l,isChangingCase:f=!1}=a.checkPathsSync(t,e,"move",n);return a.checkParentPathsSync(t,l,e,"move"),function(t){const e=i.dirname(t);return i.parse(e).root===e}(e)||c(i.dirname(e)),function(t,e,n,i){if(i)return u(t,e,n);if(n)return s(e),u(t,e,n);if(r.existsSync(e))throw new Error("dest already exists.");return u(t,e,n)}(t,e,o,f)}},436:(t,e,n)=>{"use strict";const r=n(77),i=n(1017),o=n(6464).copy,s=n(4542).remove,c=n(1381).mkdirp,a=n(9257).pathExists,u=n(2733);function l(t,e,n,r,i){return r?f(t,e,n,i):n?s(e,(r=>r?i(r):f(t,e,n,i))):void a(e,((r,o)=>r?i(r):o?i(new Error("dest already exists.")):f(t,e,n,i)))}function f(t,e,n,i){r.rename(t,e,(r=>r?"EXDEV"!==r.code?i(r):function(t,e,n,r){o(t,e,{overwrite:n,errorOnExist:!0},(e=>e?r(e):s(t,r)))}(t,e,n,i):i()))}t.exports=function(t,e,n,r){"function"==typeof n&&(r=n,n={});const o=(n=n||{}).overwrite||n.clobber||!1;u.checkPaths(t,e,"move",n,((n,s)=>{if(n)return r(n);const{srcStat:a,isChangingCase:f=!1}=s;u.checkParentPaths(t,a,e,"move",(n=>n?r(n):function(t){const e=i.dirname(t);return i.parse(e).root===e}(e)?l(t,e,o,f,r):void c(i.dirname(e),(n=>n?r(n):l(t,e,o,f,r)))))}))}},4670:(t,e,n)=>{"use strict";const r=n(8981).fromCallback,i=n(77),o=n(1017),s=n(1381),c=n(9257).pathExists;t.exports={outputFile:r((function(t,e,n,r){"function"==typeof n&&(r=n,n="utf8");const a=o.dirname(t);c(a,((o,c)=>o?r(o):c?i.writeFile(t,e,n,r):void s.mkdirs(a,(o=>{if(o)return r(o);i.writeFile(t,e,n,r)}))))})),outputFileSync:function(t,...e){const n=o.dirname(t);if(i.existsSync(n))return i.writeFileSync(t,...e);s.mkdirsSync(n),i.writeFileSync(t,...e)}}},9257:(t,e,n)=>{"use strict";const r=n(8981).fromPromise,i=n(7749);t.exports={pathExists:r((function(t){return i.access(t).then((()=>!0)).catch((()=>!1))})),pathExistsSync:i.existsSync}},4542:(t,e,n)=>{"use strict";const r=n(77),i=n(8981).fromCallback,o=n(3456);t.exports={remove:i((function(t,e){if(r.rm)return r.rm(t,{recursive:!0,force:!0},e);o(t,e)})),removeSync:function(t){if(r.rmSync)return r.rmSync(t,{recursive:!0,force:!0});o.sync(t)}}},3456:(t,e,n)=>{"use strict";const r=n(77),i=n(1017),o=n(9491),s="win32"===process.platform;function c(t){["unlink","chmod","stat","lstat","rmdir","readdir"].forEach((e=>{t[e]=t[e]||r[e],t[e+="Sync"]=t[e]||r[e]})),t.maxBusyTries=t.maxBusyTries||3}function a(t,e,n){let r=0;"function"==typeof e&&(n=e,e={}),o(t,"rimraf: missing path"),o.strictEqual(typeof t,"string","rimraf: path should be a string"),o.strictEqual(typeof n,"function","rimraf: callback function required"),o(e,"rimraf: invalid options argument provided"),o.strictEqual(typeof e,"object","rimraf: options should be object"),c(e),u(t,e,(function i(o){if(o){if(("EBUSY"===o.code||"ENOTEMPTY"===o.code||"EPERM"===o.code)&&ru(t,e,i)),100*r);"ENOENT"===o.code&&(o=null)}n(o)}))}function u(t,e,n){o(t),o(e),o("function"==typeof n),e.lstat(t,((r,i)=>r&&"ENOENT"===r.code?n(null):r&&"EPERM"===r.code&&s?l(t,e,r,n):i&&i.isDirectory()?d(t,e,r,n):void e.unlink(t,(r=>{if(r){if("ENOENT"===r.code)return n(null);if("EPERM"===r.code)return s?l(t,e,r,n):d(t,e,r,n);if("EISDIR"===r.code)return d(t,e,r,n)}return n(r)}))))}function l(t,e,n,r){o(t),o(e),o("function"==typeof r),e.chmod(t,438,(i=>{i?r("ENOENT"===i.code?null:n):e.stat(t,((i,o)=>{i?r("ENOENT"===i.code?null:n):o.isDirectory()?d(t,e,n,r):e.unlink(t,r)}))}))}function f(t,e,n){let r;o(t),o(e);try{e.chmodSync(t,438)}catch(t){if("ENOENT"===t.code)return;throw n}try{r=e.statSync(t)}catch(t){if("ENOENT"===t.code)return;throw n}r.isDirectory()?m(t,e,n):e.unlinkSync(t)}function d(t,e,n,r){o(t),o(e),o("function"==typeof r),e.rmdir(t,(s=>{!s||"ENOTEMPTY"!==s.code&&"EEXIST"!==s.code&&"EPERM"!==s.code?s&&"ENOTDIR"===s.code?r(n):r(s):function(t,e,n){o(t),o(e),o("function"==typeof n),e.readdir(t,((r,o)=>{if(r)return n(r);let s,c=o.length;if(0===c)return e.rmdir(t,n);o.forEach((r=>{a(i.join(t,r),e,(r=>{if(!s)return r?n(s=r):void(0==--c&&e.rmdir(t,n))}))}))}))}(t,e,r)}))}function p(t,e){let n;c(e=e||{}),o(t,"rimraf: missing path"),o.strictEqual(typeof t,"string","rimraf: path should be a string"),o(e,"rimraf: missing options"),o.strictEqual(typeof e,"object","rimraf: options should be object");try{n=e.lstatSync(t)}catch(n){if("ENOENT"===n.code)return;"EPERM"===n.code&&s&&f(t,e,n)}try{n&&n.isDirectory()?m(t,e,null):e.unlinkSync(t)}catch(n){if("ENOENT"===n.code)return;if("EPERM"===n.code)return s?f(t,e,n):m(t,e,n);if("EISDIR"!==n.code)throw n;m(t,e,n)}}function m(t,e,n){o(t),o(e);try{e.rmdirSync(t)}catch(r){if("ENOTDIR"===r.code)throw n;if("ENOTEMPTY"===r.code||"EEXIST"===r.code||"EPERM"===r.code)!function(t,e){if(o(t),o(e),e.readdirSync(t).forEach((n=>p(i.join(t,n),e))),!s)return e.rmdirSync(t,e);{const n=Date.now();do{try{return e.rmdirSync(t,e)}catch{}}while(Date.now()-n<500)}}(t,e);else if("ENOENT"!==r.code)throw r}}t.exports=a,a.sync=p},2733:(t,e,n)=>{"use strict";const r=n(7749),i=n(1017),o=n(3837);function s(t,e,n){const i=n.dereference?t=>r.stat(t,{bigint:!0}):t=>r.lstat(t,{bigint:!0});return Promise.all([i(t),i(e).catch((t=>{if("ENOENT"===t.code)return null;throw t}))]).then((([t,e])=>({srcStat:t,destStat:e})))}function c(t,e){return e.ino&&e.dev&&e.ino===t.ino&&e.dev===t.dev}function a(t,e){const n=i.resolve(t).split(i.sep).filter((t=>t)),r=i.resolve(e).split(i.sep).filter((t=>t));return n.reduce(((t,e,n)=>t&&r[n]===e),!0)}function u(t,e,n){return`Cannot ${n} '${t}' to a subdirectory of itself, '${e}'.`}t.exports={checkPaths:function(t,e,n,r,l){o.callbackify(s)(t,e,r,((r,o)=>{if(r)return l(r);const{srcStat:s,destStat:f}=o;if(f){if(c(s,f)){const r=i.basename(t),o=i.basename(e);return"move"===n&&r!==o&&r.toLowerCase()===o.toLowerCase()?l(null,{srcStat:s,destStat:f,isChangingCase:!0}):l(new Error("Source and destination must not be the same."))}if(s.isDirectory()&&!f.isDirectory())return l(new Error(`Cannot overwrite non-directory '${e}' with directory '${t}'.`));if(!s.isDirectory()&&f.isDirectory())return l(new Error(`Cannot overwrite directory '${e}' with non-directory '${t}'.`))}return s.isDirectory()&&a(t,e)?l(new Error(u(t,e,n))):l(null,{srcStat:s,destStat:f})}))},checkPathsSync:function(t,e,n,o){const{srcStat:s,destStat:l}=function(t,e,n){let i;const o=n.dereference?t=>r.statSync(t,{bigint:!0}):t=>r.lstatSync(t,{bigint:!0}),s=o(t);try{i=o(e)}catch(t){if("ENOENT"===t.code)return{srcStat:s,destStat:null};throw t}return{srcStat:s,destStat:i}}(t,e,o);if(l){if(c(s,l)){const r=i.basename(t),o=i.basename(e);if("move"===n&&r!==o&&r.toLowerCase()===o.toLowerCase())return{srcStat:s,destStat:l,isChangingCase:!0};throw new Error("Source and destination must not be the same.")}if(s.isDirectory()&&!l.isDirectory())throw new Error(`Cannot overwrite non-directory '${e}' with directory '${t}'.`);if(!s.isDirectory()&&l.isDirectory())throw new Error(`Cannot overwrite directory '${e}' with non-directory '${t}'.`)}if(s.isDirectory()&&a(t,e))throw new Error(u(t,e,n));return{srcStat:s,destStat:l}},checkParentPaths:function t(e,n,o,s,a){const l=i.resolve(i.dirname(e)),f=i.resolve(i.dirname(o));if(f===l||f===i.parse(f).root)return a();r.stat(f,{bigint:!0},((r,i)=>r?"ENOENT"===r.code?a():a(r):c(n,i)?a(new Error(u(e,o,s))):t(e,n,f,s,a)))},checkParentPathsSync:function t(e,n,o,s){const a=i.resolve(i.dirname(e)),l=i.resolve(i.dirname(o));if(l===a||l===i.parse(l).root)return;let f;try{f=r.statSync(l,{bigint:!0})}catch(t){if("ENOENT"===t.code)return;throw t}if(c(n,f))throw new Error(u(e,o,s));return t(e,n,l,s)},isSrcSubdir:a,areIdentical:c}},318:(t,e,n)=>{"use strict";const r=n(77);t.exports={utimesMillis:function(t,e,n,i){r.open(t,"r+",((t,o)=>{if(t)return i(t);r.futimes(o,e,n,(t=>{r.close(o,(e=>{i&&i(t||e)}))}))}))},utimesMillisSync:function(t,e,n){const i=r.openSync(t,"r+");return r.futimesSync(i,e,n),r.closeSync(i)}}},6458:t=>{"use strict";t.exports=function(t){if(null===t||"object"!=typeof t)return t;if(t instanceof Object)var n={__proto__:e(t)};else n=Object.create(null);return Object.getOwnPropertyNames(t).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(t,e))})),n};var e=Object.getPrototypeOf||function(t){return t.__proto__}},77:(t,e,n)=>{var r,i,o=n(7147),s=n(2161),c=n(8520),a=n(6458),u=n(3837);function l(t,e){Object.defineProperty(t,r,{get:function(){return e}})}"function"==typeof Symbol&&"function"==typeof Symbol.for?(r=Symbol.for("graceful-fs.queue"),i=Symbol.for("graceful-fs.previous")):(r="___graceful-fs.queue",i="___graceful-fs.previous");var f,d=function(){};if(u.debuglog?d=u.debuglog("gfs4"):/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")&&(d=function(){var t=u.format.apply(u,arguments);t="GFS4: "+t.split(/\n/).join("\nGFS4: "),console.error(t)}),!o[r]){var p=global[r]||[];l(o,p),o.close=function(t){function e(e,n){return t.call(o,e,(function(t){t||y(),"function"==typeof n&&n.apply(this,arguments)}))}return Object.defineProperty(e,i,{value:t}),e}(o.close),o.closeSync=function(t){function e(e){t.apply(o,arguments),y()}return Object.defineProperty(e,i,{value:t}),e}(o.closeSync),/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")&&process.on("exit",(function(){d(o[r]),n(9491).equal(o[r].length,0)}))}function m(t){s(t),t.gracefulify=m,t.createReadStream=function(e,n){return new t.ReadStream(e,n)},t.createWriteStream=function(e,n){return new t.WriteStream(e,n)};var e=t.readFile;t.readFile=function(t,n,r){return"function"==typeof n&&(r=n,n=null),function t(n,r,i,o){return e(n,r,(function(e){!e||"EMFILE"!==e.code&&"ENFILE"!==e.code?"function"==typeof i&&i.apply(this,arguments):h([t,[n,r,i],e,o||Date.now(),Date.now()])}))}(t,n,r)};var n=t.writeFile;t.writeFile=function(t,e,r,i){return"function"==typeof r&&(i=r,r=null),function t(e,r,i,o,s){return n(e,r,i,(function(n){!n||"EMFILE"!==n.code&&"ENFILE"!==n.code?"function"==typeof o&&o.apply(this,arguments):h([t,[e,r,i,o],n,s||Date.now(),Date.now()])}))}(t,e,r,i)};var r=t.appendFile;r&&(t.appendFile=function(t,e,n,i){return"function"==typeof n&&(i=n,n=null),function t(e,n,i,o,s){return r(e,n,i,(function(r){!r||"EMFILE"!==r.code&&"ENFILE"!==r.code?"function"==typeof o&&o.apply(this,arguments):h([t,[e,n,i,o],r,s||Date.now(),Date.now()])}))}(t,e,n,i)});var i=t.copyFile;i&&(t.copyFile=function(t,e,n,r){return"function"==typeof n&&(r=n,n=0),function t(e,n,r,o,s){return i(e,n,r,(function(i){!i||"EMFILE"!==i.code&&"ENFILE"!==i.code?"function"==typeof o&&o.apply(this,arguments):h([t,[e,n,r,o],i,s||Date.now(),Date.now()])}))}(t,e,n,r)});var o=t.readdir;t.readdir=function(t,e,n){"function"==typeof e&&(n=e,e=null);var r=a.test(process.version)?function(t,e,n,r){return o(t,i(t,e,n,r))}:function(t,e,n,r){return o(t,e,i(t,e,n,r))};return r(t,e,n);function i(t,e,n,i){return function(o,s){!o||"EMFILE"!==o.code&&"ENFILE"!==o.code?(s&&s.sort&&s.sort(),"function"==typeof n&&n.call(this,o,s)):h([r,[t,e,n],o,i||Date.now(),Date.now()])}}};var a=/^v[0-5]\./;if("v0.8"===process.version.substr(0,4)){var u=c(t);y=u.ReadStream,w=u.WriteStream}var l=t.ReadStream;l&&(y.prototype=Object.create(l.prototype),y.prototype.open=function(){var t=this;g(t.path,t.flags,t.mode,(function(e,n){e?(t.autoClose&&t.destroy(),t.emit("error",e)):(t.fd=n,t.emit("open",n),t.read())}))});var f=t.WriteStream;f&&(w.prototype=Object.create(f.prototype),w.prototype.open=function(){var t=this;g(t.path,t.flags,t.mode,(function(e,n){e?(t.destroy(),t.emit("error",e)):(t.fd=n,t.emit("open",n))}))}),Object.defineProperty(t,"ReadStream",{get:function(){return y},set:function(t){y=t},enumerable:!0,configurable:!0}),Object.defineProperty(t,"WriteStream",{get:function(){return w},set:function(t){w=t},enumerable:!0,configurable:!0});var d=y;Object.defineProperty(t,"FileReadStream",{get:function(){return d},set:function(t){d=t},enumerable:!0,configurable:!0});var p=w;function y(t,e){return this instanceof y?(l.apply(this,arguments),this):y.apply(Object.create(y.prototype),arguments)}function w(t,e){return this instanceof w?(f.apply(this,arguments),this):w.apply(Object.create(w.prototype),arguments)}Object.defineProperty(t,"FileWriteStream",{get:function(){return p},set:function(t){p=t},enumerable:!0,configurable:!0});var v=t.open;function g(t,e,n,r){return"function"==typeof n&&(r=n,n=null),function t(e,n,r,i,o){return v(e,n,r,(function(s,c){!s||"EMFILE"!==s.code&&"ENFILE"!==s.code?"function"==typeof i&&i.apply(this,arguments):h([t,[e,n,r,i],s,o||Date.now(),Date.now()])}))}(t,e,n,r)}return t.open=g,t}function h(t){d("ENQUEUE",t[0].name,t[1]),o[r].push(t),w()}function y(){for(var t=Date.now(),e=0;e2&&(o[r][e][3]=t,o[r][e][4]=t);w()}function w(){if(clearTimeout(f),f=void 0,0!==o[r].length){var t=o[r].shift(),e=t[0],n=t[1],i=t[2],s=t[3],c=t[4];if(void 0===s)d("RETRY",e.name,n),e.apply(null,n);else if(Date.now()-s>=6e4){d("TIMEOUT",e.name,n);var a=n.pop();"function"==typeof a&&a.call(null,i)}else{var u=Date.now()-c,l=Math.max(c-s,1);u>=Math.min(1.2*l,100)?(d("RETRY",e.name,n),e.apply(null,n.concat([s]))):o[r].push(t)}void 0===f&&(f=setTimeout(w,0))}}global[r]||l(global,o[r]),t.exports=m(a(o)),process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH&&!o.__patched&&(t.exports=m(o),o.__patched=!0)},8520:(t,e,n)=>{var r=n(2781).Stream;t.exports=function(t){return{ReadStream:function e(n,i){if(!(this instanceof e))return new e(n,i);r.call(this);var o=this;this.path=n,this.fd=null,this.readable=!0,this.paused=!1,this.flags="r",this.mode=438,this.bufferSize=65536,i=i||{};for(var s=Object.keys(i),c=0,a=s.length;cthis.end)throw new Error("start must be <= end");this.pos=this.start}null===this.fd?t.open(this.path,this.flags,this.mode,(function(t,e){if(t)return o.emit("error",t),void(o.readable=!1);o.fd=e,o.emit("open",e),o._read()})):process.nextTick((function(){o._read()}))},WriteStream:function e(n,i){if(!(this instanceof e))return new e(n,i);r.call(this),this.path=n,this.fd=null,this.writable=!0,this.flags="w",this.encoding="binary",this.mode=438,this.bytesWritten=0,i=i||{};for(var o=Object.keys(i),s=0,c=o.length;s= zero");this.pos=this.start}this.busy=!1,this._queue=[],null===this.fd&&(this._open=t.open,this._queue.push([this._open,this.path,this.flags,this.mode,void 0]),this.flush())}}}},2161:(t,e,n)=>{var r=n(2057),i=process.cwd,o=null,s=process.env.GRACEFUL_FS_PLATFORM||process.platform;process.cwd=function(){return o||(o=i.call(process)),o};try{process.cwd()}catch(t){}if("function"==typeof process.chdir){var c=process.chdir;process.chdir=function(t){o=null,c.call(process,t)},Object.setPrototypeOf&&Object.setPrototypeOf(process.chdir,c)}t.exports=function(t){function e(e){return e?function(n,r,i){return e.call(t,n,r,(function(t){u(t)&&(t=null),i&&i.apply(this,arguments)}))}:e}function n(e){return e?function(n,r){try{return e.call(t,n,r)}catch(t){if(!u(t))throw t}}:e}function i(e){return e?function(n,r,i,o){return e.call(t,n,r,i,(function(t){u(t)&&(t=null),o&&o.apply(this,arguments)}))}:e}function o(e){return e?function(n,r,i){try{return e.call(t,n,r,i)}catch(t){if(!u(t))throw t}}:e}function c(e){return e?function(n,r,i){function o(t,e){e&&(e.uid<0&&(e.uid+=4294967296),e.gid<0&&(e.gid+=4294967296)),i&&i.apply(this,arguments)}return"function"==typeof r&&(i=r,r=null),r?e.call(t,n,r,o):e.call(t,n,o)}:e}function a(e){return e?function(n,r){var i=r?e.call(t,n,r):e.call(t,n);return i&&(i.uid<0&&(i.uid+=4294967296),i.gid<0&&(i.gid+=4294967296)),i}:e}function u(t){return!t||"ENOSYS"===t.code||!(process.getuid&&0===process.getuid()||"EINVAL"!==t.code&&"EPERM"!==t.code)}var l;r.hasOwnProperty("O_SYMLINK")&&process.version.match(/^v0\.6\.[0-2]|^v0\.5\./)&&function(t){t.lchmod=function(e,n,i){t.open(e,r.O_WRONLY|r.O_SYMLINK,n,(function(e,r){e?i&&i(e):t.fchmod(r,n,(function(e){t.close(r,(function(t){i&&i(e||t)}))}))}))},t.lchmodSync=function(e,n){var i,o=t.openSync(e,r.O_WRONLY|r.O_SYMLINK,n),s=!0;try{i=t.fchmodSync(o,n),s=!1}finally{if(s)try{t.closeSync(o)}catch(t){}else t.closeSync(o)}return i}}(t),t.lutimes||function(t){r.hasOwnProperty("O_SYMLINK")&&t.futimes?(t.lutimes=function(e,n,i,o){t.open(e,r.O_SYMLINK,(function(e,r){e?o&&o(e):t.futimes(r,n,i,(function(e){t.close(r,(function(t){o&&o(e||t)}))}))}))},t.lutimesSync=function(e,n,i){var o,s=t.openSync(e,r.O_SYMLINK),c=!0;try{o=t.futimesSync(s,n,i),c=!1}finally{if(c)try{t.closeSync(s)}catch(t){}else t.closeSync(s)}return o}):t.futimes&&(t.lutimes=function(t,e,n,r){r&&process.nextTick(r)},t.lutimesSync=function(){})}(t),t.chown=i(t.chown),t.fchown=i(t.fchown),t.lchown=i(t.lchown),t.chmod=e(t.chmod),t.fchmod=e(t.fchmod),t.lchmod=e(t.lchmod),t.chownSync=o(t.chownSync),t.fchownSync=o(t.fchownSync),t.lchownSync=o(t.lchownSync),t.chmodSync=n(t.chmodSync),t.fchmodSync=n(t.fchmodSync),t.lchmodSync=n(t.lchmodSync),t.stat=c(t.stat),t.fstat=c(t.fstat),t.lstat=c(t.lstat),t.statSync=a(t.statSync),t.fstatSync=a(t.fstatSync),t.lstatSync=a(t.lstatSync),t.chmod&&!t.lchmod&&(t.lchmod=function(t,e,n){n&&process.nextTick(n)},t.lchmodSync=function(){}),t.chown&&!t.lchown&&(t.lchown=function(t,e,n,r){r&&process.nextTick(r)},t.lchownSync=function(){}),"win32"===s&&(t.rename="function"!=typeof t.rename?t.rename:function(e){function n(n,r,i){var o=Date.now(),s=0;e(n,r,(function c(a){if(a&&("EACCES"===a.code||"EPERM"===a.code)&&Date.now()-o<6e4)return setTimeout((function(){t.stat(r,(function(t,o){t&&"ENOENT"===t.code?e(n,r,c):i(a)}))}),s),void(s<100&&(s+=10));i&&i(a)}))}return Object.setPrototypeOf&&Object.setPrototypeOf(n,e),n}(t.rename)),t.read="function"!=typeof t.read?t.read:function(e){function n(n,r,i,o,s,c){var a;if(c&&"function"==typeof c){var u=0;a=function(l,f,d){if(l&&"EAGAIN"===l.code&&u<10)return u++,e.call(t,n,r,i,o,s,a);c.apply(this,arguments)}}return e.call(t,n,r,i,o,s,a)}return Object.setPrototypeOf&&Object.setPrototypeOf(n,e),n}(t.read),t.readSync="function"!=typeof t.readSync?t.readSync:(l=t.readSync,function(e,n,r,i,o){for(var s=0;;)try{return l.call(t,e,n,r,i,o)}catch(t){if("EAGAIN"===t.code&&s<10){s++;continue}throw t}})}},6813:(t,e,n)=>{let r;try{r=n(77)}catch(t){r=n(7147)}const i=n(8981),{stringify:o,stripBom:s}=n(6780),c={readFile:i.fromPromise((async function(t,e={}){"string"==typeof e&&(e={encoding:e});const n=e.fs||r,o=!("throws"in e)||e.throws;let c,a=await i.fromCallback(n.readFile)(t,e);a=s(a);try{c=JSON.parse(a,e?e.reviver:null)}catch(e){if(o)throw e.message=`${t}: ${e.message}`,e;return null}return c})),readFileSync:function(t,e={}){"string"==typeof e&&(e={encoding:e});const n=e.fs||r,i=!("throws"in e)||e.throws;try{let r=n.readFileSync(t,e);return r=s(r),JSON.parse(r,e.reviver)}catch(e){if(i)throw e.message=`${t}: ${e.message}`,e;return null}},writeFile:i.fromPromise((async function(t,e,n={}){const s=n.fs||r,c=o(e,n);await i.fromCallback(s.writeFile)(t,c,n)})),writeFileSync:function(t,e,n={}){const i=n.fs||r,s=o(e,n);return i.writeFileSync(t,s,n)}};t.exports=c},6780:t=>{t.exports={stringify:function(t,{EOL:e="\n",finalEOL:n=!0,replacer:r=null,spaces:i}={}){const o=n?e:"";return JSON.stringify(t,r,i).replace(/\n/g,e)+o},stripBom:function(t){return Buffer.isBuffer(t)&&(t=t.toString("utf8")),t.replace(/^\uFEFF/,"")}}},7103:function(t,e,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(t,e,n,r){void 0===r&&(r=n),Object.defineProperty(t,r,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,r){void 0===r&&(r=n),t[r]=e[n]}),i=this&&this.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),o=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)"default"!==n&&Object.prototype.hasOwnProperty.call(t,n)&&r(e,t,n);return i(e,t),e},s=this&&this.__awaiter||function(t,e,n,r){return new(n||(n=Promise))((function(i,o){function s(t){try{a(r.next(t))}catch(t){o(t)}}function c(t){try{a(r.throw(t))}catch(t){o(t)}}function a(t){var e;t.done?i(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(s,c)}a((r=r.apply(t,e||[])).next())}))},c=this&&this.__generator||function(t,e){var n,r,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function c(o){return function(c){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,r=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!((i=(i=s.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0&&a.outputChannel.appendLine(r.output.toLocaleString(),this.file.name),0!==r.status?(a.outputChannel.show(),p.Notification.showErrorMessage("Error compiling!"),f.Result.error):(p.Notification.showInformationMessage("Compiled successfully!"),f.Result.success)}))}setCompiler(){switch(this.file.type){case c.FileType.c:return this.compiler=s.Configuration.cCompiler(),this.inputFlags=s.Configuration.cFlags(),f.Result.success;case c.FileType.cplusplus:return this.compiler=s.Configuration.cppCompiler(),this.inputFlags=s.Configuration.cppFlags(),f.Result.success;default:return p.Notification.showErrorMessage("Invalid File!"),f.Result.error}}isCompilerValid(t){return r(this,void 0,void 0,(function*(){return!(0,d.isStringNullOrWhiteSpace)(t)&&(yield(0,l.commandExists)(t))}))}compilerNotFound(){return r(this,void 0,void 0,(function*(){const t="Change path";(yield o.window.showErrorMessage("Compiler not found, try to change path in settings!",t))===t?(this.compiler=yield(0,u.promptCompiler)(),(yield this.isCompilerValid(this.compiler))?yield s.Configuration.setCompiler(this.compiler,this.file.type):p.Notification.showErrorMessage("Compiler not found!")):p.Notification.showErrorMessage("Compiler not set!")}))}}},7892:function(t,e,n){"use strict";var r=this&&this.__awaiter||function(t,e,n,r){return new(n||(n=Promise))((function(i,o){function s(t){try{a(r.next(t))}catch(t){o(t)}}function c(t){try{a(r.throw(t))}catch(t){o(t)}}function a(t){var e;t.done?i(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(s,c)}a((r=r.apply(t,e||[])).next())}))};Object.defineProperty(e,"__esModule",{value:!0}),e.Configuration=void 0;const i=n(9496),o=n(8745);e.Configuration=class{static getSetting(t){return i.workspace.getConfiguration("c-cpp-compile-run",null).get(t)}static cCompiler(){var t;return null===(t=this.getSetting("c-compiler"))||void 0===t?void 0:t.trim()}static cFlags(){var t;return null===(t=this.getSetting("c-flags"))||void 0===t?void 0:t.trim()}static cppCompiler(){var t;return null===(t=this.getSetting("cpp-compiler"))||void 0===t?void 0:t.trim()}static cppFlags(){var t;return null===(t=this.getSetting("cpp-flags"))||void 0===t?void 0:t.trim()}static saveBeforeCompile(){return this.getSetting("save-before-compile")}static runArgs(){var t;return null===(t=this.getSetting("run-args"))||void 0===t?void 0:t.trim()}static runInExternalTerminal(){var t;return null!==(t=this.getSetting("run-in-external-terminal"))&&void 0!==t&&t}static shouldShowNotifications(){var t;return null===(t=this.getSetting("should-show-notifications"))||void 0===t||t}static outputLocation(){var t;return null===(t=this.getSetting("output-location"))||void 0===t?void 0:t.trim()}static defaultWindowsShell(){var t;return null===(t=i.workspace.getConfiguration("terminal").get("integrated.shell.windows"))||void 0===t?void 0:t.trim()}static linuxTerminal(){return i.workspace.getConfiguration().get("terminal.external.linuxExec")}static setCompiler(t,e){return r(this,void 0,void 0,(function*(){const n=e===o.FileType.c?"c-compiler":"cpp-compiler";yield i.workspace.getConfiguration("c-cpp-compile-run",null).update(n,t,i.ConfigurationTarget.Global)}))}}},8745:(t,e)=>{"use strict";var n;Object.defineProperty(e,"__esModule",{value:!0}),e.FileType=void 0,(n=e.FileType||(e.FileType={}))[n.unkown=0]="unkown",n[n.c=1]="c",n[n.cplusplus=2]="cplusplus"},7517:(t,e)=>{"use strict";var n;Object.defineProperty(e,"__esModule",{value:!0}),e.Result=void 0,(n=e.Result||(e.Result={}))[n.error=0]="error",n[n.success=1]="success"},112:function(t,e,n){"use strict";var r=this&&this.__awaiter||function(t,e,n,r){return new(n||(n=Promise))((function(i,o){function s(t){try{a(r.next(t))}catch(t){o(t)}}function c(t){try{a(r.throw(t))}catch(t){o(t)}}function a(t){var e;t.done?i(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(s,c)}a((r=r.apply(t,e||[])).next())}))};Object.defineProperty(e,"__esModule",{value:!0}),e.deactivate=e.activate=void 0;const i=n(9496),o=n(5355),s=n(5078),c=n(7892);e.activate=function(t){const e=new s.CompileRunManager,n=i.commands.registerCommand("extension.Compile",(()=>r(this,void 0,void 0,(function*(){yield e.compile()})))),a=i.commands.registerCommand("extension.Run",(()=>r(this,void 0,void 0,(function*(){yield e.run(!1,c.Configuration.runInExternalTerminal())})))),u=i.commands.registerCommand("extension.CompileRun",(()=>r(this,void 0,void 0,(function*(){yield e.compileRun(!1,!1,c.Configuration.runInExternalTerminal())})))),l=i.commands.registerCommand("extension.CustomCompile",(()=>r(this,void 0,void 0,(function*(){yield e.compile(!0)})))),f=i.commands.registerCommand("extension.CustomRun",(()=>r(this,void 0,void 0,(function*(){yield e.run(!0)})))),d=i.commands.registerCommand("extension.CustomCompileRun",(()=>r(this,void 0,void 0,(function*(){yield e.compileRun(!0,!0,c.Configuration.runInExternalTerminal())})))),p=i.commands.registerCommand("extension.CompileRunInExternalTerminal",(()=>r(this,void 0,void 0,(function*(){yield e.compileRun(!1,!1,!0)}))));t.subscriptions.push(n),t.subscriptions.push(a),t.subscriptions.push(u),t.subscriptions.push(l),t.subscriptions.push(f),t.subscriptions.push(d),t.subscriptions.push(p),t.subscriptions.push(i.window.onDidCloseTerminal((t=>{o.terminal.dispose(t.name)})))},e.deactivate=function(){}},9066:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Notification=void 0;const r=n(9496),i=n(7892),o=n(7788);e.Notification=class{static showErrorMessage(t){i.Configuration.shouldShowNotifications()&&((0,o.isStringNullOrWhiteSpace)(t)||r.window.showErrorMessage(t))}static showInformationMessage(t){i.Configuration.shouldShowNotifications()&&((0,o.isStringNullOrWhiteSpace)(t)||r.window.showInformationMessage(t))}}},1776:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.outputChannel=void 0;const r=n(9496);e.outputChannel=new class{constructor(){this.channel=r.window.createOutputChannel("C/C++ Compile Run")}appendLine(t,e){if(e){const t=`[${e} ${(new Date).toISOString().replace(/z|t/gi," ").trim()}]`;this.channel.appendLine(t)}this.channel.appendLine(t)}append(t){this.channel.append(t)}show(){this.channel.show()}dispose(){this.channel.dispose()}clear(){this.channel.clear()}}},5585:function(t,e,n){"use strict";var r=this&&this.__awaiter||function(t,e,n,r){return new(n||(n=Promise))((function(i,o){function s(t){try{a(r.next(t))}catch(t){o(t)}}function c(t){try{a(r.throw(t))}catch(t){o(t)}}function a(t){var e;t.done?i(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(s,c)}a((r=r.apply(t,e||[])).next())}))};Object.defineProperty(e,"__esModule",{value:!0}),e.Runner=void 0;const i=n(2081),o=n(7147),s=n(7103),c=n(5355),a=n(1888),u=n(7517),l=n(7788),f=n(7892),d=n(9066);e.Runner=class{constructor(t,e=!1){this.file=t,this.shouldAskForArgs=e}run(t=!1){return r(this,void 0,void 0,(function*(){if(!(0,o.existsSync)(this.file.path))return d.Notification.showErrorMessage(`"${this.file.path}" doesn't exists!`),u.Result.error;this.arguments=f.Configuration.runArgs(),this.shouldAskForArgs&&(this.arguments=yield(0,a.promptRunArguments)(this.arguments));let e=f.Configuration.outputLocation();if(e||(e=this.file.directory),t){const t=yield this.getExternalCommand();if((0,l.isStringNullOrWhiteSpace)(t))return u.Result.error;(0,i.exec)(t,{cwd:e})}else yield c.terminal.runInTerminal(`${(0,c.getRunPrefix)()}"${this.file.executable}" ${this.arguments}`,{name:"C/C++ Compile Run",cwd:e});return u.Result.success}))}getExternalCommand(){return r(this,void 0,void 0,(function*(){switch(process.platform){case"win32":return`start cmd /c ".\\"${this.file.executable}" ${this.arguments} & echo. & pause"`;case"darwin":return`osascript -e 'do shell script "open -a Terminal " & "${this.file.directory}"' -e 'delay 0.3' -e 'tell application "Terminal" to do script ("./" & "${this.file.executable}") in first window'`;case"linux":const t=f.Configuration.linuxTerminal();if((0,l.isStringNullOrWhiteSpace)(t)||(0,l.isStringNullOrWhiteSpace)(yield(0,s.lookpath)(t)))return d.Notification.showErrorMessage(`${c.terminal} not found! Try to enter a valid terminal in 'terminal.external.linuxExec' settings!(gnome - terminal, xterm, konsole)`),null;switch(t){case"xterm":return`${t} -T ${this.file.title} -e './"${this.file.executable}" ${this.arguments}; echo; read -n1 -p "Press any key to continue..."'`;case"gnome-terminal":case"tilix":case"mate-terminal":return`${t} -t ${this.file.title} -x bash -c './"${this.file.executable}" ${this.arguments}; echo; read -n1 -p "Press any key to continue..."'`;case"xfce4-terminal":return`${t} --title ${this.file.title} -x bash -c './"${this.file.executable}" ${this.arguments}; read -n1 -p "Press any key to continue..."'`;case"konsole":return`${t} -p tabtitle='${this.file.title}' --noclose -e bash -c './"${this.file.executable}" ${this.arguments}'`;case"io.elementary.terminal":return`${t} -e './"${this.file.executable}" ${this.arguments}'`;default:return d.Notification.showErrorMessage(`${t} isn't supported! Try to enter a supported terminal in 'terminal.external.linuxExec' settings! (gnome-terminal, xterm, konsole)`),null}default:return d.Notification.showErrorMessage("Unsupported platform!"),null}}))}}},5355:function(t,e,n){"use strict";var r=this&&this.__awaiter||function(t,e,n,r){return new(n||(n=Promise))((function(i,o){function s(t){try{a(r.next(t))}catch(t){o(t)}}function c(t){try{a(r.throw(t))}catch(t){o(t)}}function a(t){var e;t.done?i(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(s,c)}a((r=r.apply(t,e||[])).next())}))};Object.defineProperty(e,"__esModule",{value:!0}),e.terminal=e.getRunPrefix=e.toWinPath=e.toWslPath=void 0;const i=n(5674),o=n(1017),s=n(9496),c=n(1776),a=n(1464);var u;function l(){const t=s.env.shell;switch(o.basename(t).toLowerCase()){case"cmd.exe":return u.cmd;case"pwsh.exe":case"powershell.exe":case"pwsh":return u.powerShell;case"bash.exe":case"git-cmd.exe":return u.gitBash;case"wsl.exe":case"ubuntu.exe":case"ubuntu1804.exe":case"kali.exe":case"debian.exe":case"opensuse-42.exe":case"sles-12.exe":return u.wsl;default:return u.others}}function f(t){return r(this,void 0,void 0,(function*(){if(o.posix.isAbsolute(t))return t;try{return(yield(0,a.executeCommand)("wsl",["wslpath","-u",`"${t.replace(/\\/g,"/")}"`])).trim()}catch(e){return c.outputChannel.appendLine(e,"WSL"),function(t){const e=t.split(":\\");return 2===e.length?`/mnt/${e[0].toLowerCase()}/${e[1].replace(/\\/g,"/")}`:t.replace(/\\/g,"/")}(t)}}))}!function(t){t.cmd="Command Prompt",t.powerShell="PowerShell",t.gitBash="Git Bash",t.wsl="WSL Bash",t.others="Others"}(u||(u={})),e.toWslPath=f,e.toWinPath=function(t){return r(this,void 0,void 0,(function*(){return(yield(0,a.executeCommand)("wsl",["wslpath","-w",`"${t}"`])).trim()}))},e.getRunPrefix=function(){if("win32"===process.platform){const t=l();if(t===u.cmd||t===u.powerShell)return".\\"}return"./"},e.terminal=new class{constructor(){this.terminals={}}runInTerminal(t,e){return r(this,void 0,void 0,(function*(){const{addNewLine:n,name:i,cwd:o,workspaceFolder:c}=Object.assign({addNewLine:!0,name:"C/C++ Compile Run"},e);if(void 0===this.terminals[i]){const t=c?c.uri:void 0,n=Object.assign({},e.env);this.terminals[i]=s.window.createTerminal({name:i,env:n,cwd:t}),l()===u.wsl&&function(t,e){void 0!==t&&Object.keys(e).forEach((n=>{t.sendText(`export ${n}="${e[n]}"`,!0)}))}(this.terminals[i],n)}var a;return this.terminals[i].show(),o&&this.terminals[i].sendText(yield function(t){return r(this,void 0,void 0,(function*(){if("win32"!==process.platform)return`cd "${t}"`;switch(l()){case u.gitBash:return`cd "${t.replace(/\\+$/,"")}"`;case u.powerShell:return`cd "${t.replace(/([\[\]])/g,"``$1")}"`;case u.cmd:return`cd /d "${t}"`;case u.wsl:return`cd "${yield f(t)}"`;default:return`cd "${t}"`}}))}(o),!0),this.terminals[i].sendText((a=t,l()===u.powerShell?`& ${a}`:a),n),this.terminals[i]}))}formattedPathForTerminal(t){return r(this,void 0,void 0,(function*(){if("win32"!==process.platform)return t;switch(l()){case u.wsl:return yield f(t);case u.powerShell:if(""===o.extname(t)){const e=["cmd","bat"];for(const n of e){const e=`${t}.${n}`;if(yield i.pathExists(e))return e}}return t;default:return t}}))}dispose(t){void 0===t?Object.keys(this.terminals).forEach((t=>{this.terminals[t].dispose(),delete this.terminals[t]})):void 0!==this.terminals[t]&&(this.terminals[t].dispose(),delete this.terminals[t])}}},3473:function(t,e,n){"use strict";var r=this&&this.__awaiter||function(t,e,n,r){return new(n||(n=Promise))((function(i,o){function s(t){try{a(r.next(t))}catch(t){o(t)}}function c(t){try{a(r.throw(t))}catch(t){o(t)}}function a(t){var e;t.done?i(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(s,c)}a((r=r.apply(t,e||[])).next())}))};Object.defineProperty(e,"__esModule",{value:!0}),e.isProccessRunning=e.commandExists=void 0;const i=n(8529),o=n(7103),s=n(7788);e.commandExists=function(t){return r(this,void 0,void 0,(function*(){const e=yield(0,o.lookpath)(t);return!!(0,s.isStringNullOrWhiteSpace)(e)}))},e.isProccessRunning=function(t){return r(this,void 0,void 0,(function*(){return(yield i("name",t,!0)).length>0}))}},1464:function(t,e,n){"use strict";var r=this&&this.__awaiter||function(t,e,n,r){return new(n||(n=Promise))((function(i,o){function s(t){try{a(r.next(t))}catch(t){o(t)}}function c(t){try{a(r.throw(t))}catch(t){o(t)}}function a(t){var e;t.done?i(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(s,c)}a((r=r.apply(t,e||[])).next())}))};Object.defineProperty(e,"__esModule",{value:!0}),e.executeCommandWithProgress=e.executeCommand=void 0;const i=n(2081),o=n(9496),s=n(1776);function c(t,e,n={shell:!0}){return r(this,void 0,void 0,(function*(){return new Promise(((r,o)=>{s.outputChannel.appendLine(`${t}, [${e.join(",")}]`);let c="";const a=i.spawn(t,e,n);null!==a.stdout&&a.stdout.on("data",(t=>{t=t.toString(),c=c.concat(t)})),a.on("error",o),a.on("close",(n=>{0!==n||c.indexOf("ERROR")>-1?o(new Error(`Command "${t} ${e.toString()}" failed with exit code "${n}".`)):r(c)}))}))}))}e.executeCommand=c,e.executeCommandWithProgress=function(t,e,n,i={shell:!0}){return r(this,void 0,void 0,(function*(){let a="";return yield o.window.withProgress({location:o.ProgressLocation.Window},(o=>r(this,void 0,void 0,(function*(){return s.outputChannel.appendLine(`${e}, [${n.join(",")}]`),new Promise(((s,u)=>r(this,void 0,void 0,(function*(){o.report({message:t});try{a=yield c(e,n,i),s()}catch(t){u(t)}}))))})))),a}))}},7114:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getFileType=void 0;const r=n(8745);e.getFileType=function(t){return"c"===t||"h"===t?r.FileType.c:"cpp"===t||"hpp"===t?r.FileType.cplusplus:r.FileType.unkown}},9331:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.parseFile=void 0;const r=n(1017),i=n(7114);e.parseFile=function(t){return{path:t.fileName,name:(0,r.basename)(t.fileName),title:(0,r.basename)(t.fileName,(0,r.extname)(t.fileName)),directory:(0,r.dirname)(t.fileName),type:(0,i.getFileType)(t.languageId),executable:"win32"===process.platform?`${(0,r.basename)(t.fileName,(0,r.extname)(t.fileName))}.exe`:(0,r.basename)(t.fileName,(0,r.extname)(t.fileName))}}},1888:function(t,e,n){"use strict";var r=this&&this.__awaiter||function(t,e,n,r){return new(n||(n=Promise))((function(i,o){function s(t){try{a(r.next(t))}catch(t){o(t)}}function c(t){try{a(r.throw(t))}catch(t){o(t)}}function a(t){var e;t.done?i(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(s,c)}a((r=r.apply(t,e||[])).next())}))};Object.defineProperty(e,"__esModule",{value:!0}),e.promptRunArguments=e.promptFlags=e.promptCompiler=void 0;const i=n(9496);e.promptCompiler=function(){return r(this,void 0,void 0,(function*(){return yield i.window.showInputBox({prompt:"Compiler",placeHolder:"/usr/bin/gcc"})}))},e.promptFlags=function(t){return r(this,void 0,void 0,(function*(){return yield i.window.showInputBox({prompt:"Flags",placeHolder:"-Wall -Wextra",value:t})}))},e.promptRunArguments=function(t){return r(this,void 0,void 0,(function*(){return yield i.window.showInputBox({prompt:"Arguments",value:t})}))}},7788:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isStringNullOrWhiteSpace=void 0,e.isStringNullOrWhiteSpace=function(t){return null==t||"string"!=typeof t||null!==t.match(/^ *$/)}},8981:(t,e)=>{"use strict";e.fromCallback=function(t){return Object.defineProperty((function(...e){if("function"!=typeof e[e.length-1])return new Promise(((n,r)=>{t.call(this,...e,((t,e)=>null!=t?r(t):n(e)))}));t.apply(this,e)}),"name",{value:t.name})},e.fromPromise=function(t){return Object.defineProperty((function(...e){const n=e[e.length-1];if("function"!=typeof n)return t.apply(this,e);t.apply(this,e.slice(0,-1)).then((t=>n(null,t)),n)}),"name",{value:t.name})}},9496:t=>{"use strict";t.exports=require("vscode")},9491:t=>{"use strict";t.exports=require("assert")},2081:t=>{"use strict";t.exports=require("child_process")},2057:t=>{"use strict";t.exports=require("constants")},7147:t=>{"use strict";t.exports=require("fs")},2037:t=>{"use strict";t.exports=require("os")},1017:t=>{"use strict";t.exports=require("path")},2781:t=>{"use strict";t.exports=require("stream")},3837:t=>{"use strict";t.exports=require("util")}},e={},n=function n(r){var i=e[r];if(void 0!==i)return i.exports;var o=e[r]={exports:{}};return t[r].call(o.exports,o,o.exports,n),o.exports}(112);module.exports=n})(); \ No newline at end of file diff --git a/src/danielpinto8zz6.c-cpp-compile-run-1.0.18/docs/COMPILER_SETUP.md b/src/danielpinto8zz6.c-cpp-compile-run-1.0.18/docs/COMPILER_SETUP.md deleted file mode 100644 index ee44357..0000000 --- a/src/danielpinto8zz6.c-cpp-compile-run-1.0.18/docs/COMPILER_SETUP.md +++ /dev/null @@ -1,53 +0,0 @@ -# GCC Setup -## Table of Contents -1. [Windows](#Windows) -2. [Linux](#Linux) -3. [MacOS](#MacOs) -4. [WSL Example](#WSL) - -### Windows -Install Tdm-gcc via the website. Click [ Tdm-gcc](https://jmeubank.github.io/tdm-gcc/download/ " Tdm-gcc") to download the Windows Tdm-gcc installer. -- Run the installer. -- Select create a new install -- Choose your **Architecture** and then select **Next** until complete. -- Restart your vscode - -### Linux -- First, check to see whether GCC is already installed. To verify whether it is, open a Terminal window and enter the following command: - - `gcc -v` - -- If GCC isn't installed, run the following command from the terminal window to update the **Ubuntu** package lists. An out-of-date Linux distribution can sometimes interfere with attempts to install new packages. - - `sudo apt-get update` - -- Next install the GNU compiler tools and the GDB debugger with this command: - - `sudo apt-get install build-essential gdb` - -### MacOS -- Ensure Clang is installed -- Clang may already be installed on your Mac. To verify that it is, open a macOS Terminal window and enter the following command: - - `clang --version` - -- If Clang isn't installed, enter the following command to install the command line developer tools: - - `xcode-select --install` - -### WSL - -- Open the Bash shell for WSL. If you installed an Ubuntu distro, type "Ubuntu" in the Windows search box and then click on it in the result list. For Debian, type "Debian", and so on. -- The shell appears with a command prompt that by default consists of your user name and computer name, and puts you in your home directory. For Ubuntu it looks like this: -- Although you will be using VS Code to edit your source code, you'll be compiling the source code on Linux using the gcc or g++ compiler. -- From the WSL command prompt, first run apt-get update to update the Ubuntu package lists. An out-of-date distro can sometimes interfere with attempts to install new packages. - - ` sudo apt-get update - ` - -- If you like, you can run sudo apt-get update && sudo apt-get dist-upgrade to also download the latest versions of the system packages, but this can take significantly longer depending on your connection speed. -- From the command prompt, install the GNU compiler tools by typing: - - ` sudo apt-get install build-essential gdb - ` - diff --git a/src/danielpinto8zz6.c-cpp-compile-run-1.0.18/extension.vsixmanifest b/src/danielpinto8zz6.c-cpp-compile-run-1.0.18/extension.vsixmanifest deleted file mode 100644 index 58be118..0000000 --- a/src/danielpinto8zz6.c-cpp-compile-run-1.0.18/extension.vsixmanifest +++ /dev/null @@ -1,44 +0,0 @@ - - - - - C/C++ Compile Run - Compile & Run single c/c++ files easly - c,cpp,compile,run,keybindings,Log,c++ - Programming Languages,Other - Public - - - - - - - - - - - - - - - - - - - - - extension/LICENSE.txt - extension/resources/logo.png - - - - - - - - - - - - - \ No newline at end of file diff --git a/src/danielpinto8zz6.c-cpp-compile-run-1.0.18/node_modules/@types/color-name/LICENSE b/src/danielpinto8zz6.c-cpp-compile-run-1.0.18/node_modules/@types/color-name/LICENSE deleted file mode 100644 index 4b1ad51..0000000 --- a/src/danielpinto8zz6.c-cpp-compile-run-1.0.18/node_modules/@types/color-name/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ - MIT License - - Copyright (c) Microsoft Corporation. All rights reserved. - - Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in all - copies or substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - SOFTWARE diff --git a/src/danielpinto8zz6.c-cpp-compile-run-1.0.18/node_modules/@types/color-name/README.md b/src/danielpinto8zz6.c-cpp-compile-run-1.0.18/node_modules/@types/color-name/README.md deleted file mode 100644 index 5c77cba..0000000 --- a/src/danielpinto8zz6.c-cpp-compile-run-1.0.18/node_modules/@types/color-name/README.md +++ /dev/null @@ -1,16 +0,0 @@ -# Installation -> `npm install --save @types/color-name` - -# Summary -This package contains type definitions for color-name ( https://github.com/colorjs/color-name ). - -# Details -Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/color-name - -Additional Details - * Last updated: Wed, 13 Feb 2019 16:16:48 GMT - * Dependencies: none - * Global values: none - -# Credits -These definitions were written by Junyoung Clare Jang . diff --git a/src/danielpinto8zz6.c-cpp-compile-run-1.0.18/node_modules/@types/color-name/package.json b/src/danielpinto8zz6.c-cpp-compile-run-1.0.18/node_modules/@types/color-name/package.json deleted file mode 100644 index d5e367e..0000000 --- a/src/danielpinto8zz6.c-cpp-compile-run-1.0.18/node_modules/@types/color-name/package.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "name": "@types/color-name", - "version": "1.1.1", - "description": "TypeScript definitions for color-name", - "license": "MIT", - "contributors": [ - { - "name": "Junyoung Clare Jang", - "url": "https://github.com/Ailrun", - "githubUsername": "Ailrun" - } - ], - "main": "", - "types": "index", - "repository": { - "type": "git", - "url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git" - }, - "scripts": {}, - "dependencies": {}, - "typesPublisherContentHash": "e22c6881e2dcf766e32142cbb82d9acf9c08258bdf0da8e76c8a448d1be44ac7", - "typeScriptVersion": "2.0" -} \ No newline at end of file diff --git a/src/danielpinto8zz6.c-cpp-compile-run-1.0.18/node_modules/@types/fs-extra/LICENSE b/src/danielpinto8zz6.c-cpp-compile-run-1.0.18/node_modules/@types/fs-extra/LICENSE deleted file mode 100755 index 9e841e7..0000000 --- a/src/danielpinto8zz6.c-cpp-compile-run-1.0.18/node_modules/@types/fs-extra/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ - MIT License - - Copyright (c) Microsoft Corporation. - - Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in all - copies or substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - SOFTWARE diff --git a/src/danielpinto8zz6.c-cpp-compile-run-1.0.18/node_modules/@types/fs-extra/README.md b/src/danielpinto8zz6.c-cpp-compile-run-1.0.18/node_modules/@types/fs-extra/README.md deleted file mode 100755 index 78f2792..0000000 --- a/src/danielpinto8zz6.c-cpp-compile-run-1.0.18/node_modules/@types/fs-extra/README.md +++ /dev/null @@ -1,16 +0,0 @@ -# Installation -> `npm install --save @types/fs-extra` - -# Summary -This package contains type definitions for fs-extra (https://github.com/jprichardson/node-fs-extra). - -# Details -Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/fs-extra. - -### Additional Details - * Last updated: Tue, 21 Sep 2021 19:02:14 GMT - * Dependencies: [@types/node](https://npmjs.com/package/@types/node) - * Global values: none - -# Credits -These definitions were written by [Alan Agius](https://github.com/alan-agius4), [midknight41](https://github.com/midknight41), [Brendan Forster](https://github.com/shiftkey), [Mees van Dijk](https://github.com/mees-), [Justin Rockwood](https://github.com/jrockwood), [Sang Dang](https://github.com/sangdth), [Florian Keller](https://github.com/ffflorian), [Piotr Błażejewicz](https://github.com/peterblazejewicz), and [Tiger Oakes](https://github.com/NotWoods). diff --git a/src/danielpinto8zz6.c-cpp-compile-run-1.0.18/node_modules/@types/fs-extra/package.json b/src/danielpinto8zz6.c-cpp-compile-run-1.0.18/node_modules/@types/fs-extra/package.json deleted file mode 100755 index 0dc1040..0000000 --- a/src/danielpinto8zz6.c-cpp-compile-run-1.0.18/node_modules/@types/fs-extra/package.json +++ /dev/null @@ -1,67 +0,0 @@ -{ - "name": "@types/fs-extra", - "version": "9.0.13", - "description": "TypeScript definitions for fs-extra", - "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/fs-extra", - "license": "MIT", - "contributors": [ - { - "name": "Alan Agius", - "url": "https://github.com/alan-agius4", - "githubUsername": "alan-agius4" - }, - { - "name": "midknight41", - "url": "https://github.com/midknight41", - "githubUsername": "midknight41" - }, - { - "name": "Brendan Forster", - "url": "https://github.com/shiftkey", - "githubUsername": "shiftkey" - }, - { - "name": "Mees van Dijk", - "url": "https://github.com/mees-", - "githubUsername": "mees-" - }, - { - "name": "Justin Rockwood", - "url": "https://github.com/jrockwood", - "githubUsername": "jrockwood" - }, - { - "name": "Sang Dang", - "url": "https://github.com/sangdth", - "githubUsername": "sangdth" - }, - { - "name": "Florian Keller", - "url": "https://github.com/ffflorian", - "githubUsername": "ffflorian" - }, - { - "name": "Piotr Błażejewicz", - "url": "https://github.com/peterblazejewicz", - "githubUsername": "peterblazejewicz" - }, - { - "name": "Tiger Oakes", - "url": "https://github.com/NotWoods", - "githubUsername": "NotWoods" - } - ], - "main": "", - "types": "index.d.ts", - "repository": { - "type": "git", - "url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", - "directory": "types/fs-extra" - }, - "scripts": {}, - "dependencies": { - "@types/node": "*" - }, - "typesPublisherContentHash": "75e10d16a18d936a50e54414024604aa9484e8345b37c2027921869f254523ee", - "typeScriptVersion": "3.9" -} \ No newline at end of file diff --git a/src/danielpinto8zz6.c-cpp-compile-run-1.0.18/node_modules/@types/node/LICENSE b/src/danielpinto8zz6.c-cpp-compile-run-1.0.18/node_modules/@types/node/LICENSE deleted file mode 100755 index 9e841e7..0000000 --- a/src/danielpinto8zz6.c-cpp-compile-run-1.0.18/node_modules/@types/node/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ - MIT License - - Copyright (c) Microsoft Corporation. - - Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in all - copies or substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - SOFTWARE diff --git a/src/danielpinto8zz6.c-cpp-compile-run-1.0.18/node_modules/@types/node/README.md b/src/danielpinto8zz6.c-cpp-compile-run-1.0.18/node_modules/@types/node/README.md deleted file mode 100755 index c941d32..0000000 --- a/src/danielpinto8zz6.c-cpp-compile-run-1.0.18/node_modules/@types/node/README.md +++ /dev/null @@ -1,16 +0,0 @@ -# Installation -> `npm install --save @types/node` - -# Summary -This package contains type definitions for Node.js (https://nodejs.org/). - -# Details -Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node. - -### Additional Details - * Last updated: Fri, 14 Oct 2022 20:32:59 GMT - * Dependencies: none - * Global values: `AbortController`, `AbortSignal`, `__dirname`, `__filename`, `console`, `exports`, `gc`, `global`, `module`, `process`, `require`, `structuredClone` - -# Credits -These definitions were written by [Microsoft TypeScript](https://github.com/Microsoft), [DefinitelyTyped](https://github.com/DefinitelyTyped), [Alberto Schiabel](https://github.com/jkomyno), [Alvis HT Tang](https://github.com/alvis), [Andrew Makarov](https://github.com/r3nya), [Benjamin Toueg](https://github.com/btoueg), [Chigozirim C.](https://github.com/smac89), [David Junger](https://github.com/touffy), [Deividas Bakanas](https://github.com/DeividasBakanas), [Eugene Y. Q. Shen](https://github.com/eyqs), [Hannes Magnusson](https://github.com/Hannes-Magnusson-CK), [Huw](https://github.com/hoo29), [Kelvin Jin](https://github.com/kjin), [Klaus Meinhardt](https://github.com/ajafff), [Lishude](https://github.com/islishude), [Mariusz Wiktorczyk](https://github.com/mwiktorczyk), [Mohsen Azimi](https://github.com/mohsen1), [Nicolas Even](https://github.com/n-e), [Nikita Galkin](https://github.com/galkin), [Parambir Singh](https://github.com/parambirs), [Sebastian Silbermann](https://github.com/eps1lon), [Simon Schick](https://github.com/SimonSchick), [Thomas den Hollander](https://github.com/ThomasdenH), [Wilco Bakker](https://github.com/WilcoBakker), [wwwy3y3](https://github.com/wwwy3y3), [Samuel Ainsworth](https://github.com/samuela), [Kyle Uehlein](https://github.com/kuehlein), [Thanik Bhongbhibhat](https://github.com/bhongy), [Marcin Kopacz](https://github.com/chyzwar), [Trivikram Kamat](https://github.com/trivikr), [Junxiao Shi](https://github.com/yoursunny), [Ilia Baryshnikov](https://github.com/qwelias), [ExE Boss](https://github.com/ExE-Boss), [Piotr Błażejewicz](https://github.com/peterblazejewicz), [Anna Henningsen](https://github.com/addaleax), [Victor Perin](https://github.com/victorperin), [Yongsheng Zhang](https://github.com/ZYSzys), [NodeJS Contributors](https://github.com/NodeJS), [Linus Unnebäck](https://github.com/LinusU), [wafuwafu13](https://github.com/wafuwafu13), and [Matteo Collina](https://github.com/mcollina). diff --git a/src/danielpinto8zz6.c-cpp-compile-run-1.0.18/node_modules/@types/node/package.json b/src/danielpinto8zz6.c-cpp-compile-run-1.0.18/node_modules/@types/node/package.json deleted file mode 100755 index 80b5b5c..0000000 --- a/src/danielpinto8zz6.c-cpp-compile-run-1.0.18/node_modules/@types/node/package.json +++ /dev/null @@ -1,232 +0,0 @@ -{ - "name": "@types/node", - "version": "18.11.0", - "description": "TypeScript definitions for Node.js", - "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node", - "license": "MIT", - "contributors": [ - { - "name": "Microsoft TypeScript", - "url": "https://github.com/Microsoft", - "githubUsername": "Microsoft" - }, - { - "name": "DefinitelyTyped", - "url": "https://github.com/DefinitelyTyped", - "githubUsername": "DefinitelyTyped" - }, - { - "name": "Alberto Schiabel", - "url": "https://github.com/jkomyno", - "githubUsername": "jkomyno" - }, - { - "name": "Alvis HT Tang", - "url": "https://github.com/alvis", - "githubUsername": "alvis" - }, - { - "name": "Andrew Makarov", - "url": "https://github.com/r3nya", - "githubUsername": "r3nya" - }, - { - "name": "Benjamin Toueg", - "url": "https://github.com/btoueg", - "githubUsername": "btoueg" - }, - { - "name": "Chigozirim C.", - "url": "https://github.com/smac89", - "githubUsername": "smac89" - }, - { - "name": "David Junger", - "url": "https://github.com/touffy", - "githubUsername": "touffy" - }, - { - "name": "Deividas Bakanas", - "url": "https://github.com/DeividasBakanas", - "githubUsername": "DeividasBakanas" - }, - { - "name": "Eugene Y. Q. Shen", - "url": "https://github.com/eyqs", - "githubUsername": "eyqs" - }, - { - "name": "Hannes Magnusson", - "url": "https://github.com/Hannes-Magnusson-CK", - "githubUsername": "Hannes-Magnusson-CK" - }, - { - "name": "Huw", - "url": "https://github.com/hoo29", - "githubUsername": "hoo29" - }, - { - "name": "Kelvin Jin", - "url": "https://github.com/kjin", - "githubUsername": "kjin" - }, - { - "name": "Klaus Meinhardt", - "url": "https://github.com/ajafff", - "githubUsername": "ajafff" - }, - { - "name": "Lishude", - "url": "https://github.com/islishude", - "githubUsername": "islishude" - }, - { - "name": "Mariusz Wiktorczyk", - "url": "https://github.com/mwiktorczyk", - "githubUsername": "mwiktorczyk" - }, - { - "name": "Mohsen Azimi", - "url": "https://github.com/mohsen1", - "githubUsername": "mohsen1" - }, - { - "name": "Nicolas Even", - "url": "https://github.com/n-e", - "githubUsername": "n-e" - }, - { - "name": "Nikita Galkin", - "url": "https://github.com/galkin", - "githubUsername": "galkin" - }, - { - "name": "Parambir Singh", - "url": "https://github.com/parambirs", - "githubUsername": "parambirs" - }, - { - "name": "Sebastian Silbermann", - "url": "https://github.com/eps1lon", - "githubUsername": "eps1lon" - }, - { - "name": "Simon Schick", - "url": "https://github.com/SimonSchick", - "githubUsername": "SimonSchick" - }, - { - "name": "Thomas den Hollander", - "url": "https://github.com/ThomasdenH", - "githubUsername": "ThomasdenH" - }, - { - "name": "Wilco Bakker", - "url": "https://github.com/WilcoBakker", - "githubUsername": "WilcoBakker" - }, - { - "name": "wwwy3y3", - "url": "https://github.com/wwwy3y3", - "githubUsername": "wwwy3y3" - }, - { - "name": "Samuel Ainsworth", - "url": "https://github.com/samuela", - "githubUsername": "samuela" - }, - { - "name": "Kyle Uehlein", - "url": "https://github.com/kuehlein", - "githubUsername": "kuehlein" - }, - { - "name": "Thanik Bhongbhibhat", - "url": "https://github.com/bhongy", - "githubUsername": "bhongy" - }, - { - "name": "Marcin Kopacz", - "url": "https://github.com/chyzwar", - "githubUsername": "chyzwar" - }, - { - "name": "Trivikram Kamat", - "url": "https://github.com/trivikr", - "githubUsername": "trivikr" - }, - { - "name": "Junxiao Shi", - "url": "https://github.com/yoursunny", - "githubUsername": "yoursunny" - }, - { - "name": "Ilia Baryshnikov", - "url": "https://github.com/qwelias", - "githubUsername": "qwelias" - }, - { - "name": "ExE Boss", - "url": "https://github.com/ExE-Boss", - "githubUsername": "ExE-Boss" - }, - { - "name": "Piotr Błażejewicz", - "url": "https://github.com/peterblazejewicz", - "githubUsername": "peterblazejewicz" - }, - { - "name": "Anna Henningsen", - "url": "https://github.com/addaleax", - "githubUsername": "addaleax" - }, - { - "name": "Victor Perin", - "url": "https://github.com/victorperin", - "githubUsername": "victorperin" - }, - { - "name": "Yongsheng Zhang", - "url": "https://github.com/ZYSzys", - "githubUsername": "ZYSzys" - }, - { - "name": "NodeJS Contributors", - "url": "https://github.com/NodeJS", - "githubUsername": "NodeJS" - }, - { - "name": "Linus Unnebäck", - "url": "https://github.com/LinusU", - "githubUsername": "LinusU" - }, - { - "name": "wafuwafu13", - "url": "https://github.com/wafuwafu13", - "githubUsername": "wafuwafu13" - }, - { - "name": "Matteo Collina", - "url": "https://github.com/mcollina", - "githubUsername": "mcollina" - } - ], - "main": "", - "types": "index.d.ts", - "typesVersions": { - "<4.9.0-0": { - "*": [ - "ts4.8/*" - ] - } - }, - "repository": { - "type": "git", - "url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", - "directory": "types/node" - }, - "scripts": {}, - "dependencies": {}, - "typesPublisherContentHash": "bec614c152bf72c7a29b996ba58cf8e86e92e1371bf820fac0654a49a16fce5f", - "typeScriptVersion": "4.1" -} \ No newline at end of file diff --git a/src/danielpinto8zz6.c-cpp-compile-run-1.0.18/node_modules/ansi-styles/index.js b/src/danielpinto8zz6.c-cpp-compile-run-1.0.18/node_modules/ansi-styles/index.js deleted file mode 100644 index 5d82581..0000000 --- a/src/danielpinto8zz6.c-cpp-compile-run-1.0.18/node_modules/ansi-styles/index.js +++ /dev/null @@ -1,163 +0,0 @@ -'use strict'; - -const wrapAnsi16 = (fn, offset) => (...args) => { - const code = fn(...args); - return `\u001B[${code + offset}m`; -}; - -const wrapAnsi256 = (fn, offset) => (...args) => { - const code = fn(...args); - return `\u001B[${38 + offset};5;${code}m`; -}; - -const wrapAnsi16m = (fn, offset) => (...args) => { - const rgb = fn(...args); - return `\u001B[${38 + offset};2;${rgb[0]};${rgb[1]};${rgb[2]}m`; -}; - -const ansi2ansi = n => n; -const rgb2rgb = (r, g, b) => [r, g, b]; - -const setLazyProperty = (object, property, get) => { - Object.defineProperty(object, property, { - get: () => { - const value = get(); - - Object.defineProperty(object, property, { - value, - enumerable: true, - configurable: true - }); - - return value; - }, - enumerable: true, - configurable: true - }); -}; - -/** @type {typeof import('color-convert')} */ -let colorConvert; -const makeDynamicStyles = (wrap, targetSpace, identity, isBackground) => { - if (colorConvert === undefined) { - colorConvert = require('color-convert'); - } - - const offset = isBackground ? 10 : 0; - const styles = {}; - - for (const [sourceSpace, suite] of Object.entries(colorConvert)) { - const name = sourceSpace === 'ansi16' ? 'ansi' : sourceSpace; - if (sourceSpace === targetSpace) { - styles[name] = wrap(identity, offset); - } else if (typeof suite === 'object') { - styles[name] = wrap(suite[targetSpace], offset); - } - } - - return styles; -}; - -function assembleStyles() { - const codes = new Map(); - const styles = { - modifier: { - reset: [0, 0], - // 21 isn't widely supported and 22 does the same thing - bold: [1, 22], - dim: [2, 22], - italic: [3, 23], - underline: [4, 24], - inverse: [7, 27], - hidden: [8, 28], - strikethrough: [9, 29] - }, - color: { - black: [30, 39], - red: [31, 39], - green: [32, 39], - yellow: [33, 39], - blue: [34, 39], - magenta: [35, 39], - cyan: [36, 39], - white: [37, 39], - - // Bright color - blackBright: [90, 39], - redBright: [91, 39], - greenBright: [92, 39], - yellowBright: [93, 39], - blueBright: [94, 39], - magentaBright: [95, 39], - cyanBright: [96, 39], - whiteBright: [97, 39] - }, - bgColor: { - bgBlack: [40, 49], - bgRed: [41, 49], - bgGreen: [42, 49], - bgYellow: [43, 49], - bgBlue: [44, 49], - bgMagenta: [45, 49], - bgCyan: [46, 49], - bgWhite: [47, 49], - - // Bright color - bgBlackBright: [100, 49], - bgRedBright: [101, 49], - bgGreenBright: [102, 49], - bgYellowBright: [103, 49], - bgBlueBright: [104, 49], - bgMagentaBright: [105, 49], - bgCyanBright: [106, 49], - bgWhiteBright: [107, 49] - } - }; - - // Alias bright black as gray (and grey) - styles.color.gray = styles.color.blackBright; - styles.bgColor.bgGray = styles.bgColor.bgBlackBright; - styles.color.grey = styles.color.blackBright; - styles.bgColor.bgGrey = styles.bgColor.bgBlackBright; - - for (const [groupName, group] of Object.entries(styles)) { - for (const [styleName, style] of Object.entries(group)) { - styles[styleName] = { - open: `\u001B[${style[0]}m`, - close: `\u001B[${style[1]}m` - }; - - group[styleName] = styles[styleName]; - - codes.set(style[0], style[1]); - } - - Object.defineProperty(styles, groupName, { - value: group, - enumerable: false - }); - } - - Object.defineProperty(styles, 'codes', { - value: codes, - enumerable: false - }); - - styles.color.close = '\u001B[39m'; - styles.bgColor.close = '\u001B[49m'; - - setLazyProperty(styles.color, 'ansi', () => makeDynamicStyles(wrapAnsi16, 'ansi16', ansi2ansi, false)); - setLazyProperty(styles.color, 'ansi256', () => makeDynamicStyles(wrapAnsi256, 'ansi256', ansi2ansi, false)); - setLazyProperty(styles.color, 'ansi16m', () => makeDynamicStyles(wrapAnsi16m, 'rgb', rgb2rgb, false)); - setLazyProperty(styles.bgColor, 'ansi', () => makeDynamicStyles(wrapAnsi16, 'ansi16', ansi2ansi, true)); - setLazyProperty(styles.bgColor, 'ansi256', () => makeDynamicStyles(wrapAnsi256, 'ansi256', ansi2ansi, true)); - setLazyProperty(styles.bgColor, 'ansi16m', () => makeDynamicStyles(wrapAnsi16m, 'rgb', rgb2rgb, true)); - - return styles; -} - -// Make the export immutable -Object.defineProperty(module, 'exports', { - enumerable: true, - get: assembleStyles -}); diff --git a/src/danielpinto8zz6.c-cpp-compile-run-1.0.18/node_modules/ansi-styles/license b/src/danielpinto8zz6.c-cpp-compile-run-1.0.18/node_modules/ansi-styles/license deleted file mode 100644 index e7af2f7..0000000 --- a/src/danielpinto8zz6.c-cpp-compile-run-1.0.18/node_modules/ansi-styles/license +++ /dev/null @@ -1,9 +0,0 @@ -MIT License - -Copyright (c) Sindre Sorhus (sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/src/danielpinto8zz6.c-cpp-compile-run-1.0.18/node_modules/ansi-styles/package.json b/src/danielpinto8zz6.c-cpp-compile-run-1.0.18/node_modules/ansi-styles/package.json deleted file mode 100644 index 347b035..0000000 --- a/src/danielpinto8zz6.c-cpp-compile-run-1.0.18/node_modules/ansi-styles/package.json +++ /dev/null @@ -1,57 +0,0 @@ -{ - "name": "ansi-styles", - "version": "4.2.1", - "description": "ANSI escape codes for styling strings in the terminal", - "license": "MIT", - "repository": "chalk/ansi-styles", - "funding": "https://github.com/chalk/ansi-styles?sponsor=1", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "sindresorhus.com" - }, - "engines": { - "node": ">=8" - }, - "scripts": { - "test": "xo && ava && tsd", - "screenshot": "svg-term --command='node screenshot' --out=screenshot.svg --padding=3 --width=55 --height=3 --at=1000 --no-cursor" - }, - "files": [ - "index.js", - "index.d.ts" - ], - "keywords": [ - "ansi", - "styles", - "color", - "colour", - "colors", - "terminal", - "console", - "cli", - "string", - "tty", - "escape", - "formatting", - "rgb", - "256", - "shell", - "xterm", - "log", - "logging", - "command-line", - "text" - ], - "dependencies": { - "@types/color-name": "^1.1.1", - "color-convert": "^2.0.1" - }, - "devDependencies": { - "@types/color-convert": "^1.9.0", - "ava": "^2.3.0", - "svg-term-cli": "^2.1.1", - "tsd": "^0.11.0", - "xo": "^0.25.3" - } -} diff --git a/src/danielpinto8zz6.c-cpp-compile-run-1.0.18/node_modules/ansi-styles/readme.md b/src/danielpinto8zz6.c-cpp-compile-run-1.0.18/node_modules/ansi-styles/readme.md deleted file mode 100644 index 2a1ef65..0000000 --- a/src/danielpinto8zz6.c-cpp-compile-run-1.0.18/node_modules/ansi-styles/readme.md +++ /dev/null @@ -1,158 +0,0 @@ -# ansi-styles [![Build Status](https://travis-ci.org/chalk/ansi-styles.svg?branch=master)](https://travis-ci.org/chalk/ansi-styles) - -> [ANSI escape codes](https://en.wikipedia.org/wiki/ANSI_escape_code#Colors_and_Styles) for styling strings in the terminal - -You probably want the higher-level [chalk](https://github.com/chalk/chalk) module for styling your strings. - - - -## Install - -``` -$ npm install ansi-styles -``` - -## Usage - -```js -const style = require('ansi-styles'); - -console.log(`${style.green.open}Hello world!${style.green.close}`); - - -// Color conversion between 16/256/truecolor -// NOTE: If conversion goes to 16 colors or 256 colors, the original color -// may be degraded to fit that color palette. This means terminals -// that do not support 16 million colors will best-match the -// original color. -console.log(style.bgColor.ansi.hsl(120, 80, 72) + 'Hello world!' + style.bgColor.close); -console.log(style.color.ansi256.rgb(199, 20, 250) + 'Hello world!' + style.color.close); -console.log(style.color.ansi16m.hex('#abcdef') + 'Hello world!' + style.color.close); -``` - -## API - -Each style has an `open` and `close` property. - -## Styles - -### Modifiers - -- `reset` -- `bold` -- `dim` -- `italic` *(Not widely supported)* -- `underline` -- `inverse` -- `hidden` -- `strikethrough` *(Not widely supported)* - -### Colors - -- `black` -- `red` -- `green` -- `yellow` -- `blue` -- `magenta` -- `cyan` -- `white` -- `blackBright` (alias: `gray`, `grey`) -- `redBright` -- `greenBright` -- `yellowBright` -- `blueBright` -- `magentaBright` -- `cyanBright` -- `whiteBright` - -### Background colors - -- `bgBlack` -- `bgRed` -- `bgGreen` -- `bgYellow` -- `bgBlue` -- `bgMagenta` -- `bgCyan` -- `bgWhite` -- `bgBlackBright` (alias: `bgGray`, `bgGrey`) -- `bgRedBright` -- `bgGreenBright` -- `bgYellowBright` -- `bgBlueBright` -- `bgMagentaBright` -- `bgCyanBright` -- `bgWhiteBright` - -## Advanced usage - -By default, you get a map of styles, but the styles are also available as groups. They are non-enumerable so they don't show up unless you access them explicitly. This makes it easier to expose only a subset in a higher-level module. - -- `style.modifier` -- `style.color` -- `style.bgColor` - -###### Example - -```js -console.log(style.color.green.open); -``` - -Raw escape codes (i.e. without the CSI escape prefix `\u001B[` and render mode postfix `m`) are available under `style.codes`, which returns a `Map` with the open codes as keys and close codes as values. - -###### Example - -```js -console.log(style.codes.get(36)); -//=> 39 -``` - -## [256 / 16 million (TrueColor) support](https://gist.github.com/XVilka/8346728) - -`ansi-styles` uses the [`color-convert`](https://github.com/Qix-/color-convert) package to allow for converting between various colors and ANSI escapes, with support for 256 and 16 million colors. - -The following color spaces from `color-convert` are supported: - -- `rgb` -- `hex` -- `keyword` -- `hsl` -- `hsv` -- `hwb` -- `ansi` -- `ansi256` - -To use these, call the associated conversion function with the intended output, for example: - -```js -style.color.ansi.rgb(100, 200, 15); // RGB to 16 color ansi foreground code -style.bgColor.ansi.rgb(100, 200, 15); // RGB to 16 color ansi background code - -style.color.ansi256.hsl(120, 100, 60); // HSL to 256 color ansi foreground code -style.bgColor.ansi256.hsl(120, 100, 60); // HSL to 256 color ansi foreground code - -style.color.ansi16m.hex('#C0FFEE'); // Hex (RGB) to 16 million color foreground code -style.bgColor.ansi16m.hex('#C0FFEE'); // Hex (RGB) to 16 million color background code -``` - -## Related - -- [ansi-escapes](https://github.com/sindresorhus/ansi-escapes) - ANSI escape codes for manipulating the terminal - -## Maintainers - -- [Sindre Sorhus](https://github.com/sindresorhus) -- [Josh Junon](https://github.com/qix-) - ---- - -
- - Get professional support for this package with a Tidelift subscription - -
- - Tidelift helps make open source sustainable for maintainers while giving companies
assurances about security, maintenance, and licensing for their dependencies. -
-
diff --git a/src/danielpinto8zz6.c-cpp-compile-run-1.0.18/node_modules/chalk/license b/src/danielpinto8zz6.c-cpp-compile-run-1.0.18/node_modules/chalk/license deleted file mode 100644 index e7af2f7..0000000 --- a/src/danielpinto8zz6.c-cpp-compile-run-1.0.18/node_modules/chalk/license +++ /dev/null @@ -1,9 +0,0 @@ -MIT License - -Copyright (c) Sindre Sorhus (sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/src/danielpinto8zz6.c-cpp-compile-run-1.0.18/node_modules/chalk/package.json b/src/danielpinto8zz6.c-cpp-compile-run-1.0.18/node_modules/chalk/package.json deleted file mode 100644 index 47c23f2..0000000 --- a/src/danielpinto8zz6.c-cpp-compile-run-1.0.18/node_modules/chalk/package.json +++ /dev/null @@ -1,68 +0,0 @@ -{ - "name": "chalk", - "version": "4.1.2", - "description": "Terminal string styling done right", - "license": "MIT", - "repository": "chalk/chalk", - "funding": "https://github.com/chalk/chalk?sponsor=1", - "main": "source", - "engines": { - "node": ">=10" - }, - "scripts": { - "test": "xo && nyc ava && tsd", - "bench": "matcha benchmark.js" - }, - "files": [ - "source", - "index.d.ts" - ], - "keywords": [ - "color", - "colour", - "colors", - "terminal", - "console", - "cli", - "string", - "str", - "ansi", - "style", - "styles", - "tty", - "formatting", - "rgb", - "256", - "shell", - "xterm", - "log", - "logging", - "command-line", - "text" - ], - "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - }, - "devDependencies": { - "ava": "^2.4.0", - "coveralls": "^3.0.7", - "execa": "^4.0.0", - "import-fresh": "^3.1.0", - "matcha": "^0.7.0", - "nyc": "^15.0.0", - "resolve-from": "^5.0.0", - "tsd": "^0.7.4", - "xo": "^0.28.2" - }, - "xo": { - "rules": { - "unicorn/prefer-string-slice": "off", - "unicorn/prefer-includes": "off", - "@typescript-eslint/member-ordering": "off", - "no-redeclare": "off", - "unicorn/string-content": "off", - "unicorn/better-regex": "off" - } - } -} diff --git a/src/danielpinto8zz6.c-cpp-compile-run-1.0.18/node_modules/chalk/readme.md b/src/danielpinto8zz6.c-cpp-compile-run-1.0.18/node_modules/chalk/readme.md deleted file mode 100644 index a055d21..0000000 --- a/src/danielpinto8zz6.c-cpp-compile-run-1.0.18/node_modules/chalk/readme.md +++ /dev/null @@ -1,341 +0,0 @@ -

-
-
- Chalk -
-
-
-

- -> Terminal string styling done right - -[![Build Status](https://travis-ci.org/chalk/chalk.svg?branch=master)](https://travis-ci.org/chalk/chalk) [![Coverage Status](https://coveralls.io/repos/github/chalk/chalk/badge.svg?branch=master)](https://coveralls.io/github/chalk/chalk?branch=master) [![npm dependents](https://badgen.net/npm/dependents/chalk)](https://www.npmjs.com/package/chalk?activeTab=dependents) [![Downloads](https://badgen.net/npm/dt/chalk)](https://www.npmjs.com/package/chalk) [![](https://img.shields.io/badge/unicorn-approved-ff69b4.svg)](https://www.youtube.com/watch?v=9auOCbH5Ns4) [![XO code style](https://img.shields.io/badge/code_style-XO-5ed9c7.svg)](https://github.com/xojs/xo) ![TypeScript-ready](https://img.shields.io/npm/types/chalk.svg) [![run on repl.it](https://repl.it/badge/github/chalk/chalk)](https://repl.it/github/chalk/chalk) - - - -
- ---- - - - ---- - -
- -## Highlights - -- Expressive API -- Highly performant -- Ability to nest styles -- [256/Truecolor color support](#256-and-truecolor-color-support) -- Auto-detects color support -- Doesn't extend `String.prototype` -- Clean and focused -- Actively maintained -- [Used by ~50,000 packages](https://www.npmjs.com/browse/depended/chalk) as of January 1, 2020 - -## Install - -```console -$ npm install chalk -``` - -## Usage - -```js -const chalk = require('chalk'); - -console.log(chalk.blue('Hello world!')); -``` - -Chalk comes with an easy to use composable API where you just chain and nest the styles you want. - -```js -const chalk = require('chalk'); -const log = console.log; - -// Combine styled and normal strings -log(chalk.blue('Hello') + ' World' + chalk.red('!')); - -// Compose multiple styles using the chainable API -log(chalk.blue.bgRed.bold('Hello world!')); - -// Pass in multiple arguments -log(chalk.blue('Hello', 'World!', 'Foo', 'bar', 'biz', 'baz')); - -// Nest styles -log(chalk.red('Hello', chalk.underline.bgBlue('world') + '!')); - -// Nest styles of the same type even (color, underline, background) -log(chalk.green( - 'I am a green line ' + - chalk.blue.underline.bold('with a blue substring') + - ' that becomes green again!' -)); - -// ES2015 template literal -log(` -CPU: ${chalk.red('90%')} -RAM: ${chalk.green('40%')} -DISK: ${chalk.yellow('70%')} -`); - -// ES2015 tagged template literal -log(chalk` -CPU: {red ${cpu.totalPercent}%} -RAM: {green ${ram.used / ram.total * 100}%} -DISK: {rgb(255,131,0) ${disk.used / disk.total * 100}%} -`); - -// Use RGB colors in terminal emulators that support it. -log(chalk.keyword('orange')('Yay for orange colored text!')); -log(chalk.rgb(123, 45, 67).underline('Underlined reddish color')); -log(chalk.hex('#DEADED').bold('Bold gray!')); -``` - -Easily define your own themes: - -```js -const chalk = require('chalk'); - -const error = chalk.bold.red; -const warning = chalk.keyword('orange'); - -console.log(error('Error!')); -console.log(warning('Warning!')); -``` - -Take advantage of console.log [string substitution](https://nodejs.org/docs/latest/api/console.html#console_console_log_data_args): - -```js -const name = 'Sindre'; -console.log(chalk.green('Hello %s'), name); -//=> 'Hello Sindre' -``` - -## API - -### chalk.`