Skip to content

Commit

Permalink
puppeteer to v21
Browse files Browse the repository at this point in the history
  • Loading branch information
vitormv committed Nov 30, 2023
1 parent a389198 commit f5338da
Show file tree
Hide file tree
Showing 5 changed files with 275 additions and 83 deletions.
2 changes: 1 addition & 1 deletion cli/export-pdf-resume.mjs
Expand Up @@ -25,7 +25,7 @@ async function exportResumeAsPdf(task) {
let page;

await task('Launching Puppeteer', async () => {
browser = await puppeteer.launch({ headless: true });
browser = await puppeteer.launch({ headless: 'new' });
page = await browser.newPage();
});

Expand Down
4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -29,7 +29,7 @@
},
"devDependencies": {
"@rollup/plugin-yaml": "^4.1.2",
"@types/lodash": "^4.14.200",
"@types/lodash": "^4.14.202",
"@types/node": "^20.8.9",
"@typescript-eslint/eslint-plugin": "^6.13.1",
"@typescript-eslint/parser": "^6.13.1",
Expand All @@ -43,7 +43,7 @@
"eslint-plugin-tailwindcss": "^3.13.0",
"prettier": "^3.1.0",
"prettier-plugin-astro": "^0.12.2",
"puppeteer": "^14.1.0",
"puppeteer": "^21.5.2",
"sass": "^1.69.5",
"stylelint": "^15.11.0",
"stylelint-config-sass-guidelines": "^10.0.0",
Expand Down
Binary file modified public/vitor-mello-resume.pdf
Binary file not shown.
4 changes: 1 addition & 3 deletions src/components/ResumePageA4.astro
Expand Up @@ -47,9 +47,7 @@ const { resume } = Astro.props;
{
resume.education.map((place) => (
<Fragment key={`${place.institution}.${place.studyType}`}>
<h4>
{`${place.studyType}, ${place.area}`}
</h4>
<h4>{`${place.studyType}, ${place.area}`}</h4>
<p>{place.institution}</p>
<em>{place.years}</em>
</Fragment>
Expand Down

0 comments on commit f5338da

Please sign in to comment.