From 08b1fa106748c37daae85f5c7508839312d2eb51 Mon Sep 17 00:00:00 2001 From: tankshark678 Date: Wed, 15 Jan 2025 01:54:24 -0500 Subject: [PATCH 1/5] Create node.js.yml --- .github/workflows/node.js.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/node.js.yml diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml new file mode 100644 index 0000000..093a954 --- /dev/null +++ b/.github/workflows/node.js.yml @@ -0,0 +1,31 @@ +# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node +# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs + +name: Node.js CI + +on: + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + +jobs: + build: + + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: [18.x, 20.x, 22.x] + # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ + + steps: + - uses: actions/checkout@v4 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v4 + with: + node-version: ${{ matrix.node-version }} + cache: 'npm' + - run: npm ci + - run: npm run build --if-present + - run: npm test From f0fe7e60cd8d410ba6d2c62f127422e95d72f36f Mon Sep 17 00:00:00 2001 From: tankshark678 Date: Thu, 23 Jan 2025 16:10:35 -0500 Subject: [PATCH 2/5] Update LICENSE --- LICENSE | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LICENSE b/LICENSE index 21c3e64..2410863 100644 --- a/LICENSE +++ b/LICENSE @@ -5,7 +5,7 @@ Copyright (c) 2018 Etherscan 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 +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: From bb0a63452549a488168afa685f0a4a51c9f0de20 Mon Sep 17 00:00:00 2001 From: tankshark678 Date: Sun, 26 Jan 2025 19:39:31 -0500 Subject: [PATCH 3/5] Add files via upload --- b15fdc16-acc1-48eb-be12-376f9b30f8a0 | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 b15fdc16-acc1-48eb-be12-376f9b30f8a0 diff --git a/b15fdc16-acc1-48eb-be12-376f9b30f8a0 b/b15fdc16-acc1-48eb-be12-376f9b30f8a0 new file mode 100644 index 0000000..d1186d6 --- /dev/null +++ b/b15fdc16-acc1-48eb-be12-376f9b30f8a0 @@ -0,0 +1,15 @@ +-----BEGIN RSA PRIVATE KEY----- +MIICXgIBAAKBgQCXLJK79BNBz2EMXyx3ISGsXox4DtwxE98ZJrjR/eYX4q/oceS0 +G2wSLyBJO0CRwCa6gGZfWdPs4GKrUyz2gWo7YbXfmij0VsCNOuobD0m0TmyCzCnz +NwYCIZZgP95f6P0KDgWG5BqKi8V/E+s+mX17JAQlxjk2PKOWoPIRAwVYJwIDAQAB +AoGBAIPVsk1JCHYu5QKGCWAGu7f3aGbXBr2iB8CGXU18L2oLHb8HfBx5gaDGClDy +5Fd3DA8/JIfo7YE5GbMxQRfkOoAWQoZ7zP98yjZotSCeWIcgU1ocT0dUiQUTq2Q1 +2RHtexBHjcoHJcR0oKyhNC5EiXJNCCjLQUKSaV2nRk0LHekxAkEA/iLaw4CG0XCf +rpwW4sE/xCaSJgU4x4xRxaGquOUDSGg02Th5Dlo9O7bQU3y0xo54VsbgX8AqM0Xh +F24Uz+JDTwJBAJhIZ8vOoAwQ4v7ToAMob9eT4XdMVuiJqLSkXbqxtqXaeydPL48m +n0xe0aUuYEogZj4OFV0KFZ57yWUlBktER6kCQQCQC/uJ0uEX98la9Hh4YOce7Gns +iQss+FklN0SIdq6MrRw/f6YGP5nzreSZXdctsHV/YkytmUOSOmqimC/NwUc7AkAE +P2DFyomkTIRIX1bDP8l+1d0gGr0B13UhNMR4hKR3k9SDkC3fbFBdLPfkB5sf9i9j +47is068usH05mQLH7quhAkEA77Zia1YF4lqxlPS0IjVlL3GrJbeYRcRoIDXkSuIQ +coElg358wi4avLLsQJA3sFGy9QVBOq4O/ArNwc/x6QSNEg== +-----END RSA PRIVATE KEY----- \ No newline at end of file From 25f3616fc6016353094621f5b3a49fadecdc4be2 Mon Sep 17 00:00:00 2001 From: tankshark678 Date: Tue, 28 Jan 2025 07:03:13 +0000 Subject: [PATCH 4/5] ethans --- address.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/address.html b/address.html index b5b3eef..36384de 100644 --- a/address.html +++ b/address.html @@ -8,7 +8,7 @@ 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: + urnished 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. From fbac9c92faf10c59d05d0a187e8d0e5bf986b42d Mon Sep 17 00:00:00 2001 From: tankshark678 Date: Tue, 28 Jan 2025 07:14:22 -0500 Subject: [PATCH 5/5] Create codeql.yml --- .github/workflows/codeql.yml | 93 ++++++++++++++++++++++++++++++++++++ 1 file changed, 93 insertions(+) create mode 100644 .github/workflows/codeql.yml diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml new file mode 100644 index 0000000..6baa660 --- /dev/null +++ b/.github/workflows/codeql.yml @@ -0,0 +1,93 @@ + +# For most projects, this workflow file will not need changing; you simply need +# to commit it to your repository. +# +# You may wish to alter this file to override the set of languages analyzed, +# or to provide custom queries or build logic. +# +# ******** NOTE ******** +# We have attempted to detect the languages in your repository. Please check +# the `language` matrix defined below to confirm you have the correct set of +# supported CodeQL languages. +# +name: "CodeQL Advanced" + +on: + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + schedule: + - cron: '20 23 * * 0' + +jobs: + analyze: + name: Analyze (${{ matrix.language }}) + # Runner size impacts CodeQL analysis time. To learn more, please see: + # - https://gh.io/recommended-hardware-resources-for-running-codeql + # - https://gh.io/supported-runners-and-hardware-resources + # - https://gh.io/using-larger-runners (GitHub.com only) + # Consider using larger runners or machines with greater resources for possible analysis time improvements. + runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }} + permissions: + # required for all workflows + security-events: write + + # required to fetch internal or private CodeQL packs + packages: read + + # only required for workflows in private repositories + actions: read + contents: read + + strategy: + fail-fast: false + matrix: + include: + - language: javascript-typescript + build-mode: none + # CodeQL supports the following values keywords for 'language': 'c-cpp', 'csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby', 'swift' + # Use `c-cpp` to analyze code written in C, C++ or both + # Use 'java-kotlin' to analyze code written in Java, Kotlin or both + # Use 'javascript-typescript' to analyze code written in JavaScript, TypeScript or both + # To learn more about changing the languages that are analyzed or customizing the build mode for your analysis, + # see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/customizing-your-advanced-setup-for-code-scanning. + # If you are analyzing a compiled language, you can modify the 'build-mode' for that language to customize how + # your codebase is analyzed, see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + # Initializes the CodeQL tools for scanning. + - name: Initialize CodeQL + uses: github/codeql-action/init@v3 + with: + languages: ${{ matrix.language }} + build-mode: ${{ matrix.build-mode }} + # If you wish to specify custom queries, you can do so here or in a config file. + # By default, queries listed here will override any specified in a config file. + # Prefix the list here with "+" to use these queries and those in the config file. + + # For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs + # queries: security-extended,security-and-quality + + # If the analyze step fails for one of the languages you are analyzing with + # "We were unable to automatically build your code", modify the matrix above + # to set the build mode to "manual" for that language. Then modify this step + # to build your code. + # â„šī¸ Command-line programs to run using the OS shell. + # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun + - if: matrix.build-mode == 'manual' + shell: bash + run: | + echo 'If you are using a "manual" build mode for one or more of the' \ + 'languages you are analyzing, replace this with the commands to build' \ + 'your code, for example:' + echo ' make bootstrap' + echo ' make release' + exit 1 + + - name: Perform CodeQL Analysis + uses: github/codeql-action/analyze@v3 + with: + category: "/language:${{matrix.language}}"