Skip to content

Commit e8a879b

Browse files
bump viper to v1.17.0 and drop unneded dep
1 parent fd04c22 commit e8a879b

File tree

15 files changed

+103
-62
lines changed

15 files changed

+103
-62
lines changed

Diff for: .licensed.yml

+1
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ reviewed:
6262
- golang.org/x/text/encoding/internal/identifier
6363
- golang.org/x/text/encoding/unicode
6464
- golang.org/x/text/internal/utf8internal
65+
- github.com/sagikazarmark/slog-shim
6566

6667
# Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/assets/check-dependencies/GPL-3.0/.licensed.yml
6768
allowed:
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
---
2+
name: github.com/sagikazarmark/slog-shim
3+
version: v0.1.0
4+
type: go
5+
summary:
6+
homepage: https://pkg.go.dev/github.com/sagikazarmark/slog-shim
7+
license: other
8+
licenses:
9+
- sources: LICENSE
10+
text: |
11+
Copyright (c) 2009 The Go Authors. All rights reserved.
12+
13+
Redistribution and use in source and binary forms, with or without
14+
modification, are permitted provided that the following conditions are
15+
met:
16+
17+
* Redistributions of source code must retain the above copyright
18+
notice, this list of conditions and the following disclaimer.
19+
* Redistributions in binary form must reproduce the above
20+
copyright notice, this list of conditions and the following disclaimer
21+
in the documentation and/or other materials provided with the
22+
distribution.
23+
* Neither the name of Google Inc. nor the names of its
24+
contributors may be used to endorse or promote products derived from
25+
this software without specific prior written permission.
26+
27+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
28+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
29+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
30+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
31+
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
32+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
33+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
34+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
35+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
36+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
37+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
38+
- sources: README.md
39+
text: The project is licensed under a [BSD-style license](LICENSE).
40+
notices: []

Diff for: .licenses/go/github.com/spf13/jwalterweatherman.dep.yml

-32
This file was deleted.

Diff for: .licenses/go/github.com/spf13/viper.dep.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
name: github.com/spf13/viper
3-
version: v1.16.0
3+
version: v1.17.0
44
type: go
55
summary:
66
homepage: https://pkg.go.dev/github.com/spf13/viper
@@ -29,4 +29,6 @@ licenses:
2929
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
3030
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
3131
SOFTWARE.
32+
- sources: README.md
33+
text: The project is licensed under the [MIT License](LICENSE).
3234
notices: []

Diff for: .licenses/go/github.com/spf13/viper/internal/encoding.dep.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
---
22
name: github.com/spf13/viper/internal/encoding
3-
version: v1.16.0
3+
version: v1.17.0
44
type: go
55
summary:
66
homepage: https://pkg.go.dev/github.com/spf13/viper/internal/encoding
77
license: mit
88
licenses:
9-
- sources: viper@v1.16.0/LICENSE
9+
- sources: viper@v1.17.0/LICENSE
1010
text: |-
1111
The MIT License (MIT)
1212
@@ -29,4 +29,6 @@ licenses:
2929
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
3030
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
3131
SOFTWARE.
32+
- sources: [email protected]/README.md
33+
text: The project is licensed under the [MIT License](LICENSE).
3234
notices: []

Diff for: .licenses/go/github.com/spf13/viper/internal/encoding/dotenv.dep.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
---
22
name: github.com/spf13/viper/internal/encoding/dotenv
3-
version: v1.16.0
3+
version: v1.17.0
44
type: go
55
summary:
66
homepage: https://pkg.go.dev/github.com/spf13/viper/internal/encoding/dotenv
77
license: mit
88
licenses:
9-
- sources: viper@v1.16.0/LICENSE
9+
- sources: viper@v1.17.0/LICENSE
1010
text: |-
1111
The MIT License (MIT)
1212
@@ -29,4 +29,6 @@ licenses:
2929
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
3030
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
3131
SOFTWARE.
32+
- sources: [email protected]/README.md
33+
text: The project is licensed under the [MIT License](LICENSE).
3234
notices: []

Diff for: .licenses/go/github.com/spf13/viper/internal/encoding/hcl.dep.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
---
22
name: github.com/spf13/viper/internal/encoding/hcl
3-
version: v1.16.0
3+
version: v1.17.0
44
type: go
55
summary:
66
homepage: https://pkg.go.dev/github.com/spf13/viper/internal/encoding/hcl
77
license: mit
88
licenses:
9-
- sources: viper@v1.16.0/LICENSE
9+
- sources: viper@v1.17.0/LICENSE
1010
text: |-
1111
The MIT License (MIT)
1212
@@ -29,4 +29,6 @@ licenses:
2929
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
3030
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
3131
SOFTWARE.
32+
- sources: [email protected]/README.md
33+
text: The project is licensed under the [MIT License](LICENSE).
3234
notices: []

Diff for: .licenses/go/github.com/spf13/viper/internal/encoding/ini.dep.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
---
22
name: github.com/spf13/viper/internal/encoding/ini
3-
version: v1.16.0
3+
version: v1.17.0
44
type: go
55
summary:
66
homepage: https://pkg.go.dev/github.com/spf13/viper/internal/encoding/ini
77
license: mit
88
licenses:
9-
- sources: viper@v1.16.0/LICENSE
9+
- sources: viper@v1.17.0/LICENSE
1010
text: |-
1111
The MIT License (MIT)
1212
@@ -29,4 +29,6 @@ licenses:
2929
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
3030
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
3131
SOFTWARE.
32+
- sources: [email protected]/README.md
33+
text: The project is licensed under the [MIT License](LICENSE).
3234
notices: []

Diff for: .licenses/go/github.com/spf13/viper/internal/encoding/javaproperties.dep.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
---
22
name: github.com/spf13/viper/internal/encoding/javaproperties
3-
version: v1.16.0
3+
version: v1.17.0
44
type: go
55
summary:
66
homepage: https://pkg.go.dev/github.com/spf13/viper/internal/encoding/javaproperties
77
license: mit
88
licenses:
9-
- sources: viper@v1.16.0/LICENSE
9+
- sources: viper@v1.17.0/LICENSE
1010
text: |-
1111
The MIT License (MIT)
1212
@@ -29,4 +29,6 @@ licenses:
2929
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
3030
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
3131
SOFTWARE.
32+
- sources: [email protected]/README.md
33+
text: The project is licensed under the [MIT License](LICENSE).
3234
notices: []

Diff for: .licenses/go/github.com/spf13/viper/internal/encoding/json.dep.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
---
22
name: github.com/spf13/viper/internal/encoding/json
3-
version: v1.16.0
3+
version: v1.17.0
44
type: go
55
summary:
66
homepage: https://pkg.go.dev/github.com/spf13/viper/internal/encoding/json
77
license: mit
88
licenses:
9-
- sources: viper@v1.16.0/LICENSE
9+
- sources: viper@v1.17.0/LICENSE
1010
text: |-
1111
The MIT License (MIT)
1212
@@ -29,4 +29,6 @@ licenses:
2929
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
3030
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
3131
SOFTWARE.
32+
- sources: [email protected]/README.md
33+
text: The project is licensed under the [MIT License](LICENSE).
3234
notices: []

Diff for: .licenses/go/github.com/spf13/viper/internal/encoding/toml.dep.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
---
22
name: github.com/spf13/viper/internal/encoding/toml
3-
version: v1.16.0
3+
version: v1.17.0
44
type: go
55
summary:
66
homepage: https://pkg.go.dev/github.com/spf13/viper/internal/encoding/toml
77
license: mit
88
licenses:
9-
- sources: viper@v1.16.0/LICENSE
9+
- sources: viper@v1.17.0/LICENSE
1010
text: |-
1111
The MIT License (MIT)
1212
@@ -29,4 +29,6 @@ licenses:
2929
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
3030
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
3131
SOFTWARE.
32+
- sources: [email protected]/README.md
33+
text: The project is licensed under the [MIT License](LICENSE).
3234
notices: []

Diff for: .licenses/go/github.com/spf13/viper/internal/encoding/yaml.dep.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
---
22
name: github.com/spf13/viper/internal/encoding/yaml
3-
version: v1.16.0
3+
version: v1.17.0
44
type: go
55
summary:
66
homepage: https://pkg.go.dev/github.com/spf13/viper/internal/encoding/yaml
77
license: mit
88
licenses:
9-
- sources: viper@v1.16.0/LICENSE
9+
- sources: viper@v1.17.0/LICENSE
1010
text: |-
1111
The MIT License (MIT)
1212
@@ -29,4 +29,6 @@ licenses:
2929
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
3030
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
3131
SOFTWARE.
32+
- sources: [email protected]/README.md
33+
text: The project is licensed under the [MIT License](LICENSE).
3234
notices: []

Diff for: configuration/configuration.go

-3
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ import (
2626
paths "github.com/arduino/go-paths-helper"
2727
"github.com/arduino/go-win32-utils"
2828
"github.com/spf13/cobra"
29-
jww "github.com/spf13/jwalterweatherman"
3029
"github.com/spf13/viper"
3130
)
3231

@@ -39,8 +38,6 @@ var tr = i18n.Tr
3938
// Please note the logging system hasn't been configured yet,
4039
// so logging shouldn't be used here.
4140
func Init(configFile string) *viper.Viper {
42-
jww.SetStdoutThreshold(jww.LevelFatal)
43-
4441
// Create a new viper instance with default values for all the settings
4542
settings := viper.New()
4643
SetDefaults(settings)

Diff for: go.mod

+9-4
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,7 @@ require (
3030
github.com/schollz/closestmatch v2.1.0+incompatible
3131
github.com/sirupsen/logrus v1.9.3
3232
github.com/spf13/cobra v1.7.0
33-
github.com/spf13/jwalterweatherman v1.1.0
34-
github.com/spf13/viper v1.16.0
33+
github.com/spf13/viper v1.17.0
3534
github.com/stretchr/testify v1.8.4
3635
github.com/xeipuuv/gojsonschema v1.2.0
3736
go.bug.st/cleanup v1.0.0
@@ -54,7 +53,7 @@ require (
5453
github.com/cpuguy83/go-md2man/v2 v2.0.2 // indirect
5554
github.com/creack/goselect v0.1.2 // indirect
5655
github.com/cyphar/filepath-securejoin v0.2.4 // indirect
57-
github.com/davecgh/go-spew v1.1.1 // indirect
56+
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
5857
github.com/emirpasic/gods v1.18.1 // indirect
5958
github.com/fsnotify/fsnotify v1.6.0 // indirect
6059
github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 // indirect
@@ -76,10 +75,13 @@ require (
7675
github.com/mitchellh/go-homedir v1.1.0 // indirect
7776
github.com/mitchellh/mapstructure v1.5.0 // indirect
7877
github.com/pelletier/go-toml/v2 v2.1.0 // indirect
79-
github.com/pmezard/go-difflib v1.0.0 // indirect
78+
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
8079
github.com/rivo/uniseg v0.4.4 // indirect
8180
github.com/russross/blackfriday/v2 v2.1.0 // indirect
81+
github.com/sagikazarmark/locafero v0.3.0 // indirect
82+
github.com/sagikazarmark/slog-shim v0.1.0 // indirect
8283
github.com/sergi/go-diff v1.3.1 // indirect
84+
github.com/sourcegraph/conc v0.3.0 // indirect
8385
github.com/spf13/afero v1.10.0 // indirect
8486
github.com/spf13/cast v1.5.1 // indirect
8587
github.com/spf13/pflag v1.0.5 // indirect
@@ -88,7 +90,10 @@ require (
8890
github.com/xanzy/ssh-agent v0.3.3 // indirect
8991
github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f // indirect
9092
github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 // indirect
93+
go.uber.org/atomic v1.9.0 // indirect
94+
go.uber.org/multierr v1.9.0 // indirect
9195
golang.org/x/crypto v0.13.0 // indirect
96+
golang.org/x/exp v0.0.0-20230905200255-921286631fa9 // indirect
9297
golang.org/x/mod v0.12.0 // indirect
9398
golang.org/x/net v0.15.0 // indirect
9499
golang.org/x/sys v0.12.0 // indirect

0 commit comments

Comments
 (0)