@crawlee/core 4.0.0-beta.154 → 4.0.0-beta.156

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.154",
3
+ "version": "4.0.0-beta.156",
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,10 +52,10 @@
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.154",
56
- "@crawlee/http-client": "4.0.0-beta.154",
57
- "@crawlee/types": "4.0.0-beta.154",
58
- "@crawlee/utils": "4.0.0-beta.154",
55
+ "@crawlee/fs-storage": "4.0.0-beta.156",
56
+ "@crawlee/http-client": "4.0.0-beta.156",
57
+ "@crawlee/types": "4.0.0-beta.156",
58
+ "@crawlee/utils": "4.0.0-beta.156",
59
59
  "@sapphire/async-queue": "^1.5.5",
60
60
  "@standard-schema/spec": "^1.0.0",
61
61
  "@vladfrangu/async_event_emitter": "^2.4.6",
@@ -78,5 +78,5 @@
78
78
  }
79
79
  }
80
80
  },
81
- "gitHead": "12177899d79c46dc6ea3046220fc896f657f650d"
81
+ "gitHead": "cad9cdee7cb09ec5a3662532768fea9e43b6ab4e"
82
82
  }
@@ -355,7 +355,9 @@ export declare class KeyValueStore {
355
355
  /**
356
356
  * Returns a file URL for the given key.
357
357
  *
358
- * If the record does not exist or has no associated file path (i.e., it is not stored as a file), returns `undefined`.
358
+ * The URL is derived from the key, so it is also returned for a record that does not exist (yet) —
359
+ * including one written earlier in an uncommitted storage transaction. Returns `undefined` only when
360
+ * the storage has no file URLs at all (e.g. the in-memory storage).
359
361
  *
360
362
  * @param key The key of the record to generate the public URL for.
361
363
  */
@@ -604,7 +604,9 @@ export class KeyValueStore {
604
604
  /**
605
605
  * Returns a file URL for the given key.
606
606
  *
607
- * If the record does not exist or has no associated file path (i.e., it is not stored as a file), returns `undefined`.
607
+ * The URL is derived from the key, so it is also returned for a record that does not exist (yet) —
608
+ * including one written earlier in an uncommitted storage transaction. Returns `undefined` only when
609
+ * the storage has no file URLs at all (e.g. the in-memory storage).
608
610
  *
609
611
  * @param key The key of the record to generate the public URL for.
610
612
  */