package: remove unnecessary abort-controller dependency

This commit is contained in:
wukko 2024-03-16 22:05:28 +06:00
parent 96ff8a873f
commit 8385cd2663
2 changed files with 0 additions and 2 deletions

View file

@ -25,7 +25,6 @@
},
"homepage": "https://github.com/wukko/cobalt#readme",
"dependencies": {
"abort-controller": "3.0.0",
"content-disposition-header": "0.6.0",
"cors": "^2.8.5",
"dotenv": "^16.0.1",

View file

@ -4,7 +4,6 @@ import { ffmpegArgs, genericUserAgent } from "../config.js";
import { metadataManager } from "../sub/utils.js";
import { request } from "undici";
import { create as contentDisposition } from "content-disposition-header";
import { AbortController } from "abort-controller"
function closeRequest(controller) {
try { controller.abort() } catch {}