@mendable/firecrawl 4.12.0 → 4.12.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.
@@ -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.12.0",
11
+ version: "4.12.1",
12
12
  description: "JavaScript SDK for Firecrawl API",
13
13
  main: "dist/index.js",
14
14
  types: "dist/index.d.ts",
@@ -34,7 +34,7 @@ var require_package = __commonJS({
34
34
  author: "Mendable.ai",
35
35
  license: "MIT",
36
36
  dependencies: {
37
- axios: "^1.12.2",
37
+ axios: "^1.13.5",
38
38
  "typescript-event-target": "^1.1.1",
39
39
  zod: "^3.23.8",
40
40
  "zod-to-json-schema": "^3.23.0"
@@ -71,11 +71,7 @@ var require_package = __commonJS({
71
71
  },
72
72
  pnpm: {
73
73
  overrides: {
74
- "@babel/helpers@<7.26.10": ">=7.26.10",
75
- "brace-expansion@>=1.0.0 <=1.1.11": ">=1.1.12",
76
- "brace-expansion@>=2.0.0 <=2.0.1": ">=2.0.2",
77
- "js-yaml@<3.14.2": ">=3.14.2",
78
- "glob@>=10.2.0 <10.5.0": ">=10.5.0"
74
+ "@isaacs/brace-expansion@<=5.0.0": ">=5.0.1"
79
75
  }
80
76
  }
81
77
  };
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.12.0",
38
+ version: "4.12.1",
39
39
  description: "JavaScript SDK for Firecrawl API",
40
40
  main: "dist/index.js",
41
41
  types: "dist/index.d.ts",
@@ -61,7 +61,7 @@ var require_package = __commonJS({
61
61
  author: "Mendable.ai",
62
62
  license: "MIT",
63
63
  dependencies: {
64
- axios: "^1.12.2",
64
+ axios: "^1.13.5",
65
65
  "typescript-event-target": "^1.1.1",
66
66
  zod: "^3.23.8",
67
67
  "zod-to-json-schema": "^3.23.0"
@@ -98,11 +98,7 @@ var require_package = __commonJS({
98
98
  },
99
99
  pnpm: {
100
100
  overrides: {
101
- "@babel/helpers@<7.26.10": ">=7.26.10",
102
- "brace-expansion@>=1.0.0 <=1.1.11": ">=1.1.12",
103
- "brace-expansion@>=2.0.0 <=2.0.1": ">=2.0.2",
104
- "js-yaml@<3.14.2": ">=3.14.2",
105
- "glob@>=10.2.0 <10.5.0": ">=10.5.0"
101
+ "@isaacs/brace-expansion@<=5.0.0": ">=5.0.1"
106
102
  }
107
103
  }
108
104
  };
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  require_package
3
- } from "./chunk-G5AJUV7O.js";
3
+ } from "./chunk-GAAHPN3I.js";
4
4
 
5
5
  // src/v2/utils/httpClient.ts
6
6
  import axios from "axios";
@@ -1374,7 +1374,7 @@ var FirecrawlApp = class {
1374
1374
  if (typeof process !== "undefined" && process.env && process.env.npm_package_version) {
1375
1375
  return process.env.npm_package_version;
1376
1376
  }
1377
- const packageJson = await import("./package-T35BK7SG.js");
1377
+ const packageJson = await import("./package-CMQJ5STA.js");
1378
1378
  return packageJson.default.version;
1379
1379
  } catch (error) {
1380
1380
  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-G5AJUV7O.js";
3
+ } from "./chunk-GAAHPN3I.js";
4
4
  export default require_package();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mendable/firecrawl",
3
- "version": "4.12.0",
3
+ "version": "4.12.1",
4
4
  "description": "JavaScript SDK for Firecrawl API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -19,7 +19,7 @@
19
19
  "author": "Mendable.ai",
20
20
  "license": "MIT",
21
21
  "dependencies": {
22
- "axios": "^1.12.2",
22
+ "axios": "^1.13.5",
23
23
  "typescript-event-target": "^1.1.1",
24
24
  "zod": "^3.23.8",
25
25
  "zod-to-json-schema": "^3.23.0"
@@ -33,10 +33,10 @@ describe('FirecrawlApp E2E Tests', () => {
33
33
  }
34
34
  });
35
35
 
36
- test.concurrent('should throw error for blocklisted URL on scrape', async () => {
36
+ test.concurrent('should throw error for unsupported URL on scrape', async () => {
37
37
  const app = new FirecrawlApp({ apiKey: TEST_API_KEY, apiUrl: API_URL });
38
- const blocklistedUrl = "https://facebook.com/fake-test";
39
- await expect(app.scrapeUrl(blocklistedUrl)).rejects.toThrow("This website is not currently supported");
38
+ const unsupportedUrl = "https://facebook.com/fake-test";
39
+ await expect(app.scrapeUrl(unsupportedUrl)).rejects.toThrow("do not support this site");
40
40
  });
41
41
 
42
42
  test.concurrent('should return successful response for valid scrape', async () => {
@@ -243,10 +243,10 @@ describe('FirecrawlApp E2E Tests', () => {
243
243
  }
244
244
  });
245
245
 
246
- test.concurrent('should throw error for blocklisted URL on map', async () => {
246
+ test.concurrent('should throw error for unsupported URL on map', async () => {
247
247
  const app = new FirecrawlApp({ apiKey: TEST_API_KEY, apiUrl: API_URL });
248
- const blocklistedUrl = "https://facebook.com/fake-test";
249
- await expect(app.mapUrl(blocklistedUrl)).rejects.toThrow("403");
248
+ const unsupportedUrl = "https://facebook.com/fake-test";
249
+ await expect(app.mapUrl(unsupportedUrl)).rejects.toThrow("403");
250
250
  });
251
251
 
252
252
  test.concurrent('should return successful response for valid map', async () => {