@crawlee/http 4.0.0-beta.126 → 4.0.0-beta.127

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.
@@ -384,7 +384,7 @@ export class HttpCrawler extends BasicCrawler {
384
384
  const { response: reencodedResponse, encoding } = this.encodeResponse(request, response, charset);
385
385
  const contentType = { type, encoding };
386
386
  if (status >= 400 && status <= 599) {
387
- this.stats.registerStatusCode(status);
387
+ this.statistics.registerStatusCode(status);
388
388
  }
389
389
  if (this.isErrorStatusCode(status)) {
390
390
  const body = await reencodedResponse.text(); // TODO - this always uses UTF-8 (see https://developer.mozilla.org/en-US/docs/Web/API/Request/text)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crawlee/http",
3
- "version": "4.0.0-beta.126",
3
+ "version": "4.0.0-beta.127",
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,11 +49,11 @@
49
49
  "dependencies": {
50
50
  "@apify/timeout": "^0.4.4",
51
51
  "@apify/utilities": "^2.15.5",
52
- "@crawlee/basic": "4.0.0-beta.126",
53
- "@crawlee/core": "4.0.0-beta.126",
54
- "@crawlee/http-client": "4.0.0-beta.126",
55
- "@crawlee/types": "4.0.0-beta.126",
56
- "@crawlee/utils": "4.0.0-beta.126",
52
+ "@crawlee/basic": "4.0.0-beta.127",
53
+ "@crawlee/core": "4.0.0-beta.127",
54
+ "@crawlee/http-client": "4.0.0-beta.127",
55
+ "@crawlee/types": "4.0.0-beta.127",
56
+ "@crawlee/utils": "4.0.0-beta.127",
57
57
  "@types/content-type": "^1.1.8",
58
58
  "cheerio": "^1.0.0",
59
59
  "content-type": "^1.0.5",
@@ -70,5 +70,5 @@
70
70
  }
71
71
  }
72
72
  },
73
- "gitHead": "5f0a8c1a43d4587f8640881fc55836a23e1c4f30"
73
+ "gitHead": "4aa4a4d8d105bb530649ac5cd9197a3169106bd9"
74
74
  }