alvarcarto / alvarcarto/url-to-pdf-api

Updating puppeteer to support newer Chrome features

オープン
#188 コメント 5 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
HTML
スター
7.1k
フォーク
779
PR マージ指標
30日以内にマージされた PR はありません

説明

Recently I tried to render a page that uses the newish CSS `aspect-ratio` and the resulting screenshot doesn't recognize it. I suspect the reason is that this project is pinned to puppeteer v2 which predates Chrome support for `aspect-ratio`.

Puppeteer is currently on v19 and it looks like Chrome added support for `aspect-ratio` around the time Puppeteer v13 was released. I tried updating package.json to newer versions but the API in those newer versions has changed (in ways I have not studied closely yet) so the app errors out.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。