From 1e1f01ee2b0bc4ee564795ec53c902419235807a Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 4 Jan 2024 16:20:05 +0100 Subject: [PATCH] fix(deps): update module github.com/cucumber/messages/go/v22 to v24 (#207) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: M.P. Korstanje --- go/astbuilder.go | 2 +- go/bench_test.go | 2 +- go/dialect.go | 2 +- go/dialects_builtin.go | 2 +- go/dialects_builtin.go.jq | 2 +- go/example_test.go | 2 +- go/gherkin.go | 2 +- go/go.mod | 1 - go/go.sum | 3 +-- go/main/main.go | 2 +- go/messages.go | 2 +- go/messages_test.go | 2 +- go/pickles.go | 2 +- go/pickles_test.go | 2 +- 14 files changed, 13 insertions(+), 15 deletions(-) diff --git a/go/astbuilder.go b/go/astbuilder.go index 1c82c2f61..d817a140f 100644 --- a/go/astbuilder.go +++ b/go/astbuilder.go @@ -1,7 +1,7 @@ package gherkin import ( - "github.com/cucumber/messages/go/v22" + "github.com/cucumber/messages/go/v24" "strings" ) diff --git a/go/bench_test.go b/go/bench_test.go index aec9cdacf..2510796e5 100644 --- a/go/bench_test.go +++ b/go/bench_test.go @@ -1,7 +1,7 @@ package gherkin import ( - messages "github.com/cucumber/messages/go/v22" + messages "github.com/cucumber/messages/go/v24" "strings" "testing" ) diff --git a/go/dialect.go b/go/dialect.go index 13669287c..9fd45e014 100644 --- a/go/dialect.go +++ b/go/dialect.go @@ -1,6 +1,6 @@ package gherkin -import messages "github.com/cucumber/messages/go/v22" +import messages "github.com/cucumber/messages/go/v24" type Dialect struct { Language string diff --git a/go/dialects_builtin.go b/go/dialects_builtin.go index 6ba3abbaf..5e9a82911 100644 --- a/go/dialects_builtin.go +++ b/go/dialects_builtin.go @@ -2,7 +2,7 @@ package gherkin -import messages "github.com/cucumber/messages/go/v22" +import messages "github.com/cucumber/messages/go/v24" // Builtin dialects for af (Afrikaans), am (Armenian), an (Aragonese), ar (Arabic), ast (Asturian), az (Azerbaijani), be (Belarusian), bg (Bulgarian), bm (Malay), bs (Bosnian), ca (Catalan), cs (Czech), cy-GB (Welsh), da (Danish), de (German), el (Greek), em (Emoji), en (English), en-Scouse (Scouse), en-au (Australian), en-lol (LOLCAT), en-old (Old English), en-pirate (Pirate), en-tx (Texas), eo (Esperanto), es (Spanish), et (Estonian), fa (Persian), fi (Finnish), fr (French), ga (Irish), gj (Gujarati), gl (Galician), he (Hebrew), hi (Hindi), hr (Croatian), ht (Creole), hu (Hungarian), id (Indonesian), is (Icelandic), it (Italian), ja (Japanese), jv (Javanese), ka (Georgian), kn (Kannada), ko (Korean), lt (Lithuanian), lu (Luxemburgish), lv (Latvian), mk-Cyrl (Macedonian), mk-Latn (Macedonian (Latin)), mn (Mongolian), ne (Nepali), nl (Dutch), no (Norwegian), pa (Panjabi), pl (Polish), pt (Portuguese), ro (Romanian), ru (Russian), sk (Slovak), sl (Slovenian), sr-Cyrl (Serbian), sr-Latn (Serbian (Latin)), sv (Swedish), ta (Tamil), th (Thai), te (Telugu), tlh (Klingon), tr (Turkish), tt (Tatar), uk (Ukrainian), ur (Urdu), uz (Uzbek), vi (Vietnamese), zh-CN (Chinese simplified), ml (Malayalam), zh-TW (Chinese traditional), mr (Marathi), amh (Amharic) func DialectsBuiltin() DialectProvider { diff --git a/go/dialects_builtin.go.jq b/go/dialects_builtin.go.jq index db224346f..72c739f1e 100644 --- a/go/dialects_builtin.go.jq +++ b/go/dialects_builtin.go.jq @@ -88,7 +88,7 @@ ) | "// Code generated from dialects_builtin.go.jq (make dialects_builtin.go); DO NOT EDIT.\n\n" # Standard header defined at https://golang.org/s/generatedcode + "package gherkin\n\n" -+ "import messages \"github.com/cucumber/messages/go/v22\"\n\n" ++ "import messages \"github.com/cucumber/messages/go/v24\"\n\n" + "// Builtin dialects for " + ([ $root | to_entries[] | .key+" ("+.value.name+")" ] | join(", ")) + "\n" + "func DialectsBuiltin() DialectProvider {\n" + "\treturn builtinDialects\n" diff --git a/go/example_test.go b/go/example_test.go index f1622c855..433b93d07 100644 --- a/go/example_test.go +++ b/go/example_test.go @@ -2,7 +2,7 @@ package gherkin import ( "fmt" - messages "github.com/cucumber/messages/go/v22" + messages "github.com/cucumber/messages/go/v24" "os" "strings" ) diff --git a/go/gherkin.go b/go/gherkin.go index 9d7e1d7f2..8fc94c5a3 100644 --- a/go/gherkin.go +++ b/go/gherkin.go @@ -3,7 +3,7 @@ package gherkin import ( "bufio" "fmt" - "github.com/cucumber/messages/go/v22" + "github.com/cucumber/messages/go/v24" "io" "strings" ) diff --git a/go/go.mod b/go/go.mod index f0fd2255a..e3b597631 100644 --- a/go/go.mod +++ b/go/go.mod @@ -1,7 +1,6 @@ module github.com/cucumber/gherkin/go/v27 require ( - github.com/cucumber/messages/go/v22 v22.0.0 github.com/cucumber/messages/go/v24 v24.0.1 github.com/stretchr/testify v1.8.4 ) diff --git a/go/go.sum b/go/go.sum index a749e275f..f79b5019c 100644 --- a/go/go.sum +++ b/go/go.sum @@ -1,5 +1,4 @@ -github.com/cucumber/messages/go/v22 v22.0.0 h1:hk3ITpEWQ+KWDe619zYcqtaLOfcu9jgClSeps3DlNWI= -github.com/cucumber/messages/go/v22 v22.0.0/go.mod h1:aZipXTKc0JnjCsXrJnuZpWhtay93k7Rn3Dee7iyPJjs= +github.com/cucumber/messages/go/v24 v24.0.1 h1:jajAQDk3fPa4RhIANE+NOxGdCKQdi7RYjd8wdKXnOu4= github.com/cucumber/messages/go/v24 v24.0.1/go.mod h1:ns4Befq4c4n9/B5APpTlBu5kXL1DVE4+5bbe0vSV4fc= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= diff --git a/go/main/main.go b/go/main/main.go index ec778b225..437f78ab4 100644 --- a/go/main/main.go +++ b/go/main/main.go @@ -10,7 +10,7 @@ import ( "flag" "fmt" gherkin "github.com/cucumber/gherkin/go/v27" - "github.com/cucumber/messages/go/v22" + "github.com/cucumber/messages/go/v24" "os" ) diff --git a/go/messages.go b/go/messages.go index f5ce032ca..d324f8eef 100644 --- a/go/messages.go +++ b/go/messages.go @@ -3,7 +3,7 @@ package gherkin import ( "encoding/json" "fmt" - "github.com/cucumber/messages/go/v22" + "github.com/cucumber/messages/go/v24" "io" "io/ioutil" "strings" diff --git a/go/messages_test.go b/go/messages_test.go index ad656e19d..c4eb74437 100644 --- a/go/messages_test.go +++ b/go/messages_test.go @@ -3,7 +3,7 @@ package gherkin import ( "bytes" "encoding/json" - "github.com/cucumber/messages/go/v22" + "github.com/cucumber/messages/go/v24" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" "testing" diff --git a/go/pickles.go b/go/pickles.go index 47cf171c5..d53d0ae2e 100644 --- a/go/pickles.go +++ b/go/pickles.go @@ -1,7 +1,7 @@ package gherkin import ( - "github.com/cucumber/messages/go/v22" + "github.com/cucumber/messages/go/v24" "strings" ) diff --git a/go/pickles_test.go b/go/pickles_test.go index 1b0d77476..ed6190607 100644 --- a/go/pickles_test.go +++ b/go/pickles_test.go @@ -3,7 +3,7 @@ package gherkin import ( "encoding/json" "fmt" - "github.com/cucumber/messages/go/v22" + "github.com/cucumber/messages/go/v24" "os" "strings" )