Skip to content

Commit 4220d18

Browse files
bump viper to v1.17.0 and drop unneded dep
1 parent 7aebdae commit 4220d18

File tree

15 files changed

+103
-62
lines changed

15 files changed

+103
-62
lines changed

.licensed.yml

Lines changed: 1 addition & 0 deletions
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:
Lines changed: 40 additions & 0 deletions
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: []

.licenses/go/github.com/spf13/jwalterweatherman.dep.yml

Lines changed: 0 additions & 32 deletions
This file was deleted.

.licenses/go/github.com/spf13/viper.dep.yml

Lines changed: 3 additions & 1 deletion
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: []

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

Lines changed: 4 additions & 2 deletions
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: []

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

Lines changed: 4 additions & 2 deletions
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: []

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

Lines changed: 4 additions & 2 deletions
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: []

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

Lines changed: 4 additions & 2 deletions
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: []

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

Lines changed: 4 additions & 2 deletions
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: []

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

Lines changed: 4 additions & 2 deletions
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: []

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

Lines changed: 4 additions & 2 deletions
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: []

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

Lines changed: 4 additions & 2 deletions
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: []

configuration/configuration.go

Lines changed: 0 additions & 3 deletions
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)

go.mod

Lines changed: 9 additions & 4 deletions
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.13.0 // indirect

0 commit comments

Comments
 (0)