Skip to content

Commit 3c2357d

Browse files
chore(deps): bump github.com/goccy/go-yaml from 1.12.0 to 1.19.2 (#665)
Bumps [github.com/goccy/go-yaml](https://github.com/goccy/go-yaml) from 1.12.0 to 1.19.2. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/goccy/go-yaml/releases">github.com/goccy/go-yaml's releases</a>.</em></p> <blockquote> <h2>1.19.2</h2> <h2>What's Changed</h2> <ul> <li>Fix anchor reference regression in nested structures by <a href="https://github.com/linyows"><code>@​linyows</code></a> in <a href="https://redirect.github.com/goccy/go-yaml/pull/839">goccy/go-yaml#839</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/linyows"><code>@​linyows</code></a> made their first contribution in <a href="https://redirect.github.com/goccy/go-yaml/pull/839">goccy/go-yaml#839</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/goccy/go-yaml/compare/v1.19.1...v1.19.2">https://github.com/goccy/go-yaml/compare/v1.19.1...v1.19.2</a></p> <h2>1.19.1</h2> <h2>What's Changed</h2> <ul> <li>Fix decoding of integer keys of map type by <a href="https://github.com/goccy"><code>@​goccy</code></a> in <a href="https://redirect.github.com/goccy/go-yaml/pull/829">goccy/go-yaml#829</a></li> <li>Support line comment for flow sequence or flow map by <a href="https://github.com/goccy"><code>@​goccy</code></a> in <a href="https://redirect.github.com/goccy/go-yaml/pull/834">goccy/go-yaml#834</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/goccy/go-yaml/compare/v1.19.0...v1.19.1">https://github.com/goccy/go-yaml/compare/v1.19.0...v1.19.1</a></p> <h2>1.19.0</h2> <h2>What's Changed</h2> <ul> <li>Revert &quot;feat: Dont make copies of structs for validation&quot; by <a href="https://github.com/shuheiktgw"><code>@​shuheiktgw</code></a> in <a href="https://redirect.github.com/goccy/go-yaml/pull/763">goccy/go-yaml#763</a></li> <li>Add decode option that allows specific field prefixes by <a href="https://github.com/cpuguy83"><code>@​cpuguy83</code></a> in <a href="https://redirect.github.com/goccy/go-yaml/pull/795">goccy/go-yaml#795</a></li> <li>Normalize CR and CRLF in multi-line strings by <a href="https://github.com/shuheiktgw"><code>@​shuheiktgw</code></a> in <a href="https://redirect.github.com/goccy/go-yaml/pull/754">goccy/go-yaml#754</a></li> <li>Support non string map keys by <a href="https://github.com/shuheiktgw"><code>@​shuheiktgw</code></a> in <a href="https://redirect.github.com/goccy/go-yaml/pull/756">goccy/go-yaml#756</a></li> <li>Skip directive in path operations by <a href="https://github.com/shuheiktgw"><code>@​shuheiktgw</code></a> in <a href="https://redirect.github.com/goccy/go-yaml/pull/758">goccy/go-yaml#758</a></li> <li>Add indentation to flow values on new lines by <a href="https://github.com/shuheiktgw"><code>@​shuheiktgw</code></a> in <a href="https://redirect.github.com/goccy/go-yaml/pull/759">goccy/go-yaml#759</a></li> <li>Add support for RawMessage, similar to json.RawMessage by <a href="https://github.com/thanethomson"><code>@​thanethomson</code></a> in <a href="https://redirect.github.com/goccy/go-yaml/pull/790">goccy/go-yaml#790</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/cpuguy83"><code>@​cpuguy83</code></a> made their first contribution in <a href="https://redirect.github.com/goccy/go-yaml/pull/795">goccy/go-yaml#795</a></li> <li><a href="https://github.com/thanethomson"><code>@​thanethomson</code></a> made their first contribution in <a href="https://redirect.github.com/goccy/go-yaml/pull/790">goccy/go-yaml#790</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/goccy/go-yaml/compare/v1.18.0...v1.19.0">https://github.com/goccy/go-yaml/compare/v1.18.0...v1.19.0</a></p> <h2>1.18.0</h2> <h2>What's Changed</h2> <ul> <li>feat: add global <code>OmitEmpty</code> encoding option by <a href="https://github.com/bwplotka"><code>@​bwplotka</code></a> in <a href="https://redirect.github.com/goccy/go-yaml/pull/691">goccy/go-yaml#691</a></li> <li>chore: clarify omitempty behaviour. by <a href="https://github.com/bwplotka"><code>@​bwplotka</code></a> in <a href="https://redirect.github.com/goccy/go-yaml/pull/696">goccy/go-yaml#696</a></li> <li>Treat output from TextMarshaler as string by <a href="https://github.com/shuheiktgw"><code>@​shuheiktgw</code></a> in <a href="https://redirect.github.com/goccy/go-yaml/pull/698">goccy/go-yaml#698</a></li> <li>Update golangci-lint to v2.1.2 by <a href="https://github.com/shuheiktgw"><code>@​shuheiktgw</code></a> in <a href="https://redirect.github.com/goccy/go-yaml/pull/701">goccy/go-yaml#701</a></li> <li>Tidy benchmarks/go.mod by <a href="https://github.com/eikemeier"><code>@​eikemeier</code></a> in <a href="https://redirect.github.com/goccy/go-yaml/pull/686">goccy/go-yaml#686</a></li> <li>Remove testmod task by <a href="https://github.com/goccy"><code>@​goccy</code></a> in <a href="https://redirect.github.com/goccy/go-yaml/pull/715">goccy/go-yaml#715</a></li> <li>Clean up encoder.go by <a href="https://github.com/shuheiktgw"><code>@​shuheiktgw</code></a> in <a href="https://redirect.github.com/goccy/go-yaml/pull/703">goccy/go-yaml#703</a></li> <li>Fix validation error position for container type by <a href="https://github.com/goccy"><code>@​goccy</code></a> in <a href="https://redirect.github.com/goccy/go-yaml/pull/716">goccy/go-yaml#716</a></li> <li>Add nil checking for error handling by <a href="https://github.com/goccy"><code>@​goccy</code></a> in <a href="https://redirect.github.com/goccy/go-yaml/pull/719">goccy/go-yaml#719</a></li> <li>Ignore validation for alias map key by <a href="https://github.com/goccy"><code>@​goccy</code></a> in <a href="https://redirect.github.com/goccy/go-yaml/pull/720">goccy/go-yaml#720</a></li> <li>Avoid returning an error for null document by <a href="https://github.com/shuheiktgw"><code>@​shuheiktgw</code></a> in <a href="https://redirect.github.com/goccy/go-yaml/pull/721">goccy/go-yaml#721</a></li> <li>Add Go 1.24 to test matrix by <a href="https://github.com/shuheiktgw"><code>@​shuheiktgw</code></a> in <a href="https://redirect.github.com/goccy/go-yaml/pull/722">goccy/go-yaml#722</a></li> <li>Set null value for empty document by <a href="https://github.com/goccy"><code>@​goccy</code></a> in <a href="https://redirect.github.com/goccy/go-yaml/pull/725">goccy/go-yaml#725</a></li> <li>Support implicit null by <a href="https://github.com/goccy"><code>@​goccy</code></a> in <a href="https://redirect.github.com/goccy/go-yaml/pull/727">goccy/go-yaml#727</a></li> <li>Support omitzero by <a href="https://github.com/goccy"><code>@​goccy</code></a> in <a href="https://redirect.github.com/goccy/go-yaml/pull/729">goccy/go-yaml#729</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/goccy/go-yaml/commit/92bc79cb5f685e999ad131473168fc45215d12d9"><code>92bc79c</code></a> Fix anchor reference regression in nested structures (<a href="https://redirect.github.com/goccy/go-yaml/issues/839">#839</a>)</li> <li><a href="https://github.com/goccy/go-yaml/commit/b0ab06985557a2d84913ecba6dda0dbedbd5e154"><code>b0ab069</code></a> Support line comment for flow sequence or flow map (<a href="https://redirect.github.com/goccy/go-yaml/issues/834">#834</a>)</li> <li><a href="https://github.com/goccy/go-yaml/commit/9e98b0c753ff2b8f0b323929c9c60fe7951d0f45"><code>9e98b0c</code></a> Fix decoding of integer keys of map type (<a href="https://redirect.github.com/goccy/go-yaml/issues/829">#829</a>)</li> <li><a href="https://github.com/goccy/go-yaml/commit/a7b4bfbcf4a41152862ffba5cce666631bc04bb1"><code>a7b4bfb</code></a> Add support for RawMessage, similar to json.RawMessage (<a href="https://redirect.github.com/goccy/go-yaml/issues/790">#790</a>)</li> <li><a href="https://github.com/goccy/go-yaml/commit/07c09c028744e7aac32d1b11279a401055d107f5"><code>07c09c0</code></a> Add indentation to flow values on new lines (<a href="https://redirect.github.com/goccy/go-yaml/issues/759">#759</a>)</li> <li><a href="https://github.com/goccy/go-yaml/commit/0040ab4161153c5b812ae51984d3967ad3dbd068"><code>0040ab4</code></a> Skip directive in path operations (<a href="https://redirect.github.com/goccy/go-yaml/issues/758">#758</a>)</li> <li><a href="https://github.com/goccy/go-yaml/commit/7901e98f54d280a553a0d606c91a82fa89493928"><code>7901e98</code></a> Support non string map keys (<a href="https://redirect.github.com/goccy/go-yaml/issues/756">#756</a>)</li> <li><a href="https://github.com/goccy/go-yaml/commit/f4d13479ba3d44541a65d0dffeab5e3fa805413a"><code>f4d1347</code></a> Normalize CR and CRLF in multi-line strings (<a href="https://redirect.github.com/goccy/go-yaml/issues/754">#754</a>)</li> <li><a href="https://github.com/goccy/go-yaml/commit/90e852559132e85734ab0c9a48b3a912ebd3f060"><code>90e8525</code></a> Add decode option that allows specific field prefixes (<a href="https://redirect.github.com/goccy/go-yaml/issues/795">#795</a>)</li> <li><a href="https://github.com/goccy/go-yaml/commit/25e5d9094248e480434ca87d9119e3d9ce7ac1d7"><code>25e5d90</code></a> Revert &quot;feat: Dont make copies of structs for validation (<a href="https://redirect.github.com/goccy/go-yaml/issues/737">#737</a>)&quot; (<a href="https://redirect.github.com/goccy/go-yaml/issues/763">#763</a>)</li> <li>Additional commits viewable in <a href="https://github.com/goccy/go-yaml/compare/v1.12.0...v1.19.2">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/goccy/go-yaml&package-manager=go_modules&previous-version=1.12.0&new-version=1.19.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Graham Goh <graham.goh@smartcontract.com>
1 parent c4522c1 commit 3c2357d

File tree

3 files changed

+10
-12
lines changed

3 files changed

+10
-12
lines changed

experimental/analyzer/upf/upf_test.go

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ import (
1010

1111
"github.com/ethereum/go-ethereum/common"
1212
"github.com/ethereum/go-ethereum/crypto"
13-
"github.com/google/go-cmp/cmp"
1413
chainsel "github.com/smartcontractkit/chain-selectors"
1514
"github.com/smartcontractkit/chainlink-ccip/chains/evm/gobindings/generated/v1_6_0/rmn_remote"
1615
rmnremotebindings "github.com/smartcontractkit/chainlink-ccip/chains/solana/gobindings/v0_1_0/rmn_remote"
@@ -110,7 +109,7 @@ func TestUpfConvertTimelockProposal(t *testing.T) {
110109
// require.NoError(t, err2)
111110
if tt.wantErr == "" {
112111
require.NoError(t, err)
113-
require.Empty(t, cmp.Diff(tt.want, got))
112+
require.YAMLEq(t, tt.want, got)
114113
} else {
115114
require.ErrorContains(t, err, tt.wantErr)
116115
}
@@ -150,7 +149,7 @@ func TestUpfConvertTimelockProposalWithSui(t *testing.T) {
150149
assertion: func(t *testing.T, gotUpf string, err error) {
151150
t.Helper()
152151
require.NoError(t, err)
153-
require.Equal(t, upfProposalSui, gotUpf)
152+
require.YAMLEq(t, upfProposalSui, gotUpf)
154153
},
155154
},
156155
{
@@ -164,7 +163,7 @@ func TestUpfConvertTimelockProposalWithSui(t *testing.T) {
164163
assertion: func(t *testing.T, gotUpf string, err error) {
165164
t.Helper()
166165
require.NoError(t, err)
167-
require.Equal(t, upfProposalSuiUnknownModule, gotUpf)
166+
require.YAMLEq(t, upfProposalSuiUnknownModule, gotUpf)
168167
},
169168
},
170169
}
@@ -489,7 +488,7 @@ transactions:
489488
- pubkey: CpbeEvmTR4UE8CgDDL5b1nqjSz7JCD4wNJhxPLZRkSL1
490489
issigner: false
491490
iswritable: true
492-
- pubkey: 11111111111111111111111111111111
491+
- pubkey: "11111111111111111111111111111111"
493492
issigner: false
494493
iswritable: false
495494
Id: 0x9017959d8b60f859fa9f05f49b9c04f41a112c23fe54370b00a39cdccb75fb04
@@ -582,7 +581,7 @@ transactions:
582581
Subject:
583582
value: 0xfb968f03709115b80000000000000000
584583
signers:
585-
"10344971235874465080":
584+
10344971235874465080:
586585
- "0xA5D5B0B844c8f11B61F28AC98BBA84dEA9b80953"
587586
- "0x9A60462e4CA802E3E945663930Be0d162e662091"
588587
- "0x5f077BCeE6e285154473F65699d6F46Fd03D105A"
@@ -653,7 +652,7 @@ transactions:
653652
functionName: "failed to decode Sui transaction: could not find function in contractInterfaces for mcms::timelock_schedule_batch"
654653
functionArgs: {}
655654
signers:
656-
"9762610643973837292":
655+
9762610643973837292:
657656
- "0xA5D5B0B844c8f11B61F28AC98BBA84dEA9b80953"
658657
`
659658

@@ -722,7 +721,7 @@ transactions:
722721
functionName: "failed to decode Sui transaction: could not find function in contractInterfaces for mcms::timelock_schedule_batch"
723722
functionArgs: {}
724723
signers:
725-
"9762610643973837292":
724+
9762610643973837292:
726725
- "0xA5D5B0B844c8f11B61F28AC98BBA84dEA9b80953"
727726
`
728727

go.mod

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ require (
2020
github.com/gagliardetto/binary v0.8.0
2121
github.com/gagliardetto/solana-go v1.13.0
2222
github.com/go-resty/resty/v2 v2.17.1
23-
github.com/goccy/go-yaml v1.12.0
23+
github.com/goccy/go-yaml v1.19.2
2424
github.com/google/go-cmp v0.7.0
2525
github.com/google/uuid v1.6.0
2626
github.com/jarcoal/httpmock v1.4.1
@@ -310,7 +310,6 @@ require (
310310
golang.org/x/text v0.33.0 // indirect
311311
golang.org/x/time v0.12.0 // indirect
312312
golang.org/x/tools v0.40.0 // indirect
313-
golang.org/x/xerrors v0.0.0-20240903120638-7835f813f4da // indirect
314313
google.golang.org/genproto/googleapis/api v0.0.0-20260114163908-3f89685c29c3 // indirect
315314
google.golang.org/genproto/googleapis/rpc v0.0.0-20251222181119-0a764e51fe1b
316315
gopkg.in/natefinch/lumberjack.v2 v2.2.1 // indirect

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -302,8 +302,8 @@ github.com/go-viper/mapstructure/v2 v2.4.0 h1:EBsztssimR/CONLSZZ04E8qAkxNYq4Qp9L
302302
github.com/go-viper/mapstructure/v2 v2.4.0/go.mod h1:oJDH3BJKyqBA2TXFhDsKDGDTlndYOZ6rGS0BRZIxGhM=
303303
github.com/goccy/go-json v0.10.5 h1:Fq85nIqj+gXn/S5ahsiTlK3TmC85qgirsdTP/+DeaC4=
304304
github.com/goccy/go-json v0.10.5/go.mod h1:oq7eo15ShAhp70Anwd5lgX2pLfOS3QCiwU/PULtXL6M=
305-
github.com/goccy/go-yaml v1.12.0 h1:/1WHjnMsI1dlIBQutrvSMGZRQufVO3asrHfTwfACoPM=
306-
github.com/goccy/go-yaml v1.12.0/go.mod h1:wKnAMd44+9JAAnGQpWVEgBzGt3YuTaQ4uXoHvE4m7WU=
305+
github.com/goccy/go-yaml v1.19.2 h1:PmFC1S6h8ljIz6gMRBopkjP1TVT7xuwrButHID66PoM=
306+
github.com/goccy/go-yaml v1.19.2/go.mod h1:XBurs7gK8ATbW4ZPGKgcbrY1Br56PdM69F7LkFRi1kA=
307307
github.com/godbus/dbus/v5 v5.0.4/go.mod h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5xrFpKfA=
308308
github.com/gofrs/flock v0.12.1 h1:MTLVXXHf8ekldpJk3AKicLij9MdwOWkZ+a/jHHZby9E=
309309
github.com/gofrs/flock v0.12.1/go.mod h1:9zxTsyu5xtJ9DK+1tFZyibEV7y3uwDxPPfbxeeHCoD0=

0 commit comments

Comments
 (0)