From b78419c18fb41b2000738f971b4c8fa97da730c3 Mon Sep 17 00:00:00 2001 From: AU_gdev_19 <64915515+Dargon789@users.noreply.github.com> Date: Sat, 12 Jul 2025 09:25:11 +0700 Subject: [PATCH 1/6] fix: package.json to reduce vulnerabilities (#14) The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-BRACEEXPANSION-9789073 Co-authored-by: snyk-bot --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index d4ac0072..d7c0fe41 100644 --- a/package.json +++ b/package.json @@ -82,7 +82,7 @@ "@typescript-eslint/parser": "^5.16.0", "axios-mock-adapter": "^1.22.0", "dotenv": "^16.0.3", - "eslint": "^8.11.0", + "eslint": "^9.0.0", "eslint-plugin-import": "^2.25.4", "eslint-plugin-unused-imports": "^2.0.0", "husky": "^7.0.0", From 1b342d14bac22d24b097a4a41629c4daa0e906a1 Mon Sep 17 00:00:00 2001 From: AU_gdev_19 <64915515+Dargon789@users.noreply.github.com> Date: Sun, 13 Jul 2025 14:10:01 +0700 Subject: [PATCH 2/6] fix: package.json to reduce vulnerabilities (#13) The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-AXIOS-9292519 - https://snyk.io/vuln/SNYK-JS-AXIOS-9403194 - https://snyk.io/vuln/SNYK-JS-BRACEEXPANSION-9789073 - https://snyk.io/vuln/SNYK-JS-TARFS-10293725 - https://snyk.io/vuln/SNYK-JS-JSON5-3182856 - https://snyk.io/vuln/SNYK-JS-ELLIPTIC-8720086 - https://snyk.io/vuln/SNYK-JS-BABELTRAVERSE-5962462 - https://snyk.io/vuln/SNYK-JS-BRACES-6838727 - https://snyk.io/vuln/SNYK-JS-CROSSSPAWN-8303230 - https://snyk.io/vuln/SNYK-JS-SEMVER-3247795 - https://snyk.io/vuln/SNYK-JS-BABELHELPERS-9397697 - https://snyk.io/vuln/SNYK-JS-MICROMATCH-6838728 Co-authored-by: snyk-bot --- package.json | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/package.json b/package.json index d7c0fe41..422e5933 100644 --- a/package.json +++ b/package.json @@ -57,7 +57,7 @@ "homepage": "https://github.com/alchemyplatform/alchemy-sdk-js#readme", "dependencies": { "@ethersproject/abi": "^5.7.0", - "@ethersproject/abstract-provider": "^5.7.0", + "@ethersproject/abstract-provider": "^5.8.0", "@ethersproject/bignumber": "^5.7.0", "@ethersproject/bytes": "^5.7.0", "@ethersproject/contracts": "^5.7.0", @@ -65,17 +65,17 @@ "@ethersproject/networks": "^5.7.0", "@ethersproject/providers": "^5.7.0", "@ethersproject/units": "^5.7.0", - "@ethersproject/wallet": "^5.7.0", + "@ethersproject/wallet": "^5.8.0", "@ethersproject/web": "^5.7.0", "@solana/web3.js": "^1.87.6", - "axios": "^1.7.4", + "axios": "^1.8.3", "sturdy-websocket": "^0.2.1", "websocket": "^1.0.34" }, "devDependencies": { - "@rollup/plugin-commonjs": "^22.0.0", + "@rollup/plugin-commonjs": "^28.0.0", "@rollup/plugin-node-resolve": "^13.3.0", - "@size-limit/preset-big-lib": "^7.0.8", + "@size-limit/preset-big-lib": "^11.0.1", "@trivago/prettier-plugin-sort-imports": "^3.3.1", "@types/jest": "^27.4.1", "@typescript-eslint/eslint-plugin": "^5.16.0", @@ -86,8 +86,8 @@ "eslint-plugin-import": "^2.25.4", "eslint-plugin-unused-imports": "^2.0.0", "husky": "^7.0.0", - "jest": "^27.5.1", - "lint-staged": "^12.3.7", + "jest": "^30.0.0", + "lint-staged": "^16.0.0", "mock-socket": "^9.1.4", "prettier": "2.6.0", "prettier-plugin-jsdoc": "^0.3.38", From 1b792eac9b8a31a1b7ffb715f2fee682d7f28285 Mon Sep 17 00:00:00 2001 From: AU_gdev_19 <64915515+Dargon789@users.noreply.github.com> Date: Sun, 13 Jul 2025 14:33:03 +0700 Subject: [PATCH 3/6] Update config.yml (#15) Signed-off-by: AU_gdev_19 <64915515+Dargon789@users.noreply.github.com> From 9ac31254021b0ed78ef65391e925657289c7a0e3 Mon Sep 17 00:00:00 2001 From: AU_gdev_19 <64915515+Dargon789@users.noreply.github.com> Date: Sun, 13 Jul 2025 15:05:02 +0700 Subject: [PATCH 4/6] Add .circleci/config.yml --- .circleci/config.yml | 43 ++++++++++++++++++------------------------- 1 file changed, 18 insertions(+), 25 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 78376151..62291703 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,38 +1,31 @@ # Use the latest 2.1 version of CircleCI pipeline process engine. -# See: https://circleci.com/docs/2.0/configuration-reference +# See: https://circleci.com/docs/configuration-reference version: 2.1 # Define a job to be invoked later in a workflow. -# See: https://circleci.com/docs/2.0/configuration-reference/#jobs +# See: https://circleci.com/docs/jobs-steps/#jobs-overview & https://circleci.com/docs/configuration-reference/#jobs jobs: - test: - # Specify the execution environment. You can specify an image from Dockerhub or use one of our Convenience Images from CircleCI's Developer Hub. - # See: https://circleci.com/docs/2.0/configuration-reference/#docker-machine-macos-windows-executor + say-hello: + # Specify the execution environment. You can specify an image from Docker Hub or use one of our convenience images from CircleCI's Developer Hub. + # See: https://circleci.com/docs/executor-intro/ & https://circleci.com/docs/configuration-reference/#executor-job docker: - - image: cimg/node:lts + # Specify the version you desire here + # See: https://circleci.com/developer/images/image/cimg/base + - image: cimg/base:current + # Add steps to the job - # See: https://circleci.com/docs/2.0/configuration-reference/#steps + # See: https://circleci.com/docs/jobs-steps/#steps-overview & https://circleci.com/docs/configuration-reference/#steps steps: + # Checkout the code as the first step. - checkout - - restore_cache: - name: Restore Yarn package cache - keys: - - yarn-packages-{{ checksum "yarn.lock" }} - - run: - name: Install dependencies - command: 'yarn --frozen-lockfile' - - save_cache: - name: Save Yarn package cache - key: yarn-packages-{{ checksum "yarn.lock" }} - paths: - - ~/.cache/yarn - run: - name: Run tests - command: 'yarn test' + name: "Say hello" + command: "echo Hello, World!" -# Invoke jobs via workflows -# See: https://circleci.com/docs/2.0/configuration-reference/#workflows +# Orchestrate jobs using workflows +# See: https://circleci.com/docs/workflows/ & https://circleci.com/docs/configuration-reference/#workflows workflows: - workflow: + say-hello-workflow: # This is the name of the workflow, feel free to change it to better match your workflow. + # Inside the workflow, you define the jobs you want to run. jobs: - - test + - say-hello \ No newline at end of file From 47f48bb3825391298f517356b57dadb61b51f18a Mon Sep 17 00:00:00 2001 From: AU_gdev_19 <64915515+Dargon789@users.noreply.github.com> Date: Sun, 13 Jul 2025 15:14:55 +0700 Subject: [PATCH 5/6] Updated config.yml --- .circleci/config.yml | 38 +++++++++++++++----------------------- 1 file changed, 15 insertions(+), 23 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 62291703..7f9e4964 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,31 +1,23 @@ -# Use the latest 2.1 version of CircleCI pipeline process engine. -# See: https://circleci.com/docs/configuration-reference version: 2.1 - -# Define a job to be invoked later in a workflow. -# See: https://circleci.com/docs/jobs-steps/#jobs-overview & https://circleci.com/docs/configuration-reference/#jobs -jobs: - say-hello: - # Specify the execution environment. You can specify an image from Docker Hub or use one of our convenience images from CircleCI's Developer Hub. - # See: https://circleci.com/docs/executor-intro/ & https://circleci.com/docs/configuration-reference/#executor-job +executors: + my-custom-executor: docker: - # Specify the version you desire here - # See: https://circleci.com/developer/images/image/cimg/base - - image: cimg/base:current + - image: cimg/base:stable + auth: + # ensure you have first added these secrets + # visit app.circleci.com/settings/project/github/Dargon789/alchemy-sdk-js/environment-variables + username: $DOCKER_HUB_USER + password: $DOCKER_HUB_PASSWORD +jobs: + my-job-name: - # Add steps to the job - # See: https://circleci.com/docs/jobs-steps/#steps-overview & https://circleci.com/docs/configuration-reference/#steps + executor: my-custom-executor steps: - # Checkout the code as the first step. - checkout - - run: - name: "Say hello" - command: "echo Hello, World!" + - run: | + # echo Hello, World! -# Orchestrate jobs using workflows -# See: https://circleci.com/docs/workflows/ & https://circleci.com/docs/configuration-reference/#workflows workflows: - say-hello-workflow: # This is the name of the workflow, feel free to change it to better match your workflow. - # Inside the workflow, you define the jobs you want to run. + my-custom-workflow: jobs: - - say-hello \ No newline at end of file + - my-job-name \ No newline at end of file From 74173cf5e4d296cf4a93d3b43d9f478ba950826c Mon Sep 17 00:00:00 2001 From: AU_gdev_19 <64915515+Dargon789@users.noreply.github.com> Date: Sun, 13 Jul 2025 15:26:34 +0700 Subject: [PATCH 6/6] Updated config.yml --- .circleci/config.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 7f9e4964..aae345f5 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,3 +1,6 @@ +# Use the latest 2.1 version of CircleCI pipeline process engine. +# See: https://circleci.com/docs/configuration-reference + version: 2.1 executors: my-custom-executor: @@ -5,11 +8,11 @@ executors: - image: cimg/base:stable auth: # ensure you have first added these secrets - # visit app.circleci.com/settings/project/github/Dargon789/alchemy-sdk-js/environment-variables + # visit app.circleci.com/settings/project/github/Dargon789/hardhat-project/environment-variables username: $DOCKER_HUB_USER password: $DOCKER_HUB_PASSWORD jobs: - my-job-name: + web3-defi-game-project-: executor: my-custom-executor steps: @@ -20,4 +23,4 @@ jobs: workflows: my-custom-workflow: jobs: - - my-job-name \ No newline at end of file + - web3-defi-game-project- \ No newline at end of file