From a781d111899d29a6378b266bf1f87593aa24a8dc Mon Sep 17 00:00:00 2001 From: Shin'ya Ueoka Date: Tue, 23 Jul 2024 22:57:48 +0900 Subject: [PATCH] use native fetch() instead of node-fetch --- package.json | 2 -- src/amo.ts | 1 - 2 files changed, 3 deletions(-) diff --git a/package.json b/package.json index def8224..933d2ce 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,6 @@ "@types/form-data": "^2.5.0", "@types/jsonwebtoken": "^9.0.2", "@types/node": "^20.3.0", - "@types/node-fetch": "^2.6.4", "@types/uuid": "^9.0.2" }, "dependencies": { @@ -19,7 +18,6 @@ "@vercel/ncc": "^0.36.1", "form-data": "^4.0.0", "jsonwebtoken": "^9.0.0", - "node-fetch": "2", "typescript": "^5.0.4", "uuid": "^9.0.0" }, diff --git a/src/amo.ts b/src/amo.ts index da9d7a5..7ca64ec 100644 --- a/src/amo.ts +++ b/src/amo.ts @@ -1,7 +1,6 @@ import type { ReadStream } from "node:fs"; import FormData from "form-data"; import jwt from "jsonwebtoken"; -import fetch from "node-fetch"; import { v4 as uuidv4 } from "uuid"; type VersionRange = { min?: string; max?: string };