Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove x/crypto package, use x/term #137

Merged
merged 2 commits into from
Oct 13, 2023
Merged

Remove x/crypto package, use x/term #137

merged 2 commits into from
Oct 13, 2023

Conversation

masad-frost
Copy link
Member

@masad-frost masad-frost commented Oct 13, 2023

Supercedes #97

What changed

  • Switch to using term package instead of terminal inside crypto
  • Remove crypto package since it's not used anywhere

Test plan

  • upm search -l nodejs-npm --format table leftpad
  • works and has the right terminal width

go.mod Outdated
@@ -12,8 +12,8 @@ require (
github.com/smacker/go-tree-sitter v0.0.0-20230501083651-a7d92773b3aa
github.com/spf13/cobra v0.0.5
github.com/stretchr/testify v1.8.1
golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9
golang.org/x/net v0.5.0
golang.org/x/crypto v0.14.0
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think we can remove x/crypto after this. It only was used in table.go.

Copy link
Member Author

Choose a reason for hiding this comment

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

Oh, for some reason I thought crypto/md5 comes from that, but it's part of standard lib. Will fix, nice catch.

@masad-frost masad-frost changed the title Bump crypto package Remove crypto package Oct 13, 2023
@masad-frost masad-frost changed the title Remove crypto package Remove x/crypto package, use x/term Oct 13, 2023
Base automatically changed from fm-upm-on-replit-fix to main October 13, 2023 22:54
@masad-frost masad-frost enabled auto-merge (squash) October 13, 2023 23:07
@masad-frost masad-frost merged commit 94c8123 into main Oct 13, 2023
1 check passed
@masad-frost masad-frost deleted the fm-update-crypto branch October 13, 2023 23:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants