Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: fatih/color
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.12.0
Choose a base ref
...
head repository: fatih/color
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.13.0
Choose a head ref
  • 8 commits
  • 3 files changed
  • 3 contributors

Commits on May 27, 2021

  1. Bump github.com/mattn/go-isatty from 0.0.12 to 0.0.13

    Bumps [github.com/mattn/go-isatty](https://github.com/mattn/go-isatty) from 0.0.12 to 0.0.13.
    - [Release notes](https://github.com/mattn/go-isatty/releases)
    - [Commits](mattn/go-isatty@v0.0.12...v0.0.13)
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored May 27, 2021
    Copy the full SHA
    351c3d7 View commit details

Commits on Jul 19, 2021

  1. Merge pull request #140 from fatih/dependabot/go_modules/github.com/m…

    …attn/go-isatty-0.0.13
    
    Bump github.com/mattn/go-isatty from 0.0.12 to 0.0.13
    fatih authored Jul 19, 2021
    Copy the full SHA
    30388e0 View commit details

Commits on Sep 8, 2021

  1. Bump github.com/mattn/go-isatty from 0.0.13 to 0.0.14

    Bumps [github.com/mattn/go-isatty](https://github.com/mattn/go-isatty) from 0.0.13 to 0.0.14.
    - [Release notes](https://github.com/mattn/go-isatty/releases)
    - [Commits](mattn/go-isatty@v0.0.13...v0.0.14)
    
    ---
    updated-dependencies:
    - dependency-name: github.com/mattn/go-isatty
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Sep 8, 2021
    Copy the full SHA
    ab503e9 View commit details
  2. Merge pull request #144 from fatih/dependabot/go_modules/github.com/m…

    …attn/go-isatty-0.0.14
    
    Bump github.com/mattn/go-isatty from 0.0.13 to 0.0.14
    fatih authored Sep 8, 2021
    Copy the full SHA
    063d636 View commit details
  3. Copy the full SHA
    65d7546 View commit details
  4. Merge pull request #145 from DrKhyz/fix/typo-readme

    typo/ add 'color' in front FgBlue to be declared
    fatih authored Sep 8, 2021
    Copy the full SHA
    503f536 View commit details

Commits on Sep 21, 2021

  1. Bump github.com/mattn/go-colorable from 0.1.8 to 0.1.9

    Bumps [github.com/mattn/go-colorable](https://github.com/mattn/go-colorable) from 0.1.8 to 0.1.9.
    - [Release notes](https://github.com/mattn/go-colorable/releases)
    - [Commits](mattn/go-colorable@v0.1.8...v0.1.9)
    
    ---
    updated-dependencies:
    - dependency-name: github.com/mattn/go-colorable
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Sep 21, 2021
    Copy the full SHA
    cef423d View commit details
  2. Merge pull request #146 from fatih/dependabot/go_modules/github.com/m…

    …attn/go-colorable-0.1.9
    
    Bump github.com/mattn/go-colorable from 0.1.8 to 0.1.9
    fatih authored Sep 21, 2021
    Copy the full SHA
    a05da93 View commit details
Showing with 9 additions and 7 deletions.
  1. +1 −1 README.md
  2. +2 −2 go.mod
  3. +6 −4 go.sum
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -78,7 +78,7 @@ notice("Don't forget this...")
### Custom fprint functions (FprintFunc)

```go
blue := color.New(FgBlue).FprintfFunc()
blue := color.New(color.FgBlue).FprintfFunc()
blue(myWriter, "important notice: %s", stars)

// Mix up with multiple attributes
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -3,6 +3,6 @@ module github.com/fatih/color
go 1.13

require (
github.com/mattn/go-colorable v0.1.8
github.com/mattn/go-isatty v0.0.12
github.com/mattn/go-colorable v0.1.9
github.com/mattn/go-isatty v0.0.14
)
10 changes: 6 additions & 4 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
github.com/mattn/go-colorable v0.1.8 h1:c1ghPdyEDarC70ftn0y+A/Ee++9zz8ljHG1b13eJ0s8=
github.com/mattn/go-colorable v0.1.8/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc=
github.com/mattn/go-isatty v0.0.12 h1:wuysRhFDzyxgEmMf5xjvJ2M9dZoWAXNNr5LSBS7uHXY=
github.com/mattn/go-colorable v0.1.9 h1:sqDoxXbdeALODt0DAeJCVp38ps9ZogZEAXjus69YV3U=
github.com/mattn/go-colorable v0.1.9/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc=
github.com/mattn/go-isatty v0.0.12/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Kysco4FUpU=
github.com/mattn/go-isatty v0.0.14 h1:yVuAays6BHfxijgZPzw+3Zlu5yQgKGP2/hcQbHb7S9Y=
github.com/mattn/go-isatty v0.0.14/go.mod h1:7GGIvUiUoEMVVmxf/4nioHXj79iQHKdU27kJ6hsGG94=
golang.org/x/sys v0.0.0-20200116001909-b77594299b42/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae h1:/WDfKMnPU+m5M4xB+6x4kaepxRw6jWvR5iDRdvjHgy8=
golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c h1:F1jZWGFhYfh0Ci55sIpILtKKK8p3i2/krTr0H1rg74I=
golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=