Update content-tag to 4.2.0 - #29
Merged
NullVoxPopuli merged 1 commit intoSep 4, 2026
Merged
NullVoxPopuli merged 1 commit into
NullVoxPopuli merged 1 commit into
Conversation
content-tag 4.0.0 renamed the range fields from start/end to startByte/endByte, and added startChar/endChar. The byte fields keep the previous behavior, so the Buffer slicing in this package is unchanged apart from the field names. content-tag 4.1.0 strips the whitespace and indentation around template contents during process. The unprocess round-trip tests compared line by line and expected the original newlines next to the template tags. The comparison now splits at the template tags so that whitespace at the tag boundaries does not affect the result. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Fvnp457DHuZC4fBa2KCiqB
Merged
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.
Updates
content-tagfrom^3.1.2to^4.2.0.Two upstream changes needed code changes here.
start/endtostartByte/endByte. This package slices a UTF-8Buffer, so it keeps the byte fields. Only the field names changed.process. Theunprocessround-trip tests expected the original newlines next to the template tags. The test comparison now splits at the template tags, so whitespace at the tag boundaries does not affect the result.pnpm test,pnpm lint, andpnpm formatpass locally.🤖 Generated with Claude Code
https://claude.ai/code/session_01Fvnp457DHuZC4fBa2KCiqB