chore(deps): update rust crate json-escape to 0.2.0 #23
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.
Coming soon: The Renovate bot (GitHub App) will be renamed to Mend. PRs from Renovate will soon appear from 'Mend'. Learn more here.
This PR contains the following updates:
0.1.1
->0.2.0
Release Notes
veecore/json-escape (json-escape)
v0.2.0
Compare Source
Fixed
unescape
andescape
). The internal state slice (self.bytes
) now correctly points to an empty subslice of the original input buffer after completion. This prevents potential pointer arithmetic underflow and Undefined Behavior (UB).Refactoring
unescape
implementation. The core logic has been moved fromlib.rs
intoexplicit.rs
, and the publicunescape
functions now use the faster, dedicatedexplicit::Unescape
iterator. This improves code organization and developer focus..display_utf8_lossy()
after encountering an invalid escape sequence (e.g.,\z
, incomplete Unicode).v0.1.3
Compare Source
Fixed
+2
was applied to the error offset, causing invalid escape sequences like\uD83D
to report the wrong position. This change removes the redundant adjustment, ensuring error positions are now reported accurately.v0.1.2
Compare Source
Added
explicit
module providing an alternative, fine-grained streaming API for both escaping and unescaping.EscapedChunk
andUnescapedChunk
types, allowing users to inspect literal text and modified characters separately.Changed
Cargo.toml
and README to better highlight ergonomics, correctness, and RFC compliance alongside high performance.Fixed
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 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.