Repository navigation
Bump @dittowords/text-extract to 0.5.0 - #163
Merged
Merged
Conversation
Log the lines that text-extract skipped in the scan summary. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
laurakoye
approved these changes
Oct 23, 2026
jholiga
force-pushed
the
joey/text-extract-0.5.0
branch
from
November 18, 2026 01:04
30b5b05 to
c89dbef
Compare
Amp-Thread-ID: https://ampcode.com/threads/T-e07201f5-a3b3-471e-a502-c236c27a5771 Co-authored-by: Joey Holiga <51068978+jholiga@users.noreply.github.com>
jholiga
force-pushed
the
joey/text-extract-0.5.0
branch
from
November 18, 2026 01:06
c89dbef to
d15276c
Compare
….5.0 Amp-Thread-ID: https://ampcode.com/threads/T-e07201f5-a3b3-471e-a502-c236c27a5771 # Conflicts: # package.json
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.
Overview
This PR bumps
@dittowords/text-extractfrom^0.4.1to^0.5.0. It also bumps the CLI from5.13.0to5.14.0.In 0.5.0, a line longer than 4,000 characters or slower than 1 s to tokenize is skipped, so one line cannot block a scan. A skipped line has no candidates. The one code change logs
lines.skippedin the scan summary, with the file and line of each skipped line (up to 20), from the newlinesStoppedEarlyandstoppedEarlyLinesfields.Links
Test plan
lines.skippedlists both lines. You can use this command to simulate:lines.skipped: 2, thenIcon.tsx:3andIcon.tsx:5. The 40 shortpadlines keep the file under the minified-file limit./tmp/ditto-long-line-out/candidates.ndjson, and ensure that it has 5 candidates, includingSave changesandNo results found. Those strings come after the long lines.