Skip to content

Conversation

@danxuliu
Copy link
Member

Backport of #806

There were no deleted files in stable25.

It seems that in some cases "unzipper" may not extract all the files
and, with some node versions, it may corrupt some of the extracted
files. As there is no fix for all that yet (downgrading "unzipper" to
0.10.11 might solve the missing extracted files, but it would still be
affected by the corrupted files and thus prevent upgrading to a newer
node version) "unzipper" was replaced by "adm-zip".

"adm-zip" does not have dependencies and has a large user base.
Unfortunately it does not support streams and requires loading the whole
file in memory to be able to extract it, but the package is not very
large (around 5,5 MiB), so this should not be a problem.

Signed-off-by: Daniel Calviño Sánchez <[email protected]>
@danxuliu danxuliu added bug 3. to review dependencies Pull requests that update a dependency file labels Aug 21, 2023
@danxuliu danxuliu added this to the Nextcloud 25.0.11 milestone Aug 21, 2023
@danxuliu danxuliu requested a review from szaimen August 21, 2023 16:51
@danxuliu danxuliu enabled auto-merge August 21, 2023 16:59
@danxuliu danxuliu merged commit d9e9839 into stable25 Aug 21, 2023
@delete-merged-branch delete-merged-branch bot deleted the backport/806/stable25-fix-extraction-of-pdf.js-package branch August 21, 2023 18:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review bug dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants