chore: remove node-fetch dependency from package.json and related scripts

This commit is contained in:
Tunglies
2026-05-26 14:03:59 +08:00
parent c7cdc62512
commit 32ed10c25d
5 changed files with 1 additions and 54 deletions
-1
View File
@@ -8,7 +8,6 @@ import zlib from 'zlib'
import AdmZip from 'adm-zip'
import { glob } from 'glob'
import { HttpsProxyAgent } from 'https-proxy-agent'
import fetch from 'node-fetch'
import { extract } from 'tar'
import { log_debug, log_error, log_info, log_success } from './utils.mjs'
-1
View File
@@ -1,5 +1,4 @@
import { context, getOctokit } from '@actions/github'
import fetch from 'node-fetch'
import { resolveUpdateLog } from './updatelog.mjs'
+1 -2
View File
@@ -1,5 +1,4 @@
import { getOctokit, context } from '@actions/github'
import fetch from 'node-fetch'
import { context, getOctokit } from '@actions/github'
import { resolveUpdateLog, resolveUpdateLogDefault } from './updatelog.mjs'