@crawlee/core 4.0.0-beta.108 → 4.0.0-beta.109

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crawlee/core",
3
- "version": "4.0.0-beta.108",
3
+ "version": "4.0.0-beta.109",
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"
@@ -52,9 +52,9 @@
52
52
  "@apify/log": "^2.5.18",
53
53
  "@apify/timeout": "^0.4.4",
54
54
  "@apify/utilities": "^2.15.5",
55
- "@crawlee/fs-storage": "4.0.0-beta.108",
56
- "@crawlee/types": "4.0.0-beta.108",
57
- "@crawlee/utils": "4.0.0-beta.108",
55
+ "@crawlee/fs-storage": "4.0.0-beta.109",
56
+ "@crawlee/types": "4.0.0-beta.109",
57
+ "@crawlee/utils": "4.0.0-beta.109",
58
58
  "@sapphire/async-queue": "^1.5.5",
59
59
  "@sapphire/shapeshift": "^4.0.0",
60
60
  "@vladfrangu/async_event_emitter": "^2.4.6",
@@ -78,5 +78,5 @@
78
78
  }
79
79
  }
80
80
  },
81
- "gitHead": "30b38e8c3fcd97c79d0b697ace661e8fd3454bf4"
81
+ "gitHead": "81eaa3cdf1507951583c3b16b6570e7059ca50f8"
82
82
  }
@@ -1,4 +1,3 @@
1
- import { stringify } from 'csv-stringify/sync';
2
1
  import ow from 'ow';
3
2
  import { tryCancel } from '@apify/timeout';
4
3
  import { Configuration } from '../configuration.js';
@@ -270,6 +269,7 @@ export class Dataset {
270
269
  const keys = options?.collectAllKeys
271
270
  ? Array.from(new Set(items.flatMap(Object.keys)))
272
271
  : Object.keys(items[0]);
272
+ const { stringify } = await import('csv-stringify/sync');
273
273
  const value = stringify([
274
274
  keys,
275
275
  ...items.map((item) => {