firecrawl 4.28.4 → 4.29.1

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/audit-ci.jsonc CHANGED
@@ -1,12 +1,4 @@
1
1
  {
2
2
  "$schema": "https://github.com/IBM/audit-ci/raw/main/docs/schema.json",
3
- "low": true,
4
- "allowlist": [
5
- // GHSA-h67p-54hq-rp68 (js-yaml):
6
- // Jest coverage tooling still resolves a js-yaml 3.x line; the non-affected
7
- // release is 4.x, so avoid a major-crossing override in this SDK package.
8
- // Owner: team-engineering-reviewers. Tracking: create internal ticket.
9
- // Expires: 2026-06-30.
10
- "GHSA-h67p-54hq-rp68"
11
- ]
3
+ "low": true
12
4
  }
@@ -12,7 +12,7 @@ var require_package = __commonJS({
12
12
  "package.json"(exports, module) {
13
13
  module.exports = {
14
14
  name: "@mendable/firecrawl-js",
15
- version: "4.28.4",
15
+ version: "4.29.1",
16
16
  description: "JavaScript SDK for Firecrawl API",
17
17
  main: "dist/index.js",
18
18
  types: "dist/index.d.ts",
@@ -82,6 +82,7 @@ var require_package = __commonJS({
82
82
  "picomatch@<4.0.4": ">=4.0.4",
83
83
  handlebars: ">=4.7.9",
84
84
  "brace-expansion": ">=5.0.6",
85
+ "js-yaml@>=3.0.0 <3.15.0": "3.15.0",
85
86
  "axios@>=1.0.0 <1.16.0": "1.16.1",
86
87
  "follow-redirects@<1.16.0": ">=1.16.0 <2.0.0",
87
88
  "form-data@>=4.0.0 <4.0.6": "4.0.6",
package/dist/index.cjs CHANGED
@@ -39,7 +39,7 @@ var require_package = __commonJS({
39
39
  "package.json"(exports2, module2) {
40
40
  module2.exports = {
41
41
  name: "@mendable/firecrawl-js",
42
- version: "4.28.4",
42
+ version: "4.29.1",
43
43
  description: "JavaScript SDK for Firecrawl API",
44
44
  main: "dist/index.js",
45
45
  types: "dist/index.d.ts",
@@ -109,6 +109,7 @@ var require_package = __commonJS({
109
109
  "picomatch@<4.0.4": ">=4.0.4",
110
110
  handlebars: ">=4.7.9",
111
111
  "brace-expansion": ">=5.0.6",
112
+ "js-yaml@>=3.0.0 <3.15.0": "3.15.0",
112
113
  "axios@>=1.0.0 <1.16.0": "1.16.1",
113
114
  "follow-redirects@<1.16.0": ">=1.16.0 <2.0.0",
114
115
  "form-data@>=4.0.0 <4.0.6": "4.0.6",
@@ -719,6 +720,7 @@ function prepareSearchPayload(req) {
719
720
  if (req.integration && req.integration.trim())
720
721
  payload.integration = req.integration.trim();
721
722
  if (req.origin) payload.origin = req.origin;
723
+ if (req.enterprise) payload.enterprise = req.enterprise;
722
724
  if (req.scrapeOptions) {
723
725
  ensureValidScrapeOptions(req.scrapeOptions);
724
726
  payload.scrapeOptions = req.scrapeOptions;
package/dist/index.d.cts CHANGED
@@ -524,6 +524,12 @@ interface SearchRequest {
524
524
  ignoreInvalidURLs?: boolean;
525
525
  timeout?: number;
526
526
  scrapeOptions?: ScrapeOptions;
527
+ /**
528
+ * Enterprise search options. Use `["zdr"]` for end-to-end Zero Data
529
+ * Retention or `["anon"]` for anonymized search. Must be enabled for
530
+ * your team.
531
+ */
532
+ enterprise?: Array<"default" | "anon" | "zdr">;
527
533
  integration?: string;
528
534
  origin?: string;
529
535
  }
package/dist/index.d.ts CHANGED
@@ -524,6 +524,12 @@ interface SearchRequest {
524
524
  ignoreInvalidURLs?: boolean;
525
525
  timeout?: number;
526
526
  scrapeOptions?: ScrapeOptions;
527
+ /**
528
+ * Enterprise search options. Use `["zdr"]` for end-to-end Zero Data
529
+ * Retention or `["anon"]` for anonymized search. Must be enabled for
530
+ * your team.
531
+ */
532
+ enterprise?: Array<"default" | "anon" | "zdr">;
527
533
  integration?: string;
528
534
  origin?: string;
529
535
  }
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  require_package
3
- } from "./chunk-VRKVHB52.js";
3
+ } from "./chunk-Y32NE3NV.js";
4
4
 
5
5
  // src/v2/utils/httpClient.ts
6
6
  import axios from "axios";
@@ -587,6 +587,7 @@ function prepareSearchPayload(req) {
587
587
  if (req.integration && req.integration.trim())
588
588
  payload.integration = req.integration.trim();
589
589
  if (req.origin) payload.origin = req.origin;
590
+ if (req.enterprise) payload.enterprise = req.enterprise;
590
591
  if (req.scrapeOptions) {
591
592
  ensureValidScrapeOptions(req.scrapeOptions);
592
593
  payload.scrapeOptions = req.scrapeOptions;
@@ -2301,7 +2302,7 @@ var FirecrawlApp = class {
2301
2302
  if (typeof process !== "undefined" && process.env && process.env.npm_package_version) {
2302
2303
  return process.env.npm_package_version;
2303
2304
  }
2304
- const packageJson = await import("./package-EYT327NL.js");
2305
+ const packageJson = await import("./package-GCDC7LJR.js");
2305
2306
  return packageJson.default.version;
2306
2307
  } catch (error) {
2307
2308
  const isTest = typeof process !== "undefined" && (process.env.JEST_WORKER_ID != null || false);
@@ -1,4 +1,4 @@
1
1
  import {
2
2
  require_package
3
- } from "./chunk-VRKVHB52.js";
3
+ } from "./chunk-Y32NE3NV.js";
4
4
  export default require_package();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "firecrawl",
3
- "version": "4.28.4",
3
+ "version": "4.29.1",
4
4
  "description": "JavaScript SDK for Firecrawl API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -40,6 +40,7 @@ function prepareSearchPayload(req: SearchRequest): Record<string, unknown> {
40
40
  if (req.integration && req.integration.trim())
41
41
  payload.integration = req.integration.trim();
42
42
  if (req.origin) payload.origin = req.origin;
43
+ if (req.enterprise) payload.enterprise = req.enterprise;
43
44
  if (req.scrapeOptions) {
44
45
  ensureValidScrapeOptions(req.scrapeOptions as ScrapeOptions);
45
46
  payload.scrapeOptions = req.scrapeOptions;
package/src/v2/types.ts CHANGED
@@ -675,6 +675,12 @@ export interface SearchRequest {
675
675
  ignoreInvalidURLs?: boolean;
676
676
  timeout?: number; // ms
677
677
  scrapeOptions?: ScrapeOptions;
678
+ /**
679
+ * Enterprise search options. Use `["zdr"]` for end-to-end Zero Data
680
+ * Retention or `["anon"]` for anonymized search. Must be enabled for
681
+ * your team.
682
+ */
683
+ enterprise?: Array<"default" | "anon" | "zdr">;
678
684
  integration?: string;
679
685
  origin?: string;
680
686
  }