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

Move canvas to optionalDependencies #15655

Merged

Conversation

tamuratak
Copy link
Contributor

Move canvas to optionalDependencies, which enables npm to continue installing pdfjs-dist even if the installation of canvas fails. Close #15652.

…stalling pdfjs-dist

even if the installation of canvas fails. Close mozilla#15652
Copy link
Collaborator

@Snuffleupagus Snuffleupagus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's try this, given that the canvas package is only needed in Node.js environments; thank you.

@Snuffleupagus Snuffleupagus merged commit 2ae90f9 into mozilla:master Nov 2, 2022
@karthikcodes6
Copy link

Any ETA on new release for this fix?

@jinxuan
Copy link

jinxuan commented Nov 16, 2022

+1 above

@Delagen
Copy link

Delagen commented Nov 16, 2022

@Snuffleupagus when will be release?

@Snuffleupagus
Copy link
Collaborator

This will be included in the next release which, provided that nothing unforeseen happens[1], is planned for the end of the month.


[1] Please keep in mind that the releases, in addition to many things in this project, are handled by unpaid contributors.

@timvandermeij
Copy link
Contributor

Fixed in release 3.1.81.

@tamuratak tamuratak deleted the move_canvas_to_optionaldeps branch November 13, 2023 03:44
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.

canvas should not be a dependency if possible
6 participants