Skip to content

Commit

Permalink
fix(deps): update dependency puppeteer to v22 (#2552)
Browse files Browse the repository at this point in the history
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: hung-nguyen <[email protected]>
Co-authored-by: Tuan Pham <[email protected]>
  • Loading branch information
3 people authored Mar 26, 2024
1 parent 17a495f commit 0c03142
Show file tree
Hide file tree
Showing 3 changed files with 100 additions and 101 deletions.
2 changes: 1 addition & 1 deletion packages/plugin-uploader/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"inquirer": "^8.2.6",
"meow": "^9.0.0",
"os-locale": "^5.0.0",
"puppeteer": "^21.7.0"
"puppeteer": "^22.4.1"
},
"devDependencies": {
"@types/inquirer": "8.2.10"
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-uploader/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const launchBrowser = (
ignoreDefaultArgs?: string[],
): Promise<Browser> => {
const args = proxy ? [`--proxy-server=${proxy}`] : [];
return puppeteer.launch({ args, ignoreDefaultArgs, headless: "new" });
return puppeteer.launch({ args, ignoreDefaultArgs, headless: "shell" });
};

const readyForUpload = async (
Expand Down
Loading

0 comments on commit 0c03142

Please sign in to comment.