@crawlee/core 4.0.0-beta.227 → 4.0.0-beta.229

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.
Files changed (2) hide show
  1. package/configuration.js +0 -6
  2. package/package.json +6 -6
package/configuration.js CHANGED
@@ -1,14 +1,8 @@
1
- import { EventEmitter } from 'node:events';
2
1
  import { readFileSync } from 'node:fs';
3
2
  import { join } from 'node:path';
4
3
  import { z } from 'zod';
5
4
  import { log, LogLevel } from './log.js';
6
5
  import { serviceLocator } from './service-locator.js';
7
- // Crawlee attaches many listeners to shared EventEmitters (one per crawler/session/autoscaled pool),
8
- // which can exceed Node's default limit of 10 and trigger spurious MaxListenersExceededWarning logs.
9
- // Raising the global default avoids false positives; real leaks will still manifest as unbounded growth.
10
- // TODO: tracked in https://github.com/apify/crawlee/issues/3615 — find a less side-effecting place for this.
11
- EventEmitter.defaultMaxListeners = 50;
12
6
  export function field(schema, envVar) {
13
7
  return { schema, envVar };
14
8
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crawlee/core",
3
- "version": "4.0.0-beta.227",
3
+ "version": "4.0.0-beta.229",
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"
@@ -53,10 +53,10 @@
53
53
  "@apify/log": "^3.0.1",
54
54
  "@apify/timeout": "^1.0.1",
55
55
  "@apify/utilities": "^3.0.1",
56
- "@crawlee/fs-storage": "4.0.0-beta.227",
57
- "@crawlee/http-client": "4.0.0-beta.227",
58
- "@crawlee/types": "4.0.0-beta.227",
59
- "@crawlee/utils": "4.0.0-beta.227",
56
+ "@crawlee/fs-storage": "4.0.0-beta.229",
57
+ "@crawlee/http-client": "4.0.0-beta.229",
58
+ "@crawlee/types": "4.0.0-beta.229",
59
+ "@crawlee/utils": "4.0.0-beta.229",
60
60
  "@sapphire/async-queue": "^1.5.5",
61
61
  "@standard-schema/spec": "^1.0.0",
62
62
  "@vladfrangu/async_event_emitter": "^2.4.6",
@@ -76,5 +76,5 @@
76
76
  }
77
77
  }
78
78
  },
79
- "gitHead": "489f64b3e886fd63af7dde5c724e998694239130"
79
+ "gitHead": "4f498def4c4c52d48ef1c687fb890bb4d8baf0d7"
80
80
  }