Skip to content

fix: jsdom issue, replace with new parser#196

Merged
bxcodec merged 1 commit intomasterfrom
fix/jsdom-breaking-changes
Oct 25, 2025
Merged

fix: jsdom issue, replace with new parser#196
bxcodec merged 1 commit intomasterfrom
fix/jsdom-breaking-changes

Conversation

@bxcodec
Copy link
Copy Markdown
Owner

@bxcodec bxcodec commented Oct 25, 2025

Note

Replaces jsdom with node-html-parser and updates Medium HTML parsing logic; sets TS target to ES2017.

  • Parsing (Medium):
    • Replace jsdom with node-html-parser in app/util/medium.ts.
    • Update stripHTML to use parse(...).textContent and normalize whitespace.
    • Update extractFirstImageFromHTML to query via root.querySelector(...) and read attributes with getAttribute.
  • Dependencies:
    • Remove jsdom and @types/jsdom; add node-html-parser.
  • Config:
    • Set tsconfig.json target to ES2017.

Written by Cursor Bugbot for commit 3aeca4e. This will update automatically on new commits. Configure here.

@vercel
Copy link
Copy Markdown

vercel Bot commented Oct 25, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
github-readme-medium-recent-article Ready Ready Preview Comment Oct 25, 2025 0:53am

@bxcodec bxcodec merged commit 02945d1 into master Oct 25, 2025
3 checks passed
@bxcodec bxcodec deleted the fix/jsdom-breaking-changes branch October 25, 2025 12:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant