Commit Graph

37 Commits

Author SHA1 Message Date
Kyle McNally 1151d3bc96 don't disable the graphics stack https://github.com/Sparticuz/chromium/issues/247 2024-04-15 11:31:15 -04:00
Kyle McNally 636fa64bfa BREAKING!!! Require the user to specify the headless type 2024-04-15 11:30:16 -04:00
Kyle McNally 9f3b102e5e BREAKING!!!! Start using puppeteer.defaultArgs instead of just including them in this package
browser = await puppeteer.launch({
-      args: chromium.args,
+      args: puppeteer.defaultArgs({
+        args: chromium.args,
+      }),
2024-04-15 11:15:59 -04:00
Kyle McNally 41223a10e9 Disable turning off accelerated graphics
https://github.com/Sparticuz/chromium/issues/247
2024-04-03 14:42:23 -04:00
Kyle McNally ce553320d8 Fix types 2024-03-20 14:23:39 -04:00
Kyle McNally da5037292d Breaking: update puppeteer dep
Old mode is now "chrome-headless-shell", which is now the default as the binary we build doesn't include support for the new headless mode.
2024-02-22 11:54:58 -05:00
Sparticuz 8206092f26 possible fix for fonts not rendering correctly 2024-02-22 08:59:09 -05:00
Kyle McNally 05d4445708 drop console logs 2023-12-18 15:45:59 -05:00
Kyle McNally e5334713e3 split more al2 and al2023, change name from aws to al2 2023-12-18 15:24:50 -05:00
Kyle McNally 80cf8e79ce make sure the AL2023 stuff comes first! 2023-12-18 14:19:25 -05:00
Kyle McNally 62b5d05260 extract the font file 2023-12-18 14:19:06 -05:00
Kyle McNally dc23b5d6ed no . in file name? 2023-11-20 16:27:39 -05:00
Sparticuz 28b086cee9 only add the al2023 stuff on node 20 2023-11-16 12:33:04 -05:00
Sparticuz 0786301a85 Drop node 14 support 2023-05-03 16:30:08 -04:00
Sparticuz ffc8ec4c1d Update to chromium 113 2023-05-03 16:09:17 -04:00
Sparticuz 6b87b60d1a Re-add to avoid chromium error 2023-03-29 14:08:46 -04:00
Sparticuz 8ab732f14e more cleanup 2023-03-27 12:46:23 -04:00
Sparticuz 47dc5aef53 Verify the value of setHeadlessMode 2023-03-27 09:41:12 -04:00
Sparticuz 3f6eb9ee91 Refactor graphics mode 2023-03-27 09:40:51 -04:00
Sparticuz 0c1351f01b Refactor headless mode
now uses getter and setter
2023-03-27 09:24:08 -04:00
Sparticuz 38e10469c5 Pull out the aws lambda check into it's own function 2023-03-27 08:46:00 -04:00
Sparticuz e0a6b12631 refactor args 2023-03-24 15:50:13 -04:00
Sparticuz e5bd99a1f9 Add headless type and graphics stack type 2023-03-24 15:49:51 -04:00
Sparticuz 1889639200 breaking: Move font download to use follow-redirects
deprecates http font downloads
2023-03-24 15:43:50 -04:00
Sparticuz 456b5d58e3 Remove node version check
fixes #75
2023-03-24 15:42:36 -04:00
Sparticuz 30933b91b1 Prettier 2023-03-24 09:29:34 -04:00
Vu Nguyen 3deea91193 feat: load chromium binary remote 2023-01-06 04:06:32 +00:00
Sparticuz 03ec742402 font should return a promise with null here, instead of just null 2022-12-30 11:28:52 -05:00
Sparticuz 9578aa0154 Cleanup typescript and lint 2022-12-30 11:28:32 -05:00
Sparticuz 1ef67ceae8 Cleanup old node versions 2022-12-30 11:27:52 -05:00
Sparticuz 0562aca09f Refactor executablePath a little bit
Thanks @aquarius6666 for the initial code!
2022-12-28 10:27:37 -05:00
Vu Nguyen 5d81cf2367 feat: add alternative location for executablePath 2022-12-15 13:50:48 +07:00
Sparticuz e0b050dacf node 18 on lambda support 2022-11-28 14:04:13 -05:00
Lucas Buzzo eeef9b1c18 FIX: executablePath() return path even on headful 2022-11-04 10:04:53 -03:00
Sparticuz 18d292e274 Add another headless check 2022-09-27 11:48:34 -04:00
Sparticuz d44fbde653 Remove embedded puppeteer-core 2022-09-26 15:10:14 -04:00
Sparticuz 034e9e0d56 Initial Fork from chrome-aws-lambda
For repo history, please see: abdc140008
2022-09-26 15:05:08 -04:00