From c9b3aa2e76bd6837c9b5f80a9c1bcec8b84804fd Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Tue, 16 Jul 2024 20:51:08 -0700
Subject: [PATCH] Update module github.com/goccy/go-json to v0.10.3 (#34111)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [github.com/goccy/go-json](https://togithub.com/goccy/go-json) |
`v0.9.7` -> `v0.10.3` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fgoccy%2fgo-json/v0.10.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fgoccy%2fgo-json/v0.10.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fgoccy%2fgo-json/v0.9.7/v0.10.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fgoccy%2fgo-json/v0.9.7/v0.10.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
---
> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.
---
### Release Notes
goccy/go-json (github.com/goccy/go-json)
###
[`v0.10.3`](https://togithub.com/goccy/go-json/releases/tag/v0.10.3):
0.10.3
[Compare
Source](https://togithub.com/goccy/go-json/compare/v0.10.2...v0.10.3)
#### What's Changed
- Add license for string processing by
[@goccy](https://togithub.com/goccy) in
[https://github.com/goccy/go-json/pull/476](https://togithub.com/goccy/go-json/pull/476)
- fix: decode struct with pointer must be nil by
[@misyuari](https://togithub.com/misyuari) in
[https://github.com/goccy/go-json/pull/473](https://togithub.com/goccy/go-json/pull/473)
- fix: fix a bug for escaping 0xE2 0x80 0xA8 in compactString by
[@lizixing](https://togithub.com/lizixing) in
[https://github.com/goccy/go-json/pull/479](https://togithub.com/goccy/go-json/pull/479)
- Fix custom map marshaling by
[@viewsharp](https://togithub.com/viewsharp) in
[https://github.com/goccy/go-json/pull/505](https://togithub.com/goccy/go-json/pull/505)
- Use io package instead of ioutil package by
[@shamaton](https://togithub.com/shamaton) in
[https://github.com/goccy/go-json/pull/498](https://togithub.com/goccy/go-json/pull/498)
#### New Contributors
- [@misyuari](https://togithub.com/misyuari) made their first
contribution in
[https://github.com/goccy/go-json/pull/473](https://togithub.com/goccy/go-json/pull/473)
- [@lizixing](https://togithub.com/lizixing) made their first
contribution in
[https://github.com/goccy/go-json/pull/479](https://togithub.com/goccy/go-json/pull/479)
- [@viewsharp](https://togithub.com/viewsharp) made their first
contribution in
[https://github.com/goccy/go-json/pull/505](https://togithub.com/goccy/go-json/pull/505)
- [@shamaton](https://togithub.com/shamaton) made their first
contribution in
[https://github.com/goccy/go-json/pull/498](https://togithub.com/goccy/go-json/pull/498)
**Full Changelog**:
https://github.com/goccy/go-json/compare/v0.10.2...v0.10.3
###
[`v0.10.2`](https://togithub.com/goccy/go-json/blob/HEAD/CHANGELOG.md#v0102---20230320)
[Compare
Source](https://togithub.com/goccy/go-json/compare/v0.10.1...v0.10.2)
##### New features
- Support DebugDOT option for debugging encoder (
[#440](https://togithub.com/goccy/go-json/issues/440) )
##### Fix bugs
- Fix combination of embedding structure and omitempty option (
[#442](https://togithub.com/goccy/go-json/issues/442) )
###
[`v0.10.1`](https://togithub.com/goccy/go-json/blob/HEAD/CHANGELOG.md#v0101---20230313)
[Compare
Source](https://togithub.com/goccy/go-json/compare/v0.10.0...v0.10.1)
##### Fix bugs
- Fix checkptr error for array decoder (
[#415](https://togithub.com/goccy/go-json/issues/415) )
- Fix added buffer size check when decoding key (
[#430](https://togithub.com/goccy/go-json/issues/430) )
- Fix handling of anonymous fields other than struct (
[#431](https://togithub.com/goccy/go-json/issues/431) )
- Fix to not optimize when lower conversion can't handle byte-by-byte (
[#432](https://togithub.com/goccy/go-json/issues/432) )
- Fix a problem that MarshalIndent does not work when UnorderedMap is
specified ( [#435](https://togithub.com/goccy/go-json/issues/435)
)
- Fix mapDecoder.DecodeStream() for empty objects containing whitespace
( [#425](https://togithub.com/goccy/go-json/issues/425) )
- Fix an issue that could not set the correct NextField for fields in
the embedded structure (
[#438](https://togithub.com/goccy/go-json/issues/438) )
###
[`v0.10.0`](https://togithub.com/goccy/go-json/blob/HEAD/CHANGELOG.md#v0100---20221129)
[Compare
Source](https://togithub.com/goccy/go-json/compare/v0.9.11...v0.10.0)
##### New features
- Support JSON Path (
[#250](https://togithub.com/goccy/go-json/issues/250) )
##### Fix bugs
- Fix marshaler for map's key (
[#409](https://togithub.com/goccy/go-json/issues/409) )
###
[`v0.9.11`](https://togithub.com/goccy/go-json/blob/HEAD/CHANGELOG.md#v0911---20220818)
[Compare
Source](https://togithub.com/goccy/go-json/compare/v0.9.10...v0.9.11)
##### Fix bugs
- Fix unexpected behavior when buffer ends with backslash (
[#383](https://togithub.com/goccy/go-json/issues/383) )
- Fix stream decoding of escaped character (
[#387](https://togithub.com/goccy/go-json/issues/387) )
###
[`v0.9.10`](https://togithub.com/goccy/go-json/blob/HEAD/CHANGELOG.md#v0910---20220715)
[Compare
Source](https://togithub.com/goccy/go-json/compare/v0.9.9...v0.9.10)
##### Fix bugs
- Fix boundary exception of type caching (
[#382](https://togithub.com/goccy/go-json/issues/382) )
###
[`v0.9.9`](https://togithub.com/goccy/go-json/blob/HEAD/CHANGELOG.md#v099---20220715)
[Compare
Source](https://togithub.com/goccy/go-json/compare/v0.9.8...v0.9.9)
##### Fix bugs
- Fix encoding of directed interface with typed nil (
[#377](https://togithub.com/goccy/go-json/issues/377) )
- Fix embedded primitive type encoding using alias (
[#378](https://togithub.com/goccy/go-json/issues/378) )
- Fix slice/array type encoding with types implementing MarshalJSON (
[#379](https://togithub.com/goccy/go-json/issues/379) )
- Fix unicode decoding when the expected buffer state is not met after
reading ( [#380](https://togithub.com/goccy/go-json/issues/380) )
###
[`v0.9.8`](https://togithub.com/goccy/go-json/blob/HEAD/CHANGELOG.md#v098---20220630)
[Compare
Source](https://togithub.com/goccy/go-json/compare/v0.9.7...v0.9.8)
##### Fix bugs
- Fix decoding of surrogate-pair (
[#365](https://togithub.com/goccy/go-json/issues/365) )
- Fix handling of embedded primitive type (
[#366](https://togithub.com/goccy/go-json/issues/366) )
- Add validation of escape sequence for decoder (
[#367](https://togithub.com/goccy/go-json/issues/367) )
- Fix stream tokenizing respecting UseNumber (
[#369](https://togithub.com/goccy/go-json/issues/369) )
- Fix encoding when struct pointer type that implements Marshal JSON is
embedded ( [#375](https://togithub.com/goccy/go-json/issues/375)
)
##### Improve performance
- Improve performance of linkRecursiveCode (
[#368](https://togithub.com/goccy/go-json/issues/368) )
---
### Configuration
📅 **Schedule**: Branch creation - "on tuesday" (UTC), Automerge - At any
time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
â™» **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/open-telemetry/opentelemetry-collector-contrib).
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: opentelemetrybot <107717825+opentelemetrybot@users.noreply.github.com>
Co-authored-by: Yang Song
---
exporter/splunkhecexporter/go.mod | 2 +-
exporter/splunkhecexporter/go.sum | 4 ++--
receiver/splunkhecreceiver/go.mod | 2 +-
receiver/splunkhecreceiver/go.sum | 4 ++--
4 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/exporter/splunkhecexporter/go.mod b/exporter/splunkhecexporter/go.mod
index 48565861a3df..87216def1671 100644
--- a/exporter/splunkhecexporter/go.mod
+++ b/exporter/splunkhecexporter/go.mod
@@ -4,7 +4,7 @@ go 1.21.0
require (
github.com/cenkalti/backoff/v4 v4.3.0
- github.com/goccy/go-json v0.9.7
+ github.com/goccy/go-json v0.10.3
github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal v0.105.0
github.com/open-telemetry/opentelemetry-collector-contrib/internal/splunk v0.105.0
github.com/open-telemetry/opentelemetry-collector-contrib/pkg/batchperresourceattr v0.105.0
diff --git a/exporter/splunkhecexporter/go.sum b/exporter/splunkhecexporter/go.sum
index e5d2ff27b3aa..558c87162bd8 100644
--- a/exporter/splunkhecexporter/go.sum
+++ b/exporter/splunkhecexporter/go.sum
@@ -46,8 +46,8 @@ github.com/go-ole/go-ole v1.2.6 h1:/Fpf6oFPoeFik9ty7siob0G6Ke8QvQEuVcuChpwXzpY=
github.com/go-ole/go-ole v1.2.6/go.mod h1:pprOEPIfldk/42T2oK7lQ4v4JSDwmV0As9GaiUsvbm0=
github.com/go-viper/mapstructure/v2 v2.0.0-alpha.1 h1:TQcrn6Wq+sKGkpyPvppOz99zsMBaUOKXq6HSv655U1c=
github.com/go-viper/mapstructure/v2 v2.0.0-alpha.1/go.mod h1:oJDH3BJKyqBA2TXFhDsKDGDTlndYOZ6rGS0BRZIxGhM=
-github.com/goccy/go-json v0.9.7 h1:IcB+Aqpx/iMHu5Yooh7jEzJk1JZ7Pjtmys2ukPr7EeM=
-github.com/goccy/go-json v0.9.7/go.mod h1:6MelG93GURQebXPDq3khkgXZkazVtN9CRI+MGFi0w8I=
+github.com/goccy/go-json v0.10.3 h1:KZ5WoDbxAIgm2HNbYckL0se1fHD6rz5j4ywS6ebzDqA=
+github.com/goccy/go-json v0.10.3/go.mod h1:oq7eo15ShAhp70Anwd5lgX2pLfOS3QCiwU/PULtXL6M=
github.com/gogo/protobuf v1.3.2 h1:Ov1cvc58UF3b5XjBnZv7+opcTcQFZebYjWzi34vdm4Q=
github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q=
github.com/golang/snappy v0.0.4 h1:yAGX7huGHXlcLOEtBnF4w7FQwA26wojNCwOYAEhLjQM=
diff --git a/receiver/splunkhecreceiver/go.mod b/receiver/splunkhecreceiver/go.mod
index a81562e1a270..723c144d8b1e 100644
--- a/receiver/splunkhecreceiver/go.mod
+++ b/receiver/splunkhecreceiver/go.mod
@@ -38,7 +38,7 @@ require (
github.com/go-logr/logr v1.4.2 // indirect
github.com/go-logr/stdr v1.2.2 // indirect
github.com/go-viper/mapstructure/v2 v2.0.0-alpha.1 // indirect
- github.com/goccy/go-json v0.9.7 // indirect
+ github.com/goccy/go-json v0.10.3 // indirect
github.com/gogo/protobuf v1.3.2 // indirect
github.com/golang/snappy v0.0.4 // indirect
github.com/hashicorp/go-version v1.7.0 // indirect
diff --git a/receiver/splunkhecreceiver/go.sum b/receiver/splunkhecreceiver/go.sum
index 138a5004e0af..7b1ca9efac62 100644
--- a/receiver/splunkhecreceiver/go.sum
+++ b/receiver/splunkhecreceiver/go.sum
@@ -42,8 +42,8 @@ github.com/go-ole/go-ole v1.2.6 h1:/Fpf6oFPoeFik9ty7siob0G6Ke8QvQEuVcuChpwXzpY=
github.com/go-ole/go-ole v1.2.6/go.mod h1:pprOEPIfldk/42T2oK7lQ4v4JSDwmV0As9GaiUsvbm0=
github.com/go-viper/mapstructure/v2 v2.0.0-alpha.1 h1:TQcrn6Wq+sKGkpyPvppOz99zsMBaUOKXq6HSv655U1c=
github.com/go-viper/mapstructure/v2 v2.0.0-alpha.1/go.mod h1:oJDH3BJKyqBA2TXFhDsKDGDTlndYOZ6rGS0BRZIxGhM=
-github.com/goccy/go-json v0.9.7 h1:IcB+Aqpx/iMHu5Yooh7jEzJk1JZ7Pjtmys2ukPr7EeM=
-github.com/goccy/go-json v0.9.7/go.mod h1:6MelG93GURQebXPDq3khkgXZkazVtN9CRI+MGFi0w8I=
+github.com/goccy/go-json v0.10.3 h1:KZ5WoDbxAIgm2HNbYckL0se1fHD6rz5j4ywS6ebzDqA=
+github.com/goccy/go-json v0.10.3/go.mod h1:oq7eo15ShAhp70Anwd5lgX2pLfOS3QCiwU/PULtXL6M=
github.com/gogo/protobuf v1.3.2 h1:Ov1cvc58UF3b5XjBnZv7+opcTcQFZebYjWzi34vdm4Q=
github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q=
github.com/golang/snappy v0.0.4 h1:yAGX7huGHXlcLOEtBnF4w7FQwA26wojNCwOYAEhLjQM=