From cbc630ac2d0db64f754a9d87fa142ff480d10432 Mon Sep 17 00:00:00 2001 From: Simon Walenkamp Hansen Date: Mon, 26 Aug 2024 16:23:24 +0200 Subject: [PATCH 1/4] Remove cross-fetch --- packages/client/package-lock.json | 5 +---- packages/client/package.json | 3 --- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/packages/client/package-lock.json b/packages/client/package-lock.json index 7b7bad5..7fceef4 100644 --- a/packages/client/package-lock.json +++ b/packages/client/package-lock.json @@ -8,9 +8,6 @@ "name": "@relewise/client", "version": "1.27.0", "license": "ISC", - "dependencies": { - "cross-fetch": "^4.0.0" - }, "devDependencies": { "@microsoft/api-extractor": "^7.28.6", "@rollup/plugin-commonjs": "^22.0.1", @@ -9977,4 +9974,4 @@ } } } -} +} \ No newline at end of file diff --git a/packages/client/package.json b/packages/client/package.json index fdc6fb0..a71f180 100644 --- a/packages/client/package.json +++ b/packages/client/package.json @@ -57,8 +57,5 @@ "tslib": "^2.4.0", "typescript": "^4.6.4", "@typescript-eslint/parser": "^5.34.0" - }, - "dependencies": { - "cross-fetch": "^4.0.0" } } \ No newline at end of file From 9a943043bcae59545b9f10cd8afa25566668b709 Mon Sep 17 00:00:00 2001 From: Simon Walenkamp Hansen Date: Mon, 26 Aug 2024 16:24:34 +0200 Subject: [PATCH 2/4] Remove cross-fetch --- package-lock.json | 6 ++++ packages/client/package-lock.json | 38 ++++++++++--------------- packages/integrations/package-lock.json | 4 +-- 3 files changed, 23 insertions(+), 25 deletions(-) create mode 100644 package-lock.json diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 0000000..8afcf69 --- /dev/null +++ b/package-lock.json @@ -0,0 +1,6 @@ +{ + "name": "relewise-sdk-javascript", + "lockfileVersion": 3, + "requires": true, + "packages": {} +} diff --git a/packages/client/package-lock.json b/packages/client/package-lock.json index 7fceef4..a5fccd6 100644 --- a/packages/client/package-lock.json +++ b/packages/client/package-lock.json @@ -1,12 +1,12 @@ { "name": "@relewise/client", - "version": "1.27.0", + "version": "1.34.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@relewise/client", - "version": "1.27.0", + "version": "1.34.0", "license": "ISC", "devDependencies": { "@microsoft/api-extractor": "^7.28.6", @@ -2198,14 +2198,6 @@ "integrity": "sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==", "dev": true }, - "node_modules/cross-fetch": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-4.0.0.tgz", - "integrity": "sha512-e4a5N8lVvuLgAWgnCrLr2PP0YyDOTHa9H/Rj54dirp61qXnNq46m82bRhNqIA5VccJtWBvPTFRV3TtvHUKPB1g==", - "dependencies": { - "node-fetch": "^2.6.12" - } - }, "node_modules/cross-spawn": { "version": "7.0.3", "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", @@ -4144,6 +4136,7 @@ "version": "2.7.0", "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.7.0.tgz", "integrity": "sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==", + "dev": true, "dependencies": { "whatwg-url": "^5.0.0" }, @@ -5245,7 +5238,8 @@ "node_modules/tr46": { "version": "0.0.3", "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", - "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==" + "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==", + "dev": true }, "node_modules/ts-jest": { "version": "28.0.7", @@ -5507,12 +5501,14 @@ "node_modules/webidl-conversions": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", - "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==" + "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==", + "dev": true }, "node_modules/whatwg-url": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", "integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==", + "dev": true, "dependencies": { "tr46": "~0.0.3", "webidl-conversions": "^3.0.0" @@ -7386,14 +7382,6 @@ "integrity": "sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==", "dev": true }, - "cross-fetch": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-4.0.0.tgz", - "integrity": "sha512-e4a5N8lVvuLgAWgnCrLr2PP0YyDOTHa9H/Rj54dirp61qXnNq46m82bRhNqIA5VccJtWBvPTFRV3TtvHUKPB1g==", - "requires": { - "node-fetch": "^2.6.12" - } - }, "cross-spawn": { "version": "7.0.3", "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", @@ -8867,6 +8855,7 @@ "version": "2.7.0", "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.7.0.tgz", "integrity": "sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==", + "dev": true, "requires": { "whatwg-url": "^5.0.0" } @@ -9690,7 +9679,8 @@ "tr46": { "version": "0.0.3", "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", - "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==" + "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==", + "dev": true }, "ts-jest": { "version": "28.0.7", @@ -9857,12 +9847,14 @@ "webidl-conversions": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", - "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==" + "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==", + "dev": true }, "whatwg-url": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", "integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==", + "dev": true, "requires": { "tr46": "~0.0.3", "webidl-conversions": "^3.0.0" @@ -9974,4 +9966,4 @@ } } } -} \ No newline at end of file +} diff --git a/packages/integrations/package-lock.json b/packages/integrations/package-lock.json index f8cbd7c..04a68a5 100644 --- a/packages/integrations/package-lock.json +++ b/packages/integrations/package-lock.json @@ -1,12 +1,12 @@ { "name": "@relewise/integrations", - "version": "1.0.0-beta.1", + "version": "1.0.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@relewise/integrations", - "version": "1.0.0-beta.1", + "version": "1.0.1", "license": "ISC", "devDependencies": { "@microsoft/api-extractor": "^7.28.6", From 24fbe946129fd7245acd7bbd4869d5a711ba57cf Mon Sep 17 00:00:00 2001 From: Simon Walenkamp Hansen Date: Mon, 26 Aug 2024 16:34:26 +0200 Subject: [PATCH 3/4] Remove cross-fetch --- package-lock.json | 6 ------ 1 file changed, 6 deletions(-) delete mode 100644 package-lock.json diff --git a/package-lock.json b/package-lock.json deleted file mode 100644 index 8afcf69..0000000 --- a/package-lock.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "name": "relewise-sdk-javascript", - "lockfileVersion": 3, - "requires": true, - "packages": {} -} From d7ff4115ef588600b633fb32f3e25835e87ac663 Mon Sep 17 00:00:00 2001 From: Simon Walenkamp Hansen Date: Mon, 26 Aug 2024 16:36:20 +0200 Subject: [PATCH 4/4] Remove cross-fetch --- packages/client/src/relewise.client.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/client/src/relewise.client.ts b/packages/client/src/relewise.client.ts index f6d610c..5ba15a0 100644 --- a/packages/client/src/relewise.client.ts +++ b/packages/client/src/relewise.client.ts @@ -1,4 +1,3 @@ -import fetch from 'cross-fetch'; import version from './version'; export interface RelewiseClientOptions {