chore(deps): bump firecrawl SDK to 4.50.0

Merged
ER
14h ago
+8-8

Moves the firecrawl JS SDK from 4.44.0 to 4.50.0 (exact pin, lockfile updated) and releases 1.26.12.

Between 4.44.0 and 4.50.0 the SDK:

  • added the origin client option (4.48.0);
  • mapped v1-style methods such as scrapeUrl and crawlUrl onto the v2 API with a one-time deprecation warning (4.49.0). The CLI calls only v2 methods, so the warning never fires from CLI commands;
  • lowered its Node engine floor from 22 to 18, and fixed loading in browsers and Cloudflare Workers: the watcher no longer imports events, process.env is read only when it exists, and axios skips the cache: "default" Request option where a runtime rejects it (4.50.0). None of these change behavior under Node, and the CLI still requires Node 22.

This supersedes #333, which stops at 4.48.0.

Checks run locally: pnpm run type-check, pnpm run build, pnpm run format:check, and pnpm test (38 files, 702 tests pass, no API key in the environment). A live run of the built CLI against the API (scrape, search, map, credit-usage) succeeded with SDK 4.50.0 loaded.

Merge order

Merge after https://github.com/firecrawl/cli/pull/326 (1.26.11). This branch already contains 326, so until 326 merges its diff also shows those changes; after 326 merges, only the SDK bump and the version bump to 1.26.12 remain. Merging publishes 1.26.12.

Found by Wildfire, Firecrawl's integration testing: the CLI's sdk-range check warned that it shipped an SDK behind the latest release.