Skip to content

Crawlee—A web scraping and browser automation library for Node.js to build reliable crawlers. In JavaScript and TypeScript. Extract data for AI, LLMs, RAG, or GPTs. Download HTML, PDF, JPG, PNG, and other files from websites. Works with Puppeteer, Playwright, Cheerio, JSDOM, and raw HTTP. Both headful and headless mode. With proxy rotation.

fix(memory-storage): use platform basename in key-value store warning (#3864)

Anas Khandcefe0196d0b
diff --git a/packages/memory-storage/src/fs/key-value-store/fs.ts b/packages/memory-storage/src/fs/key-value-store/fs.ts
index 5d1e499c7..679c6aa3d 100644
--- a/packages/memory-storage/src/fs/key-value-store/fs.ts
+++ b/packages/memory-storage/src/fs/key-value-store/fs.ts
@@ -1,6 +1,5 @@
import { readFile, rm } from 'node:fs/promises';
-import { dirname } from 'node:path';
-import { basename } from 'node:path/win32';
+import { basename, dirname } from 'node:path';
import { AsyncQueue } from '@sapphire/async-queue';
import { ensureDir } from 'fs-extra';