fix(deps): update module github.com/buger/jsonparser to v1.6.0 - #108
Merged
Conversation
|
➡️ Go test coverage stayed the same at 83.0% compared to 0578e98
No change in coverage for any package. View coverage for all packages# Package Name | Coverage
+ github.com/Depado/gin-auth-example | 83.0% |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v1.5.0→v1.6.0Release Notes
buger/jsonparser (github.com/buger/jsonparser)
v1.6.0Compare Source
Covered by ReqProof — L3 Assurance (123 requirements, 0 errors, 0 warnings)
New API —
AppendAppend(data, value, keys...)— appendsvalueto the end of the JSON array addressed bykeys. Addresses the top-level value whenkeysis empty; auto-vivifies a missing keyed path as a single-element array. ReturnsMalformedArrayErrorwhen the addressed value is not an array. Traced to SYS-REQ-009, SYS-REQ-110.Known issues — all resolved (zero open)
ParseInt("-")now returns an error instead of(0, nil). One-line sign-only guard inbytes.go:parseInt(after stripping the sign byte, an empty remainder returns(0, false, false)).Setwith an array-index path component under an object parent (and vice-versa) now auto-coerces the container type instead of emitting malformed JSON. (Disposition already set tofixedin v1.5.x.)Seton a top-level array-index beyond length now appends at the array's end (matching nested-array behavior under SYS-REQ-110) instead of returningKeyPathNotFoundError. Also cleans up trailing commas in malformed arrays.Zero open known issues. Every previously shipped known issue is now resolved and covered by ReqProof L3 Assurance.
v1.5.1Compare Source
Covered by ReqProof — L3 Assurance (123 requirements, 0 errors, 0 warnings)
Performance — 6.1x large-payload speedup
stringEndConfigwas scanning the ENTIRE remaining parent document for backslashes (bytes.IndexByte(data, '\\')) instead of just the string body. On a 24kb large payload this walked tens of KB per string. Now bounded todata[:firstQuote](the string body only). 128µs → 22µs (5.8x).bytes.IndexBytecalls (quote + backslash) with a single inline 8-byte SWAR (SIMD-Within-A-Register) loop that checks for both characters simultaneously. 22µs → 21µs (additional 8%).encoding/jsonbenchmark no longer uses ffjson-generated methods (the #126 ffjson measurement bug was fixed in v1.3.1).Updated benchmark results (Apple M4 Max, Go 1.26.3, median of 5 runs)
All jsonparser results: 0 bytes allocated, 0 allocations.
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.