Skip to content

Commit

Permalink
fix: correct some typing exports (#1527)
Browse files Browse the repository at this point in the history
  • Loading branch information
vladfrangu committed Sep 7, 2022
1 parent 3fc1951 commit 4a136e5
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
14 changes: 14 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/core/src/enqueue_links/shared.ts
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ export function createRequests(requestOptions: (string | RequestOptions)[], urlP
return requests;
}

export function filterRequestsByPatterns(requests: Request[], patterns?: UrlPatternObject[]) {
export function filterRequestsByPatterns(requests: Request[], patterns?: UrlPatternObject[]): Request[] {
if (!patterns?.length) {
return requests;
}
Expand Down
1 change: 1 addition & 0 deletions packages/puppeteer-crawler/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@
"@crawlee/types": "^3.0.4",
"@crawlee/utils": "^3.0.4",
"cheerio": "1.0.0-rc.12",
"devtools-protocol": "*",
"jquery": "^3.6.0",
"ow": "^0.28.1"
},
Expand Down

0 comments on commit 4a136e5

Please sign in to comment.