Skip to content

fix(deps): update module golang.org/x/tools to v0.46.0 (go.mod)#2404

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/go.mod/golang.org-x-tools-0.x
Open

fix(deps): update module golang.org/x/tools to v0.46.0 (go.mod)#2404
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/go.mod/golang.org-x-tools-0.x

Conversation

@renovate

@renovate renovate Bot commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
golang.org/x/tools v0.45.0v0.46.0 age confidence

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot requested a review from a team as a code owner June 11, 2026 23:12
@renovate renovate Bot added the dependencies Pull requests that update a dependency file label Jun 11, 2026
@renovate

renovate Bot commented Jun 11, 2026

Copy link
Copy Markdown
Contributor Author

ℹ️ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 2 additional dependencies were updated

Details:

Package Change
golang.org/x/mod v0.36.0 -> v0.37.0
golang.org/x/sync v0.20.0 -> v0.21.0

@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
Updatedgolang.org/​x/​tools@​v0.45.0 ⏵ v0.46.075 +1100100100100
Updatedgolang.org/​x/​mod@​v0.36.0 ⏵ v0.37.096 +1100100100100

View full report

@socket-security

Copy link
Copy Markdown

Warning

Review the following alerts detected in dependencies.

According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.

Action Severity Alert  (click "▶" to expand/collapse)
Warn High
Obfuscated code: golang golang.org/x/tools is 90.0% likely obfuscated

Confidence: 0.90

Location: Package overview

From: go.modgolang/golang.org/x/tools@v0.46.0

ℹ Read more on: This package | This alert | What is obfuscated code?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Packages should not obfuscate their code. Consider not using packages with obfuscated code.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore golang/golang.org/x/tools@v0.46.0. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

View full report

@greptile-apps

greptile-apps Bot commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

This PR updates the Go module dependency graph for golang.org/x/tools. The main changes are:

  • Bumps root golang.org/x/tools from v0.45.0 to v0.46.0.
  • Updates related golang.org/x module versions in go.sum.
  • Applies the dependency refresh to examples and internal/test modules.

Confidence Score: 4/5

This is close, but the root module metadata should be tidied before merging.

  • The dependency bump is small and limited to module files.
  • The root module keeps an older direct golang.org/x/text requirement while related modules moved forward.
  • A root tidy or test run can rewrite the committed module files.

go.mod and the matching root go.sum entries should be brought in sync.

Important Files Changed

Filename Overview
go.mod Updates root x/tools-related dependencies but leaves the direct x/text requirement behind the refreshed submodule graph.
examples/go.mod Refreshes indirect golang.org/x dependencies for the examples module.
internal/test/go.mod Refreshes indirect golang.org/x dependencies for the internal test module.

Reviews (1): Last reviewed commit: "fix(deps): update module golang.org/x/to..." | Re-trigger Greptile

Comment thread go.mod
Comment on lines +10 to +12
golang.org/x/mod v0.37.0
golang.org/x/text v0.37.0
golang.org/x/tools v0.45.0
golang.org/x/tools v0.46.0

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

P2 Update text dependency The root module still directly requires golang.org/x/text v0.37.0, while the updated dependency graph in examples and internal/test now selects v0.38.0. Since root code imports golang.org/x/text/cases and golang.org/x/text/language, running tidy or tests in the root module can rewrite go.mod and go.sum, leaving this PR with inconsistent module metadata.

Suggested change
golang.org/x/mod v0.37.0
golang.org/x/text v0.37.0
golang.org/x/tools v0.45.0
golang.org/x/tools v0.46.0
golang.org/x/mod v0.37.0
golang.org/x/text v0.38.0
golang.org/x/tools v0.46.0

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

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants