File tree Expand file tree Collapse file tree
code/go/internal/validator/semantic Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ import (
1111 "path"
1212
1313 "github.com/elastic/kbncontent"
14- "github.com/mitchellh /mapstructure"
14+ "github.com/go-viper /mapstructure/v2 "
1515
1616 "github.com/elastic/package-spec/v3/code/go/internal/fspath"
1717 "github.com/elastic/package-spec/v3/code/go/internal/pkgpath"
Original file line number Diff line number Diff line change @@ -11,8 +11,8 @@ require (
1111 github.com/elastic/gojsonschema v1.2.1
1212 github.com/elastic/kbncontent v0.1.4
1313 github.com/evanphx/json-patch/v5 v5.9.0
14+ github.com/go-viper/mapstructure/v2 v2.2.1
1415 github.com/joeshaw/multierror v0.0.0-20140124173710-69b34d4ec901
15- github.com/mitchellh/mapstructure v1.5.0
1616 github.com/otiai10/copy v1.14.0
1717 github.com/stretchr/testify v1.9.0
1818 github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415
@@ -32,6 +32,7 @@ require (
3232 github.com/kr/pretty v0.1.0 // indirect
3333 github.com/mattn/go-colorable v0.1.13 // indirect
3434 github.com/mattn/go-isatty v0.0.20 // indirect
35+ github.com/mitchellh/mapstructure v1.5.0 // indirect
3536 github.com/pkg/errors v0.8.1 // indirect
3637 github.com/pmezard/go-difflib v1.0.0 // indirect
3738 github.com/stretchr/objx v0.5.2 // indirect
Original file line number Diff line number Diff line change @@ -29,6 +29,8 @@ github.com/fatih/color v1.16.0 h1:zmkK9Ngbjj+K0yRhTVONQh1p/HknKYSlNT+vZCzyokM=
2929github.com/fatih/color v1.16.0 /go.mod h1:fL2Sau1YI5c0pdGEVCbKQbLXB6edEj1ZgiY4NijnWvE =
3030github.com/fsnotify/fsnotify v1.7.0 h1:8JEhPFa5W2WU7YfeZzPNqzMP6Lwt7L2715Ggo0nosvA =
3131github.com/fsnotify/fsnotify v1.7.0 /go.mod h1:40Bi/Hjc2AVfZrqy+aj+yEI+/bRxZnMJyTJwOpGvigM =
32+ github.com/go-viper/mapstructure/v2 v2.2.1 h1:ZAaOCxANMuZx5RCeg0mBdEZk7DZasvvZIxtHqx8aGss =
33+ github.com/go-viper/mapstructure/v2 v2.2.1 /go.mod h1:oJDH3BJKyqBA2TXFhDsKDGDTlndYOZ6rGS0BRZIxGhM =
3234github.com/google/go-cmp v0.5.9 /go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY =
3335github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI =
3436github.com/google/go-cmp v0.6.0 /go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY =
You can’t perform that action at this time.
0 commit comments