From a7be09e479d9a6615e074753b455c6d7c14643da Mon Sep 17 00:00:00 2001 From: Mark Percival Date: Thu, 25 Apr 2024 14:16:14 +0000 Subject: [PATCH] Fix: Remove dotenv from npm module --- apps/js-sdk/firecrawl/package-lock.json | 29 +++---------------------- apps/js-sdk/firecrawl/package.json | 4 +--- apps/js-sdk/firecrawl/src/index.ts | 2 -- 3 files changed, 4 insertions(+), 31 deletions(-) diff --git a/apps/js-sdk/firecrawl/package-lock.json b/apps/js-sdk/firecrawl/package-lock.json index 0497c6e..ae39b20 100644 --- a/apps/js-sdk/firecrawl/package-lock.json +++ b/apps/js-sdk/firecrawl/package-lock.json @@ -1,20 +1,18 @@ { "name": "@mendable/firecrawl-js", - "version": "0.0.9", + "version": "0.0.13", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@mendable/firecrawl-js", - "version": "0.0.9", + "version": "0.0.13", "license": "MIT", "dependencies": { - "axios": "^1.6.8", - "dotenv": "^16.4.5" + "axios": "^1.6.8" }, "devDependencies": { "@types/axios": "^0.14.0", - "@types/dotenv": "^8.2.0", "@types/node": "^20.12.7", "typescript": "^5.4.5" } @@ -29,16 +27,6 @@ "axios": "*" } }, - "node_modules/@types/dotenv": { - "version": "8.2.0", - "resolved": "https://registry.npmjs.org/@types/dotenv/-/dotenv-8.2.0.tgz", - "integrity": "sha512-ylSC9GhfRH7m1EUXBXofhgx4lUWmFeQDINW5oLuS+gxWdfUeW4zJdeVTYVkexEW+e2VUvlZR2kGnGGipAWR7kw==", - "deprecated": "This is a stub types definition. dotenv provides its own type definitions, so you do not need this installed.", - "dev": true, - "dependencies": { - "dotenv": "*" - } - }, "node_modules/@types/node": { "version": "20.12.7", "resolved": "https://registry.npmjs.org/@types/node/-/node-20.12.7.tgz", @@ -82,17 +70,6 @@ "node": ">=0.4.0" } }, - "node_modules/dotenv": { - "version": "16.4.5", - "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.4.5.tgz", - "integrity": "sha512-ZmdL2rui+eB2YwhsWzjInR8LldtZHGDoQ1ugH85ppHKwpUHL7j7rN0Ti9NCnGiQbhaZ11FpR+7ao1dNsmduNUg==", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://dotenvx.com" - } - }, "node_modules/follow-redirects": { "version": "1.15.6", "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.6.tgz", diff --git a/apps/js-sdk/firecrawl/package.json b/apps/js-sdk/firecrawl/package.json index 566fdde..5a311d3 100644 --- a/apps/js-sdk/firecrawl/package.json +++ b/apps/js-sdk/firecrawl/package.json @@ -17,8 +17,7 @@ "author": "Mendable.ai", "license": "MIT", "dependencies": { - "axios": "^1.6.8", - "dotenv": "^16.4.5" + "axios": "^1.6.8" }, "bugs": { "url": "https://github.com/mendableai/firecrawl/issues" @@ -26,7 +25,6 @@ "homepage": "https://github.com/mendableai/firecrawl#readme", "devDependencies": { "@types/axios": "^0.14.0", - "@types/dotenv": "^8.2.0", "@types/node": "^20.12.7", "typescript": "^5.4.5" }, diff --git a/apps/js-sdk/firecrawl/src/index.ts b/apps/js-sdk/firecrawl/src/index.ts index 6545600..76747d9 100644 --- a/apps/js-sdk/firecrawl/src/index.ts +++ b/apps/js-sdk/firecrawl/src/index.ts @@ -1,6 +1,4 @@ import axios, { AxiosResponse, AxiosRequestHeaders } from 'axios'; -import dotenv from 'dotenv'; -dotenv.config(); /** * Configuration interface for FirecrawlApp.