The puppeteer API has changed; its PDF functions return a Uint8Array instead of a Buffer.
This PR also changes the BHIMA pdf render function (renderPDF() in server/lib/renderers/pdf.js) to return a Buffer so that all BHIMA functionality remains unchanged.
TESTING:
Make sure normal tests work
Verify that generating PDF documents works (eg, reports, etc)
This PR updates puppeteer and coral.
The puppeteer API has changed; its PDF functions return a Uint8Array instead of a Buffer. This PR also changes the BHIMA pdf render function (renderPDF() in server/lib/renderers/pdf.js) to return a Buffer so that all BHIMA functionality remains unchanged.
TESTING: