Closed dependabot[bot] closed 1 month ago
Dependabot tried to update this pull request, but something went wrong. We're looking into it, but in the meantime you can retry the update by commenting @dependabot rebase
.
Did some investigation into why this version of Puppeteer does not work. It looks like something has changed in the PDF renderer (may be related to changes in puppeteer that need changes to coral). With the old puppeteer, the pdf.render returns a Uint8Array object, that prints out like this (in test/server-unit/pdf.spec.js):
With the new version, the contents of the Uint8Array are different, and test/server-unit/pdf.spec.js fails:
Note that it is no longer a Buffer. Extracting the PDF tag from the data files because it no longer behaves like a string. Perhaps puppeteer is handling UTF8 data differently. I did not see anything about it in the release notes.
I tried modifying the server/lib/renderers/pdf.js render() function to convert it to a string. But that failed because the test checks to see if it is a Buffer (even though the test for the PDF tag works). Converting the results to a string may limit the length of the file that can be handled. I presume that keeping it as a Buffer avoids that limitation.
Superseded by #7721.
Bumps puppeteer from 22.15.0 to 23.3.1.
Release notes
Sourced from puppeteer's releases.
... (truncated)
Commits
b5f08d5
chore: release main (#13072)47d6c44
fix: improve Precision of Paper Sizes in Inches to 4 Decimal Places (#13087)ee1bfc1
chore(deps): Bump the all group with 2 updates (#13092)09aa740
chore(deps): Bump the all group in /website with 2 updates (#13091)280e6f8
chore(docs): fix typo (#13081)6d7eaf0
chore: fix manifest (#13079)1fa201e
chore(deps): Bump serve-static and express in /website (#13073)40aecdc
chore(main): release ng-schematics 0.7.0 (#12938)27df147
fix: roll to Chrome 128.0.6613.137 (#13071)abda5dc
chore(deps-dev): Bump@swc/core
from 1.7.22 to 1.7.23 in /website in the all ...Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show