Commit Graph

653 Commits

Author SHA1 Message Date
Alex Rudenko
c09b1b6948
chore: increase rm retries for browsers (#9910) 2023-03-24 09:45:28 +00:00
Alex Rudenko
de86cafe3c
chore: reduce default timeout to 10s (#9906) 2023-03-24 09:35:45 +01:00
Nikolay Vitkov
48e7bdd75e
chore: use events rather than commands (#9904) 2023-03-23 17:18:48 +01:00
jrandolf
6c018acf5d
chore: update deep implementation for P selectors (#9908) 2023-03-23 15:46:33 +01:00
Alex Rudenko
f6ef167b0f
chore: validate licenses (#9873) 2023-03-23 10:22:52 +01:00
Alex Rudenko
976684e4e1
chore: remove operations for now (#9899) 2023-03-22 16:56:12 +01:00
Alex Rudenko
5f72c8bac1
chore: skip building on install (#9902) 2023-03-22 11:11:47 +01:00
Nikolay Vitkov
c6a9404bb4
chore: reuse SetContent across implementations (#9894) 2023-03-22 10:49:39 +01:00
Alex Rudenko
00abcdca7f
chore: expose additional methods for Puppeteer (#9900) 2023-03-22 10:04:41 +01:00
dependabot[bot]
69b77ded4d
chore(deps): Bump @angular-devkit/schematics from 15.2.2 to 15.2.4 (#9896)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-22 08:09:59 +00:00
dependabot[bot]
45805196f0
chore(deps): Bump @angular-devkit/core from 15.2.2 to 15.2.4 (#9895)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-22 09:03:20 +01:00
jrandolf
323db305f0
chore: use WeakMap and null for DepthCalculator (#9892) 2023-03-21 14:09:50 +01:00
Alex Rudenko
1f76cdda12
chore: replace rimraf with a helper in BrowserFetcher/Connector (#9890) 2023-03-21 13:41:56 +01:00
Alex Rudenko
510b36c500
fix: implement protocol-level timeouts (#9877) 2023-03-21 11:53:13 +00:00
Nikolay Vitkov
36c029b38d
fix: waitForNavigation issue with aborted events (#9883) 2023-03-21 10:22:57 +01:00
Nikolay Vitkov
3ea15dc395
chore: JavaScript error should produce pageerror events (#9884) 2023-03-21 10:21:48 +01:00
Michael "Z" Goddard
a5149d52f5
feat: add Page.waitForDevicePrompt (#9299)
Co-authored-by: Alex Rudenko <OrKoN@users.noreply.github.com>
Co-authored-by: Alex Rudenko <alexrudenko@chromium.org>
2023-03-21 10:21:10 +01:00
dependabot[bot]
d6e5aeeff5
chore(deps): Bump @angular-devkit/architect from 0.1502.2 to 0.1502.4 (#9886)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-21 09:32:34 +01:00
dependabot[bot]
ed8793357e
chore(deps): Bump cosmiconfig from 8.1.0 to 8.1.3 (#9880)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-20 16:07:04 +00:00
dependabot[bot]
3d1dd519ac
chore(deps): Bump ws from 8.12.1 to 8.13.0 (#9831)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-20 14:49:37 +00:00
Nikolay Vitkov
cb079378bb
chore: add BiDi support for SetContent (#9878) 2023-03-20 14:00:13 +01:00
Nikolay Vitkov
9ccde6ebf5
chore: added * pattern for test expectations (#9870) 2023-03-20 10:59:50 +01:00
jrandolf
e6ec9c2958
fix: fallback to CSS (#9876) 2023-03-17 13:23:14 +01:00
Alex Rudenko
de6e6a69a1
chore: remove rimraf from browsers (#9874) 2023-03-17 09:36:22 +00:00
jrandolf
9f9394ca42
chore: use parsel (#9865) 2023-03-16 14:41:38 +01:00
Alex Rudenko
b8d38cb05f
feat: implement a command to clear the cache (#9868) 2023-03-16 14:05:31 +01:00
Alex Rudenko
21a082fb9f
docs: add basic docs for browsers (#9867)
Co-authored-by: Nikolay Vitkov <34244704+Lightning00Blade@users.noreply.github.com>
2023-03-16 08:57:28 +00:00
Alex Rudenko
64cf9db602
chore: rename browsers folders and files (#9866) 2023-03-16 08:16:44 +01:00
Nikolay Vitkov
16b39de5ca
chore: extract HTTP prep for BiDi network module (#9840) 2023-03-15 17:51:34 +01:00
Nikolay Vitkov
eddb1f6ec3
feat(chromium): roll to Chromium 112.0.5614.0 (r1108766) (#9841) 2023-03-15 15:29:44 +01:00
release-please[bot]
29aa5c41ae
chore: release main (#9852)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2023-03-14 18:31:57 +00:00
Nikolay Vitkov
17c650b6d1
chore: prefer use of fs/promise to utils/promisify (#9848)
Co-authored-by: Alex Rudenko <OrKoN@users.noreply.github.com>
2023-03-14 18:30:41 +01:00
Alex Rudenko
3e7a514e55
fix: export ChromeReleaseChannel (#9851) 2023-03-14 17:22:25 +00:00
Nikolay Vitkov
219d248c2a
chore: fix incremental builds (#9849) 2023-03-14 16:10:28 +01:00
release-please[bot]
0ead82e29e
chore: release main (#9845)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2023-03-14 13:57:50 +01:00
Alex Rudenko
850d1aaa19
chore: add rimraf for browsers (#9847) 2023-03-14 13:46:57 +01:00
Alex Rudenko
1a1e79d046
fix: add browsers entry point (#9846) 2023-03-14 13:23:42 +01:00
Alex Rudenko
dec48a9592
feat: implement system channels for chrome in browsers (#9844) 2023-03-14 11:01:11 +00:00
release-please[bot]
73ca94fe66
chore: release main (#9838)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2023-03-14 11:47:24 +01:00
jrandolf
dd16ecae03
chore: use custom tokenizer (#9837) 2023-03-14 10:13:23 +01:00
Alex Rudenko
fd2f90008d
chore: add an ability to create a Firefox profile (#9834) 2023-03-13 16:43:43 +01:00
jrandolf
9044609be3
fix: sort elements based on selector matching algorithm (#9836) 2023-03-13 16:11:16 +01:00
jrandolf
8aea8e0471
perf: use querySelector* for pure CSS selectors (#9835) 2023-03-13 15:37:30 +01:00
Nikolay Vitkov
175362c048
chore: add BiDi for goto navigation (#9795) 2023-03-10 15:59:02 +00:00
release-please[bot]
07391bbf5f
chore: release main (#9824)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2023-03-10 11:47:17 +00:00
Alex Rudenko
0165f06dee
fix: update troubleshooting guide links in errors (#9821) 2023-03-10 10:37:36 +01:00
Alex Rudenko
7f05d441d5
chore: fix esbuild problem (#9820) 2023-03-10 08:52:48 +01:00
Alex Rudenko
a17b7ffaf6
chore: allow reading stderr of the browser process (#9813)
Co-authored-by: Nikolay Vitkov <34244704+Lightning00Blade@users.noreply.github.com>
2023-03-09 15:00:25 +01:00
Nikolay Vitkov
2335770aee
chore: add sandbox to ng-schematics (#9816) 2023-03-09 14:19:40 +01:00
Alex Rudenko
cefc4eab47
fix: restore rimraf for puppeteer-core code (#9815) 2023-03-09 13:34:42 +01:00
dependabot[bot]
87147dcb81
chore(deps): Bump @angular-devkit/schematics from 15.2.1 to 15.2.2 (#9809)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-09 10:19:57 +00:00
dependabot[bot]
86300ae9dd
chore(deps): Bump @angular-devkit/architect from 0.1502.1 to 0.1502.2 (#9810)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-09 10:14:57 +00:00
Nikolay Vitkov
38d511b5c2
docs: fix some api-extractor warnings (#9806) 2023-03-09 09:22:09 +01:00
Alex Rudenko
bc1a04def8
fix: call _detach on disconnect (#9807) 2023-03-09 09:21:28 +01:00
Alex Rudenko
89bdfb5206
chore: remove duplication in parameter definitions (#9805) 2023-03-08 12:36:31 +00:00
jrandolf
c1a7c736ff
chore: minify injected code (#9804) 2023-03-08 12:17:18 +01:00
dependabot[bot]
394ef89f8e
chore(deps): Bump ws from 8.11.0 to 8.12.1 (#9803)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-08 08:26:56 +01:00
release-please[bot]
7eda506c85
chore: release main (#9800)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2023-03-07 16:57:18 +01:00
Alex Rudenko
8cca7bb7a2
fix: change the install output to include the executable path (#9797) 2023-03-07 16:30:32 +01:00
dependabot[bot]
47ffec5e00
chore(deps): Bump @angular-devkit/architect from 0.1501.6 to 0.1502.1 (#9791)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-07 13:29:41 +01:00
release-please[bot]
101fcb994e
chore: release main (#9789)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2023-03-06 14:53:56 +01:00
jrandolf
364b23f8b5
fix: update dependencies (#9781) 2023-03-06 13:43:37 +01:00
jrandolf
813882db7b
chore: update glob (#9776) 2023-03-06 12:28:33 +01:00
Thiago Perrotta
04247a4e00
feat: browsers: recognize chromium as a valid browser (#9760) 2023-03-06 10:59:44 +00:00
jrandolf
2123f809e8
chore: remove rimraf (#9775) 2023-03-06 11:33:38 +01:00
dependabot[bot]
8bf97181f3
chore(deps): Bump yargs from 17.7.0 to 17.7.1 (#9752)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-06 10:13:39 +00:00
jrandolf
f84873c121
chore: support commas in P selectors (#9769) 2023-03-06 10:56:52 +01:00
dependabot[bot]
62d5f398b4
chore(deps): Bump @angular-devkit/schematics from 15.2.0 to 15.2.1 (#9773)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-06 09:36:39 +01:00
Nikolay Vitkov
3a4e726078
chore: fix Browsers failing tests (#9768) 2023-03-05 20:52:26 +01:00
dependabot[bot]
2922611f5e
chore(deps): Bump @angular-devkit/core from 15.2.0 to 15.2.1 (#9761)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-02 11:23:25 +01:00
dependabot[bot]
f68e04650d
chore(deps): Bump cosmiconfig from 8.0.0 to 8.1.0 (#9751)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-01 16:45:55 +01:00
Nikolay Vitkov
004a99aaef
chore: implement simple BiDi ElementHandle (#9753) 2023-03-01 11:09:17 +01:00
Nikolay Vitkov
4a365a42b4
chore: extract BiDi context to allow emitting only to it (#9742) 2023-02-28 11:10:14 +01:00
dependabot[bot]
ed1bb7cbe0
chore(deps): Bump @angular-devkit/schematics from 15.1.6 to 15.2.0 (#9748)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-27 09:57:54 +00:00
dependabot[bot]
4ddf63d4a0
chore(deps): Bump @angular-devkit/core from 15.1.6 to 15.2.0 (#9749)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-27 10:53:28 +01:00
Nikolay Vitkov
3db7d55d26
chore: remove BigInt exists checks (#9744) 2023-02-24 19:26:29 +01:00
Nikolay Vitkov
ba5d4bf2c1
chore: Fix ES Lint import rule (#9738) 2023-02-23 13:37:40 +00:00
release-please[bot]
e7138cf99d
chore: release main (#9737)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2023-02-22 17:10:37 +01:00
Alex Rudenko
8bae0545b7
fix: define options per command (#9733) 2023-02-22 16:38:15 +01:00
Mathias Bynens
559dde78de
chore: report sizes in MB rather than MiB (#9734) 2023-02-22 14:36:39 +00:00
release-please[bot]
dbd41b554f
chore: release main (#9732)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2023-02-22 13:20:21 +01:00
Alex Rudenko
e944931de2
fix: permissions for the browser CLI (#9731) 2023-02-22 13:10:26 +01:00
release-please[bot]
b5f708cf3f
chore: release main (#9728)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2023-02-22 11:33:16 +01:00
Alex Rudenko
86a2d1dd3b
feat: initial release of browsers (#9722) (#9727) 2023-02-22 11:23:04 +01:00
Paul Irish
81bf443789
chore: DRY up mouse.click() (#9725) 2023-02-21 20:50:43 +00:00
Nikolay Vitkov
9910aae2f7
chore: Fix BiDi session.status Param type (#9723) 2023-02-21 19:16:07 +00:00
Alex Rudenko
dcd6a3e1da
chore: rename revision to buildId (#9721) 2023-02-21 17:15:49 +01:00
Alex Rudenko
e3d8524738
chore: allow downloading the latest Chrome version (#9719) 2023-02-21 15:19:06 +01:00
jrandolf
84845e4901
chore: implement operations (#9717) 2023-02-21 11:12:27 +01:00
Alex Rudenko
f1b337e78b
chore: resolve Firefox revisions for the latest keyword (#9708) 2023-02-21 08:27:02 +01:00
release-please[bot]
e0330d82bd
chore: release main (#9716)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2023-02-20 18:30:51 +01:00
Alex Rudenko
c3d98e6a45
test: add fetch tests with a proxy server (#9706) 2023-02-20 15:38:59 +00:00
Nikolay Vitkov
9b54365df5
chore: Add Page.Console event to BiDi (#9700) 2023-02-20 13:00:29 +01:00
Alex Rudenko
82916c102b
fix: bump chromium-bidi to a version that does not declare mitt as a peer dependency (#9701) 2023-02-17 14:14:52 +01:00
dependabot[bot]
2aed222983
chore(deps): Bump @angular-devkit/schematics from 15.1.5 to 15.1.6 (#9696)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-17 06:35:12 +00:00
dependabot[bot]
0ccef7a204
chore(deps): Bump yargs from 17.6.2 to 17.7.0 (#9697)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-17 06:15:30 +00:00
Alex Rudenko
5e81c5b7ee
chore: implement launch command (#9692)
Co-authored-by: Nikolay Vitkov <34244704+Lightning00Blade@users.noreply.github.com>
2023-02-17 07:11:50 +01:00
dependabot[bot]
b146287380
chore(deps): Bump @angular-devkit/architect from 0.1501.5 to 0.1501.6 (#9688)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-16 10:31:08 +00:00
dependabot[bot]
5a1481038d
chore(deps): Bump @angular-devkit/core from 15.1.5 to 15.1.6 (#9687)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-16 11:27:29 +01:00
Nikolay Vitkov
eefe9583d0
chore: Add EsLint rule import/order (#9685) 2023-02-15 15:09:31 -08:00
release-please[bot]
e8e18ae081
chore: release main (#9684)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2023-02-15 12:43:41 -08:00
Alex Rudenko
0b27cbe86d
refactor: unify working with the cache folder structure (#9681) 2023-02-15 19:41:22 +00:00
jrandolf
cfb60d01a8
refactor: remove obsolete wait task binding code (#9679) 2023-02-15 10:57:24 -08:00
jrandolf
2b3cf3ace9
chore: implement P queries (#9639) 2023-02-15 10:42:32 -08:00
jrandolf
e8f25e403f
refactor: custom query handlers and global bindings (#9678) 2023-02-15 07:33:18 -08:00
Nikolay Vitkov
0c85c0611c
chore: Implement JSHandle for BiDi (#9660) 2023-02-15 10:29:18 +00:00
jrandolf
56f99f7b10
refactor: migrate to iterator-based query handlers (#9676) 2023-02-14 13:31:30 -08:00
jrandolf
023c2dcdbc
refactor: implement reverse argument binding (#9651) 2023-02-14 07:54:44 -08:00
Alex Rudenko
6e428edb9d
chore: add a basic CLI for fetching the browsers (#9671) 2023-02-14 16:30:41 +01:00
Alex Rudenko
c6054ac1a5
fix: make chromium-bidi an opt peer dep (#9667) 2023-02-14 09:04:54 +00:00
jrandolf
eb138635d6
fix: fix circularity on JSHandle interface (#9661) 2023-02-13 11:25:07 -08:00
jrandolf
d2b46d583c
chore: fix package.json generation (#9663) 2023-02-13 11:01:30 -08:00
jrandolf
b53838682f
chore: cleanup wireit scripts (#9662) 2023-02-13 10:22:43 -08:00
Alex Rudenko
5c54d399bb
chore: exec path for browsers (#9658) 2023-02-13 16:10:54 +01:00
jrandolf
78a302174e
chore: use wireit from workspace scripts (#9659) 2023-02-13 06:50:44 -08:00
Alex Rudenko
b50e43bc17
chore: introduce @puppeteer/browsers with a fetch method implementation (#9647)
Co-authored-by: Nikolay Vitkov <34244704+Lightning00Blade@users.noreply.github.com>
2023-02-13 11:49:50 +01:00
release-please[bot]
8054bac046
chore: release main (#9624)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2023-02-13 11:16:54 +01:00
Alex Rudenko
df59d010c2
feat(chromium): roll to Chromium 111.0.5556.0 (r1095492) (#9656) 2023-02-13 09:46:01 +00:00
jrandolf
558a8e2999
chore: fix npm scripts (#9646) 2023-02-10 17:57:17 +00:00
dependabot[bot]
54885be1de
chore(deps): Bump @angular-devkit/architect from 0.1501.4 to 0.1501.5 (#9645)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-10 11:50:30 +00:00
Nikolay Vitkov
b8ea891ab8
chore: Extract JSHandle to API (#9632) 2023-02-09 18:04:06 +01:00
dependabot[bot]
7ce26f5b89
chore(deps): Bump @angular-devkit/schematics from 15.1.4 to 15.1.5 (#9637)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-09 16:10:18 +01:00
dependabot[bot]
94a462b2cf
chore(deps): Bump @angular-devkit/core from 15.1.4 to 15.1.5 (#9636)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Nikolay Vitkov <34244704+Lightning00Blade@users.noreply.github.com>
2023-02-09 15:32:22 +01:00
Rafael Martins
ddb0cc174d
fix: page.goto error throwing on 40x/50x responses with an empty body (#9523) (#9577)
Co-authored-by: Alex Rudenko <OrKoN@users.noreply.github.com>
2023-02-06 09:40:51 +00:00
Nikolay Vitkov
9b11b6a4e0
chore: Add BiDi serialization for RegExp and Date (#9623) 2023-02-03 12:32:26 +00:00
charlieinitialdigital
c8bb11adfc
feat: add touchstart, touchmove and touchend methods (#9622) 2023-02-03 10:59:21 +00:00
jrandolf
6e226bcc22
chore: set supported typescript range (#9618) 2023-02-03 07:56:10 +00:00
dependabot[bot]
ff94538ffb
chore(deps): Bump @angular-devkit/architect from 0.1501.3 to 0.1501.4 (#9621)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-03 07:40:31 +01:00
Nikolay Vitkov
abcc1756dd
chore: Add BiDi Page.evaluate (#9609) 2023-02-02 15:14:28 +01:00
Nikolay Vitkov
3a867919a8
chore: Remove Rollup dts plugin (#9614) 2023-02-02 11:17:28 +01:00
dependabot[bot]
dac495a1a1
chore(deps): Bump @angular-devkit/schematics from 15.1.3 to 15.1.4 (#9616)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-02 08:17:56 +00:00
dependabot[bot]
6cbeaac88a
chore(deps): Bump @angular-devkit/core from 15.1.3 to 15.1.4 (#9617)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-02 08:09:17 +00:00
Rafael-Martins
f12f27e1eb
docs: clarify the waitForXPath return type (#9541) (#9583) 2023-02-01 15:23:32 +00:00
release-please[bot]
1dd7bbe04f
chore: release main (#9606)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2023-02-01 14:49:00 +00:00
ggorlen
e16cbc6626
fix: restore WaitTask terminate condition (#9612) 2023-02-01 00:10:02 -08:00
Nikolay Vitkov
aa1d1536b6
chore: Update build dependencies (#9600) 2023-01-30 13:30:49 +01:00
Alex Rudenko
390685bbe5
fix: ignore not found contexts for console messages (#9595) 2023-01-30 10:22:55 +00:00
release-please[bot]
6f094d2f83
chore: release main (#9601)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2023-01-27 14:43:05 -08:00
jrandolf
050a7b0624
fix: atomically get Puppeteer utilities (#9597) 2023-01-27 11:58:40 -08:00
dependabot[bot]
c5068ea2ec
chore(deps): Bump @angular-devkit/architect from 0.1501.2 to 0.1501.3 (#9596)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-27 07:37:44 +01:00
release-please[bot]
76c7f71ecc
chore: release main (#9591)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2023-01-26 01:50:42 -08:00
jrandolf
1980de91a1
fix: mimic rejection for PuppeteerUtil on early call (#9589) 2023-01-26 01:34:47 -08:00
Alex Rudenko
6edd996768
fix(revert): use LazyArg for puppeteer utilities (#9590)
Reverts puppeteer/puppeteer#9575
2023-01-26 09:50:06 +01:00
jrandolf
496658f029
fix: use LazyArg for puppeteer utilities (#9575)
This PR fixes the following edge case:

 - `const oldPromise = world.puppeteerUtil`. 
- setContext occurs but context is immediately destroyed, i.e.
`world.#puppeteerUtil === oldPromise` is not resolved.
- clearContext occurs due to destruction, i.e. `world.#puppeteerUtil` is
replaced (`world.#puppeteerUtil !== oldPromise`).
 - `oldPromise` never resolves.
2023-01-26 08:56:33 +01:00
dependabot[bot]
7752532285
chore(deps): Bump @angular-devkit/schematics from 15.1.2 to 15.1.3 (#9585)
Bumps
[@angular-devkit/schematics](https://github.com/angular/angular-cli)
from 15.1.2 to 15.1.3.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/angular/angular-cli/releases"><code>@​angular-devkit/schematics</code>'s
releases</a>.</em></p>
<blockquote>
<h2>v15.1.3</h2>
<p><!-- raw HTML omitted --><!-- raw HTML omitted --></p>
<h1>15.1.3 (2023-01-25)</h1>
<h3><code>@​schematics/angular</code></h3>
<table>
<thead>
<tr>
<th>Commit</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a
href="2c04f4a8f4"><img
src="https://img.shields.io/badge/2c04f4a8f-fix-green" alt="fix -
2c04f4a8f" /></a></td>
<td>update browserslist config to include last 2 Chrome version</td>
</tr>
</tbody>
</table>
<h3><code>@​angular/cli</code></h3>
<table>
<thead>
<tr>
<th>Commit</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a
href="de15ec5763"><img
src="https://img.shields.io/badge/de15ec576-fix-green" alt="fix -
de15ec576" /></a></td>
<td>handle extended schematics when retrieving aliases</td>
</tr>
</tbody>
</table>
<h3><code>@​angular-devkit/build-angular</code></h3>
<table>
<thead>
<tr>
<th>Commit</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a
href="f31bf300b9"><img
src="https://img.shields.io/badge/f31bf300b-fix-green" alt="fix -
f31bf300b" /></a></td>
<td>avoid undefined module path for Sass imports in esbuild</td>
</tr>
<tr>
<td><a
href="c152a4a13f"><img
src="https://img.shields.io/badge/c152a4a13-fix-green" alt="fix -
c152a4a13" /></a></td>
<td>update browserslist config to include last 2 Chrome versions</td>
</tr>
</tbody>
</table>
<h3><code>@​angular-devkit/core</code></h3>
<table>
<thead>
<tr>
<th>Commit</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a
href="9de99202e9"><img
src="https://img.shields.io/badge/9de99202e-fix-green" alt="fix -
9de99202e" /></a></td>
<td>handle number like strings in workspace writer</td>
</tr>
</tbody>
</table>
<h2>Special Thanks</h2>
<p>Alan Agius, Charles Lyding and Doug Parker</p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/angular/angular-cli/blob/main/CHANGELOG.md"><code>@​angular-devkit/schematics</code>'s
changelog</a>.</em></p>
<blockquote>
<h1>15.1.3 (2023-01-25)</h1>
<h3><code>@​angular/cli</code></h3>
<table>
<thead>
<tr>
<th>Commit</th>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a
href="de15ec5763">de15ec576</a></td>
<td>fix</td>
<td>handle extended schematics when retrieving aliases</td>
</tr>
</tbody>
</table>
<h3><code>@​schematics/angular</code></h3>
<table>
<thead>
<tr>
<th>Commit</th>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a
href="2c04f4a8f4">2c04f4a8f</a></td>
<td>fix</td>
<td>update browserslist config to include last 2 Chrome version</td>
</tr>
</tbody>
</table>
<h3><code>@​angular-devkit/build-angular</code></h3>
<table>
<thead>
<tr>
<th>Commit</th>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a
href="f31bf300b9">f31bf300b</a></td>
<td>fix</td>
<td>avoid undefined module path for Sass imports in esbuild</td>
</tr>
<tr>
<td><a
href="c152a4a13f">c152a4a13</a></td>
<td>fix</td>
<td>update browserslist config to include last 2 Chrome versions</td>
</tr>
</tbody>
</table>
<h3><code>@​angular-devkit/core</code></h3>
<table>
<thead>
<tr>
<th>Commit</th>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a
href="9de99202e9">9de99202e</a></td>
<td>fix</td>
<td>handle number like strings in workspace writer</td>
</tr>
</tbody>
</table>
<h2>Special Thanks</h2>
<p>Alan Agius, Charles Lyding and Doug Parker</p>
<!-- raw HTML omitted -->
<p><!-- raw HTML omitted --><!-- raw HTML omitted --></p>
<h1>15.2.0-next.1 (2023-01-18)</h1>
<h3><code>@​angular/cli</code></h3>
<table>
<thead>
<tr>
<th>Commit</th>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a
href="3ebb195525">3ebb19552</a></td>
<td>fix</td>
<td>register schematic aliases when providing collection name in
<code>ng generate</code></td>
</tr>
<tr>
<td><a
href="697df4f6e5">697df4f6e</a></td>
<td>fix</td>
<td>remove <code>--to</code> option from being required when using
<code>--from</code> in <code>ng update</code></td>
</tr>
</tbody>
</table>
<h3><code>@​schematics/angular</code></h3>
<table>
<thead>
<tr>
<th>Commit</th>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a
href="c8a3b30000">c8a3b3000</a></td>
<td>fix</td>
<td>replace existing <code>BrowserModule.withServerTransition</code>
calls when running universal schematic</td>
</tr>
</tbody>
</table>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="b27ce5da26"><code>b27ce5d</code></a>
release: cut the v15.1.3 release</li>
<li><a
href="3c459c3f68"><code>3c459c3</code></a>
build: update bazel aspect lib to 1.23.3</li>
<li><a
href="e293cb1a33"><code>e293cb1</code></a>
docs(<code>@​angular/cli</code>): minor updates to <code>ng run</code>
description</li>
<li><a
href="2c04f4a8f4"><code>2c04f4a</code></a>
fix(<code>@​schematics/angular</code>): update browserslist config to
include last 2 Chrome...</li>
<li><a
href="c152a4a13f"><code>c152a4a</code></a>
fix(<code>@​angular-devkit/build-angular</code>): update browserslist
config to include las...</li>
<li><a
href="9de99202e9"><code>9de9920</code></a>
fix(<code>@​angular-devkit/core</code>): handle number like strings in
workspace writer</li>
<li><a
href="f31bf300b9"><code>f31bf30</code></a>
fix(<code>@​angular-devkit/build-angular</code>): avoid undefined module
path for Sass impo...</li>
<li><a
href="de15ec5763"><code>de15ec5</code></a>
fix(<code>@​angular/cli</code>): handle extended schematics when
retrieving aliases</li>
<li><a
href="3661b3031d"><code>3661b30</code></a>
Revert &quot;refactor: temporaily disable sending analytics&quot;</li>
<li>See full diff in <a
href="https://github.com/angular/angular-cli/compare/15.1.2...15.1.3">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@angular-devkit/schematics&package-manager=npm_and_yarn&previous-version=15.1.2&new-version=15.1.3)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-26 07:34:00 +01:00
Alex Rudenko
344bc2af62
fix: don't clean up previous browser versions (#9568)
Since we moved to the central binaries cache it does not make sense to
clean up old binaries automatically because multiple installations can
use different versions. We expect the users to clean the cache from time
to time until we offer a CLI for managing the browsers.

Closes #9533
2023-01-24 17:28:00 +01:00
release-please[bot]
e13e9647fc
chore: release main (#9501)
🤖 I have created a release *beep* *boop*
---


<details><summary>puppeteer: 19.6.0</summary>

##
[19.6.0](https://github.com/puppeteer/puppeteer/compare/puppeteer-v19.5.2...puppeteer-v19.6.0)
(2023-01-23)


### Miscellaneous Chores

* **puppeteer:** Synchronize puppeteer versions


### Dependencies

* The following workspace dependencies were updated
  * dependencies
    * puppeteer-core bumped from 19.5.2 to 19.6.0
</details>

<details><summary>puppeteer-core: 19.6.0</summary>

##
[19.6.0](https://github.com/puppeteer/puppeteer/compare/puppeteer-core-v19.5.2...puppeteer-core-v19.6.0)
(2023-01-23)


### Features

* **chromium:** roll to Chromium 110.0.5479.0 (r1083080)
([#9500](https://github.com/puppeteer/puppeteer/issues/9500))
([06e816b](06e816bbfa)),
closes [#9470](https://github.com/puppeteer/puppeteer/issues/9470)
* **page:** Adding support for referrerPolicy in `page.goto`
([#9561](https://github.com/puppeteer/puppeteer/issues/9561))
([e3d69ec](e3d69ec554))


### Bug Fixes

* firefox revision resolution should not update chrome revision
([#9507](https://github.com/puppeteer/puppeteer/issues/9507))
([f59bbf4](f59bbf4014)),
closes [#9461](https://github.com/puppeteer/puppeteer/issues/9461)
* improve screenshot method types
([#9529](https://github.com/puppeteer/puppeteer/issues/9529))
([6847f88](6847f8835f))
</details>

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2023-01-23 17:48:02 +01:00
Ophir Back
e3d69ec554
feat(page): Adding support for referrerPolicy in page.goto (#9561)
Issue: #9394

**What kind of change does this PR introduce?**

Feature - Added support of the `referrerPolicy` parameter (from CDP's
`Page.navigate`) to Puppeteer's `page.goto`.

**Did you add tests for your changes?**

No, currently it has no meaning that isn't browser implementation based,
which might get broken in the future. If there are suggestions to tests,
please let me know so I'll add them.

**If relevant, did you update the documentation?**
Yes, the documentation of the `goto` method has been updated.

**Summary**
I wanted to contribute to this project, which I used for testing on our
environment and saw issue #9394, so I decided to resolve it :)

**Does this PR introduce a breaking change?**
No. I added the `referrerPolicy` as an optional parameter, which will
use the HTTP header `Referrer-Policy` if not provided (much like the
`referer` parameter) so it will not interfere.

Co-authored-by: Ophir Back <ophir.back@broadcom.com>
2023-01-23 11:11:20 +00:00
dependabot[bot]
fcb0464b14
chore(deps): Bump @angular-devkit/schematics from 15.1.1 to 15.1.2 (#9559)
Bumps
[@angular-devkit/schematics](https://github.com/angular/angular-cli)
from 15.1.1 to 15.1.2.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/angular/angular-cli/releases"><code>@​angular-devkit/schematics</code>'s
releases</a>.</em></p>
<blockquote>
<h2>v15.1.2</h2>
<p><!-- raw HTML omitted --><!-- raw HTML omitted --></p>
<h1>15.1.2 (2023-01-18)</h1>
<h3><code>@​schematics/angular</code></h3>
<table>
<thead>
<tr>
<th>Commit</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a
href="0f5fb7e594"><img
src="https://img.shields.io/badge/0f5fb7e59-fix-green" alt="fix -
0f5fb7e59" /></a></td>
<td>replace existing <code>BrowserModule.withServerTransition</code>
calls when running universal schematic</td>
</tr>
</tbody>
</table>
<h3><code>@​angular/cli</code></h3>
<table>
<thead>
<tr>
<th>Commit</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a
href="387472a956"><img
src="https://img.shields.io/badge/387472a95-fix-green" alt="fix -
387472a95" /></a></td>
<td>register schematic aliases when providing collection name in
<code>ng generate</code></td>
</tr>
<tr>
<td><a
href="5d9fd788a9"><img
src="https://img.shields.io/badge/5d9fd788a-fix-green" alt="fix -
5d9fd788a" /></a></td>
<td>remove <code>--to</code> option from being required when using
<code>--from</code> in <code>ng update</code></td>
</tr>
</tbody>
</table>
<h3><code>@​angular-devkit/build-angular</code></h3>
<table>
<thead>
<tr>
<th>Commit</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a
href="bf4639a6e9"><img
src="https://img.shields.io/badge/bf4639a6e-fix-green" alt="fix -
bf4639a6e" /></a></td>
<td>prevent hanging initial build during exception with esbuild</td>
</tr>
</tbody>
</table>
<h2>Special Thanks</h2>
<p>Alan Agius, Charles Lyding and Doug Parker</p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/angular/angular-cli/blob/main/CHANGELOG.md"><code>@​angular-devkit/schematics</code>'s
changelog</a>.</em></p>
<blockquote>
<h1>15.1.2 (2023-01-18)</h1>
<h3><code>@​angular/cli</code></h3>
<table>
<thead>
<tr>
<th>Commit</th>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a
href="387472a956">387472a95</a></td>
<td>fix</td>
<td>register schematic aliases when providing collection name in
<code>ng generate</code></td>
</tr>
<tr>
<td><a
href="5d9fd788a9">5d9fd788a</a></td>
<td>fix</td>
<td>remove <code>--to</code> option from being required when using
<code>--from</code> in <code>ng update</code></td>
</tr>
</tbody>
</table>
<h3><code>@​schematics/angular</code></h3>
<table>
<thead>
<tr>
<th>Commit</th>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a
href="0f5fb7e594">0f5fb7e59</a></td>
<td>fix</td>
<td>replace existing <code>BrowserModule.withServerTransition</code>
calls when running universal schematic</td>
</tr>
</tbody>
</table>
<h3><code>@​angular-devkit/build-angular</code></h3>
<table>
<thead>
<tr>
<th>Commit</th>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a
href="bf4639a6e9">bf4639a6e</a></td>
<td>fix</td>
<td>prevent hanging initial build during exception with esbuild</td>
</tr>
</tbody>
</table>
<h2>Special Thanks</h2>
<p>Alan Agius, Charles Lyding and Doug Parker</p>
<!-- raw HTML omitted -->
<p><!-- raw HTML omitted --><!-- raw HTML omitted --></p>
<h1>15.2.0-next.0 (2023-01-12)</h1>
<h3><code>@​angular-devkit/build-angular</code></h3>
<table>
<thead>
<tr>
<th>Commit</th>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a
href="09af707438">09af70743</a></td>
<td>feat</td>
<td>implement node module license extraction for esbuild builder</td>
</tr>
</tbody>
</table>
<h2>Special Thanks</h2>
<p>Alan Agius and Charles Lyding</p>
<!-- raw HTML omitted -->
<p><!-- raw HTML omitted --><!-- raw HTML omitted --></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="97b443b2fd"><code>97b443b</code></a>
release: cut the v15.1.2 release</li>
<li><a
href="0f5fb7e594"><code>0f5fb7e</code></a>
fix(<code>@​schematics/angular</code>): replace existing
`BrowserModule.withServerTransitio...</li>
<li><a
href="bc5555ca3c"><code>bc5555c</code></a>
refactor: only collect Node version if it's a standard version
string</li>
<li><a
href="bf4639a6e9"><code>bf4639a</code></a>
fix(<code>@​angular-devkit/build-angular</code>): prevent hanging
initial build during exce...</li>
<li><a
href="387472a956"><code>387472a</code></a>
fix(<code>@​angular/cli</code>): register schematic aliases when
providing collection name ...</li>
<li><a
href="b0004817c5"><code>b000481</code></a>
build: update dev-infra packages</li>
<li><a
href="5d9fd788a9"><code>5d9fd78</code></a>
fix(<code>@​angular/cli</code>): remove <code>--to</code> option from
being required when using `--fro...</li>
<li><a
href="9fa5f2ce0c"><code>9fa5f2c</code></a>
refactor(<code>@​angular-devkit/build-angular</code>): remove direct
import of i18n worker ...</li>
<li><a
href="4b594992e9"><code>4b59499</code></a>
build: update dependency ng-packagr to v15.1.1</li>
<li>See full diff in <a
href="https://github.com/angular/angular-cli/compare/15.1.1...15.1.2">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@angular-devkit/schematics&package-manager=npm_and_yarn&previous-version=15.1.1&new-version=15.1.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-23 09:41:39 +01:00
Alex Rudenko
a919d18ea7
chore: fix third_party build (#9554)
The third_party folder is compiled with tsc and then rolled up in-place.
This means that the next build might try to compile the file that has
been rolled up leading to build errors. It seems the safest solution is
to always rebuild third_party folder as the size is relatively small.
2023-01-20 14:12:03 +00:00
dependabot[bot]
6bee9a09c4
chore(deps): Bump @angular-devkit/core from 15.1.1 to 15.1.2 (#9542)
Bumps [@angular-devkit/core](https://github.com/angular/angular-cli)
from 15.1.1 to 15.1.2.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/angular/angular-cli/releases"><code>@​angular-devkit/core</code>'s
releases</a>.</em></p>
<blockquote>
<h2>v15.1.2</h2>
<p><!-- raw HTML omitted --><!-- raw HTML omitted --></p>
<h1>15.1.2 (2023-01-18)</h1>
<h3><code>@​schematics/angular</code></h3>
<table>
<thead>
<tr>
<th>Commit</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a
href="0f5fb7e594"><img
src="https://img.shields.io/badge/0f5fb7e59-fix-green" alt="fix -
0f5fb7e59" /></a></td>
<td>replace existing <code>BrowserModule.withServerTransition</code>
calls when running universal schematic</td>
</tr>
</tbody>
</table>
<h3><code>@​angular/cli</code></h3>
<table>
<thead>
<tr>
<th>Commit</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a
href="387472a956"><img
src="https://img.shields.io/badge/387472a95-fix-green" alt="fix -
387472a95" /></a></td>
<td>register schematic aliases when providing collection name in
<code>ng generate</code></td>
</tr>
<tr>
<td><a
href="5d9fd788a9"><img
src="https://img.shields.io/badge/5d9fd788a-fix-green" alt="fix -
5d9fd788a" /></a></td>
<td>remove <code>--to</code> option from being required when using
<code>--from</code> in <code>ng update</code></td>
</tr>
</tbody>
</table>
<h3><code>@​angular-devkit/build-angular</code></h3>
<table>
<thead>
<tr>
<th>Commit</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a
href="bf4639a6e9"><img
src="https://img.shields.io/badge/bf4639a6e-fix-green" alt="fix -
bf4639a6e" /></a></td>
<td>prevent hanging initial build during exception with esbuild</td>
</tr>
</tbody>
</table>
<h2>Special Thanks</h2>
<p>Alan Agius, Charles Lyding and Doug Parker</p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/angular/angular-cli/blob/main/CHANGELOG.md"><code>@​angular-devkit/core</code>'s
changelog</a>.</em></p>
<blockquote>
<h1>15.1.2 (2023-01-18)</h1>
<h3><code>@​angular/cli</code></h3>
<table>
<thead>
<tr>
<th>Commit</th>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a
href="387472a956">387472a95</a></td>
<td>fix</td>
<td>register schematic aliases when providing collection name in
<code>ng generate</code></td>
</tr>
<tr>
<td><a
href="5d9fd788a9">5d9fd788a</a></td>
<td>fix</td>
<td>remove <code>--to</code> option from being required when using
<code>--from</code> in <code>ng update</code></td>
</tr>
</tbody>
</table>
<h3><code>@​schematics/angular</code></h3>
<table>
<thead>
<tr>
<th>Commit</th>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a
href="0f5fb7e594">0f5fb7e59</a></td>
<td>fix</td>
<td>replace existing <code>BrowserModule.withServerTransition</code>
calls when running universal schematic</td>
</tr>
</tbody>
</table>
<h3><code>@​angular-devkit/build-angular</code></h3>
<table>
<thead>
<tr>
<th>Commit</th>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a
href="bf4639a6e9">bf4639a6e</a></td>
<td>fix</td>
<td>prevent hanging initial build during exception with esbuild</td>
</tr>
</tbody>
</table>
<h2>Special Thanks</h2>
<p>Alan Agius, Charles Lyding and Doug Parker</p>
<!-- raw HTML omitted -->
<p><!-- raw HTML omitted --><!-- raw HTML omitted --></p>
<h1>15.2.0-next.0 (2023-01-12)</h1>
<h3><code>@​angular-devkit/build-angular</code></h3>
<table>
<thead>
<tr>
<th>Commit</th>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a
href="09af707438">09af70743</a></td>
<td>feat</td>
<td>implement node module license extraction for esbuild builder</td>
</tr>
</tbody>
</table>
<h2>Special Thanks</h2>
<p>Alan Agius and Charles Lyding</p>
<!-- raw HTML omitted -->
<p><!-- raw HTML omitted --><!-- raw HTML omitted --></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="97b443b2fd"><code>97b443b</code></a>
release: cut the v15.1.2 release</li>
<li><a
href="0f5fb7e594"><code>0f5fb7e</code></a>
fix(<code>@​schematics/angular</code>): replace existing
`BrowserModule.withServerTransitio...</li>
<li><a
href="bc5555ca3c"><code>bc5555c</code></a>
refactor: only collect Node version if it's a standard version
string</li>
<li><a
href="bf4639a6e9"><code>bf4639a</code></a>
fix(<code>@​angular-devkit/build-angular</code>): prevent hanging
initial build during exce...</li>
<li><a
href="387472a956"><code>387472a</code></a>
fix(<code>@​angular/cli</code>): register schematic aliases when
providing collection name ...</li>
<li><a
href="b0004817c5"><code>b000481</code></a>
build: update dev-infra packages</li>
<li><a
href="5d9fd788a9"><code>5d9fd78</code></a>
fix(<code>@​angular/cli</code>): remove <code>--to</code> option from
being required when using `--fro...</li>
<li><a
href="9fa5f2ce0c"><code>9fa5f2c</code></a>
refactor(<code>@​angular-devkit/build-angular</code>): remove direct
import of i18n worker ...</li>
<li><a
href="4b594992e9"><code>4b59499</code></a>
build: update dependency ng-packagr to v15.1.1</li>
<li>See full diff in <a
href="https://github.com/angular/angular-cli/compare/15.1.1...15.1.2">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@angular-devkit/core&package-manager=npm_and_yarn&previous-version=15.1.1&new-version=15.1.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-20 10:58:08 +00:00
dependabot[bot]
57e1f98ad7
chore(deps): Bump @angular-devkit/architect from 0.1500.4 to 0.1501.2 (#9543)
Bumps
[@angular-devkit/architect](https://github.com/angular/angular-cli) from
0.1500.4 to 0.1501.2.
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/angular/angular-cli/commits">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@angular-devkit/architect&package-manager=npm_and_yarn&previous-version=0.1500.4&new-version=0.1501.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-20 11:43:42 +01:00
Alex Rudenko
6847f8835f
fix: improve screenshot method types (#9529)
The only drawback of adding overrides is that our documentation
generator would generate a page for each overload which might be hard to
read/find on the documentation website.

Closes #9512 #9385
2023-01-18 14:06:20 +00:00
dependabot[bot]
04c286d5a0
chore(deps): Bump @angular-devkit/schematics from 15.0.4 to 15.1.1 (#9517)
Bumps
[@angular-devkit/schematics](https://github.com/angular/angular-cli)
from 15.0.4 to 15.1.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/angular/angular-cli/releases"><code>@​angular-devkit/schematics</code>'s
releases</a>.</em></p>
<blockquote>
<h2>v15.1.1</h2>
<p><!-- raw HTML omitted --><!-- raw HTML omitted --></p>
<h1>15.1.1 (2023-01-12)</h1>
<h3><code>@​angular-devkit/build-angular</code></h3>
<table>
<thead>
<tr>
<th>Commit</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a
href="b94bf60ca8"><img
src="https://img.shields.io/badge/b94bf60ca-fix-green" alt="fix -
b94bf60ca" /></a></td>
<td>update <code>esbuild</code> to <code>0.16.17</code></td>
</tr>
</tbody>
</table>
<h2>Special Thanks</h2>
<p>Alan Agius</p>
<h2>v15.1.0</h2>
<p><!-- raw HTML omitted --><!-- raw HTML omitted --></p>
<h1>15.1.0 (2023-01-11)</h1>
<h2>Deprecations</h2>
<h3><code>@​angular-devkit/schematics</code></h3>
<ul>
<li>The Observable based
<code>SchematicTestRunner.runSchematicAsync</code> and
<code>SchematicTestRunner.runExternalSchematicAsync</code> method have
been deprecated in favor of the Promise based
<code>SchematicTestRunner.runSchematic</code> and
<code>SchematicTestRunner.runExternalSchematic</code>.</li>
</ul>
<h3><code>@​schematics/angular</code></h3>
<table>
<thead>
<tr>
<th>Commit</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a
href="5b18ce1545"><img
src="https://img.shields.io/badge/5b18ce154-feat-blue" alt="feat -
5b18ce154" /></a></td>
<td>add <code>guardType</code> as an alias of <code>implements</code> in
guard schematic</td>
</tr>
<tr>
<td><a
href="dd2b65943d"><img
src="https://img.shields.io/badge/dd2b65943-feat-blue" alt="feat -
dd2b65943" /></a></td>
<td>add configuration files generation schematic</td>
</tr>
<tr>
<td><a
href="8d000d1563"><img
src="https://img.shields.io/badge/8d000d156-feat-blue" alt="feat -
8d000d156" /></a></td>
<td>add environments generation schematic</td>
</tr>
<tr>
<td><a
href="6c39a162be"><img
src="https://img.shields.io/badge/6c39a162b-feat-blue" alt="feat -
6c39a162b" /></a></td>
<td>Add schematics for generating functional router guards and
resolvers</td>
</tr>
<tr>
<td><a
href="62121f89ab"><img
src="https://img.shields.io/badge/62121f89a-feat-blue" alt="feat -
62121f89a" /></a></td>
<td>add sideEffects:false to library package.json</td>
</tr>
<tr>
<td><a
href="9299dea649"><img
src="https://img.shields.io/badge/9299dea64-feat-blue" alt="feat -
9299dea64" /></a></td>
<td>generate functional interceptors</td>
</tr>
<tr>
<td><a
href="49b313f27a"><img
src="https://img.shields.io/badge/49b313f27-fix-green" alt="fix -
49b313f27" /></a></td>
<td>add missing import for functional interceptor spec</td>
</tr>
<tr>
<td><a
href="2f92fe7e58"><img
src="https://img.shields.io/badge/2f92fe7e5-fix-green" alt="fix -
2f92fe7e5" /></a></td>
<td>add missing semicolon in functional guard/resolver/interceptor</td>
</tr>
<tr>
<td><a
href="9b6d190f4a"><img
src="https://img.shields.io/badge/9b6d190f4-fix-green" alt="fix -
9b6d190f4" /></a></td>
<td>remove EnvironmentInjector import in functional guard spec</td>
</tr>
<tr>
<td><a
href="b11d3f6442"><img
src="https://img.shields.io/badge/b11d3f644-fix-green" alt="fix -
b11d3f644" /></a></td>
<td>use proper variable in functional guard spec</td>
</tr>
<tr>
<td><a
href="451975f765"><img
src="https://img.shields.io/badge/451975f76-fix-green" alt="fix -
451975f76" /></a></td>
<td>use proper variable in resolver functional spec</td>
</tr>
</tbody>
</table>
<h3><code>@​angular-devkit/build-angular</code></h3>
<table>
<thead>
<tr>
<th>Commit</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a
href="c29df69546"><img
src="https://img.shields.io/badge/c29df6954-feat-blue" alt="feat -
c29df6954" /></a></td>
<td>add <code>assets</code> option to server builder</td>
</tr>
<tr>
<td><a
href="839d0cb57a"><img
src="https://img.shields.io/badge/839d0cb57-feat-blue" alt="feat -
839d0cb57" /></a></td>
<td>implement stats-json option for esbuild builder</td>
</tr>
<tr>
<td><a
href="216991b9d9"><img
src="https://img.shields.io/badge/216991b9d-feat-blue" alt="feat -
216991b9d" /></a></td>
<td>support inline component Sass styles with esbuild builder</td>
</tr>
<tr>
<td><a
href="7c87ce47c6"><img
src="https://img.shields.io/badge/7c87ce47c-fix-green" alt="fix -
7c87ce47c" /></a></td>
<td>ensure Sass load paths are resolved from workspace root</td>
</tr>
<tr>
<td><a
href="7a063238b8"><img
src="https://img.shields.io/badge/7a063238b-fix-green" alt="fix -
7a063238b" /></a></td>
<td>explicitly send options to JS transformer workers</td>
</tr>
<tr>
<td><a
href="22cba79370"><img
src="https://img.shields.io/badge/22cba7937-fix-green" alt="fix -
22cba7937" /></a></td>
<td>provide an option to <code>exclude</code> specs in Karma
builder</td>
</tr>
<tr>
<td><a
href="20376649c5"><img
src="https://img.shields.io/badge/20376649c-fix-green" alt="fix -
20376649c" /></a></td>
<td>transform async generator class methods for Zone.js support</td>
</tr>
<tr>
<td><a
href="0520608f68"><img
src="https://img.shields.io/badge/0520608f6-fix-green" alt="fix -
0520608f6" /></a></td>
<td>use relative css resource paths in esbuild JSON stats</td>
</tr>
<tr>
<td><a
href="0c01532cb5"><img
src="https://img.shields.io/badge/0c01532cb-perf-orange" alt="perf -
0c01532cb" /></a></td>
<td>use worker pool for JavaScript transforms in esbuild builder</td>
</tr>
</tbody>
</table>
<h3><code>@​angular-devkit/schematics</code></h3>
<table>
<thead>
<tr>
<th>Commit</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a
href="207358afb8"><img
src="https://img.shields.io/badge/207358afb-feat-blue" alt="feat -
207358afb" /></a></td>
<td>add <code>runSchematic</code> and <code>runExternalSchematic</code>
methods</td>
</tr>
</tbody>
</table>
<h2>Special Thanks</h2>
<p>Alan Agius, Andrew Scott, Charles Lyding, Cédric Exbrayat, Doug
Parker, Felix Hamann, Jason Bedard, Joey Perrott and Kristiyan
Kostadinov</p>
<h2>v15.1.0-rc.0</h2>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/angular/angular-cli/blob/main/CHANGELOG.md"><code>@​angular-devkit/schematics</code>'s
changelog</a>.</em></p>
<blockquote>
<h1>15.1.1 (2023-01-12)</h1>
<h3><code>@​angular-devkit/build-angular</code></h3>
<table>
<thead>
<tr>
<th>Commit</th>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a
href="b94bf60ca8">b94bf60ca</a></td>
<td>fix</td>
<td>update <code>esbuild</code> to <code>0.16.17</code></td>
</tr>
</tbody>
</table>
<h2>Special Thanks</h2>
<p>Alan Agius</p>
<!-- raw HTML omitted -->
<p><!-- raw HTML omitted --><!-- raw HTML omitted --></p>
<h1>15.1.0 (2023-01-11)</h1>
<h2>Deprecations</h2>
<h3><code>@​angular-devkit/schematics</code></h3>
<ul>
<li>The Observable based
<code>SchematicTestRunner.runSchematicAsync</code> and
<code>SchematicTestRunner.runExternalSchematicAsync</code> method have
been deprecated in favor of the Promise based
<code>SchematicTestRunner.runSchematic</code> and
<code>SchematicTestRunner.runExternalSchematic</code>.</li>
</ul>
<h3><code>@​schematics/angular</code></h3>
<table>
<thead>
<tr>
<th>Commit</th>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a
href="5b18ce1545">5b18ce154</a></td>
<td>feat</td>
<td>add <code>guardType</code> as an alias of <code>implements</code> in
guard schematic</td>
</tr>
<tr>
<td><a
href="dd2b65943d">dd2b65943</a></td>
<td>feat</td>
<td>add configuration files generation schematic</td>
</tr>
<tr>
<td><a
href="8d000d1563">8d000d156</a></td>
<td>feat</td>
<td>add environments generation schematic</td>
</tr>
<tr>
<td><a
href="6c39a162be">6c39a162b</a></td>
<td>feat</td>
<td>Add schematics for generating functional router guards and
resolvers</td>
</tr>
<tr>
<td><a
href="62121f89ab">62121f89a</a></td>
<td>feat</td>
<td>add sideEffects:false to library package.json</td>
</tr>
<tr>
<td><a
href="9299dea649">9299dea64</a></td>
<td>feat</td>
<td>generate functional interceptors</td>
</tr>
<tr>
<td><a
href="49b313f27a">49b313f27</a></td>
<td>fix</td>
<td>add missing import for functional interceptor spec</td>
</tr>
<tr>
<td><a
href="2f92fe7e58">2f92fe7e5</a></td>
<td>fix</td>
<td>add missing semicolon in functional guard/resolver/interceptor</td>
</tr>
<tr>
<td><a
href="9b6d190f4a">9b6d190f4</a></td>
<td>fix</td>
<td>remove EnvironmentInjector import in functional guard spec</td>
</tr>
<tr>
<td><a
href="b11d3f6442">b11d3f644</a></td>
<td>fix</td>
<td>use proper variable in functional guard spec</td>
</tr>
<tr>
<td><a
href="451975f765">451975f76</a></td>
<td>fix</td>
<td>use proper variable in resolver functional spec</td>
</tr>
</tbody>
</table>
<h3><code>@​angular-devkit/build-angular</code></h3>
<table>
<thead>
<tr>
<th>Commit</th>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a
href="c29df69546">c29df6954</a></td>
<td>feat</td>
<td>add <code>assets</code> option to server builder</td>
</tr>
<tr>
<td><a
href="839d0cb57a">839d0cb57</a></td>
<td>feat</td>
<td>implement stats-json option for esbuild builder</td>
</tr>
<tr>
<td><a
href="216991b9d9">216991b9d</a></td>
<td>feat</td>
<td>support inline component Sass styles with esbuild builder</td>
</tr>
<tr>
<td><a
href="7c87ce47c6">7c87ce47c</a></td>
<td>fix</td>
<td>ensure Sass load paths are resolved from workspace root</td>
</tr>
<tr>
<td><a
href="7a063238b8">7a063238b</a></td>
<td>fix</td>
<td>explicitly send options to JS transformer workers</td>
</tr>
<tr>
<td><a
href="22cba79370">22cba7937</a></td>
<td>fix</td>
<td>provide an option to <code>exclude</code> specs in Karma
builder</td>
</tr>
</tbody>
</table>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="a8953ffe77"><code>a8953ff</code></a>
release: cut the v15.1.1 release</li>
<li><a
href="4ba55e4655"><code>4ba55e4</code></a>
refactor: change <code>JSONFile</code> to private instead of
internal</li>
<li><a
href="6dd88b4705"><code>6dd88b4</code></a>
build: update <code>eslint-plugin-import</code> to
<code>2.27.4</code></li>
<li><a
href="b94bf60ca8"><code>b94bf60</code></a>
fix(<code>@​angular-devkit/build-angular</code>): update
<code>esbuild</code> to <code>0.16.17</code></li>
<li><a
href="d6583e584f"><code>d6583e5</code></a>
docs(<code>@​angular/cli</code>): add ng new long description</li>
<li><a
href="ea64defb0b"><code>ea64def</code></a>
release: cut the v15.1.0 release</li>
<li><a
href="7731588f9a"><code>7731588</code></a>
build: update angular packages for 15.1.0 release</li>
<li><a
href="d41b741ea9"><code>d41b741</code></a>
build: lock file maintenance</li>
<li><a
href="0520608f68"><code>0520608</code></a>
fix(<code>@​angular-devkit/build-angular</code>): use relative css
resource paths in esbuil...</li>
<li><a
href="22cba79370"><code>22cba79</code></a>
fix(<code>@​angular-devkit/build-angular</code>): provide an option to
<code>exclude</code> specs in K...</li>
<li>Additional commits viewable in <a
href="https://github.com/angular/angular-cli/compare/15.0.4...15.1.1">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@angular-devkit/schematics&package-manager=npm_and_yarn&previous-version=15.0.4&new-version=15.1.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Kian-Meng Ang <kianmeng.ang@gmail.com>
Co-authored-by: Alex Rudenko <OrKoN@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Nikolay Vitkov <34244704+Lightning00Blade@users.noreply.github.com>
2023-01-17 15:10:39 +01:00
Kyrylo
3e80667048
chore: use named import for devtools-protocol module (#9511)
<!-- Thanks for submitting a pull request! Please provide enough
information so that others can review your pull request. -->

**What kind of change does this PR introduce?**
types fix

**Did you add tests for your changes?**
No

**If relevant, did you update the documentation?**
Not relevant

**Summary**
I am updating `import`s of `devtools-protocol` to always use named
import instead of the default.
For some reason, typescript doesn't understand when it is imported as
default.

```
node_modules/puppeteer-core/lib/esm/puppeteer/common/TargetManager.d.ts:23:59 - error TS2694: Namespace '"/Users/kyrylo/pacakge/node_modules/puppeteer-core/node_modules/devtools-protocol/types/protocol"' has no exported member 'Target'.

23 export declare type TargetFactory = (targetInfo: Protocol.Target.TargetInfo, session?: CDPSession) => Target;
                                                             ~~~~~~


Found 1 error in node_modules/puppeteer-core/lib/esm/puppeteer/common/TargetManager.d.ts:23
```

**Does this PR introduce a breaking change?**
No
<!-- If this PR introduces a breaking change, please describe the impact
and a migration path for existing applications. -->

**Other information**
I am updating `import`s of `devtools-protocol` to always use named
import instead of the default.
2023-01-17 11:34:57 +00:00
Kian-Meng Ang
4437bceb6e docs: fix typos (#9476)
Co-authored-by: Alex Rudenko <OrKoN@users.noreply.github.com>
2023-01-16 20:25:09 +01:00
Alex Rudenko
f59bbf4014
fix: firefox revision resolution should not update chrome revision (#9507)
Drive-by: don't override options in PuppeteerNode if they are provided.

Closes #9461
2023-01-13 10:57:48 +00:00
Alex Rudenko
06e816bbfa
feat(chromium): roll to Chromium 110.0.5479.0 (r1083080) (#9500)
Closes #9470
2023-01-12 11:31:20 +01:00
release-please[bot]
e9df6750d2
chore: release main (#9495)
🤖 I have created a release *beep* *boop*
---


<details><summary>puppeteer: 19.5.2</summary>

##
[19.5.2](https://github.com/puppeteer/puppeteer/compare/puppeteer-v19.5.1...puppeteer-v19.5.2)
(2023-01-11)


### Miscellaneous Chores

* **puppeteer:** Synchronize puppeteer versions


### Dependencies

* The following workspace dependencies were updated
  * dependencies
    * puppeteer-core bumped from 19.5.1 to 19.5.2
</details>

<details><summary>puppeteer-core: 19.5.2</summary>

##
[19.5.2](https://github.com/puppeteer/puppeteer/compare/puppeteer-core-v19.5.1...puppeteer-core-v19.5.2)
(2023-01-11)


### Bug Fixes

* make sure browser fetcher in launchers uses configuration
([#9493](https://github.com/puppeteer/puppeteer/issues/9493))
([df55439](df554397b5)),
closes [#9470](https://github.com/puppeteer/puppeteer/issues/9470)
</details>

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2023-01-12 08:21:09 +01:00
Alex Rudenko
df554397b5
fix: make sure browser fetcher in launchers uses configuration (#9493)
Issue #9470
2023-01-11 21:09:56 +01:00
release-please[bot]
5087bf771c
chore: release main (#9491) 2023-01-11 16:26:44 +01:00
jrandolf
9bf90d9f4b
fix: use puppeteer node for installation script (#9489)
Fixed: https://github.com/puppeteer/puppeteer/issues/9470
2023-01-11 16:15:53 +01:00
release-please[bot]
8f99a79ee4
chore: release main (#9466) 2023-01-09 10:58:41 +01:00
Junyan
6bc152ece0
chore: small refactor for screenshotTask (#9451) 2023-01-02 11:01:36 +01:00
Alex Rudenko
29a50764d4
chore: add BiDi integration for Chromium (#9410)
This PR adds experimental support for WebDriver BiDi by making use of
chromium-bidi to implement the BiDi protocol. The tests are disabled on
Windows due to flakiness (filed
https://github.com/GoogleChromeLabs/chromium-bidi/issues/361).
2022-12-20 14:37:31 +00:00
Evan Carroll
d2536d7cf5
feat: Default to not downloading if explicit browser path is set (#9440)
Fixed: #9419
2022-12-20 14:50:02 +01:00
Alex Rudenko
842008102f
chore: add deps needed for BiDi (#9439)
Extracted new dev deps from
https://github.com/puppeteer/puppeteer/pull/9410 to avoid constance
merge conflicts. https://github.com/puppeteer/puppeteer/pull/9410 needs
some investigation on Windows.
2022-12-19 15:54:58 +01:00
jrandolf
3f52212fc8
chore: update dependencies (#9436)
Fixed: https://github.com/puppeteer/puppeteer/issues/9372
2022-12-19 15:26:58 +01:00
jrandolf
c7a063a152
feat: add element validation (#9352)
This PR adds a method to ElementHandle that validates the tag type of
that handle and returns it.

Fixed: #8579, #9280
2022-12-19 13:25:56 +01:00
Darío Kondratiuk
e3e9cc622a
fix(puppeteer-core): target interceptor is not async (#9430)
I found that the only call to `addTargetInterceptor` passes
`onAttachedToTarget` and is not async.
I also found a typo 🤓
2022-12-17 17:47:21 +00:00
release-please[bot]
848c849358
chore: release main (#9395) 2022-12-16 14:21:28 +01:00
dependabot[bot]
69b03dff93
chore(deps): Bump @angular-devkit/schematics from 15.0.3 to 15.0.4 (#9420)
Bumps
[@angular-devkit/schematics](https://github.com/angular/angular-cli)
from 15.0.3 to 15.0.4.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/angular/angular-cli/releases"><code>@​angular-devkit/schematics</code>'s
releases</a>.</em></p>
<blockquote>
<h2>v15.0.4</h2>
<p><!-- raw HTML omitted --><!-- raw HTML omitted --></p>
<h1>15.0.4 (2022-12-14)</h1>
<h3><code>@​angular-devkit/build-angular</code></h3>
<table>
<thead>
<tr>
<th>Commit</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a
href="ccc8e03508"><img
src="https://img.shields.io/badge/ccc8e0350-fix-green" alt="fix -
ccc8e0350" /></a></td>
<td>display actionable error when a style does not exist in Karma
builder</td>
</tr>
<tr>
<td><a
href="507f756c34"><img
src="https://img.shields.io/badge/507f756c3-fix-green" alt="fix -
507f756c3" /></a></td>
<td>downlevel class private methods when targeting Safari &lt;=v15</td>
</tr>
<tr>
<td><a
href="a0da91dba3"><img
src="https://img.shields.io/badge/a0da91dba-fix-green" alt="fix -
a0da91dba" /></a></td>
<td>include sources in generated Sass source maps</td>
</tr>
<tr>
<td><a
href="9fd3562342"><img
src="https://img.shields.io/badge/9fd356234-fix-green" alt="fix -
9fd356234" /></a></td>
<td>only set ngDevMode when script optimizations are enabled</td>
</tr>
<tr>
<td><a
href="8e85f47284"><img
src="https://img.shields.io/badge/8e85f4728-fix-green" alt="fix -
8e85f4728" /></a></td>
<td>update <code>css-loader</code> to <code>6.7.3</code></td>
</tr>
<tr>
<td><a
href="b2d4415caa"><img
src="https://img.shields.io/badge/b2d4415ca-fix-green" alt="fix -
b2d4415ca" /></a></td>
<td>update locale setting snippet to use <code>globalThis</code>.</td>
</tr>
</tbody>
</table>
<h2>Special Thanks</h2>
<p>Alan Agius and Charles Lyding</p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/angular/angular-cli/blob/main/CHANGELOG.md"><code>@​angular-devkit/schematics</code>'s
changelog</a>.</em></p>
<blockquote>
<h1>15.0.4 (2022-12-14)</h1>
<h3><code>@​angular-devkit/build-angular</code></h3>
<table>
<thead>
<tr>
<th>Commit</th>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a
href="ccc8e03508">ccc8e0350</a></td>
<td>fix</td>
<td>display actionable error when a style does not exist in Karma
builder</td>
</tr>
<tr>
<td><a
href="507f756c34">507f756c3</a></td>
<td>fix</td>
<td>downlevel class private methods when targeting Safari &lt;=v15</td>
</tr>
<tr>
<td><a
href="a0da91dba3">a0da91dba</a></td>
<td>fix</td>
<td>include sources in generated</td>
</tr>
<tr>
<td><a
href="9fd3562342">9fd356234</a></td>
<td>fix</td>
<td>only set ngDevMode when script optimizations are enabled</td>
</tr>
<tr>
<td><a
href="8e85f47284">8e85f4728</a></td>
<td>fix</td>
<td>update <code>css-loader</code> to <code>6.7.3</code></td>
</tr>
<tr>
<td><a
href="b2d4415caa">b2d4415ca</a></td>
<td>fix</td>
<td>update locale setting snippet to use <code>globalThis</code>.</td>
</tr>
</tbody>
</table>
<h2>Special Thanks</h2>
<p>Alan Agius and Charles Lyding</p>
<!-- raw HTML omitted -->
<p><!-- raw HTML omitted --><!-- raw HTML omitted --></p>
<h1>15.1.0-next.2 (2022-12-08)</h1>
<h3><code>@​schematics/angular</code></h3>
<table>
<thead>
<tr>
<th>Commit</th>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a
href="5b18ce1545">5b18ce154</a></td>
<td>feat</td>
<td>add <code>guardType</code> as an alias of <code>implements</code> in
guard schematic</td>
</tr>
<tr>
<td><a
href="49b313f27a">49b313f27</a></td>
<td>fix</td>
<td>add missing import for functional interceptor spec</td>
</tr>
<tr>
<td><a
href="2f92fe7e58">2f92fe7e5</a></td>
<td>fix</td>
<td>add missing semicolon in functional guard/resolver/interceptor</td>
</tr>
</tbody>
</table>
<h3><code>@​angular-devkit/build-angular</code></h3>
<table>
<thead>
<tr>
<th>Commit</th>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a
href="97716969c2">97716969c</a></td>
<td>fix</td>
<td>default preserve symlinks to Node.js value for esbuild</td>
</tr>
<tr>
<td><a
href="cf2f30afc0">cf2f30afc</a></td>
<td>fix</td>
<td>downlevel class fields with Safari &lt;= v15 for esbuild</td>
</tr>
<tr>
<td><a
href="25eaaa24b5">25eaaa24b</a></td>
<td>fix</td>
<td>downlevel class properties when targeting Safari &lt;=v15</td>
</tr>
<tr>
<td><a
href="7a063238b8">7a063238b</a></td>
<td>fix</td>
<td>explicitly send options to JS transformer workers</td>
</tr>
<tr>
<td><a
href="ef99a68b46">ef99a68b4</a></td>
<td>fix</td>
<td>prevent optimization adding unsupported ECMASCript features</td>
</tr>
</tbody>
</table>
<h2>Special Thanks</h2>
<p>Alan Agius, Charles Lyding, Cédric Exbrayat, Dominic Elm, Doug Parker
and Paul Gschwendtner</p>
<!-- raw HTML omitted -->
<p><!-- raw HTML omitted --><!-- raw HTML omitted --></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="8771258776"><code>8771258</code></a>
release: cut the v15.0.4 release</li>
<li><a
href="8e85f47284"><code>8e85f47</code></a>
fix(<code>@​angular-devkit/build-angular</code>): update
<code>css-loader</code> to <code>6.7.3</code></li>
<li><a
href="9fd3562342"><code>9fd3562</code></a>
fix(<code>@​angular-devkit/build-angular</code>): only set ngDevMode
when script optimizati...</li>
<li><a
href="ccc8e03508"><code>ccc8e03</code></a>
fix(<code>@​angular-devkit/build-angular</code>): display actionable
error when a style doe...</li>
<li><a
href="507f756c34"><code>507f756</code></a>
fix(<code>@​angular-devkit/build-angular</code>): downlevel class
private methods when targ...</li>
<li><a
href="b2d4415caa"><code>b2d4415</code></a>
fix(<code>@​angular-devkit/build-angular</code>): update locale setting
snippet to use `glo...</li>
<li><a
href="a0da91dba3"><code>a0da91d</code></a>
fix(<code>@​angular-devkit/build-angular</code>): include sources in
generated</li>
<li>See full diff in <a
href="https://github.com/angular/angular-cli/compare/15.0.3...15.0.4">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@angular-devkit/schematics&package-manager=npm_and_yarn&previous-version=15.0.3&new-version=15.0.4)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-16 12:01:17 +01:00
dependabot[bot]
fa05a1c834
chore(deps): Bump @angular-devkit/core from 15.0.3 to 15.0.4 (#9414)
Bumps [@angular-devkit/core](https://github.com/angular/angular-cli)
from 15.0.3 to 15.0.4.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/angular/angular-cli/releases"><code>@​angular-devkit/core</code>'s
releases</a>.</em></p>
<blockquote>
<h2>v15.0.4</h2>
<p><!-- raw HTML omitted --><!-- raw HTML omitted --></p>
<h1>15.0.4 (2022-12-14)</h1>
<h3><code>@​angular-devkit/build-angular</code></h3>
<table>
<thead>
<tr>
<th>Commit</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a
href="ccc8e03508"><img
src="https://img.shields.io/badge/ccc8e0350-fix-green" alt="fix -
ccc8e0350" /></a></td>
<td>display actionable error when a style does not exist in Karma
builder</td>
</tr>
<tr>
<td><a
href="507f756c34"><img
src="https://img.shields.io/badge/507f756c3-fix-green" alt="fix -
507f756c3" /></a></td>
<td>downlevel class private methods when targeting Safari &lt;=v15</td>
</tr>
<tr>
<td><a
href="a0da91dba3"><img
src="https://img.shields.io/badge/a0da91dba-fix-green" alt="fix -
a0da91dba" /></a></td>
<td>include sources in generated</td>
</tr>
<tr>
<td><a
href="9fd3562342"><img
src="https://img.shields.io/badge/9fd356234-fix-green" alt="fix -
9fd356234" /></a></td>
<td>only set ngDevMode when script optimizations are enabled</td>
</tr>
<tr>
<td><a
href="8e85f47284"><img
src="https://img.shields.io/badge/8e85f4728-fix-green" alt="fix -
8e85f4728" /></a></td>
<td>update <code>css-loader</code> to <code>6.7.3</code></td>
</tr>
<tr>
<td><a
href="b2d4415caa"><img
src="https://img.shields.io/badge/b2d4415ca-fix-green" alt="fix -
b2d4415ca" /></a></td>
<td>update locale setting snippet to use <code>globalThis</code>.</td>
</tr>
</tbody>
</table>
<h2>Special Thanks</h2>
<p>Alan Agius and Charles Lyding</p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/angular/angular-cli/blob/15.0.4/CHANGELOG.md"><code>@​angular-devkit/core</code>'s
changelog</a>.</em></p>
<blockquote>
<h1>15.0.4 (2022-12-14)</h1>
<h3><code>@​angular-devkit/build-angular</code></h3>
<table>
<thead>
<tr>
<th>Commit</th>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a
href="ccc8e03508">ccc8e0350</a></td>
<td>fix</td>
<td>display actionable error when a style does not exist in Karma
builder</td>
</tr>
<tr>
<td><a
href="507f756c34">507f756c3</a></td>
<td>fix</td>
<td>downlevel class private methods when targeting Safari &lt;=v15</td>
</tr>
<tr>
<td><a
href="a0da91dba3">a0da91dba</a></td>
<td>fix</td>
<td>include sources in generated Sass source maps</td>
</tr>
<tr>
<td><a
href="9fd3562342">9fd356234</a></td>
<td>fix</td>
<td>only set ngDevMode when script optimizations are enabled</td>
</tr>
<tr>
<td><a
href="8e85f47284">8e85f4728</a></td>
<td>fix</td>
<td>update <code>css-loader</code> to <code>6.7.3</code></td>
</tr>
<tr>
<td><a
href="b2d4415caa">b2d4415ca</a></td>
<td>fix</td>
<td>update locale setting snippet to use <code>globalThis</code>.</td>
</tr>
</tbody>
</table>
<h2>Special Thanks</h2>
<p>Alan Agius and Charles Lyding</p>
<!-- raw HTML omitted -->
<p><!-- raw HTML omitted --><!-- raw HTML omitted --></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="8771258776"><code>8771258</code></a>
release: cut the v15.0.4 release</li>
<li><a
href="8e85f47284"><code>8e85f47</code></a>
fix(<code>@​angular-devkit/build-angular</code>): update
<code>css-loader</code> to <code>6.7.3</code></li>
<li><a
href="9fd3562342"><code>9fd3562</code></a>
fix(<code>@​angular-devkit/build-angular</code>): only set ngDevMode
when script optimizati...</li>
<li><a
href="ccc8e03508"><code>ccc8e03</code></a>
fix(<code>@​angular-devkit/build-angular</code>): display actionable
error when a style doe...</li>
<li><a
href="507f756c34"><code>507f756</code></a>
fix(<code>@​angular-devkit/build-angular</code>): downlevel class
private methods when targ...</li>
<li><a
href="b2d4415caa"><code>b2d4415</code></a>
fix(<code>@​angular-devkit/build-angular</code>): update locale setting
snippet to use `glo...</li>
<li><a
href="a0da91dba3"><code>a0da91d</code></a>
fix(<code>@​angular-devkit/build-angular</code>): include sources in
generated</li>
<li>See full diff in <a
href="https://github.com/angular/angular-cli/compare/15.0.3...15.0.4">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@angular-devkit/core&package-manager=npm_and_yarn&previous-version=15.0.3&new-version=15.0.4)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-15 14:22:21 +00:00
dependabot[bot]
0f0e717582
chore(deps): Bump @angular-devkit/architect from 0.1402.10 to 0.1500.4 (#9415)
Bumps
[@angular-devkit/architect](https://github.com/angular/angular-cli) from
0.1402.10 to 0.1500.4.
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/angular/angular-cli/commits">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@angular-devkit/architect&package-manager=npm_and_yarn&previous-version=0.1402.10&new-version=0.1500.4)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-15 14:07:06 +01:00
dependabot[bot]
cd073ab51f
chore(deps): Bump ws from 8.10.0 to 8.11.0 (#9412)
Bumps [ws](https://github.com/websockets/ws) from 8.10.0 to 8.11.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/websockets/ws/releases">ws's
releases</a>.</em></p>
<blockquote>
<h2>8.11.0</h2>
<h1>Features</h1>
<ul>
<li><code>WebSocket.prototype.addEventListener()</code> now supports an
event listener
specified as an object with a <code>handleEvent()</code> method.
(9ab743aa).</li>
</ul>
<h1>Bug fixes</h1>
<ul>
<li><code>WebSocket.prototype.addEventListener()</code> now adds an
event listener only if it
is not already in the list of the event listeners for the specified
event type
(1cec17da).</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="afd8c6269b"><code>afd8c62</code></a>
[dist] 8.11.0</li>
<li><a
href="1cec17da06"><code>1cec17d</code></a>
[fix] Add the same event listener only once</li>
<li><a
href="9ab743aa70"><code>9ab743a</code></a>
[feature] Add support for objets with a <code>handleEvent()</code>
method</li>
<li><a
href="38f78794ca"><code>38f7879</code></a>
[ci] Test on node 19</li>
<li>See full diff in <a
href="https://github.com/websockets/ws/compare/8.10.0...8.11.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=ws&package-manager=npm_and_yarn&previous-version=8.10.0&new-version=8.11.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-14 14:55:17 +00:00
dependabot[bot]
cd8eec3222
chore(deps): Bump @angular-devkit/schematics from 14.2.8 to 15.0.3 (#9413)
Bumps
[@angular-devkit/schematics](https://github.com/angular/angular-cli)
from 14.2.8 to 15.0.3.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/angular/angular-cli/releases"><code>@​angular-devkit/schematics</code>'s
releases</a>.</em></p>
<blockquote>
<h2>v15.0.3</h2>
<p><!-- raw HTML omitted --><!-- raw HTML omitted --></p>
<h1>15.0.3 (2022-12-07)</h1>
<h3><code>@​angular-devkit/build-angular</code></h3>
<table>
<thead>
<tr>
<th>Commit</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a
href="3d9971edb0"><img
src="https://img.shields.io/badge/3d9971edb-fix-green" alt="fix -
3d9971edb" /></a></td>
<td>default preserve symlinks to Node.js value for esbuild</td>
</tr>
<tr>
<td><a
href="24f4b51d22"><img
src="https://img.shields.io/badge/24f4b51d2-fix-green" alt="fix -
24f4b51d2" /></a></td>
<td>downlevel class fields with Safari &lt;= v15 for esbuild</td>
</tr>
<tr>
<td><a
href="45afc42db8"><img
src="https://img.shields.io/badge/45afc42db-fix-green" alt="fix -
45afc42db" /></a></td>
<td>downlevel class properties when targeting Safari &lt;=v15</td>
</tr>
<tr>
<td><a
href="e6461badf7"><img
src="https://img.shields.io/badge/e6461badf-fix-green" alt="fix -
e6461badf" /></a></td>
<td>prevent optimization adding unsupported ECMASCript features</td>
</tr>
</tbody>
</table>
<h2>Special Thanks</h2>
<p>Charles Lyding, Dominic Elm and Paul Gschwendtner</p>
<h2>v15.0.2</h2>
<p><!-- raw HTML omitted --><!-- raw HTML omitted --></p>
<h1>15.0.2 (2022-11-30)</h1>
<h3><code>@​angular-devkit/build-angular</code></h3>
<table>
<thead>
<tr>
<th>Commit</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a
href="2891d5bc9e"><img
src="https://img.shields.io/badge/2891d5bc9-fix-green" alt="fix -
2891d5bc9" /></a></td>
<td>correctly set Sass quietDeps and verbose options</td>
</tr>
</tbody>
</table>
<h3><code>@​ngtools/webpack</code></h3>
<table>
<thead>
<tr>
<th>Commit</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a
href="d9cc4b0289"><img
src="https://img.shields.io/badge/d9cc4b028-fix-green" alt="fix -
d9cc4b028" /></a></td>
<td>elide unused type references</td>
</tr>
</tbody>
</table>
<h2>Special Thanks</h2>
<p>Alan Agius and Juuso Valkeejärvi</p>
<h2>v15.0.1</h2>
<p><!-- raw HTML omitted --><!-- raw HTML omitted --></p>
<h1>15.0.1 (2022-11-23)</h1>
<h3><code>@​schematics/angular</code></h3>
<table>
<thead>
<tr>
<th>Commit</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a
href="48426852b0"><img
src="https://img.shields.io/badge/48426852b-fix-green" alt="fix -
48426852b" /></a></td>
<td>show warning when a TS Config is not found during migrations</td>
</tr>
</tbody>
</table>
<h3><code>@​angular/cli</code></h3>
<table>
<thead>
<tr>
<th>Commit</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a
href="eda96def48"><img
src="https://img.shields.io/badge/eda96def4-fix-green" alt="fix -
eda96def4" /></a></td>
<td>use global version of the CLI when running <code>ng new</code></td>
</tr>
</tbody>
</table>
<h3><code>@​angular-devkit/build-angular</code></h3>
<table>
<thead>
<tr>
<th>Commit</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a
href="2af32fd3a9"><img
src="https://img.shields.io/badge/2af32fd3a-fix-green" alt="fix -
2af32fd3a" /></a></td>
<td>hide loader paths in webpack warnings</td>
</tr>
<tr>
<td><a
href="19f5cc746e"><img
src="https://img.shields.io/badge/19f5cc746-fix-green" alt="fix -
19f5cc746" /></a></td>
<td>improve package deep import Sass index resolution in esbuild
plugin</td>
</tr>
<tr>
<td><a
href="2220a907da"><img
src="https://img.shields.io/badge/2220a907d-fix-green" alt="fix -
2220a907d" /></a></td>
<td>use url function lexer to rebase Sass URLs</td>
</tr>
</tbody>
</table>
<h2>Special Thanks</h2>
<p>Alan Agius, Charles Lyding, Doug Parker, Joey Perrott and Piotr
Wysocki</p>
<h2>v15.0.0</h2>
<p><!-- raw HTML omitted --><!-- raw HTML omitted --></p>
<h1>15.0.0 (2022-11-16)</h1>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/angular/angular-cli/blob/main/CHANGELOG.md"><code>@​angular-devkit/schematics</code>'s
changelog</a>.</em></p>
<blockquote>
<h1>15.0.3 (2022-12-07)</h1>
<h3><code>@​angular-devkit/build-angular</code></h3>
<table>
<thead>
<tr>
<th>Commit</th>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a
href="3d9971edb0">3d9971edb</a></td>
<td>fix</td>
<td>default preserve symlinks to Node.js value for esbuild</td>
</tr>
<tr>
<td><a
href="24f4b51d22">24f4b51d2</a></td>
<td>fix</td>
<td>downlevel class fields with Safari &lt;= v15 for esbuild</td>
</tr>
<tr>
<td><a
href="45afc42db8">45afc42db</a></td>
<td>fix</td>
<td>downlevel class properties when targeting Safari &lt;=v15</td>
</tr>
<tr>
<td><a
href="e6461badf7">e6461badf</a></td>
<td>fix</td>
<td>prevent optimization adding unsupported ECMASCript features</td>
</tr>
</tbody>
</table>
<h2>Special Thanks</h2>
<p>Charles Lyding, Dominic Elm and Paul Gschwendtner</p>
<!-- raw HTML omitted -->
<p><!-- raw HTML omitted --><!-- raw HTML omitted --></p>
<h1>15.1.0-next.1 (2022-11-30)</h1>
<h3><code>@​schematics/angular</code></h3>
<table>
<thead>
<tr>
<th>Commit</th>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a
href="9299dea649">9299dea64</a></td>
<td>feat</td>
<td>generate functional interceptors</td>
</tr>
<tr>
<td><a
href="9b6d190f4a">9b6d190f4</a></td>
<td>fix</td>
<td>remove EnvironmentInjector import in functional guard spec</td>
</tr>
<tr>
<td><a
href="b11d3f6442">b11d3f644</a></td>
<td>fix</td>
<td>use proper variable in functional guard spec</td>
</tr>
<tr>
<td><a
href="451975f765">451975f76</a></td>
<td>fix</td>
<td>use proper variable in resolver functional spec</td>
</tr>
</tbody>
</table>
<h3><code>@​angular-devkit/build-angular</code></h3>
<table>
<thead>
<tr>
<th>Commit</th>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a
href="012393d379">012393d37</a></td>
<td>fix</td>
<td>correctly set Sass quietDeps and verbose options</td>
</tr>
</tbody>
</table>
<h3><code>@​ngtools/webpack</code></h3>
<table>
<thead>
<tr>
<th>Commit</th>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a
href="856720b913">856720b91</a></td>
<td>fix</td>
<td>elide unused type references</td>
</tr>
</tbody>
</table>
<h2>Special Thanks</h2>
<p>Alan Agius, Andrew Scott, Cédric Exbrayat, Jason Bedard and Juuso
Valkeejärvi</p>
<!-- raw HTML omitted -->
<p><!-- raw HTML omitted --><!-- raw HTML omitted --></p>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="eb2a73a351"><code>eb2a73a</code></a>
release: cut the v15.0.3 release</li>
<li><a
href="3d9971edb0"><code>3d9971e</code></a>
fix(<code>@​angular-devkit/build-angular</code>): default preserve
symlinks to Node.js valu...</li>
<li><a
href="24f4b51d22"><code>24f4b51</code></a>
fix(<code>@​angular-devkit/build-angular</code>): downlevel class fields
with Safari &lt;= v15...</li>
<li><a
href="20e0742154"><code>20e0742</code></a>
refactor(<code>@​angular-devkit/build-angular</code>): update
browserslist conversion to la...</li>
<li><a
href="18f31009c1"><code>18f3100</code></a>
refactor(<code>@​angular-devkit/build-angular</code>): convert into a
function to give mor...</li>
<li><a
href="45afc42db8"><code>45afc42</code></a>
fix(<code>@​angular-devkit/build-angular</code>): downlevel class
properties when targeting...</li>
<li><a
href="e6461badf7"><code>e6461ba</code></a>
fix(<code>@​angular-devkit/build-angular</code>): prevent optimization
adding unsupported E...</li>
<li><a
href="d77416f8cc"><code>d77416f</code></a>
release: cut the v15.0.2 release</li>
<li><a
href="0a543eaa2d"><code>0a543ea</code></a>
Revert &quot;docs: remove <code>@latest</code> reference from <code>npm
init</code> command&quot;</li>
<li><a
href="d9cc4b0289"><code>d9cc4b0</code></a>
fix(<code>@​ngtools/webpack</code>): elide unused type references</li>
<li>Additional commits viewable in <a
href="https://github.com/angular/angular-cli/compare/14.2.8...15.0.3">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@angular-devkit/schematics&package-manager=npm_and_yarn&previous-version=14.2.8&new-version=15.0.3)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-14 14:22:13 +01:00
Alex Rudenko
02fe50194e
fix: improve a11y snapshot handling if the tree is not correct (#9405)
Bug #9404
2022-12-13 08:31:26 +00:00
y-yagi
a3045435a2
docs: mention how to disable timeout for page.pdf() (#9167)
**What kind of change does this PR introduce?**

Add how to disable timeout for `page.pdf()`.

**Summary**

This was mentioned in the PR that adding this feature
https://github.com/puppeteer/puppeteer/pull/7508 But it has lost at
https://github.com/puppeteer/puppeteer/pull/8593.

I'm not sure why this was removed, but I think this info is useful for
users.

**Does this PR introduce a breaking change?**

no
2022-12-12 12:12:18 +00:00
Alex Rudenko
d55af2df4f
chore: re-export devtools-protocol from core (#9402) 2022-12-12 10:37:27 +00:00
Alex Rudenko
1668d47b2f
docs: various doc improvements (#9396)
See commits for details.

Closes #1837, #5880, #7822, #8101, #8821, #9367, #9382, #9378, #4731
2022-12-09 13:57:39 +01:00
Alex Rudenko
810e0cd74e
fix: remove oopif expectations and fix oopif flakiness (#9375)
With M109 the flakiness should be reduced. Any present flakiness should
be investigated.

Drive-by: a new debugging helper to debug on CI.
2022-12-09 11:36:39 +00:00
Nikolay Vitkov
89ff872120
chore: Update CI file to use new set method (#9389)
Closes #9373,
Fixes #9296
2022-12-09 10:49:53 +01:00
Thibaud Colas
afc75884d7 docs: fix documentation typo in Page.waitForSelector optional visible parameter (#9381)
**What kind of change does this PR introduce?**

Typo fix in the documentation

**Did you add tests for your changes?**

No

**If relevant, did you update the documentation?**

N/A

**Summary**

I spotted the `Visible` parameter had an uppercase `V` in the [Remarks
section of the Page.waitForSelector API
documentation](https://pptr.dev/api/puppeteer.page.waitforselector#remarks).
Updated this to the lowercase `v` in the relevant places (source,
documentation, versioned version of the doc page).

While doing this, I also spotted there was an extra space in `are :` in
the sentence above – so changed that as well.

**Does this PR introduce a breaking change?**

No

**Other information**

I’ve confirmed the parameter is spelled correctly on
https://pptr.dev/api/puppeteer.waitforselectoroptions. I’m not sure why
the documentation for those properties is in two places with slightly
different wording – but to me it felt useful to see this directly on the
method’s API docs.
2022-12-08 13:59:18 +01:00
release-please[bot]
931d4fced5
chore: release main (#9322)
🤖 I have created a release *beep* *boop*
---


<details><summary>puppeteer: 19.4.0</summary>

##
[19.4.0](https://github.com/puppeteer/puppeteer/compare/puppeteer-v19.3.0...puppeteer-v19.4.0)
(2022-12-07)


### Features

* **chromium:** roll to Chromium 109.0.5412.0 (r1069273)
([#9364](https://github.com/puppeteer/puppeteer/issues/9364))
([1875da6](1875da6191)),
closes [#9233](https://github.com/puppeteer/puppeteer/issues/9233)


### Dependencies

* The following workspace dependencies were updated
  * dependencies
    * puppeteer-core bumped from 19.3.0 to 19.4.0
</details>

<details><summary>puppeteer-core: 19.4.0</summary>

##
[19.4.0](https://github.com/puppeteer/puppeteer/compare/puppeteer-core-v19.3.0...puppeteer-core-v19.4.0)
(2022-12-07)


### Features

* ability to send headers via ws connection to browser in node.js
environment
([#9314](https://github.com/puppeteer/puppeteer/issues/9314))
([937fffa](937fffaedc)),
closes [#7218](https://github.com/puppeteer/puppeteer/issues/7218)
* **chromium:** roll to Chromium 109.0.5412.0 (r1069273)
([#9364](https://github.com/puppeteer/puppeteer/issues/9364))
([1875da6](1875da6191)),
closes [#9233](https://github.com/puppeteer/puppeteer/issues/9233)
* **puppeteer-core:** keydown supports commands
([#9357](https://github.com/puppeteer/puppeteer/issues/9357))
([b7ebc5d](b7ebc5d9bb))


### Bug Fixes

* **puppeteer-core:** avoid type instantiation errors
([#9370](https://github.com/puppeteer/puppeteer/issues/9370))
([17f31a9](17f31a9ee4)),
closes [#9369](https://github.com/puppeteer/puppeteer/issues/9369)
</details>

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2022-12-07 19:35:29 +01:00
Nikolay Vitkov
1875da6191
feat(chromium): roll to Chromium 109.0.5412.0 (r1069273) (#9364)
Closes #9233
2022-12-07 14:54:00 +01:00
Robin Richtsfeld
1501edefa8
docs(requestinterception): remove outdated note (#9358)
See #7304 @jschfflr Seems like we missed some
Thanks to @chrismdd for spotting this
2022-12-07 07:33:27 +00:00
Alex Rudenko
17f31a9ee4
fix(puppeteer-core): avoid type instantiation errors (#9370)
Using the accumulator allows enabling the tail-recursion optimization in
the TypeScript compiler.

Closes #9369
2022-12-06 19:21:08 +01:00
Nikolay Vitkov
51d75a0a50
chore(ng-schematics): Use WireIt for builds and tests (#9356)
**What kind of change does this PR introduce?**

It moves all the `ng-schematics` commands to WireIt

**Did you add tests for your changes?**

N/A

**Summary**

We want all our packages to use the same processes to build and test.
This also allows us to have better build times and also watch mode 👀.

**Does this PR introduce a breaking change?**

No

**Other information**
2022-12-05 10:35:31 +01:00
Junyan
b7ebc5d9bb
feat(puppeteer-core): keydown supports commands (#9357)
Issue: #1313

<!-- Thanks for submitting a pull request! Please provide enough
information so that others can review your pull request. -->

**What kind of change does this PR introduce?**

Feature.

**Did you add tests for your changes?**

Yes.

**If relevant, did you update the documentation?**

Yes.

**Summary**

Supports keyboard shotcuts on MacOS. See Chrome Devtools Protocol
document:
https://chromedevtools.github.io/devtools-protocol/tot/Input/#method-dispatchKeyEvent.
2022-12-03 11:23:47 +01:00
Alex Rudenko
3cdd5d8292
chore: fix build deps (#9344) 2022-11-30 10:46:46 +01:00
Alex Rudenko
f3c87dcdb7
chore: upgrade mitt (#9340) 2022-11-29 19:50:58 +00:00
Alex Rudenko
e8c1d56845
chore: import BiDi impl only if the user opts in (#9335) 2022-11-29 15:18:40 +01:00
dependabot[bot]
385d27d0cd
chore(deps): Bump cosmiconfig from 7.0.1 to 8.0.0 (#9319)
Bumps [cosmiconfig](https://github.com/davidtheclark/cosmiconfig) from
7.0.1 to 8.0.0.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/davidtheclark/cosmiconfig/blob/main/CHANGELOG.md">cosmiconfig's
changelog</a>.</em></p>
<blockquote>
<h2>8.0.0</h2>
<p><strong>No major breaking changes!</strong> We dropped support for
Node 10 and 12 -- which you're probably not using. And we swapped out
the YAML parser -- which you probably won't notice.</p>
<ul>
<li><strong>Breaking change:</strong> Drop support for Node 10 and
12.</li>
<li><strong>Breaking change:</strong> Use npm package <a
href="https://www.npmjs.com/package/js-yaml">js-yaml</a> to parse YAML
instead of npm package <a
href="https://www.npmjs.com/package/yaml">yaml</a>.</li>
<li>Added: Loader errors now include the path of the file that was tried
to be loaded.</li>
</ul>
<h2>7.1.0</h2>
<ul>
<li>Added: Additional default <code>searchPlaces</code> within a .config
subdirectory (without leading dot in the file name)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/davidtheclark/cosmiconfig/commits">compare
view</a></li>
</ul>
</details>
<details>
<summary>Maintainer changes</summary>
<p>This version was pushed to npm by <a
href="https://www.npmjs.com/~d-fischer">d-fischer</a>, a new releaser
for cosmiconfig since your current version.</p>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=cosmiconfig&package-manager=npm_and_yarn&previous-version=7.0.1&new-version=8.0.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-28 10:06:48 +01:00
dependabot[bot]
7adfff0d3f
chore(deps): Bump @angular-devkit/core from 14.2.7 to 15.0.1 (#9318)
Bumps [@angular-devkit/core](https://github.com/angular/angular-cli)
from 14.2.7 to 15.0.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/angular/angular-cli/releases"><code>@​angular-devkit/core</code>'s
releases</a>.</em></p>
<blockquote>
<h2>v15.0.1</h2>
<p><!-- raw HTML omitted --><!-- raw HTML omitted --></p>
<h1>15.0.1 (2022-11-23)</h1>
<h3><code>@​schematics/angular</code></h3>
<table>
<thead>
<tr>
<th>Commit</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a
href="48426852b0"><img
src="https://img.shields.io/badge/48426852b-fix-green" alt="fix -
48426852b" /></a></td>
<td>show warning when a TS Config is not found during migrations</td>
</tr>
</tbody>
</table>
<h3><code>@​angular/cli</code></h3>
<table>
<thead>
<tr>
<th>Commit</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a
href="eda96def48"><img
src="https://img.shields.io/badge/eda96def4-fix-green" alt="fix -
eda96def4" /></a></td>
<td>use global version of the CLI when running <code>ng new</code></td>
</tr>
</tbody>
</table>
<h3><code>@​angular-devkit/build-angular</code></h3>
<table>
<thead>
<tr>
<th>Commit</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a
href="2af32fd3a9"><img
src="https://img.shields.io/badge/2af32fd3a-fix-green" alt="fix -
2af32fd3a" /></a></td>
<td>hide loader paths in webpack warnings</td>
</tr>
<tr>
<td><a
href="19f5cc746e"><img
src="https://img.shields.io/badge/19f5cc746-fix-green" alt="fix -
19f5cc746" /></a></td>
<td>improve package deep import Sass index resolution in esbuild
plugin</td>
</tr>
<tr>
<td><a
href="2220a907da"><img
src="https://img.shields.io/badge/2220a907d-fix-green" alt="fix -
2220a907d" /></a></td>
<td>use url function lexer to rebase Sass URLs</td>
</tr>
</tbody>
</table>
<h2>Special Thanks</h2>
<p>Alan Agius, Charles Lyding, Doug Parker, Joey Perrott and Piotr
Wysocki</p>
<h2>v15.0.0</h2>
<p><!-- raw HTML omitted --><!-- raw HTML omitted --></p>
<h1>15.0.0 (2022-11-16)</h1>
<h2>Breaking Changes</h2>
<h3><code>@​angular/cli</code></h3>
<ul>
<li>The Angular CLI no longer supports <code>16.10.x</code>,
<code>16.11.x</code> and <code>16.12.x</code>. Current supported
versions of Node.js are <code>14.20.x</code>, <code>16.13.x</code> and
<code>18.10.x</code>.</li>
<li>Node.js versions older than 14.20 are no longer supported.</li>
<li>The 'path' option in schematics schema no longer has a special
meaning. Use 'workingDirectory' smart default provider should be used
instead.</li>
</ul>
<h3><code>@​schematics/angular</code></h3>
<ul>
<li>Removed unused<code>appDir</code> option from Universal and
App-Shell schematic. This option can safely be removed if present since
it no longer has effect.</li>
</ul>
<h3></h3>
<ul>
<li>
<p><code>analyticsSharing</code> option in the global angular
configuration has been
removed without replacement. This option was used to configure the
Angular CLI to access to your own users' CLI usage data.</p>
<p>If this option is used, it can be removed using <code>ng config
--global cli.analyticsSharing undefined</code>.</p>
</li>
<li>
<p>analytics APIs have been removed without replacement from
<code>@angular-devkit/core</code> and
<code>@angular-devkit/architect</code>.</p>
</li>
</ul>
<h3><code>@​angular-devkit/build-angular</code></h3>
<ul>
<li>
<p>TypeScript versions older than 4.8.2 are no longer supported.</p>
</li>
<li>
<p>The server builder <code>bundleDependencies</code> option has been
removed. This option was used pre Ivy. Currently, using this option is
unlikely to produce working server bundles.</p>
<p>The <code>externalDependencies</code> option can be used instead to
exclude specific node_module packages from the final bundle.</p>
</li>
<li>
<ul>
<li>Deprecated support for tilde import has been removed. Please update
the imports by removing the <code>~</code>.</li>
</ul>
<p>Before</p>
<pre lang="scss"><code>@import
&quot;~font-awesome/scss/font-awesome&quot;;
</code></pre>
<p>After</p>
<pre lang="scss"><code></code></pre>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/angular/angular-cli/blob/main/CHANGELOG.md"><code>@​angular-devkit/core</code>'s
changelog</a>.</em></p>
<blockquote>
<h1>15.0.1 (2022-11-23)</h1>
<h3><code>@​angular/cli</code></h3>
<table>
<thead>
<tr>
<th>Commit</th>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a
href="eda96def48">eda96def4</a></td>
<td>fix</td>
<td>use global version of the CLI when running <code>ng new</code></td>
</tr>
</tbody>
</table>
<h3><code>@​schematics/angular</code></h3>
<table>
<thead>
<tr>
<th>Commit</th>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a
href="48426852b0">48426852b</a></td>
<td>fix</td>
<td>show warning when a TS Config is not found during migrations</td>
</tr>
</tbody>
</table>
<h3><code>@​angular-devkit/build-angular</code></h3>
<table>
<thead>
<tr>
<th>Commit</th>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a
href="2af32fd3a9">2af32fd3a</a></td>
<td>fix</td>
<td>hide loader paths in webpack warnings</td>
</tr>
<tr>
<td><a
href="19f5cc746e">19f5cc746</a></td>
<td>fix</td>
<td>improve package deep import Sass index resolution in esbuild
plugin</td>
</tr>
<tr>
<td><a
href="2220a907da">2220a907d</a></td>
<td>fix</td>
<td>use url function lexer to rebase Sass URLs</td>
</tr>
</tbody>
</table>
<h2>Special Thanks</h2>
<p>Alan Agius, Charles Lyding, Doug Parker, Joey Perrott and Piotr
Wysocki</p>
<!-- raw HTML omitted -->
<p><!-- raw HTML omitted --><!-- raw HTML omitted --></p>
<h1>15.0.0 (2022-11-16)</h1>
<h2>Breaking Changes</h2>
<h3><code>@​angular/cli</code></h3>
<ul>
<li>The Angular CLI no longer supports <code>16.10.x</code>,
<code>16.11.x</code> and <code>16.12.x</code>. Current minimum versions
of Node.js are <code>14.20.0</code>, <code>16.13.0</code> and
<code>18.10.0</code>.</li>
<li>Node.js versions older than 14.20 are no longer supported.</li>
<li>The 'path' option in schematics schema no longer has a special
meaning. Use 'workingDirectory' smart default provider should be used
instead.</li>
</ul>
<h3><code>@​schematics/angular</code></h3>
<ul>
<li>Removed unused <code>appDir</code> option from Universal and
App-Shell schematic. This option can safely be removed if present since
it no longer has effect.</li>
</ul>
<h3></h3>
<ul>
<li>
<p><code>analyticsSharing</code> option in the global angular
configuration has been
removed without replacement. This option was used to configure the
Angular CLI to access to your own users' CLI usage data.</p>
<p>If this option is used, it can be removed using <code>ng config
--global cli.analyticsSharing undefined</code>.</p>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="324f8da02b"><code>324f8da</code></a>
release: cut the v15.0.1 release</li>
<li><a
href="2af32fd3a9"><code>2af32fd</code></a>
fix(<code>@​angular-devkit/build-angular</code>): hide loader paths in
webpack warnings</li>
<li><a
href="2220a907da"><code>2220a90</code></a>
fix(<code>@​angular-devkit/build-angular</code>): use url function lexer
to rebase Sass URLs</li>
<li><a
href="fc0d9241c7"><code>fc0d924</code></a>
ci: update browser-tools</li>
<li><a
href="19f5cc746e"><code>19f5cc7</code></a>
fix(<code>@​angular-devkit/build-angular</code>): improve package deep
import Sass index re...</li>
<li><a
href="52f63b19b5"><code>52f63b1</code></a>
build: enable the ng-dev auth service</li>
<li><a
href="ba1f571dca"><code>ba1f571</code></a>
build: remove <code>regenerator-runtime</code> from dependencies</li>
<li><a
href="cc6cad7867"><code>cc6cad7</code></a>
build: enable the assistant-to-the-branch-manager github action</li>
<li><a
href="51d17d4d70"><code>51d17d4</code></a>
ci: fix update test to work when <code>@angular/cli</code> and
<code>@angular/core</code> majors di...</li>
<li><a
href="48426852b0"><code>4842685</code></a>
fix(<code>@​schematics/angular</code>): show warning when a TS Config is
not found during m...</li>
<li>Additional commits viewable in <a
href="https://github.com/angular/angular-cli/compare/14.2.7...15.0.1">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@angular-devkit/core&package-manager=npm_and_yarn&previous-version=14.2.7&new-version=15.0.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-28 10:05:46 +01:00
jrandolf
cb01c5c043
docs: remove comments on Page implementation (#9325)
This PR removes comments on CDPPage since they are redundant.
2022-11-24 13:10:29 +01:00
Dmitriy Dudkevich
937fffaedc
feat: ability to send headers via ws connection to browser in node.js environment (#9314)
**What kind of change does this PR introduce?**

I have browsers pool in some cloud. I want that only users with access
will be able to connect to them. So they must provide token through
headers. But puppeteer does not allow to send headers when connected to
browser by ws connection. So I added this feature.

Closes #7218
2022-11-24 11:00:03 +01:00
release-please[bot]
c4803e4a37
chore: release main (#9313)
🤖 I have created a release *beep* *boop*
---


<details><summary>ng-schematics: 0.1.0</summary>

## 0.1.0 (2022-11-23)


### Features

* **ng-schematics:** Release @puppeteer/ng-schematics
([#9244](https://github.com/puppeteer/puppeteer/issues/9244))
([be33929](be33929770))
</details>

<details><summary>puppeteer: 19.3.0</summary>

##
[19.3.0](https://github.com/puppeteer/puppeteer/compare/puppeteer-v19.2.2...puppeteer-v19.3.0)
(2022-11-23)


### Miscellaneous Chores

* **puppeteer:** Synchronize puppeteer versions


### Dependencies

* The following workspace dependencies were updated
  * dependencies
    * puppeteer-core bumped from 19.2.2 to 19.3.0
</details>

<details><summary>puppeteer-core: 19.3.0</summary>

##
[19.3.0](https://github.com/puppeteer/puppeteer/compare/puppeteer-core-v19.2.2...puppeteer-core-v19.3.0)
(2022-11-23)


### Features

* **puppeteer-core:** Infer element type from complex selector
([#9253](https://github.com/puppeteer/puppeteer/issues/9253))
([bef1061](bef1061c06))
* **puppeteer-core:** update Chrome launcher flags
([#9239](https://github.com/puppeteer/puppeteer/issues/9239))
([ae87bfc](ae87bfc2b4))


### Bug Fixes

* remove boundary conditions for visibility
([#9249](https://github.com/puppeteer/puppeteer/issues/9249))
([e003513](e003513c0c))
</details>

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2022-11-23 14:14:25 +01:00
Nikolay Vitkov
689a084251
chore(ng-schematics): Spawn server when running ng e2e (#9306)
**What kind of change does this PR introduce?**

Spawn own server when running `ng e2e`. Give user option to not replace
`ng e2e`.

**Did you add tests for your changes?**

Yes.

**If relevant, did you update the documentation?**

Yes, `ng-schematics` README.md updated.

**Summary**

When running `ng-schematics`'s `ng e2e` command spawns it's own server.
This way we remove the need of developers to run `ng server` separately
thus increasing ease of use in development and CI.

We want to support Protractor migration so we give the user the option
to opt out of replacing `ng e2e` so they can have a gradual migration.
(Note: There may be issues with folder conflicts, to be address in a PR
for adding better Migration support)

**Does this PR introduce a breaking change?**

Yes, as we don't check if required options are there before spawning the
server.

**Other information**

Co-authored-by: Alex Rudenko <OrKoN@users.noreply.github.com>
2022-11-23 13:10:03 +01:00
Joe Gomain Hoyes
bef1061c06
feat(puppeteer-core): Infer element type from complex selector (#9253)
**What kind of change does this PR introduce?**

Better type inference.

**Did you add tests for your changes?**

~Not yet.~ Yes.

**If relevant, did you update the documentation?**

Not yet.

**Summary**

<!-- Explain the **motivation** for making this change. What existing
problem does the pull request solve? -->
<!-- Try to link to an open issue for more information. -->
Currently methods that return an element handle, i.e. `.$`,
`.waitForSelector` attempt to infer the node element type from the
selector string. However, this only works when the selector is an exact
match of the element tag, i.e. a selector `"a"` would be inferred as
`HTMLAnchorElement` . And not when the selector is complex, i.e.
selectors `"a#some-id"`, `div > a`, `a:nth-child(2)` would all fallback
on `Element`.

This is due to simply looking up the the selector in
`HTMLElementTagNameMap` and `SVGElementTagNameMap` without any attempt
to parse the selector string.

This PR is an attempt to do so.

**Does this PR introduce a breaking change?**

<!-- If this PR introduces a breaking change, please describe the impact
and a migration path for existing applications. -->
This could break existing incorrect assertions using the `as` keyword.

**Other information**

~This PR introduces a dependency on the `type-fest` package.~

This PR is far from complete (no tests, no docs). Put out early for
feedback and discussion.

Co-authored-by: Alex Rudenko <OrKoN@users.noreply.github.com>
2022-11-23 10:59:23 +01:00
Nikolay Vitkov
16784fc8cb chore(ng-schematics): Update ng e2e to custom builder (#9300)
**What kind of change does this PR introduce?**

This replaces the default `ng e2e` with our custom builder. In the
feature it seem possible to remove the necessity of the user running the
server separately and run it from the builder - that will improve the
easy of use and CI of this schematic.

**Did you add tests for your changes?**

**If relevant, did you update the documentation?**

Yes - Updated `@puppeteer/ng-schematics` README.md

**Summary**

We want to not see the default `ng e2e` and we want to make it easier
for the user to run commands.
Angular Developer are likely to also use its' CLI.

**Does this PR introduce a breaking change?**

Yes. Users need to delete the default and initialize the schematics
again.

**Other information**
2022-11-22 19:52:29 +01:00
Guillaume Gomez
0a2d310e4e
docs: fix typo in Viewport fields (#9293)
The `deviceScalarFactor` field of `Viewport` is actually named
`deviceScaleFactor`.
2022-11-17 17:27:07 +01:00
Alex Rudenko
078d385671
chore(ng-schematics): publish v0.0.1 (#9290) 2022-11-17 10:22:53 +01:00
Nikolay Vitkov
be33929770
feat(ng-schematics): Release @puppeteer/ng-schematics (#9244)
**What kind of change does this PR introduce?**

Adds `@puppeteer/ng-schematics` to the list of packages to be published
to `npm`

**Did you add tests for your changes?**

Not relevant.

**If relevant, did you update the documentation?**

Not for in this PR.

**Summary**

We want to publish to `npm` so people can do `ng add
@puppeteer/ng-schematics` and use it with Angular CLI.

**Does this PR introduce a breaking change?**

No

**Other information**
2022-11-14 18:24:17 +01:00
Nikolay Vitkov
1b3dfeca98
chore: Update ng-schemactics README (#9269)
**What kind of change does this PR introduce?**

Updates the README for `@puppeteer/ng-schematics` with better
information. Fixes broken command
2022-11-14 15:18:03 +01:00
Nikolay Vitkov
57f7366eb8
chore: Add Node testing option in ng-schematics (#9266)
**What kind of change does this PR introduce?**

It lets Users create an schematic for Puppeteer in Angular project using
Node's new test runner.

**Did you add tests for your changes?**

Yes. Unit test for module.

**If relevant, did you update the documentation?**

No

**Summary**

**Does this PR introduce a breaking change?**

No

**Other information**
2022-11-14 12:57:42 +01:00
jrandolf
e003513c0c
fix: remove boundary conditions for visibility (#9249)
Fixed: https://github.com/puppeteer/puppeteer/issues/9232
2022-11-14 09:34:07 +01:00
Nikolay Vitkov
86abe68849
chore: Add Mocha option to ng-schematic (#9259)
**What kind of change does this PR introduce?**

Adds Mocha as option for `ng-schematics`

**Did you add tests for your changes?**

Yes

**If relevant, did you update the documentation?**

No

**Summary**

User want a simple solution for the Testing library of their choose 

**Does this PR introduce a breaking change?**

No

**Other information**
There are some improvements around the Babel that we can make so we
don't have duplicate code and files (In a Feature PR)
2022-11-14 09:30:49 +01:00
Nikolay Vitkov
1bbecb3bae
chore: Add Jest as a ng-schematics option (#9257)
**What kind of change does this PR introduce?**

Adds Jest in `ng-schematics`. So you can scaffold test with Jest instead
of Jasmine

**Did you add tests for your changes?**

Yes

**If relevant, did you update the documentation?**

No

**Summary**

Users can more easily integrate test with Puppeteer and their library of
choose.

**Does this PR introduce a breaking change?**

No

**Other information**
2022-11-11 14:38:52 +01:00
Alex Rudenko
30c6b13eec
chore: re-export all exports (#9241)
Adds index files to subfolders and removes generation of types.ts in
puppeteer-core.
2022-11-10 17:11:18 +01:00
Alex Rudenko
ae87bfc2b4
feat(puppeteer-core): update Chrome launcher flags (#9239)
This PR adds:
- `--disable-component-update`
- `--disable-features=MediaRouter`
- `--disable-features=OptimizationHints`

and removes `--disable-features=AvoidUnnecessaryBeforeUnloadCheckSync`.

See
https://github.com/GoogleChrome/chrome-launcher/blob/main/docs/chrome-flags-for-tools.md
2022-11-10 11:43:37 +01:00
Nikolay Vitkov
3f2c0590f1
chore(ng-schematics): Add Angular Schematics (#9222)
**What kind of change does this PR introduce?**

It introduces schematic for Angular that integrate with its CLI.
First revision support Jasmine.

**Did you add tests for your changes?**

Added Unit tests for each scenario. 

**Summary**

The idea is to provide a an example for setting up Puppeteer and Angular
for testing user flows.

**Does this PR introduce a breaking change?**

No

**Other information**

For Feature PRs:

- Introduce CL for tests
- Hook up NPM package publishing
- Update README.md
2022-11-09 14:52:10 +01:00
release-please[bot]
30e5b1a58e
chore: release main (#9210) 2022-11-03 11:02:28 +01:00
jrandolf
29f47e2e15
fix: update missing product message (#9207)
This PR updates the error message printed when a browser cannot be
found.

Related: https://github.com/puppeteer/puppeteer/issues/9192,
https://github.com/puppeteer/puppeteer/issues/9162
2022-11-03 09:32:17 +01:00
jrandolf
a9bde8e726
chore: update puppeteer changelog (#9200) 2022-11-02 11:42:37 +01:00
release-please[bot]
990635abc9
chore: release main (#9184)
🤖 I have created a release *beep* *boop*
---


<details><summary>puppeteer: 19.2.1</summary>

### Dependencies

* The following workspace dependencies were updated
  * dependencies
    * puppeteer-core bumped from 19.2.0 to ^19.2.1
</details>

<details><summary>puppeteer-core: 19.2.1</summary>

##
[19.2.1](https://github.com/puppeteer/puppeteer/compare/puppeteer-core-v19.2.0...puppeteer-core-v19.2.1)
(2022-10-28)


### Bug Fixes

* resolve navigation requests when request fails
([#9178](https://github.com/puppeteer/puppeteer/issues/9178))
([c11297b](c11297baa5)),
closes [#9175](https://github.com/puppeteer/puppeteer/issues/9175)
</details>

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2022-11-02 10:54:37 +01:00
Alex Rudenko
c11297baa5
fix: resolve navigation requests when request fails (#9178)
#8768 fixes flakiness in handling navigations but it didn't account for
the fact that subsequent navigation requests could be aborted via the
request interception. In that case, the navigationResponseReceived
promise would never be resolved. This PR adds a listener for the failed
network requests and resolves the promise if the network request has
failed. Adding test coverage for this seems tricky, as the reproduction
depends on timing of the second navigation request.

Closes #9175
2022-10-28 09:56:06 +02:00
release-please[bot]
4ef83e0ee6
chore: release main (#9168) 2022-10-26 09:51:16 +02:00
dependabot[bot]
e19dd6c92c
chore(deps): bump ws from 8.9.0 to 8.10.0 (#9159) 2022-10-25 15:31:48 +02:00
Alex Rudenko
e78a4e89c2
feat(chromium): roll to Chromium 108.0.5351.0 (r1056772) (#9153) 2022-10-25 12:55:19 +02:00
release-please[bot]
fe4fcf6019
chore: release main (#9161) 2022-10-25 11:12:17 +02:00
jrandolf
2245d7d6ed
fix: skip browser download (#9160)
Fixed: https://github.com/puppeteer/puppeteer/issues/9158
2022-10-25 11:02:40 +02:00
Randolf
088c18c842 chore: update changelog 2022-10-25 10:26:33 +02:00
release-please[bot]
b020c5746d
chore: release main (#9156) 2022-10-24 16:31:12 +02:00
jrandolf
95d77c679c
chore: revert "chore: release main" (#9155)
Reverts puppeteer/puppeteer#9152
2022-10-24 16:23:24 +02:00
release-please[bot]
10b59a9a63
chore: release main (#9152) 2022-10-24 13:58:47 +02:00
jrandolf
f07ad2c661
fix: update documentation on configuring puppeteer (#9150)
This PR updates the docs regarding configuring puppeteer. In addition,
some changes have been made to the documentation generator to show
default values on the documentation site.

Also fixes: https://github.com/puppeteer/puppeteer/pull/9144
2022-10-24 09:07:05 +02:00
release-please[bot]
4bf338b26d
chore: release main (#9143) 2022-10-21 15:52:43 +02:00
jrandolf
ec201744f0
feat: use configuration files (#9140)
This PR adds configurations files to `puppeteer`'s methods for
configuration. Under the hood, `puppeteer` relies on
https://www.npmjs.com/package/cosmiconfig which resolves several formats
of configuration:

- a `puppeteer` property in package.json
- a `.puppeteerrc` file in JSON or YAML format
- a `.puppeteerrc.json`, `.puppeteerrc.yaml`, `.puppeteerrc.yml`,
`.puppeteerrc.js`, or `.puppeteerrc.cjs` file
- a `puppeteer.config.js` or `puppeteer.config.cjs` CommonJS module
exporting an object

Documentation will be added later.

Fixed: #9128
2022-10-21 15:09:21 +02:00
jrandolf
efcbc97c60
fix: update BrowserFetcher deprecation message (#9141) 2022-10-20 13:25:24 +02:00
Alex Rudenko
122778a1f8
feat: expose browser context id (#9134)
Closes #9132
2022-10-19 08:30:57 +00:00
Alex Rudenko
a19b270018
chore: extract BrowserContext to its own file (#9133) 2022-10-19 07:06:31 +00:00
release-please[bot]
dc66207f25
chore: release main (#9115) 2022-10-14 14:54:46 +02:00
jrandolf
8f4902eed9
chore: use test runner for installation tests (#9110) 2022-10-14 13:37:07 +02:00
jrandolf
6a05d8e9c1
chore: improve docs and scripts (#9107)
This PR updates some docs and scripts related to the recent changes in
the repository.
2022-10-13 18:55:11 +02:00
jrandolf
1fbc3c643f
chore: improve docs (#9105)
This PR makes some improvements to the documentation. It migrates
docker, debugging, and chrome extension documentation to the `guides`
folder and also updates some of the terminology.
2022-10-13 08:46:53 +00:00
Alex Rudenko
8acafe2fd9
chore: remove special handling for shared_worker (#9096)
With Chromium M107+ this should not be required anymore.
2022-10-11 12:18:06 +00:00
jrandolf
3df375baed
feat!: use ~/.cache/puppeteer for browser downloads (#9095) 2022-10-11 11:20:45 +00:00
jrandolf
7294dfe9c6
feat!: deprecate createBrowserFetcher in favor of BrowserFetcher (#9079)
This PR deprecates the `createBrowserFetcher` API and requests users to
import the `BrowserFetcher` directly.

Fixed: #8999
2022-10-10 17:51:18 +02:00
jrandolf
1847704789
fix!: refactor custom query handler API (#9078)
This PR removes the deprecated query selector API from the `puppeteer`
instance. Direct imports of the query selector API have also been
deprecated and users are now expected to use the static methods defined
on `Puppeteer`.
2022-10-10 16:01:09 +02:00
jrandolf
acbc59999b
fix: remove viewport conditions in waitForSelector (#9087)
This PR removes the viewport conditions in `waitForSelector`.

See discussion:
https://github.com/puppeteer/puppeteer/pull/8954#issuecomment-1272338883
2022-10-10 16:00:47 +02:00
jrandolf
87c08fd86a
fix!: remove puppeteer.devices in favor of KnownDevices (#9075)
This PR removes the deprecated `puppeteer.devices` in favor of a new
exported object `KnownDevices`. `devices` can also be exported, but has
been deprecated.
2022-10-10 15:30:12 +02:00
smithc
a032583b6c feat: add ability to collect JS code coverage at the function level (#9027) 2022-10-06 23:53:05 +02:00
jrandolf
41d0122b94 fix!: deprecate indirect network condition imports (#9074) 2022-10-06 23:52:58 +02:00
jrandolf
9f4f43a28b fix!: deprecate indirect error imports (#9072) 2022-10-06 23:52:51 +02:00
release-please[bot]
58ac7a687c
chore: release main (#9067) 2022-10-06 12:22:55 +02:00
jrandolf
9d13343d67
chore: update publish workflow (#9065)
This PR combines the publishing workflows for npm packages and Docker.
It also fixes an issue where multiple tags would trigger publishing all
packages.
2022-10-06 11:44:52 +02:00
jrandolf
416d56b033
chore: refactor utils (#9053)
This PR

- renames the `utils` folder to `tools` (follows internal practice),
- migrates the contents of `scripts` into `tools` and removes scripts.
2022-10-06 10:27:14 +02:00
jrandolf
9374e23d3d
fix: add README to package during prepack (#9057) 2022-10-06 09:13:54 +02:00
Egor Andreyuk
8f6b2c9b7c
fix: waitForRequest works with async predicate (#9058) 2022-10-05 20:46:34 +02:00
release-please[bot]
ee1272e65e
chore: release main (#9052) 2022-10-05 16:51:59 +02:00
jrandolf
d1b61cf108
chore: update generate sources (#9049) 2022-10-05 15:35:00 +02:00
jrandolf
f42336cf83
feat: separate puppeteer and puppeteer-core (#9023)
This PR moves the puppeteer source code into separate mono-repo packages:

- `puppeteer` and `puppeteer-core` are now separated into their own
packages.
- `puppeteer-core` has a new exports called `puppeteer-core/internal`
for internal usage.

Tests and various tools have been updated to accommodate the migration.
2022-10-05 14:17:03 +02:00
jrandolf
c0c7878adc
chore: initiate monorepo migration (#9022)
This PR starts the monorepo migrations as per
https://github.com/puppeteer/puppeteer/issues/8922. To scope migrations,
we are only moving the `testserver` into a separate package. Further
migrations will come later.
2022-09-29 10:08:55 +02:00