Skip to content

Commit

Permalink
fix: replace node-fetch by native NodeJs fetch
Browse files Browse the repository at this point in the history
Fixes #9485

Signed-off-by: Jeff MAURY <[email protected]>
  • Loading branch information
jeffmaury committed Oct 21, 2024
1 parent 529ff3f commit 1d0811f
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 78 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,6 @@
"lint-staged": "^15.2.10",
"minimist": "^1.2.8",
"nock": "14.0.0-beta.7",
"node-fetch": "^3.3.2",
"postcss-import": "^16.1.0",
"proxy": "^2.2.0",
"typescript": "5.6.3",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@
import net from 'node:net';

import { AppsV1Api, CoreV1Api, type V1Deployment, type V1Pod, type V1Service } from '@kubernetes/client-node';
import type fetch from 'node-fetch';
import { Response } from 'node-fetch';
import { afterEach, beforeEach, describe, expect, type MockedFunction, test, vi } from 'vitest';

import type { ApiSenderType } from '/@/plugin/api.js';
Expand Down
92 changes: 17 additions & 75 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 1d0811f

Please sign in to comment.