Repository navigation
[BUGFIX] Improve de-typing .gts files - #10659
Merged
Merged
Conversation
bertdeblock
commented
Mar 1, 2025
.gts files.gts files
lifeart
approved these changes
Mar 2, 2025
| let strippedCode = code; | ||
| for (let i = 0; i < templateTagMatches.length; i++) { | ||
| const match = templateTagMatches[i]; | ||
| const templateTag = substringBytes(code, match.range.start, match.range.end); |
Contributor
There was a problem hiding this comment.
you may also be interested in content-tag-utils, which does the byte math for you: https://github.com/nullVoxPopuli/content-tag-utils
NullVoxPopuli
approved these changes
Mar 2, 2025
Windvis
added a commit
to Windvis/ember.js
that referenced
this pull request
Mar 2, 2025
This applies the same changes as ember-cli/ember-cli#10659 so we don't need to wait for a new ember-cli release.
Windvis
approved these changes
Mar 2, 2025
Windvis
left a comment
Contributor
There was a problem hiding this comment.
I applied the same changes as a patch in the ember PR, and it fixed the issue I was running into. Thanks! 🙏
Contributor
|
What's the release strategy for this one? It blocks the PR in ember-source, since we need to list ember-cli as a devDependency there, but ember-cli releases after ember-source, so we can't merge it without a patch I think? Unless this is backported to a previous release. |
Windvis
added a commit
to Windvis/ember.js
that referenced
this pull request
Mar 14, 2025
This applies the same changes as ember-cli/ember-cli#10659 so we don't need to wait for a new ember-cli release.
Windvis
added a commit
to Windvis/ember.js
that referenced
this pull request
Mar 22, 2025
This applies the same changes as ember-cli/ember-cli#10659 so we don't need to wait for a new ember-cli release.
Windvis
added a commit
to Windvis/ember.js
that referenced
this pull request
Apr 28, 2025
This applies the same changes as ember-cli/ember-cli#10659 so we don't need to wait for a new ember-cli release.
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.
Fixes emberjs/ember.js#20862 (comment).