diff --git a/common/config/rush/pnpm-lock.yaml b/common/config/rush/pnpm-lock.yaml index 2241436b9..86aaccb2f 100644 --- a/common/config/rush/pnpm-lock.yaml +++ b/common/config/rush/pnpm-lock.yaml @@ -2481,9 +2481,6 @@ importers: '@types/node': specifier: ~14.6.0 version: 14.6.4 - '@types/node-fetch': - specifier: '2' - version: 2.6.11 '@types/youtube': specifier: ~0.0.46 version: 0.0.50 @@ -2538,9 +2535,6 @@ importers: lodash: specifier: ~4.17.21 version: 4.17.21 - node-fetch: - specifier: '2' - version: 2.7.0(encoding@0.1.13) npm-run-all: specifier: ~4.1.5 version: 4.1.5 @@ -3214,9 +3208,6 @@ packages: '@types/lodash@4.14.202': resolution: {integrity: sha512-OvlIYQK9tNneDlS0VN54LLd5uiPCBOp7gS5Z0f1mjoJYBrtStzgmJBxONW3U6OZqdtNzZPmn9BS/7WI7BFFcFQ==} - '@types/node-fetch@2.6.11': - resolution: {integrity: sha512-24xFj9R5+rfQJLRyM56qh+wnVSYhyXC2tkoBndtY0U+vubqNsYXGjufB2nn8Q6gt0LrARwL6UBtMCSVCwl4B1g==} - '@types/node@14.6.4': resolution: {integrity: sha512-Wk7nG1JSaMfMpoMJDKUsWYugliB2Vy55pdjLpmLixeyMi7HizW2I/9QoxsPCkXl3dO+ZOVqPumKaDUv5zJu2uQ==} @@ -8533,11 +8524,6 @@ snapshots: '@types/lodash@4.14.202': {} - '@types/node-fetch@2.6.11': - dependencies: - '@types/node': 14.6.4 - form-data: 4.0.0 - '@types/node@14.6.4': {} '@types/node@16.18.106': {} diff --git a/common/config/rush/repo-state.json b/common/config/rush/repo-state.json index 4b9f7b649..98aeae6bc 100644 --- a/common/config/rush/repo-state.json +++ b/common/config/rush/repo-state.json @@ -1,5 +1,5 @@ // DO NOT MODIFY THIS FILE MANUALLY BUT DO COMMIT IT. It is generated and used by Rush. { - "pnpmShrinkwrapHash": "eb82df4c18604f27a55346fce2f1d98d55b467f6", + "pnpmShrinkwrapHash": "d2b7857ec8d95c90fd800c6b48ae3be27839523f", "preferredVersionsHash": "bf21a9e8fbc5a3846fb05b4fa0859e0917b2202f" } diff --git a/trackers/javascript-tracker/package.json b/trackers/javascript-tracker/package.json index ae4d9fc2b..e951416da 100644 --- a/trackers/javascript-tracker/package.json +++ b/trackers/javascript-tracker/package.json @@ -111,8 +111,6 @@ "wdio-chromedriver-service": "~8.1.1", "webdriverio": "~8.39.1", "@wdio/shared-store-service": "~8.39.1", - "node-fetch": "2", - "@types/node-fetch": "2", "@wdio/globals": "~8.39.1", "wdio-safaridriver-service": "~2.1.1", "wdio-edgedriver-service": "~3.0.3", diff --git a/trackers/javascript-tracker/test/micro.ts b/trackers/javascript-tracker/test/micro.ts index 5715cb9a2..d2719ad74 100644 --- a/trackers/javascript-tracker/test/micro.ts +++ b/trackers/javascript-tracker/test/micro.ts @@ -1,6 +1,5 @@ import Docker from 'dockerode'; import { Writable } from 'stream'; -import fetch from 'node-fetch'; export interface DockerWrapper { url: string; diff --git a/trackers/node-tracker/test/got_emitter.ts b/trackers/node-tracker/test/got_emitter.ts index c88968e57..439acbbcf 100644 --- a/trackers/node-tracker/test/got_emitter.ts +++ b/trackers/node-tracker/test/got_emitter.ts @@ -210,6 +210,7 @@ test('gotEmitter should add STM querystring parameter when sending POST requests }); test('gotEmitter should add STM querystring parameter when sending GET requests', async (t) => { + sinon.restore(); const testTime = new Date('2020-06-15T09:12:30.000Z').getTime(); const clock = sinon.useFakeTimers(testTime);