@mendable/firecrawl 4.6.1 → 4.7.0
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/{chunk-47H6QFPY.js → chunk-HKT6UYFH.js} +7 -5
- package/dist/index.cjs +8 -5
- package/dist/index.d.cts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +3 -2
- package/dist/{package-OVF37QHH.js → package-ECV64BJR.js} +1 -1
- package/package.json +7 -5
- package/src/v2/methods/map.ts +1 -0
- package/src/v2/types.ts +1 -0
|
@@ -8,7 +8,7 @@ var require_package = __commonJS({
|
|
|
8
8
|
"package.json"(exports, module) {
|
|
9
9
|
module.exports = {
|
|
10
10
|
name: "@mendable/firecrawl-js",
|
|
11
|
-
version: "4.
|
|
11
|
+
version: "4.7.0",
|
|
12
12
|
description: "JavaScript SDK for Firecrawl API",
|
|
13
13
|
main: "dist/index.js",
|
|
14
14
|
types: "dist/index.d.ts",
|
|
@@ -45,7 +45,7 @@ var require_package = __commonJS({
|
|
|
45
45
|
},
|
|
46
46
|
homepage: "https://github.com/firecrawl/firecrawl#readme",
|
|
47
47
|
devDependencies: {
|
|
48
|
-
"@jest/globals": "^30.0
|
|
48
|
+
"@jest/globals": "^30.2.0",
|
|
49
49
|
"@types/dotenv": "^8.2.0",
|
|
50
50
|
"@types/jest": "^30.0.0",
|
|
51
51
|
"@types/mocha": "^10.0.6",
|
|
@@ -53,8 +53,8 @@ var require_package = __commonJS({
|
|
|
53
53
|
"@types/uuid": "^9.0.8",
|
|
54
54
|
"@types/ws": "^8.18.1",
|
|
55
55
|
dotenv: "^16.4.5",
|
|
56
|
-
jest: "^30.0
|
|
57
|
-
"ts-jest": "^29.4.
|
|
56
|
+
jest: "^30.2.0",
|
|
57
|
+
"ts-jest": "^29.4.5",
|
|
58
58
|
tsup: "^8.5.0",
|
|
59
59
|
typescript: "^5.4.5",
|
|
60
60
|
uuid: "^9.0.1"
|
|
@@ -75,7 +75,9 @@ var require_package = __commonJS({
|
|
|
75
75
|
overrides: {
|
|
76
76
|
"@babel/helpers@<7.26.10": ">=7.26.10",
|
|
77
77
|
"brace-expansion@>=1.0.0 <=1.1.11": ">=1.1.12",
|
|
78
|
-
"brace-expansion@>=2.0.0 <=2.0.1": ">=2.0.2"
|
|
78
|
+
"brace-expansion@>=2.0.0 <=2.0.1": ">=2.0.2",
|
|
79
|
+
"js-yaml@<3.14.2": ">=3.14.2",
|
|
80
|
+
"glob@>=10.2.0 <10.5.0": ">=10.5.0"
|
|
79
81
|
}
|
|
80
82
|
}
|
|
81
83
|
};
|
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: "4.
|
|
38
|
+
version: "4.7.0",
|
|
39
39
|
description: "JavaScript SDK for Firecrawl API",
|
|
40
40
|
main: "dist/index.js",
|
|
41
41
|
types: "dist/index.d.ts",
|
|
@@ -72,7 +72,7 @@ var require_package = __commonJS({
|
|
|
72
72
|
},
|
|
73
73
|
homepage: "https://github.com/firecrawl/firecrawl#readme",
|
|
74
74
|
devDependencies: {
|
|
75
|
-
"@jest/globals": "^30.0
|
|
75
|
+
"@jest/globals": "^30.2.0",
|
|
76
76
|
"@types/dotenv": "^8.2.0",
|
|
77
77
|
"@types/jest": "^30.0.0",
|
|
78
78
|
"@types/mocha": "^10.0.6",
|
|
@@ -80,8 +80,8 @@ var require_package = __commonJS({
|
|
|
80
80
|
"@types/uuid": "^9.0.8",
|
|
81
81
|
"@types/ws": "^8.18.1",
|
|
82
82
|
dotenv: "^16.4.5",
|
|
83
|
-
jest: "^30.0
|
|
84
|
-
"ts-jest": "^29.4.
|
|
83
|
+
jest: "^30.2.0",
|
|
84
|
+
"ts-jest": "^29.4.5",
|
|
85
85
|
tsup: "^8.5.0",
|
|
86
86
|
typescript: "^5.4.5",
|
|
87
87
|
uuid: "^9.0.1"
|
|
@@ -102,7 +102,9 @@ var require_package = __commonJS({
|
|
|
102
102
|
overrides: {
|
|
103
103
|
"@babel/helpers@<7.26.10": ">=7.26.10",
|
|
104
104
|
"brace-expansion@>=1.0.0 <=1.1.11": ">=1.1.12",
|
|
105
|
-
"brace-expansion@>=2.0.0 <=2.0.1": ">=2.0.2"
|
|
105
|
+
"brace-expansion@>=2.0.0 <=2.0.1": ">=2.0.2",
|
|
106
|
+
"js-yaml@<3.14.2": ">=3.14.2",
|
|
107
|
+
"glob@>=10.2.0 <10.5.0": ">=10.5.0"
|
|
106
108
|
}
|
|
107
109
|
}
|
|
108
110
|
};
|
|
@@ -388,6 +390,7 @@ function prepareMapPayload(url, options) {
|
|
|
388
390
|
if (options.sitemap != null) payload.sitemap = options.sitemap;
|
|
389
391
|
if (options.search != null) payload.search = options.search;
|
|
390
392
|
if (options.includeSubdomains != null) payload.includeSubdomains = options.includeSubdomains;
|
|
393
|
+
if (options.ignoreQueryParameters != null) payload.ignoreQueryParameters = options.ignoreQueryParameters;
|
|
391
394
|
if (options.limit != null) payload.limit = options.limit;
|
|
392
395
|
if (options.timeout != null) payload.timeout = options.timeout;
|
|
393
396
|
if (options.integration != null && options.integration.trim()) payload.integration = options.integration.trim();
|
package/dist/index.d.cts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
require_package
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-HKT6UYFH.js";
|
|
4
4
|
|
|
5
5
|
// src/v2/utils/httpClient.ts
|
|
6
6
|
import axios from "axios";
|
|
@@ -270,6 +270,7 @@ function prepareMapPayload(url, options) {
|
|
|
270
270
|
if (options.sitemap != null) payload.sitemap = options.sitemap;
|
|
271
271
|
if (options.search != null) payload.search = options.search;
|
|
272
272
|
if (options.includeSubdomains != null) payload.includeSubdomains = options.includeSubdomains;
|
|
273
|
+
if (options.ignoreQueryParameters != null) payload.ignoreQueryParameters = options.ignoreQueryParameters;
|
|
273
274
|
if (options.limit != null) payload.limit = options.limit;
|
|
274
275
|
if (options.timeout != null) payload.timeout = options.timeout;
|
|
275
276
|
if (options.integration != null && options.integration.trim()) payload.integration = options.integration.trim();
|
|
@@ -1086,7 +1087,7 @@ var FirecrawlApp = class {
|
|
|
1086
1087
|
if (typeof process !== "undefined" && process.env && process.env.npm_package_version) {
|
|
1087
1088
|
return process.env.npm_package_version;
|
|
1088
1089
|
}
|
|
1089
|
-
const packageJson = await import("./package-
|
|
1090
|
+
const packageJson = await import("./package-ECV64BJR.js");
|
|
1090
1091
|
return packageJson.default.version;
|
|
1091
1092
|
} catch (error) {
|
|
1092
1093
|
const isTest = typeof process !== "undefined" && (process.env.JEST_WORKER_ID != null || false);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mendable/firecrawl",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.7.0",
|
|
4
4
|
"description": "JavaScript SDK for Firecrawl API",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
},
|
|
38
38
|
"homepage": "https://github.com/firecrawl/firecrawl#readme",
|
|
39
39
|
"devDependencies": {
|
|
40
|
-
"@jest/globals": "^30.0
|
|
40
|
+
"@jest/globals": "^30.2.0",
|
|
41
41
|
"@types/dotenv": "^8.2.0",
|
|
42
42
|
"@types/jest": "^30.0.0",
|
|
43
43
|
"@types/mocha": "^10.0.6",
|
|
@@ -45,8 +45,8 @@
|
|
|
45
45
|
"@types/uuid": "^9.0.8",
|
|
46
46
|
"@types/ws": "^8.18.1",
|
|
47
47
|
"dotenv": "^16.4.5",
|
|
48
|
-
"jest": "^30.0
|
|
49
|
-
"ts-jest": "^29.4.
|
|
48
|
+
"jest": "^30.2.0",
|
|
49
|
+
"ts-jest": "^29.4.5",
|
|
50
50
|
"tsup": "^8.5.0",
|
|
51
51
|
"typescript": "^5.4.5",
|
|
52
52
|
"uuid": "^9.0.1"
|
|
@@ -67,7 +67,9 @@
|
|
|
67
67
|
"overrides": {
|
|
68
68
|
"@babel/helpers@<7.26.10": ">=7.26.10",
|
|
69
69
|
"brace-expansion@>=1.0.0 <=1.1.11": ">=1.1.12",
|
|
70
|
-
"brace-expansion@>=2.0.0 <=2.0.1": ">=2.0.2"
|
|
70
|
+
"brace-expansion@>=2.0.0 <=2.0.1": ">=2.0.2",
|
|
71
|
+
"js-yaml@<3.14.2": ">=3.14.2",
|
|
72
|
+
"glob@>=10.2.0 <10.5.0": ">=10.5.0"
|
|
71
73
|
}
|
|
72
74
|
}
|
|
73
75
|
}
|
package/src/v2/methods/map.ts
CHANGED
|
@@ -9,6 +9,7 @@ function prepareMapPayload(url: string, options?: MapOptions): Record<string, un
|
|
|
9
9
|
if (options.sitemap != null) payload.sitemap = options.sitemap;
|
|
10
10
|
if (options.search != null) payload.search = options.search;
|
|
11
11
|
if (options.includeSubdomains != null) payload.includeSubdomains = options.includeSubdomains;
|
|
12
|
+
if (options.ignoreQueryParameters != null) payload.ignoreQueryParameters = options.ignoreQueryParameters;
|
|
12
13
|
if (options.limit != null) payload.limit = options.limit;
|
|
13
14
|
if (options.timeout != null) payload.timeout = options.timeout;
|
|
14
15
|
if (options.integration != null && options.integration.trim()) payload.integration = options.integration.trim();
|
package/src/v2/types.ts
CHANGED