@crawlee/jsdom 4.0.0-beta.110 → 4.0.0-beta.112

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,8 @@
1
1
  import type { BasicCrawlingContext, CrawlingContext, EnqueueLinksOptions, ErrorHandler, GetUserDataFromRequest, HttpCrawlerOptions, InternalHttpCrawlingContext, InternalHttpHook, IRequestManager, RequestHandler, RouterHandler, RouterRoutes, RouteSchemas, RoutesFromSchemas, SkippedRequestCallback } from '@crawlee/http';
2
2
  import { HttpCrawler } from '@crawlee/http';
3
3
  import type { Dictionary } from '@crawlee/types';
4
- import { type CheerioRoot, type RobotsTxtFile } from '@crawlee/utils';
4
+ import { type CheerioRoot } from '@crawlee/utils/internal';
5
+ import { type RobotsTxtFile } from '@crawlee/utils';
5
6
  import type { DOMWindow } from 'jsdom';
6
7
  import { VirtualConsole } from 'jsdom';
7
8
  export type JSDOMErrorHandler<UserData extends Dictionary = any, // with default to Dictionary we cant use a typed router in untyped crawler
@@ -87,6 +88,8 @@ export declare class JSDOMCrawler<ContextExtension = Dictionary<never>, Extended
87
88
  requestList: import("ow").ObjectPredicate<object> & import("ow").BasePredicate<object | undefined>;
88
89
  // @ts-ignore optional peer dependency or compatibility with es2022
89
90
  requestQueue: import("ow").ObjectPredicate<object> & import("ow").BasePredicate<object | undefined>;
91
+ // @ts-ignore optional peer dependency or compatibility with es2022
92
+ requestManager: import("ow").ObjectPredicate<object> & import("ow").BasePredicate<object | undefined>;
90
93
  // @ts-ignore optional peer dependency or compatibility with es2022
91
94
  requestHandler: import("ow").Predicate<Function> & import("ow").BasePredicate<Function | undefined>;
92
95
  // @ts-ignore optional peer dependency or compatibility with es2022
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crawlee/jsdom",
3
- "version": "4.0.0-beta.110",
3
+ "version": "4.0.0-beta.112",
4
4
  "description": "The scalable web crawling and scraping library for JavaScript/Node.js. Enables development of data extraction and web automation jobs (not only) with headless Chrome and Puppeteer.",
5
5
  "engines": {
6
6
  "node": ">=22.0.0"
@@ -49,9 +49,9 @@
49
49
  "dependencies": {
50
50
  "@apify/timeout": "^0.4.4",
51
51
  "@apify/utilities": "^2.7.10",
52
- "@crawlee/http": "4.0.0-beta.110",
53
- "@crawlee/types": "4.0.0-beta.110",
54
- "@crawlee/utils": "4.0.0-beta.110",
52
+ "@crawlee/http": "4.0.0-beta.112",
53
+ "@crawlee/types": "4.0.0-beta.112",
54
+ "@crawlee/utils": "4.0.0-beta.112",
55
55
  "@types/jsdom": "^21.1.7",
56
56
  "cheerio": "^1.0.0",
57
57
  "jsdom": "^26.1.0",
@@ -65,5 +65,5 @@
65
65
  }
66
66
  }
67
67
  },
68
- "gitHead": "71f42c48f431ca46b04491eca65b191691e75033"
68
+ "gitHead": "5d1e107d4dc4ffd21f1c6cc5b1a1c10b59ca2b47"
69
69
  }