From 692614860631a1d2af492345244e1df4d41d1cce Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 8 Sep 2026 14:43:20 +0000 Subject: [PATCH] build(deps): bump github.com/sirupsen/logrus from 1.10.1 to 1.10.2 Bumps [github.com/sirupsen/logrus](https://github.com/sirupsen/logrus) from 1.10.1 to 1.10.2. - [Release notes](https://github.com/sirupsen/logrus/releases) - [Changelog](https://github.com/sirupsen/logrus/blob/master/CHANGELOG.md) - [Commits](https://github.com/sirupsen/logrus/compare/v1.10.1...v1.10.2) --- updated-dependencies: - dependency-name: github.com/sirupsen/logrus dependency-version: 1.10.2 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- go.mod | 4 +- go.sum | 4 +- .../reva/v2/pkg/events/mocks/Stream.go | 186 ------------------ .../github.com/sirupsen/logrus/CHANGELOG.md | 7 + vendor/modules.txt | 3 +- 5 files changed, 12 insertions(+), 192 deletions(-) delete mode 100644 vendor/github.com/opencloud-eu/reva/v2/pkg/events/mocks/Stream.go diff --git a/go.mod b/go.mod index 80444f78c4..0be8860ca0 100644 --- a/go.mod +++ b/go.mod @@ -56,6 +56,7 @@ require ( github.com/mohae/deepcopy v0.0.0-20170929034955-c48cc78d4826 github.com/nats-io/nats-server/v2 v2.14.5 github.com/nats-io/nats.go v1.53.1 + github.com/olekukonko/errors v1.2.0 github.com/olekukonko/tablewriter v1.1.4 github.com/onsi/ginkgo v1.16.5 github.com/onsi/ginkgo/v2 v2.32.1 @@ -76,7 +77,7 @@ require ( github.com/rs/cors v1.11.1 github.com/rs/zerolog v1.35.1 github.com/shamaton/msgpack/v2 v2.4.1 - github.com/sirupsen/logrus v1.10.1 + github.com/sirupsen/logrus v1.10.2 github.com/spf13/afero v1.15.0 github.com/spf13/cobra v1.10.2 github.com/spf13/pflag v1.0.10 @@ -308,7 +309,6 @@ require ( github.com/nxadm/tail v1.4.8 // indirect github.com/oklog/run v1.2.0 // indirect github.com/olekukonko/cat v0.0.0-20250911104152-50322a0618f6 // indirect - github.com/olekukonko/errors v1.2.0 // indirect github.com/olekukonko/ll v0.1.6 // indirect github.com/opencontainers/go-digest v1.0.0 // indirect github.com/opencontainers/image-spec v1.1.1 // indirect diff --git a/go.sum b/go.sum index 82de5825e3..ea7497515f 100644 --- a/go.sum +++ b/go.sum @@ -1113,8 +1113,8 @@ github.com/sirupsen/logrus v1.2.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPx github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE= github.com/sirupsen/logrus v1.6.0/go.mod h1:7uNnSEd1DgxDLC74fIahvMZmmYsHGZGEOFrfsX/uA88= github.com/sirupsen/logrus v1.7.0/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0= -github.com/sirupsen/logrus v1.10.1 h1:xi4336Zh11WpU14fXR6I67V3yaTPQYwRx2WEtHbRg4Q= -github.com/sirupsen/logrus v1.10.1/go.mod h1:vsQHnG7xzNsxk3NrwboUiWPnIC3dmbjcGPykD7+tiHk= +github.com/sirupsen/logrus v1.10.2 h1:G2SED73/qrAu6YwbdxOD6peLkCBI3z7L+ykJFTXJBBo= +github.com/sirupsen/logrus v1.10.2/go.mod h1:SLEg8TqYulVKKfIGHldVp2K2aYz2DKSVBq4g/H5bR7Q= github.com/skeema/knownhosts v1.3.1 h1:X2osQ+RAjK76shCbvhHHHVl3ZlgDm8apHEHFqRjnBY8= github.com/skeema/knownhosts v1.3.1/go.mod h1:r7KTdC8l4uxWRyK2TpQZ/1o5HaSzh06ePQNxPwTcfiY= github.com/skratchdot/open-golang v0.0.0-20160302144031-75fb7ed4208c/go.mod h1:sUM3LWHvSMaG192sy56D9F7CNvL7jUJVXoqM1QKLnog= diff --git a/vendor/github.com/opencloud-eu/reva/v2/pkg/events/mocks/Stream.go b/vendor/github.com/opencloud-eu/reva/v2/pkg/events/mocks/Stream.go deleted file mode 100644 index 3279b30c38..0000000000 --- a/vendor/github.com/opencloud-eu/reva/v2/pkg/events/mocks/Stream.go +++ /dev/null @@ -1,186 +0,0 @@ -// Copyright 2018-2022 CERN -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// In applying this license, CERN does not waive the privileges and immunities -// granted to it by virtue of its status as an Intergovernmental Organization -// or submit itself to any jurisdiction. - -// Code generated by mockery v2.53.2. DO NOT EDIT. - -package mocks - -import ( - mock "github.com/stretchr/testify/mock" - events "go-micro.dev/v4/events" -) - -// Stream is an autogenerated mock type for the Stream type -type Stream struct { - mock.Mock -} - -type Stream_Expecter struct { - mock *mock.Mock -} - -func (_m *Stream) EXPECT() *Stream_Expecter { - return &Stream_Expecter{mock: &_m.Mock} -} - -// Consume provides a mock function with given fields: _a0, _a1 -func (_m *Stream) Consume(_a0 string, _a1 ...events.ConsumeOption) (<-chan events.Event, error) { - var tmpRet mock.Arguments - if len(_a1) > 0 { - tmpRet = _m.Called(_a0, _a1) - } else { - tmpRet = _m.Called(_a0) - } - ret := tmpRet - - if len(ret) == 0 { - panic("no return value specified for Consume") - } - - var r0 <-chan events.Event - var r1 error - if rf, ok := ret.Get(0).(func(string, ...events.ConsumeOption) (<-chan events.Event, error)); ok { - return rf(_a0, _a1...) - } - if rf, ok := ret.Get(0).(func(string, ...events.ConsumeOption) <-chan events.Event); ok { - r0 = rf(_a0, _a1...) - } else { - if ret.Get(0) != nil { - r0 = ret.Get(0).(<-chan events.Event) - } - } - - if rf, ok := ret.Get(1).(func(string, ...events.ConsumeOption) error); ok { - r1 = rf(_a0, _a1...) - } else { - r1 = ret.Error(1) - } - - return r0, r1 -} - -// Stream_Consume_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Consume' -type Stream_Consume_Call struct { - *mock.Call -} - -// Consume is a helper method to define mock.On call -// - _a0 string -// - _a1 ...events.ConsumeOption -func (_e *Stream_Expecter) Consume(_a0 interface{}, _a1 ...interface{}) *Stream_Consume_Call { - return &Stream_Consume_Call{Call: _e.mock.On("Consume", - append([]interface{}{_a0}, _a1...)...)} -} - -func (_c *Stream_Consume_Call) Run(run func(_a0 string, _a1 ...events.ConsumeOption)) *Stream_Consume_Call { - _c.Call.Run(func(args mock.Arguments) { - variadicArgs := make([]events.ConsumeOption, len(args)-1) - for i, a := range args[1:] { - if a != nil { - variadicArgs[i] = a.(events.ConsumeOption) - } - } - run(args[0].(string), variadicArgs...) - }) - return _c -} - -func (_c *Stream_Consume_Call) Return(_a0 <-chan events.Event, _a1 error) *Stream_Consume_Call { - _c.Call.Return(_a0, _a1) - return _c -} - -func (_c *Stream_Consume_Call) RunAndReturn(run func(string, ...events.ConsumeOption) (<-chan events.Event, error)) *Stream_Consume_Call { - _c.Call.Return(run) - return _c -} - -// Publish provides a mock function with given fields: _a0, _a1, _a2 -func (_m *Stream) Publish(_a0 string, _a1 interface{}, _a2 ...events.PublishOption) error { - var tmpRet mock.Arguments - if len(_a2) > 0 { - tmpRet = _m.Called(_a0, _a1, _a2) - } else { - tmpRet = _m.Called(_a0, _a1) - } - ret := tmpRet - - if len(ret) == 0 { - panic("no return value specified for Publish") - } - - var r0 error - if rf, ok := ret.Get(0).(func(string, interface{}, ...events.PublishOption) error); ok { - r0 = rf(_a0, _a1, _a2...) - } else { - r0 = ret.Error(0) - } - - return r0 -} - -// Stream_Publish_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Publish' -type Stream_Publish_Call struct { - *mock.Call -} - -// Publish is a helper method to define mock.On call -// - _a0 string -// - _a1 interface{} -// - _a2 ...events.PublishOption -func (_e *Stream_Expecter) Publish(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *Stream_Publish_Call { - return &Stream_Publish_Call{Call: _e.mock.On("Publish", - append([]interface{}{_a0, _a1}, _a2...)...)} -} - -func (_c *Stream_Publish_Call) Run(run func(_a0 string, _a1 interface{}, _a2 ...events.PublishOption)) *Stream_Publish_Call { - _c.Call.Run(func(args mock.Arguments) { - variadicArgs := make([]events.PublishOption, len(args)-2) - for i, a := range args[2:] { - if a != nil { - variadicArgs[i] = a.(events.PublishOption) - } - } - run(args[0].(string), args[1].(interface{}), variadicArgs...) - }) - return _c -} - -func (_c *Stream_Publish_Call) Return(_a0 error) *Stream_Publish_Call { - _c.Call.Return(_a0) - return _c -} - -func (_c *Stream_Publish_Call) RunAndReturn(run func(string, interface{}, ...events.PublishOption) error) *Stream_Publish_Call { - _c.Call.Return(run) - return _c -} - -// NewStream creates a new instance of Stream. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. -// The first argument is typically a *testing.T value. -func NewStream(t interface { - mock.TestingT - Cleanup(func()) -}) *Stream { - mock := &Stream{} - mock.Mock.Test(t) - - t.Cleanup(func() { mock.AssertExpectations(t) }) - - return mock -} diff --git a/vendor/github.com/sirupsen/logrus/CHANGELOG.md b/vendor/github.com/sirupsen/logrus/CHANGELOG.md index 3e6675633d..683cec9088 100644 --- a/vendor/github.com/sirupsen/logrus/CHANGELOG.md +++ b/vendor/github.com/sirupsen/logrus/CHANGELOG.md @@ -2,6 +2,13 @@ All notable changes to this project will be documented in this file. +## 1.10.2 + +Changed: + + * Update `github.com/stretchr/testify` to v1.12.1, removing the legacy + `gopkg.in/yaml.v3` dependency. + ## 1.10.1 Fixes: diff --git a/vendor/modules.txt b/vendor/modules.txt index 4da1ac8c1b..348bb84af6 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -1504,7 +1504,6 @@ github.com/opencloud-eu/reva/v2/pkg/eosclient/eosgrpc github.com/opencloud-eu/reva/v2/pkg/eosclient/eosgrpc/eos_grpc github.com/opencloud-eu/reva/v2/pkg/errtypes github.com/opencloud-eu/reva/v2/pkg/events -github.com/opencloud-eu/reva/v2/pkg/events/mocks github.com/opencloud-eu/reva/v2/pkg/events/raw github.com/opencloud-eu/reva/v2/pkg/events/raw/mocks github.com/opencloud-eu/reva/v2/pkg/events/stream @@ -1980,7 +1979,7 @@ github.com/shirou/gopsutil/v4/internal/common github.com/shirou/gopsutil/v4/mem github.com/shirou/gopsutil/v4/net github.com/shirou/gopsutil/v4/process -# github.com/sirupsen/logrus v1.10.1 +# github.com/sirupsen/logrus v1.10.2 ## explicit; go 1.23 github.com/sirupsen/logrus # github.com/skeema/knownhosts v1.3.1