Skip to content

Update content-tag to 4.2.0 - #29

Merged
NullVoxPopuli merged 1 commit into
ember-tooling:mainfrom
NullVoxPopuli-ai-agent:nvp/update-content-tag
Sep 4, 2026
Merged

NullVoxPopuli merged 1 commit into
ember-tooling:mainfrom
NullVoxPopuli-ai-agent:nvp/update-content-tag

Conversation

@NullVoxPopuli-ai-agent

Copy link
Copy Markdown

Updates content-tag from ^3.1.2 to ^4.2.0.

Two upstream changes needed code changes here.

  1. content-tag 4.0.0 renamed range fields from start/end to startByte/endByte. This package slices a UTF-8 Buffer, so it keeps the byte fields. Only the field names changed.
  2. content-tag 4.1.0 strips whitespace and indentation around template contents during process. The unprocess round-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, and pnpm format pass locally.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Fvnp457DHuZC4fBa2KCiqB

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
@NullVoxPopuli NullVoxPopuli added the enhancement New feature or request label Sep 4, 2026
@NullVoxPopuli
NullVoxPopuli merged commit 84624b3 into ember-tooling:main Sep 4, 2026
4 checks passed
@github-actions github-actions Bot mentioned this pull request Sep 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants