firecrawl 1.29.0 → 1.29.2

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/dist/index.cjs CHANGED
@@ -35,7 +35,7 @@ var require_package = __commonJS({
35
35
  "package.json"(exports2, module2) {
36
36
  module2.exports = {
37
37
  name: "@mendable/firecrawl-js",
38
- version: "1.29.0",
38
+ version: "1.29.2",
39
39
  description: "JavaScript SDK for Firecrawl API",
40
40
  main: "dist/index.js",
41
41
  types: "dist/index.d.ts",
@@ -60,27 +60,26 @@ var require_package = __commonJS({
60
60
  author: "Mendable.ai",
61
61
  license: "MIT",
62
62
  dependencies: {
63
+ axios: "^1.11.0",
63
64
  "typescript-event-target": "^1.1.1",
64
65
  zod: "^3.23.8",
65
- "zod-to-json-schema": "^3.23.0",
66
- axios: "^1.6.8"
66
+ "zod-to-json-schema": "^3.23.0"
67
67
  },
68
68
  bugs: {
69
69
  url: "https://github.com/mendableai/firecrawl/issues"
70
70
  },
71
71
  homepage: "https://github.com/mendableai/firecrawl#readme",
72
72
  devDependencies: {
73
- "@jest/globals": "^29.7.0",
74
- "@types/axios": "^0.14.0",
73
+ "@jest/globals": "^30.0.5",
75
74
  "@types/dotenv": "^8.2.0",
76
- "@types/jest": "^29.5.14",
75
+ "@types/jest": "^30.0.0",
77
76
  "@types/mocha": "^10.0.6",
78
77
  "@types/node": "^20.12.12",
79
78
  "@types/uuid": "^9.0.8",
80
79
  dotenv: "^16.4.5",
81
- jest: "^29.7.0",
82
- "ts-jest": "^29.2.2",
83
- tsup: "^8.2.4",
80
+ jest: "^30.0.5",
81
+ "ts-jest": "^29.4.0",
82
+ tsup: "^8.5.0",
84
83
  typescript: "^5.4.5",
85
84
  uuid: "^9.0.1"
86
85
  },
@@ -95,19 +94,26 @@ var require_package = __commonJS({
95
94
  ],
96
95
  engines: {
97
96
  node: ">=22.0.0"
97
+ },
98
+ pnpm: {
99
+ overrides: {
100
+ "@babel/helpers@<7.26.10": ">=7.26.10",
101
+ "brace-expansion@>=1.0.0 <=1.1.11": ">=1.1.12",
102
+ "brace-expansion@>=2.0.0 <=2.0.1": ">=2.0.2"
103
+ }
98
104
  }
99
105
  };
100
106
  }
101
107
  });
102
108
 
103
109
  // src/index.ts
104
- var src_exports = {};
105
- __export(src_exports, {
110
+ var index_exports = {};
111
+ __export(index_exports, {
106
112
  CrawlWatcher: () => CrawlWatcher,
107
113
  FirecrawlError: () => FirecrawlError,
108
114
  default: () => FirecrawlApp
109
115
  });
110
- module.exports = __toCommonJS(src_exports);
116
+ module.exports = __toCommonJS(index_exports);
111
117
  var import_axios = __toESM(require("axios"), 1);
112
118
  var zt = require("zod");
113
119
  var import_zod_to_json_schema = require("zod-to-json-schema");
package/dist/index.d.cts CHANGED
@@ -169,6 +169,7 @@ interface ScrapeParams<LLMSchema extends zt.ZodSchema = any, ActionsSchema exten
169
169
  };
170
170
  actions?: ActionsSchema;
171
171
  agent?: AgentOptions;
172
+ zeroDataRetention?: boolean;
172
173
  }
173
174
  interface ActionsResult {
174
175
  screenshots: string[];
@@ -221,6 +222,7 @@ interface CrawlParams {
221
222
  delay?: number;
222
223
  allowSubdomains?: boolean;
223
224
  maxConcurrency?: number;
225
+ zeroDataRetention?: boolean;
224
226
  }
225
227
  /**
226
228
  * Response interface for crawling operations.
package/dist/index.d.ts CHANGED
@@ -169,6 +169,7 @@ interface ScrapeParams<LLMSchema extends zt.ZodSchema = any, ActionsSchema exten
169
169
  };
170
170
  actions?: ActionsSchema;
171
171
  agent?: AgentOptions;
172
+ zeroDataRetention?: boolean;
172
173
  }
173
174
  interface ActionsResult {
174
175
  screenshots: string[];
@@ -221,6 +222,7 @@ interface CrawlParams {
221
222
  delay?: number;
222
223
  allowSubdomains?: boolean;
223
224
  maxConcurrency?: number;
225
+ zeroDataRetention?: boolean;
224
226
  }
225
227
  /**
226
228
  * Response interface for crawling operations.
package/dist/index.js CHANGED
@@ -29,7 +29,7 @@ var FirecrawlApp = class {
29
29
  }
30
30
  async getVersion() {
31
31
  try {
32
- const packageJson = await import("./package-SROKDQ7E.js");
32
+ const packageJson = await import("./package-E7ICGMY6.js");
33
33
  return packageJson.default.version;
34
34
  } catch (error) {
35
35
  console.error("Error getting version:", error);
@@ -1,6 +1,6 @@
1
1
  // package.json
2
2
  var name = "@mendable/firecrawl-js";
3
- var version = "1.29.0";
3
+ var version = "1.29.2";
4
4
  var description = "JavaScript SDK for Firecrawl API";
5
5
  var main = "dist/index.js";
6
6
  var types = "dist/index.d.ts";
@@ -25,27 +25,26 @@ var repository = {
25
25
  var author = "Mendable.ai";
26
26
  var license = "MIT";
27
27
  var dependencies = {
28
+ axios: "^1.11.0",
28
29
  "typescript-event-target": "^1.1.1",
29
30
  zod: "^3.23.8",
30
- "zod-to-json-schema": "^3.23.0",
31
- axios: "^1.6.8"
31
+ "zod-to-json-schema": "^3.23.0"
32
32
  };
33
33
  var bugs = {
34
34
  url: "https://github.com/mendableai/firecrawl/issues"
35
35
  };
36
36
  var homepage = "https://github.com/mendableai/firecrawl#readme";
37
37
  var devDependencies = {
38
- "@jest/globals": "^29.7.0",
39
- "@types/axios": "^0.14.0",
38
+ "@jest/globals": "^30.0.5",
40
39
  "@types/dotenv": "^8.2.0",
41
- "@types/jest": "^29.5.14",
40
+ "@types/jest": "^30.0.0",
42
41
  "@types/mocha": "^10.0.6",
43
42
  "@types/node": "^20.12.12",
44
43
  "@types/uuid": "^9.0.8",
45
44
  dotenv: "^16.4.5",
46
- jest: "^29.7.0",
47
- "ts-jest": "^29.2.2",
48
- tsup: "^8.2.4",
45
+ jest: "^30.0.5",
46
+ "ts-jest": "^29.4.0",
47
+ tsup: "^8.5.0",
49
48
  typescript: "^5.4.5",
50
49
  uuid: "^9.0.1"
51
50
  };
@@ -61,6 +60,13 @@ var keywords = [
61
60
  var engines = {
62
61
  node: ">=22.0.0"
63
62
  };
63
+ var pnpm = {
64
+ overrides: {
65
+ "@babel/helpers@<7.26.10": ">=7.26.10",
66
+ "brace-expansion@>=1.0.0 <=1.1.11": ">=1.1.12",
67
+ "brace-expansion@>=2.0.0 <=2.0.1": ">=2.0.2"
68
+ }
69
+ };
64
70
  var package_default = {
65
71
  name,
66
72
  version,
@@ -78,7 +84,8 @@ var package_default = {
78
84
  homepage,
79
85
  devDependencies,
80
86
  keywords,
81
- engines
87
+ engines,
88
+ pnpm
82
89
  };
83
90
  export {
84
91
  author,
@@ -94,6 +101,7 @@ export {
94
101
  license,
95
102
  main,
96
103
  name,
104
+ pnpm,
97
105
  repository,
98
106
  scripts,
99
107
  type,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "firecrawl",
3
- "version": "1.29.0",
3
+ "version": "1.29.2",
4
4
  "description": "JavaScript SDK for Firecrawl API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -25,27 +25,26 @@
25
25
  "author": "Mendable.ai",
26
26
  "license": "MIT",
27
27
  "dependencies": {
28
+ "axios": "^1.11.0",
28
29
  "typescript-event-target": "^1.1.1",
29
30
  "zod": "^3.23.8",
30
- "zod-to-json-schema": "^3.23.0",
31
- "axios": "^1.6.8"
31
+ "zod-to-json-schema": "^3.23.0"
32
32
  },
33
33
  "bugs": {
34
34
  "url": "https://github.com/mendableai/firecrawl/issues"
35
35
  },
36
36
  "homepage": "https://github.com/mendableai/firecrawl#readme",
37
37
  "devDependencies": {
38
- "@jest/globals": "^29.7.0",
39
- "@types/axios": "^0.14.0",
38
+ "@jest/globals": "^30.0.5",
40
39
  "@types/dotenv": "^8.2.0",
41
- "@types/jest": "^29.5.14",
40
+ "@types/jest": "^30.0.0",
42
41
  "@types/mocha": "^10.0.6",
43
42
  "@types/node": "^20.12.12",
44
43
  "@types/uuid": "^9.0.8",
45
44
  "dotenv": "^16.4.5",
46
- "jest": "^29.7.0",
47
- "ts-jest": "^29.2.2",
48
- "tsup": "^8.2.4",
45
+ "jest": "^30.0.5",
46
+ "ts-jest": "^29.4.0",
47
+ "tsup": "^8.5.0",
49
48
  "typescript": "^5.4.5",
50
49
  "uuid": "^9.0.1"
51
50
  },
@@ -60,5 +59,12 @@
60
59
  ],
61
60
  "engines": {
62
61
  "node": ">=22.0.0"
62
+ },
63
+ "pnpm": {
64
+ "overrides": {
65
+ "@babel/helpers@<7.26.10": ">=7.26.10",
66
+ "brace-expansion@>=1.0.0 <=1.1.11": ">=1.1.12",
67
+ "brace-expansion@>=2.0.0 <=2.0.1": ">=2.0.2"
68
+ }
63
69
  }
64
70
  }
package/src/index.ts CHANGED
@@ -176,6 +176,7 @@ export interface ScrapeParams<LLMSchema extends zt.ZodSchema = any, ActionsSchem
176
176
  }
177
177
  actions?: ActionsSchema;
178
178
  agent?: AgentOptions;
179
+ zeroDataRetention?: boolean;
179
180
  }
180
181
 
181
182
  export interface ActionsResult {
@@ -231,6 +232,7 @@ export interface CrawlParams {
231
232
  delay?: number;
232
233
  allowSubdomains?: boolean;
233
234
  maxConcurrency?: number;
235
+ zeroDataRetention?: boolean;
234
236
  }
235
237
 
236
238
  /**