Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: mehmet-kozan/pdf-parse
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.4.4
Choose a base ref
...
head repository: mehmet-kozan/pdf-parse
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v2.4.5
Choose a head ref
  • 3 commits
  • 39 files changed
  • 1 contributor

Commits on Oct 20, 2025

  1. For browser build, set the background web worker explicitly. (#37)

    * Add TypeDoc config, docs renames, and LoadParameters type
    
    Introduces a TypeDoc configuration file and updates .gitignore for typedoc output. Renames documentation files for clarity and updates references in README.md. Adds a new LoadParameters type definition for PDF loading options. Adds typedoc as a dev dependency and a build script. Includes new test data and a test for HTML PDF parsing. Updates Vite config to use the correct entry point.
    
    * Rename DocumentInitParameters to LoadParameters
    
    Replaces all usage and documentation of DocumentInitParameters with LoadParameters for clarity and consistency. Updates type exports, API docs, examples, and internal references. Also improves TypeDoc config, adds type documentation link to reports, and fixes a typo in the report:build script.
    
    * Update API extractor configs and demo usage
    
    Changed API extractor config files to use 'undocumented' report filenames and disabled doc model and TSDoc metadata generation. Removed generated API docs. Updated demo HTML files to explicitly set the worker path for PDFParse and improved CDN import examples. Bumped package version to 2.4.5.
    
    * Refactor API Extractor configs and update build scripts
    
    Renamed API Extractor config files to the 'configs/' directory and updated their paths and token usage for improved maintainability. Updated build scripts in package.json to reference the new config locations. Added generated API documentation files for node, pdf-parse, and worker builds.
    
    * Add example test script and update test workflow
    
    Introduces scripts/example.test.mjs to run example scripts for testing. Updates package.json with new test:e and test:all commands, adds tsx as a dev dependency, and modifies the GitHub Actions workflow to use npm run test:all. Also updates example HTML files to set the correct worker path and improves exception handling in exception-handling.ts.
    
    * Remove extra logging and update test scripts
    
    Eliminated unnecessary console output in example and integration test scripts for cleaner logs. Updated 'test:u' npm script to use the 'dot' reporter for unsupported tests. Commented out a log in the worker and clarified error output for PDF worker loading.
    
    * Update CDN links, add funding info, and improve pack script
    
    Updated README to use new CDN links and worker configuration for pdf-parse v2.4.5. Added .github/FUNDING.yml and funding field in package.json for GitHub sponsorship. Modified npm pack script to check for outdated packages before packing, and corrected unpkg field to use UMD build.
    
    * Refactor worker config docs and add troubleshooting guide
    
    Streamlined worker configuration instructions in README.md and moved detailed troubleshooting steps to a new docs/troubleshooting.md file. The new guide covers common errors, platform-specific setup, Node.js version compatibility, and manual worker configuration for custom environments.
    mehmet-kozan authored Oct 20, 2025
    Configuration menu
    Copy the full SHA
    cff0ae1 View commit details
    Browse the repository at this point in the history
  2. Integration test dependency fix (#38)

    * Remove browserless integration test files
    
    Deleted the _test_browserless integration test directory, including its configuration, test script, and package manifest. This cleans up unused or obsolete test code and dependencies.
    
    * Update funding, README, and troubleshooting docs
    
    Added Tidelift funding link. Improved README by reorganizing and clarifying worker configuration and troubleshooting sections. Enhanced troubleshooting guide with ESM and CJS examples for DOMMatrix errors and fixed a test workflow link.
    mehmet-kozan authored Oct 20, 2025
    Configuration menu
    Copy the full SHA
    614e669 View commit details
    Browse the repository at this point in the history
  3. Remove Tidelift funding option

    Deleted the Tidelift entry from .github/FUNDING.yml, leaving only the GitHub sponsor option.
    mehmet-kozan committed Oct 20, 2025
    Configuration menu
    Copy the full SHA
    e8e800b View commit details
    Browse the repository at this point in the history
Loading