Update PDF.js to v2.14.137 and improve automation/documentation of process #720
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.
Update PDF.js to v2.14.137, matching hypothesis/browser-extension#799 (almost, this update is a few minor updates newer).
The
bin/update-pdfjs
script has also been updated to improve the documentation on how to run it and auto-commit the results. In particular the comments in the script now note that it should be run viamake update-pdfjs
rather than being run directly as a user would do in other repositories. This is necessary to set up the Python environment for thebin/create_pdf_template.py
script. Auto-committing the result ensures that the PDF.js version number is included in the commit message and the correct directories are committed. A similar change was recently made for the browser extension in hypothesis/browser-extension#799.