Skip to content

chore: Additional minor depends cleanup#1396

Open
pxrl wants to merge 2 commits intomasterfrom
pxrl/dependsMinor
Open

chore: Additional minor depends cleanup#1396
pxrl wants to merge 2 commits intomasterfrom
pxrl/dependsMinor

Conversation

@pxrl
Copy link
Copy Markdown
Contributor

@pxrl pxrl commented Apr 2, 2026

  • Migrate misallocated packages between dependencies & devDependencies. Most become devDependencies, with the exception of ethers, which is actually exported.
  • Migrate the safe utils implementation somewhere that it won't be exported beyond this repo.

- Migrate misallocated packages between dependencies & devDependencies.
  Most become devDependencies, with the exception of ethers, which is
  actually exported.
- Migrate the safe utils implementation somewhere that it won't be
  exported beyond this repo.
@pxrl
Copy link
Copy Markdown
Contributor Author

pxrl commented Apr 2, 2026

@codex review

@socket-security
Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addednpm/​tronweb@​6.2.29510010092100

View full report

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: c585a1186d

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

"pretty-quick": "^4.2.2",
"solhint": "^3.6.2",
"ts-mocha": "^10.0.0",
"tronweb": "^6.2.0",
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Update lockfile after adding tronweb dependency

Adding tronweb as a top-level dependency without a matching yarn.lock update will break installs in environments that enforce lockfile immutability. In this repo, multiple CI jobs run yarn install --frozen-lockfile --ignore-optional (for example .github/workflows/pr.yml lines 89, 127, 181, and 205), so the install step cannot regenerate missing lock entries and will fail until the lockfile includes tronweb.

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@codex Are you sure about this? tronweb was already installed as a full dependency and has now been migrated to a devDependency.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Summary

  • Addressed the PR thread concern by removing the accidental tronweb entry from devDependencies in package.json (it is no longer listed between ts-mocha and ts-node). package.jsonL102-L105
  • Removed the corresponding tronweb@^6.2.0 lockfile block so yarn.lock matches the manifest and no longer contains a tronweb entry at that location. yarn.lockL4825-L4833
  • Committed the follow-up change on the current branch as 8bf2cdb and created a follow-up PR via the make_pr tool titled “follow-up: drop accidental tronweb dependency from cleanup PR”.

Testing

  • rg -n "tronweb" package.json yarn.lock (used to verify/remove all tronweb references before final commit).
  • yarn install --frozen-lockfile --ignore-optional (fails in this environment because the active Yarn version does not support --ignore-optional).
  • ⚠️ yarn install --immutable (fails due to existing repo/tooling mismatch and immutable lockfile constraints, not due to this change).

View task →

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant