Skip to content

chore: batch dependabot dependency updates#370

Merged
andreabadesso merged 6 commits into
masterfrom
chore/batch-dependabot-updates
Apr 20, 2026
Merged

chore: batch dependabot dependency updates#370
andreabadesso merged 6 commits into
masterfrom
chore/batch-dependabot-updates

Conversation

@andreabadesso
Copy link
Copy Markdown
Collaborator

@andreabadesso andreabadesso commented Feb 25, 2026

Summary

Consolidates 30 open Dependabot PRs into a single update.

Direct dependency bumps

Package From To Location
axios 0.21.1 1.13.5 packages/wallet-service
axios 1.6.2 1.13.5 packages/daemon
eslint ^8.57.0 ^9.26.0 root
jsonwebtoken 8.5.1 9.0.0 packages/wallet-service
lodash 4.17.21 4.17.23 packages/daemon, packages/wallet-service
mysql2 ^3.9.3 ^3.9.8 root
mysql2 2.2.5 3.9.8 packages/wallet-service
mysql2 3.5.2 3.9.8 packages/daemon
webpack 5.88.2 5.104.1 packages/wallet-service
ws 8.13.0 8.17.1 packages/daemon

Transitive dependency updates (via yarn.lock regeneration)

qs, diff, jws, node-forge, sha.js, tar-fs, js-yaml, base-x, @babel/helpers, serialize-javascript, elliptic, cross-spawn, secp256k1, tar, jose, es5-ext, ip, @babel/traverse, validator

Closes Dependabot PRs

#368, #366, #365, #364, #361, #353, #348, #347, #345, #344, #328, #323, #318, #316, #315, #314, #258, #220, #215, #214, #197, #191, #188, #187, #157, #142, #139, #126, #124, #123

Test plan

  • Verify CI passes
  • Spot-check major version bumps: axios (0.x → 1.x in wallet-service), mysql2 (2.x → 3.x in wallet-service), jsonwebtoken (8.x → 9.x)

Summary by CodeRabbit

  • Chores
    • Updated and pinned multiple development and runtime dependency versions across the project.
  • Refactor
    • Simplified internal API request handling by removing redundant request options.
  • Tests
    • Tightened a unit test assertion to reflect the simplified API call signature.

Consolidates 30 dependabot PRs into a single update:

Direct dependency bumps:
- axios: 0.21.1 → 1.13.5 (wallet-service), 1.6.2 → 1.13.5 (daemon)
- eslint: ^8.57.0 → ^9.26.0 (root)
- jsonwebtoken: 8.5.1 → 9.0.0 (wallet-service)
- lodash: 4.17.21 → 4.17.23 (daemon, wallet-service)
- mysql2: ^3.9.3 → ^3.9.8 (root), 2.2.5 → 3.9.8 (wallet-service), 3.5.2 → 3.9.8 (daemon)
- webpack: 5.88.2 → 5.104.1 (wallet-service)
- ws: 8.13.0 → 8.17.1 (daemon)

Transitive dependency updates via yarn.lock regeneration:
qs, diff, jws, node-forge, sha.js, tar-fs, js-yaml, base-x,
@babel/helpers, serialize-javascript, elliptic, cross-spawn,
secp256k1, tar, jose, es5-ext, ip, @babel/traverse, validator

Closes #368, #366, #365, #364, #361, #353, #348, #347, #345, #344
Closes #328, #323, #318, #316, #315, #314, #258, #220, #215, #214
Closes #197, #191, #188, #187, #157, #142, #139, #126, #124, #123

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@andreabadesso andreabadesso self-assigned this Feb 25, 2026
@andreabadesso andreabadesso moved this from Todo to In Progress (WIP) in Hathor Network Feb 25, 2026
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 14, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: d3057bf5-2a79-426e-8d5c-0d43002375ee

📥 Commits

Reviewing files that changed from the base of the PR and between 7d3021e and 5002f4e.

⛔ Files ignored due to path filters (1)
  • yarn.lock is excluded by !**/yarn.lock, !**/*.lock
📒 Files selected for processing (2)
  • package.json
  • packages/wallet-service/tests/commons.test.ts
🚧 Files skipped from review as they are similar to previous changes (1)
  • package.json

📝 Walkthrough

Walkthrough

Updates pinned dependency versions across root and workspace package.json files and simplifies axios GET calls in the wallet-service fullnode client by removing redundant request options; a test assertion was also tightened to expect a single-argument call.

Changes

Cohort / File(s) Summary
Root package
package.json
Pinned and updated multiple devDependencies and dependencies (eslint, @typescript-eslint/*, eslint-plugin-jest, mysql2, dotenv, bip32, bitcoinjs-lib, bitcoinjs-message, jest, tiny-secp256k1, etc.).
Daemon package
packages/daemon/package.json
Bumped runtime deps: axios, lodash, mysql2, ws. No functional changes.
Wallet-service deps
packages/wallet-service/package.json
Updated runtime and dev deps: axios, jsonwebtoken, lodash, mysql2, webpack.
Axios request simplification
packages/wallet-service/src/fullnode.ts
Removed redundant axios GET options (e.g., data: null, per-request headers) across multiple functions; request/response handling unchanged.
Test adjustment
packages/wallet-service/tests/commons.test.ts
Tightened spy assertion to expect a single 'version' argument for fullnode.api.get calls.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Suggested reviewers

  • pedroferreira1
  • luislhl
  • raul-oliveira

Poem

🐇 I hopped through package lines today,
Pinning versions on my way.
Axios trims its extra fluff,
Tests now check a call — that's enough. ✨

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately describes the main change: consolidating 30 Dependabot PRs into a single batch dependency update across multiple packages.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/batch-dependabot-updates

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

axios 1.x no longer silently ignores `data: null` on GET requests —
it serializes null as the string "null" and sends it as the request
body with the `content-type: application/json` header, which the
fullnode rejects. The result was txProposalCreate returning 500 in
tests that rely on a real fullnode call.

Removed the redundant `data: null` and content-type headers from
all `.get()` calls in fullnode.ts. GETs should not carry bodies.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copy link
Copy Markdown

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@package.json`:
- Line 24: The package.json upgrade to "eslint": "^9.26.0" is incompatible with
the currently pinned "@typescript-eslint/eslint-plugin" and
"@typescript-eslint/parser" at "^7.4.0"; update both
"@typescript-eslint/eslint-plugin" and "@typescript-eslint/parser" to a
v8-compatible range (e.g. "^8.0.0" or "^8.x") so they support ESLint 9, then run
your package manager to update the lockfile (npm/yarn/pnpm) and verify linting
passes; ensure you change the two package entries named
"@typescript-eslint/eslint-plugin" and "@typescript-eslint/parser" in
package.json accordingly.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 0b3149c8-aec2-407f-95cc-a82c348e5938

📥 Commits

Reviewing files that changed from the base of the PR and between 179abcd and 7d3021e.

⛔ Files ignored due to path filters (1)
  • yarn.lock is excluded by !**/yarn.lock, !**/*.lock
📒 Files selected for processing (4)
  • package.json
  • packages/daemon/package.json
  • packages/wallet-service/package.json
  • packages/wallet-service/src/fullnode.ts

Comment thread package.json Outdated
The axios 1.x compat fix removed the `{data: null, headers: ...}`
config object from fullnode.api.get('version'). Update the test
assertion accordingly.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…compat

Per CodeRabbit review on this PR: root's eslint bump to ^9.26.0 left
@typescript-eslint/eslint-plugin and @typescript-eslint/parser at ^7.4.0,
which only supports ESLint 7/8. Bumped both to ^8.0.0. eslint-plugin-jest
^27.9.0 also pins typescript-eslint at ^5-7; bumped it to ^28.0.0 so it
aligns with the typescript-eslint 8 line.

Lint isn't wired into CI today, so this was warning-level (peer-dep
advisories from yarn), but a future \`yarn lint\` would have failed until
these ranges matched.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@andreabadesso andreabadesso moved this from In Progress (WIP) to In Progress (Done) in Hathor Network Apr 14, 2026
Removes caret ranges from the root package.json so every dep is locked
to the version yarn currently resolves — no silent minor/patch drift
on fresh installs. Versions taken from yarn.lock:

- @typescript-eslint/eslint-plugin ^8.0.0 -> 8.58.2
- @typescript-eslint/parser ^8.0.0 -> 8.58.2
- dotenv ^16.4.5 -> 16.4.5
- eslint ^9.26.0 -> 9.39.4
- eslint-config-airbnb-base ^15.0.0 -> 15.0.0
- eslint-plugin-import ^2.29.1 -> 2.29.1
- eslint-plugin-jest ^28.0.0 -> 28.14.0
- mysql2 ^3.9.8 -> 3.22.0
- sequelize ^6.37.2 -> 6.37.2
- sequelize-cli ^6.6.2 -> 6.6.2
- typescript ^5.8.2 -> 5.8.2
- bip32 ^4.0.0 -> 4.0.0
- bitcoinjs-lib ^6.1.5 -> 6.1.5
- bitcoinjs-message ^2.2.0 -> 2.2.0
- jest ^29.7.0 -> 29.7.0
- tiny-secp256k1 ^2.2.3 -> 2.2.3

Matches the existing pinning style used for @aws-sdk/*, @hathor/wallet-lib,
@wallet-service/common, and winston.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@luislhl luislhl self-requested a review April 14, 2026 22:04
@github-project-automation github-project-automation Bot moved this from In Progress (Done) to In Review (WIP) in Hathor Network Apr 17, 2026
@luislhl luislhl requested review from luislhl and tuliomir and removed request for luislhl and tuliomir April 20, 2026 18:36
@andreabadesso andreabadesso moved this from In Review (WIP) to In Review (Done) in Hathor Network Apr 20, 2026
@andreabadesso andreabadesso merged commit 514daff into master Apr 20, 2026
3 checks passed
@github-project-automation github-project-automation Bot moved this from In Review (Done) to Waiting to be deployed in Hathor Network Apr 20, 2026
@andreabadesso andreabadesso deleted the chore/batch-dependabot-updates branch April 20, 2026 20:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Waiting to be deployed

Development

Successfully merging this pull request may close these issues.

3 participants