From fac80402bf5d605a6b1c9d60cda07344c2c7f4a0 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 30 Apr 2025 14:58:57 +0000 Subject: [PATCH] build(deps): bump github.com/beevik/etree from 1.5.0 to 1.5.1 Bumps [github.com/beevik/etree](https://github.com/beevik/etree) from 1.5.0 to 1.5.1. - [Release notes](https://github.com/beevik/etree/releases) - [Changelog](https://github.com/beevik/etree/blob/main/RELEASE_NOTES.md) - [Commits](https://github.com/beevik/etree/compare/v1.5.0...v1.5.1) --- updated-dependencies: - dependency-name: github.com/beevik/etree dependency-version: 1.5.1 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- go.mod | 2 +- go.sum | 4 ++-- vendor/github.com/beevik/etree/CONTRIBUTORS | 1 + vendor/github.com/beevik/etree/RELEASE_NOTES.md | 7 +++++++ vendor/github.com/beevik/etree/etree.go | 2 +- vendor/modules.txt | 2 +- 6 files changed, 13 insertions(+), 5 deletions(-) diff --git a/go.mod b/go.mod index e2b746cef..cf00b6725 100644 --- a/go.mod +++ b/go.mod @@ -10,7 +10,7 @@ require ( github.com/MicahParks/keyfunc/v2 v2.1.0 github.com/Nerzal/gocloak/v13 v13.9.0 github.com/bbalet/stopwords v1.0.0 - github.com/beevik/etree v1.5.0 + github.com/beevik/etree v1.5.1 github.com/blevesearch/bleve/v2 v2.5.0 github.com/cenkalti/backoff v2.2.1+incompatible github.com/coreos/go-oidc/v3 v3.14.1 diff --git a/go.sum b/go.sum index 56f2a4821..4d0a3e5d1 100644 --- a/go.sum +++ b/go.sum @@ -130,8 +130,8 @@ github.com/aws/aws-sdk-go v1.55.6 h1:cSg4pvZ3m8dgYcgqB97MrcdjUmZ1BeMYKUxMMB89IPk github.com/aws/aws-sdk-go v1.55.6/go.mod h1:eRwEWoyTWFMVYVQzKMNHWP5/RV4xIUGMQfXQHfHkpNU= github.com/bbalet/stopwords v1.0.0 h1:0TnGycCtY0zZi4ltKoOGRFIlZHv0WqpoIGUsObjztfo= github.com/bbalet/stopwords v1.0.0/go.mod h1:sAWrQoDMfqARGIn4s6dp7OW7ISrshUD8IP2q3KoqPjc= -github.com/beevik/etree v1.5.0 h1:iaQZFSDS+3kYZiGoc9uKeOkUY3nYMXOKLl6KIJxiJWs= -github.com/beevik/etree v1.5.0/go.mod h1:gPNJNaBGVZ9AwsidazFZyygnd+0pAU38N4D+WemwKNs= +github.com/beevik/etree v1.5.1 h1:TC3zyxYp+81wAmbsi8SWUpZCurbxa6S8RITYRSkNRwo= +github.com/beevik/etree v1.5.1/go.mod h1:gPNJNaBGVZ9AwsidazFZyygnd+0pAU38N4D+WemwKNs= github.com/benbjohnson/clock v1.1.0 h1:Q92kusRqC1XV2MjkWETPvjJVqKetz1OzxZB7mHJLju8= github.com/benbjohnson/clock v1.1.0/go.mod h1:J11/hYXuz8f4ySSvYwY0FKfm+ezbsZBKZxNJlLklBHA= github.com/beorn7/perks v0.0.0-20160804104726-4c0e84591b9a/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q= diff --git a/vendor/github.com/beevik/etree/CONTRIBUTORS b/vendor/github.com/beevik/etree/CONTRIBUTORS index 24ab2dfba..0bb95df25 100644 --- a/vendor/github.com/beevik/etree/CONTRIBUTORS +++ b/vendor/github.com/beevik/etree/CONTRIBUTORS @@ -12,3 +12,4 @@ Martin Dosch (mdosch) Hugo Wetterberg (hugowetterberg) Tobias Theel (nerzal) Daniel Potapov (dpotapov) +Mikhail Ferapontow (MikhailFerapontow) diff --git a/vendor/github.com/beevik/etree/RELEASE_NOTES.md b/vendor/github.com/beevik/etree/RELEASE_NOTES.md index 14ade6823..70ab34176 100644 --- a/vendor/github.com/beevik/etree/RELEASE_NOTES.md +++ b/vendor/github.com/beevik/etree/RELEASE_NOTES.md @@ -1,3 +1,10 @@ +Release 1.5.1 +============= + +**Fixes** + +* Fixed a bug in `InsertChildAt`. + Release 1.5.0 ============= diff --git a/vendor/github.com/beevik/etree/etree.go b/vendor/github.com/beevik/etree/etree.go index e1dde1c34..83930133b 100644 --- a/vendor/github.com/beevik/etree/etree.go +++ b/vendor/github.com/beevik/etree/etree.go @@ -831,7 +831,7 @@ func (e *Element) InsertChildAt(index int, t Token) { } if t.Parent() != nil { - if t.Parent() == e && t.Index() > index { + if t.Parent() == e && t.Index() < index { index-- } t.Parent().RemoveChild(t) diff --git a/vendor/modules.txt b/vendor/modules.txt index 49febba80..8ce9f4cb9 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -149,7 +149,7 @@ github.com/aws/aws-sdk-go/service/sts/stsiface # github.com/bbalet/stopwords v1.0.0 ## explicit github.com/bbalet/stopwords -# github.com/beevik/etree v1.5.0 +# github.com/beevik/etree v1.5.1 ## explicit; go 1.21.0 github.com/beevik/etree # github.com/beorn7/perks v1.0.1