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

[stable26] Replace deprecated "request" with "axios" #793

Merged

Commits on Aug 8, 2023

  1. Replace deprecated "request" with "axios"

    "request" was used only to get the "pdfjs-XXX-dist.zip" file when
    building the app, but it was not used in the app itself.
    
    It seems that it is not possible (with axios options only) to throttle
    the "onDownloadProgress" event. Nevertheless, an external throttle
    function was not used, as the event is not triggered very often and
    therefore it does not need to be throttled.
    
    Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
    danxuliu committed Aug 8, 2023
    Copy the full SHA
    0b0f496 View commit details
    Browse the repository at this point in the history