Skip to content

[pull] master from apify:master - #271

Merged
pull[bot] merged 4 commits into
threatcode:masterfrom
apify:master
Aug 12, 2026
Merged

[pull] master from apify:master#271
pull[bot] merged 4 commits into
threatcode:masterfrom
apify:master

Conversation

@pull

@pull pull Bot commented Aug 12, 2026

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

renovate Bot and others added 4 commits August 12, 2026 13:20
…s` (#4021)

`JSDOMCrawler` and `LinkeDOMCrawler` never passed the context-bound
`enqueueLinks` into their enqueue-links helpers (unlike
`CheerioCrawler`), so links were enqueued straight into the request
queue and skipped the crawl depth tracking in `BasicCrawler`.
`maxCrawlDepth` has therefore had no effect for these two crawlers since
it shipped in v3.14.0. Both files already had the
`BoundEnqueueLinksInternalOptions` machinery, it just was never reached.
This wires it up the same way `CheerioCrawler` does, including the
`limit` pre-clamp removal from #3927, which applies once the bound path
is taken.

Added crawl depth tests for both crawlers, mirroring the existing
`CheerioCrawler` coverage.

Replaces #4020, which targeted v4; the bug exists on v3 as well, so the
fix lands here instead.
@pull pull Bot locked and limited conversation to collaborators Aug 12, 2026
@pull pull Bot added the ⤵️ pull label Aug 12, 2026
@pull
pull Bot merged commit 5dbdf0e into threatcode:master Aug 12, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant