@crawlee/http 4.0.0-beta.246 → 4.0.0-beta.248

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.
@@ -36,7 +36,7 @@ export interface HttpCrawlerOptions<Context extends InternalHttpCrawlingContext
36
36
  * {@link BaseHttpClient} implementations should honor that flag (the built-in impit and got-scraping
37
37
  * clients do; the native fetch fallback cannot disable TLS verification and warns instead).
38
38
  *
39
- * @default true
39
+ * @default false
40
40
  */
41
41
  ignoreTlsErrors?: boolean;
42
42
  /**
@@ -124,7 +124,7 @@ export class HttpCrawler extends BasicCrawler {
124
124
  static optionsShape = {
125
125
  ...BasicCrawler.optionsShape,
126
126
  navigationTimeoutSecs: schemas.anyNumber.default(30),
127
- ignoreTlsErrors: z.boolean().default(true),
127
+ ignoreTlsErrors: z.boolean().default(false),
128
128
  additionalMimeTypes: schemas.arrayOf(z.string(), 'strings').default(() => []),
129
129
  suggestResponseEncoding: z.string().optional(),
130
130
  forceResponseEncoding: z.string().optional(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crawlee/http",
3
- "version": "4.0.0-beta.246",
3
+ "version": "4.0.0-beta.248",
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.13.0"
@@ -48,16 +48,16 @@
48
48
  },
49
49
  "dependencies": {
50
50
  "@apify/timeout": "^1.0.1",
51
- "@crawlee/basic": "4.0.0-beta.246",
52
- "@crawlee/http-client": "4.0.0-beta.246",
53
- "@crawlee/types": "4.0.0-beta.246",
54
- "@crawlee/utils": "4.0.0-beta.246",
51
+ "@crawlee/basic": "4.0.0-beta.248",
52
+ "@crawlee/http-client": "4.0.0-beta.248",
53
+ "@crawlee/types": "4.0.0-beta.248",
54
+ "@crawlee/utils": "4.0.0-beta.248",
55
55
  "cheerio": "^1.2.0",
56
56
  "content-type": "^3.1.1",
57
57
  "domhandler": "^6.0.1",
58
58
  "iconv-lite": "^0.7.3",
59
59
  "mime-types": "^3.0.2",
60
- "tslib": "^2.8.1",
60
+ "tslib": "^2.9.1",
61
61
  "type-fest": "^4.41.0",
62
62
  "zod": "^4.6.7"
63
63
  },
@@ -68,5 +68,5 @@
68
68
  }
69
69
  }
70
70
  },
71
- "gitHead": "35c3ea93e10d77e0bb579a70b4bc52d0f0fe48e9"
71
+ "gitHead": "12ed4b6472768ad105fbf647f9ed431b5be99cbc"
72
72
  }