Skip to content

chore(deps): bump mattn terminal family and fatih/color#48

Open
moralpriest wants to merge 1 commit into
DEROFDN:community-devfrom
moralpriest:chore/deps/terminal-family-v0.0.20-v1.18.0
Open

chore(deps): bump mattn terminal family and fatih/color#48
moralpriest wants to merge 1 commit into
DEROFDN:community-devfrom
moralpriest:chore/deps/terminal-family-v0.0.20-v1.18.0

Conversation

@moralpriest

Copy link
Copy Markdown

Summary

Vendored dependency bumps (prep for eventual Go toolchain bump). Terminal I/O family used by dero-wallet-cli / readline and color output:

  • github.com/mattn/go-isatty: v0.0.20 (go 1.15)
  • github.com/mattn/go-colorable: v0.1.13 (go 1.15)
  • github.com/mattn/go-runewidth: v0.0.16 (go 1.9)
  • github.com/fatih/color: v1.18.0 (go 1.17, latest go<=1.17)

fatih/color depends on mattn/go-colorable + mattn/go-isatty, so all three bump together.

Used by: readline (terminal width / isatty detection) and walletapi/balance_decoder.go (isatty). All go <= 1.17 — clean standalone PRs.

Verification

  • go build ./... green; all cmd binaries build (derod, dero-wallet-cli, dero-miner, explorer, simulator, pong_server).
  • go test ./...: the only failure is Test_Payload_TX (walletapi/tx_payload_test.go:168 Failed receiver balance check) — pre-existing, reproduced identically on a clean community-dev worktree. Terminal deps (color/isatty/runewidth) do not affect TX balance math.

Follow-ups

Remaining go<=1.17 vendored-dep candidates: bbolt, cbor, metrics (VictoriaMetrics+histogram), env, go-colorful, pkg/profile, kcp-go, robfig/cron. (cespare/xxhash deferred as consensus-critical; tjfoc/gmsm unused; blang/semver + go.uber.org/atomic already at latest; go-logr/zapr deferred until logr v1.2.4 / PR #46 lands.)

Vendored dependency bumps (prep for eventual Go toolchain bump).

- github.com/mattn/go-isatty: v0.0.20 (go 1.15)
- github.com/mattn/go-colorable: v0.1.13 (go 1.15)
- github.com/mattn/go-runewidth: v0.0.16 (go 1.9)
- github.com/fatih/color: v1.18.0 (go 1.17, latest go<=1.17)
  fatih/color couples the three mattn deps, so they bump together.

Used by: dero-wallet-cli / readline (terminal width, color output,
isatty detection in walletapi/balance_decoder.go).

Verification:
- go build ./... green; all cmd binaries build
  (derod, dero-wallet-cli, dero-miner, explorer, simulator, pong_server)
- go test ./...: only pre-existing failure Test_Payload_TX
  (walletapi tx_payload_test.go:168 Failed receiver balance check) —
  reproduced identically on clean community-dev worktree. Unrelated to
  terminal deps (color/isatty/runewidth do not affect TX balance math).
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