Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: false positive pdf link detection for www.pdf* websites #16

Merged
merged 5 commits into from
Jan 19, 2025

Conversation

bendersej
Copy link
Collaborator

@bendersej bendersej commented Jan 19, 2025

Background

The anchor detection logic is currently detecting https://www.pdf* URLs as "simplePDF urls" - this results in the editor opening and complaining that the file is not a valid PDF.

This PR addresses this issue as well as some janitorial work.

Changes

  • Fix the incorrect PDF detection
  • Update dependencies
  • Add test coverage
  • Add formatting
  • Swap yarn for NPM
  • Add Github action
  • Publish @simplepdf/web-embed-pdf@1.8.3

Also update dependencies, add tests coverage, drop yarn in favour of npm, formatting

@bendersej bendersej self-assigned this Jan 19, 2025
@bendersej bendersej merged commit eff1b16 into main Jan 19, 2025
2 checks passed
@bendersej bendersej deleted the web-embed-pdf-1-8-3 branch January 19, 2025 11:14
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